Function at 0x422b70
Capabilities:
Enumerate gui resources
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54c931
mov eax, dword fs:[0]
push eax
sub esp, 0x448
mov eax, dword [0x60c9c8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x434], ecx
mov dword [ebp - 0x448], eax
mov dword [ebp - 0x444], esi
cmp dword [ebp + 0xc], esi
jbe 0x422f27
add ebx, 0x61c
mov dword [ebp - 0x440], ebx
jmp 0x422bd2
xor esi, esi
call fcn.0043e2f8
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
je 0x423064
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x42c], eax
mov dword [ebp - 4], esi
mov dword [ebp - 0x430], esi
cmp dword [ebp + 0x14], esi
jbe 0x422d68
mov esi, dword [ebp - 0x448]
lea edi, [ebx - 0x61c]
neg edi
sbb edi, edi
neg edi
add esi, 0x410
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x216]
push edx
mov word [ebp - 0x218], cx
call fcn.00531fb0
add esp, 0xc
push 0x208
lea eax, [ebp - 0x218]
push eax
lea ecx, [esi + 0x208]
push ecx
mov ecx, dword [ebp - 0x434]
push esi
lea edx, [esi - 0x208]
push edx
call fcn.00420dd0
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea ecx, [ebp - 0x438]
call fcn.00405b90
mov byte [ebp - 4], 1
test edi, edi
je 0x423064
mov edx, dword [ebp - 0x438]
lea ecx, [ebx - 0x61c]
push ecx
push edx
call fcn.005321b4
add esp, 8
test eax, eax
jne 0x422cd1
lea eax, [esi - 0x410]
neg eax
sbb eax, eax
neg eax
je 0x423064
mov edx, dword [ebp - 0x438]
lea ecx, [esi - 0x410]
push ecx
push edx
call fcn.005321b4
add esp, 8
test eax, eax
je 0x422d15
mov eax, dword [ebp - 0x438]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422cf7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x430]
inc eax
add esi, 0x820
mov dword [ebp - 0x430], eax
cmp eax, dword [ebp + 0x14]
jb 0x422c22
jmp 0x422d68
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x422d20
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x42c]
call fcn.00403290
mov eax, dword [ebp - 0x438]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x422d68
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x42c]
cmp dword [eax - 0xc], 0
jne 0x422da0
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422f05
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x422f05
mov esi, dword [ebp - 0x434]
lea ecx, [ebp - 0x430]
push ecx
sub esp, 0x114
mov edi, esp
add esi, 0x10
mov ecx, 0x45
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x434]
push eax
mov ecx, edi
mov dword [ebp - 0x430], 0
call fcn.00420390
test eax, eax
jne 0x422dfa
mov eax, dword [ebp - 0x42c]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x422d8b
lea ecx, [edi + 0x158]
call fcn.00408ab0
cmp eax, 1
jne 0x423142
cmp dword [ebx + 0xc28], eax
jne 0x422f47
lea ecx, [ebp - 0x430]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x454], esp
push str._f__SETUP_CloseApp__
mov dword [ebp - 0x430], 0
call fcn.00405b90
mov esi, dword [ebp - 0x42c]
push ecx
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add esi, 0xfffffff0
mov byte [ebp - 4], 2
mov dword [ebp - 0x43c], esp
mov ebx, esp
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x422e78
cmp eax, dword [esi]
jne 0x422e78
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x422eb3
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x42306e
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [esi + 0x10]
push edx
lea eax, [eax + eax + 2]
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.00532e6b
add esp, 0x10
add edi, 0x10
mov dword [ebx], edi
mov edi, dword [ebp - 0x434]
mov ecx, edi
mov byte [ebp - 4], 0
call fcn.00416bc0
test eax, eax
je 0x4230e8
mov eax, dword [ebp - 0x430]
test eax, eax
jne 0x423073
mov dword [ebp - 4], 0xffffffff
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x422eff
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ebx, dword [ebp - 0x440]
mov eax, dword [ebp - 0x444]
inc eax
add ebx, 0x1248
mov dword [ebp - 0x444], eax
mov dword [ebp - 0x440], ebx
cmp eax, dword [ebp + 0xc]
jb 0x422bd0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00531f97
mov esp, ebp
pop ebp
ret 0x10
cmp word [ebx], 0
jne 0x422f6e
push 0x208
lea eax, [ebx + 0x410]
push ebx
lea ecx, [eax + 0x208]
push ecx
push eax
add eax, 0xfffffdf8
push eax
mov ecx, edi
call fcn.00420dd0
mov esi, dword [ebp - 0x430]
push ebx
lea edx, [ebp - 0x420]
push 0x104
push edx
mov dword [ebp - 0x428], esi
mov dword [ebp - 0x424], 0
call fcn.00532f33
add esp, 0xc
cmp word [ebx], 0
je 0x422fb1
lea eax, [ebp - 0x428]
push eax
push 0x416000
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [ebp - 0x424]
test eax, eax
jne 0x422fd7
lea ecx, [ebx - 0x20c]
push ecx
push eax
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 0x424], eax
test eax, eax
je 0x423059
mov ecx, dword [ebx + 0x820]
lea edx, [ebp - 0x450]
push edx
mov edx, dword [ebx - 4]
push ecx
push 1
push 0
push 0
push edx
push eax
mov dword [ebp - 0x450], 0
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
push esi
push 1
push 0x100401
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x423059
mov eax, dword [ebx + 0x820]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x423059
cmp dword [ebx + 0xc28], 2
je 0x42310c
lea ecx, [ebp - 0x44c]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov edx, dword [ebp - 0x44c]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x42c]
jmp 0x422d74
push 0x80004005
call fcn.00402a80
call fcn.00402d50
cmp eax, 1
jne 0x42307f
mov eax, 0x18
jmp 0x42308c
xor ecx, ecx
cmp eax, 2
setne cl
add ecx, 0x19
mov eax, ecx
push 0
push 0
push eax
push ecx
mov edx, esp
mov dword [ebp - 0x43c], esp
push edx
lea ecx, [edi + 0x158]
call fcn.0040deb0
mov eax, dword [edi + 0xe4c8]
push eax
call fcn.004196e0
add esp, 0x14
mov eax, dword [ebp - 0x42c]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4230de
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 0x643
jmp 0x422f29
push 0
push 0
push 0x1a
push ecx
mov ecx, esp
mov dword [ebp - 0x43c], esp
push ecx
lea ecx, [edi + 0x158]
call fcn.0040deb0
mov edx, dword [edi + 0xe4c8]
push edx
jmp 0x4230ad
push 0
push 0
push 0x19
push ecx
mov ecx, esp
mov dword [ebp - 0x43c], esp
push ecx
lea ecx, [edi + 0x158]
call fcn.0040deb0
mov edx, dword [edi + 0xe4c8]
push edx
call fcn.004196e0
add esp, 0x14
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4230b5
push 0
push 0
push 7
jmp 0x4230ee