Function at 0x4392e0
Capabilities:
Create thread
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x501d14
mov eax, dword fs:[0]
push eax
sub esp, 0x294
mov eax, dword [0x54e938]
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 edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x29c], ebx
push 7
mov esi, ecx
xor eax, eax
push 0x50f6e0
lea ecx, [ebp - 0x26c]
mov dword [ebp - 0x258], 7
mov dword [ebp - 0x25c], ebx
mov word [ebp - 0x26c], ax
call fcn.00406300
xor ecx, ecx
mov eax, edi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], ebx
mov word [ebp - 0x234], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x439367
sub eax, edx
sar eax, 1
push eax
push edi
lea ecx, [ebp - 0x234]
call fcn.00406300
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x2a0], eax
cmp dword [esi], ebx
je 0x4393ea
mov esi, 8
cmp dword [ebp - 0x220], esi
jb 0x4393b3
mov edx, dword [ebp - 0x234]
push edx
call fcn.00406ec9
add esp, 4
xor eax, eax
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], ebx
mov word [ebp - 0x234], ax
cmp dword [ebp - 0x258], esi
jb 0x4393e3
mov ecx, dword [ebp - 0x26c]
push ecx
call fcn.00406ec9
add esp, 4
mov al, 1
jmp 0x439954
mov edx, dword [ebp - 0x220]
mov ecx, dword [ebp - 0x234]
cmp edx, 8
jb 0x439403
mov dword [ebp - 0x290], ecx
jmp 0x43940f
lea eax, [ebp - 0x234]
mov dword [ebp - 0x290], eax
mov eax, ecx
cmp edx, 8
jae 0x43941c
lea eax, [ebp - 0x234]
mov edi, dword [ebp - 0x224]
lea eax, [eax + edi*2]
cmp edx, 8
jae 0x439430
lea ecx, [ebp - 0x234]
cmp ecx, eax
je 0x439451
mov edx, dword [ebp - 0x290]
push fcn.0040f9a4
push edx
push eax
push ecx
lea eax, [ebp - 0x290]
push eax
call fcn.0040f960
add esp, 0x14
xor ecx, ecx
push 3
mov word [ebp - 0x250], cx
mov edi, 7
push 0x50de40
lea ecx, [ebp - 0x250]
mov dword [ebp - 0x23c], edi
mov dword [ebp - 0x240], ebx
call fcn.00406300
lea edx, [ebp - 0x250]
push edx
lea eax, [ebp - 0x234]
push eax
mov byte [ebp - 4], 2
call fcn.0040f6a0
add esp, 8
cmp eax, 0xffffffff
setne cl
cmp dword [ebp - 0x23c], 8
mov byte [esi + 5], cl
mov byte [ebp - 4], 1
jb 0x4394bc
mov edx, dword [ebp - 0x250]
push edx
call fcn.00406ec9
add esp, 4
push 2
xor eax, eax
push 0x50e094
lea ecx, [ebp - 0x250]
mov dword [ebp - 0x23c], edi
mov dword [ebp - 0x240], ebx
mov word [ebp - 0x250], ax
call fcn.00406300
lea ecx, [ebp - 0x250]
push ecx
lea edx, [ebp - 0x234]
push edx
mov byte [ebp - 4], 3
call fcn.0040f6a0
add esp, 8
cmp dword [ebp - 0x23c], 8
mov edi, eax
mov byte [ebp - 4], 1
jb 0x43951b
mov eax, dword [ebp - 0x250]
push eax
call fcn.00406ec9
add esp, 4
cmp edi, 0xffffffff
jne 0x439570
cmp dword [ebp - 0x220], 8
jb 0x439538
mov ecx, dword [ebp - 0x234]
push ecx
call fcn.00406ec9
add esp, 4
xor edx, edx
cmp dword [ebp - 0x258], 8
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], ebx
mov word [ebp - 0x234], dx
jb 0x439569
mov eax, dword [ebp - 0x26c]
push eax
call fcn.00406ec9
add esp, 4
xor al, al
jmp 0x439954
xor ecx, ecx
push 3
mov word [ebp - 0x250], cx
push 0x50de38
lea ecx, [ebp - 0x250]
mov dword [ebp - 0x23c], 7
mov dword [ebp - 0x240], ebx
call fcn.00406300
lea edx, [ebp - 0x250]
push edx
lea eax, [ebp - 0x234]
push eax
mov byte [ebp - 4], 4
call fcn.0040f6a0
add esp, 8
cmp dword [ebp - 0x23c], 8
mov edi, eax
mov byte [ebp - 4], 1
jb 0x4395d3
mov ecx, dword [ebp - 0x250]
push ecx
call fcn.00406ec9
add esp, 4
cmp edi, 0xffffffff
jne 0x43962c
cmp dword [ebp - 0x220], 8
jb 0x4395f0
mov edx, dword [ebp - 0x234]
push edx
call fcn.00406ec9
add esp, 4
xor eax, eax
cmp dword [ebp - 0x258], 8
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], ebx
mov word [ebp - 0x234], ax
jb 0x439569
mov ecx, dword [ebp - 0x26c]
push ecx
call fcn.00406ec9
add esp, 4
xor al, al
jmp 0x439954
push 0xffffffffffffffff
add edi, 3
push edi
lea edx, [ebp - 0x288]
push edx
lea ecx, [ebp - 0x234]
call fcn.00406920
push 1
push ebx
push 0x50f6dc
lea ecx, [ebp - 0x288]
mov byte [ebp - 4], 5
call fcn.0040a410
push eax
push ebx
lea eax, [ebp - 0x250]
push eax
lea ecx, [ebp - 0x288]
call fcn.00406920
push eax
lea ecx, [ebp - 0x288]
mov byte [ebp - 4], 6
call fcn.00406280
mov edi, 8
mov byte [ebp - 4], 5
cmp dword [ebp - 0x23c], edi
jb 0x43969f
mov ecx, dword [ebp - 0x250]
push ecx
call fcn.00406ec9
add esp, 4
mov eax, dword [ebp - 0x288]
cmp dword [ebp - 0x274], edi
jae 0x4396b3
lea eax, [ebp - 0x288]
push eax
call fcn.004e1ebd
mov edi, dword [0x5513c0]
add esp, 4
mov dword [ebp - 0x290], edi
add edi, 4
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [ebp - 0x290]
push edi
mov dword [edx + 0x4c], ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push ebx
xor edi, edi
push edi
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [0x55034c], eax
cmp eax, edi
je 0x43971d
lea eax, [ebp - 0x290]
push eax
push edi
push esi
push 0x451bc0
push edi
push edi
mov dword [ebp - 0x290], edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x550344], eax
lea ecx, [ebp - 0x298]
push ecx
mov dword [ebp - 0x294], edi
mov edi, dword [sym.imp.USER32.dll_EnumWindows]
push 0x451c90
mov dword [ebp - 0x298], ebx
call edi
mov eax, dword [ebp - 0x294]
test eax, eax
jne 0x43977c
push ebx
call fcn.00451c20
add esp, 4
test eax, eax
je 0x43977f
lea edx, [ebp - 0x298]
push edx
push 0x451c90
mov dword [ebp - 0x298], eax
mov dword [ebp - 0x294], 0
call edi
mov eax, dword [ebp - 0x294]
test eax, eax
je 0x43977f
mov dword [esi + 8], eax
call fcn.0040a3b0
test al, al
mov eax, dword [ebp - 0x26c]
je 0x4397e6
cmp dword [ebp - 0x258], 8
jae 0x43979d
lea eax, [ebp - 0x26c]
push 0
push ebx
push eax
push str._s__lu__lu
push 0x104
lea eax, [ebp - 0x218]
push eax
call fcn.00408c10
add esp, 0x18
test eax, eax
jns 0x439811
lea ecx, [ebp - 0x288]
call fcn.0040a2c0
lea ecx, [ebp - 0x234]
call fcn.0040a2c0
lea ecx, [ebp - 0x26c]
call fcn.0040a2c0
xor al, al
jmp 0x439954
cmp dword [ebp - 0x258], 8
jae 0x4397f5
lea eax, [ebp - 0x26c]
mov ecx, dword [ebp - 0x2a0]
push ecx
push ebx
push eax
push str._s__lu__lu
push 0x104
lea edx, [ebp - 0x218]
push edx
jmp 0x4397b2
push 0x551c20
push 0xa8
call fcn.004186bb
add esp, 8
mov dword [ebp - 0x2a0], eax
mov byte [ebp - 4], 7
test eax, eax
je 0x439845
push 0
lea ecx, [ebp - 0x218]
push ecx
push 0
mov ecx, eax
call fcn.00445110
jmp 0x439847
xor eax, eax
mov byte [ebp - 4], 5
mov dword [esi], eax
test eax, eax
je 0x4397be
mov byte [eax + 0x9c], 1
mov ecx, dword [esi]
push 0x452240
push 5
mov byte [esi + 4], 1
call fcn.00444cc0
mov ecx, dword [esi]
push 0x452240
push 6
call fcn.00444cc0
mov ecx, dword [esi]
push 0x452240
push 7
call fcn.00444cc0
mov ecx, dword [esi]
push 0x452240
push 8
call fcn.00444cc0
mov ecx, dword [esi]
push 0x452240
push 9
call fcn.00444cc0
mov edi, 1
call fcn.00444050
cmp eax, 0x6a
jl 0x4398f1
push 0x50f6bc
lea ecx, [ebp - 0x250]
call fcn.00408940
lea edx, [ebp - 0x250]
push edx
lea eax, [ebp - 0x234]
push eax
mov byte [ebp - 4], 8
mov dword [ebp - 0x29c], edi
call fcn.0040f6a0
add esp, 8
mov byte [ebp - 0x289], 1
cmp eax, 0xffffffff
jne 0x4398f8
mov byte [ebp - 0x289], 0
test byte [ebp - 0x29c], 1
mov dword [ebp - 4], 5
je 0x439913
lea ecx, [ebp - 0x250]
call fcn.0040a2c0
cmp byte [ebp - 0x289], 0
je 0x439921
mov edi, 3
mov ecx, dword [esi]
push edi
push 1
push ebx
call fcn.004452b0
test eax, eax
lea ecx, [ebp - 0x288]
sete bl
call fcn.0040a2c0
lea ecx, [ebp - 0x234]
call fcn.0040a2c0
lea ecx, [ebp - 0x26c]
call fcn.0040a2c0
mov al, bl
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.00401316
mov esp, ebp
pop ebp
ret 4