Function at 0x42f740
Capabilities:
Create thread
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dd06b
mov eax, dword fs:[0]
push eax
sub esp, 0x28c
mov eax, dword [0x5256a8]
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 - 0x298], ebx
push 7
mov esi, ecx
xor eax, eax
push 0x4e9544
lea ecx, [ebp - 0x26c]
mov dword [ebp - 0x258], 7
mov dword [ebp - 0x25c], ebx
mov word [ebp - 0x26c], ax
call fcn.00406030
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 0x42f7c7
sub eax, edx
sar eax, 1
push eax
push edi
lea ecx, [ebp - 0x234]
call fcn.00406030
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x298], eax
cmp dword [esi], ebx
je 0x42f84a
mov esi, 8
cmp dword [ebp - 0x220], esi
jb 0x42f813
mov edx, dword [ebp - 0x234]
push edx
call fcn.00406cf9
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 0x42f843
mov ecx, dword [ebp - 0x26c]
push ecx
call fcn.00406cf9
add esp, 4
mov al, 1
jmp 0x42fd09
mov edx, dword [ebp - 0x220]
mov ecx, dword [ebp - 0x234]
cmp edx, 8
jb 0x42f863
mov dword [ebp - 0x28c], ecx
jmp 0x42f86f
lea eax, [ebp - 0x234]
mov dword [ebp - 0x28c], eax
mov eax, ecx
cmp edx, 8
jae 0x42f87c
lea eax, [ebp - 0x234]
mov edi, dword [ebp - 0x224]
lea eax, [eax + edi*2]
cmp edx, 8
jae 0x42f890
lea ecx, [ebp - 0x234]
cmp ecx, eax
je 0x42f8b1
mov edx, dword [ebp - 0x28c]
push fcn.0040f424
push edx
push eax
push ecx
lea eax, [ebp - 0x28c]
push eax
call fcn.0040f3e0
add esp, 0x14
xor ecx, ecx
push 3
mov word [ebp - 0x250], cx
mov edi, 7
push 0x4e7d84
lea ecx, [ebp - 0x250]
mov dword [ebp - 0x23c], edi
mov dword [ebp - 0x240], ebx
call fcn.00406030
lea edx, [ebp - 0x250]
push edx
lea eax, [ebp - 0x234]
push eax
mov byte [ebp - 4], 2
call fcn.0040f120
add esp, 8
cmp eax, 0xffffffff
setne cl
cmp dword [ebp - 0x23c], 8
mov byte [esi + 5], cl
mov byte [ebp - 4], 1
jb 0x42f91c
mov edx, dword [ebp - 0x250]
push edx
call fcn.00406cf9
add esp, 4
push 2
xor eax, eax
push 0x4e7fa8
lea ecx, [ebp - 0x250]
mov dword [ebp - 0x23c], edi
mov dword [ebp - 0x240], ebx
mov word [ebp - 0x250], ax
call fcn.00406030
lea ecx, [ebp - 0x250]
push ecx
lea edx, [ebp - 0x234]
push edx
mov byte [ebp - 4], 3
call fcn.0040f120
add esp, 8
cmp dword [ebp - 0x23c], 8
mov edi, eax
mov byte [ebp - 4], 1
jb 0x42f97b
mov eax, dword [ebp - 0x250]
push eax
call fcn.00406cf9
add esp, 4
cmp edi, 0xffffffff
jne 0x42f9d0
cmp dword [ebp - 0x220], 8
jb 0x42f998
mov ecx, dword [ebp - 0x234]
push ecx
call fcn.00406cf9
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 0x42f9c9
mov eax, dword [ebp - 0x26c]
push eax
call fcn.00406cf9
add esp, 4
xor al, al
jmp 0x42fd09
xor ecx, ecx
push 3
mov word [ebp - 0x250], cx
push 0x4e7d7c
lea ecx, [ebp - 0x250]
mov dword [ebp - 0x23c], 7
mov dword [ebp - 0x240], ebx
call fcn.00406030
lea edx, [ebp - 0x250]
push edx
lea eax, [ebp - 0x234]
push eax
mov byte [ebp - 4], 4
call fcn.0040f120
add esp, 8
cmp dword [ebp - 0x23c], 8
mov edi, eax
mov byte [ebp - 4], 1
jb 0x42fa33
mov ecx, dword [ebp - 0x250]
push ecx
call fcn.00406cf9
add esp, 4
cmp edi, 0xffffffff
jne 0x42fa8c
cmp dword [ebp - 0x220], 8
jb 0x42fa50
mov edx, dword [ebp - 0x234]
push edx
call fcn.00406cf9
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 0x42f9c9
mov ecx, dword [ebp - 0x26c]
push ecx
call fcn.00406cf9
add esp, 4
xor al, al
jmp 0x42fd09
push 0xffffffffffffffff
add edi, 3
push edi
lea edx, [ebp - 0x288]
push edx
lea ecx, [ebp - 0x234]
call fcn.00406650
push 1
push ebx
push 0x4e9540
lea ecx, [ebp - 0x288]
mov byte [ebp - 4], 5
call fcn.0040a0b0
push eax
push ebx
lea eax, [ebp - 0x250]
push eax
lea ecx, [ebp - 0x288]
call fcn.00406650
push eax
lea ecx, [ebp - 0x288]
mov byte [ebp - 4], 6
call fcn.00405fb0
mov edi, 8
mov byte [ebp - 4], 5
cmp dword [ebp - 0x23c], edi
jb 0x42faff
mov ecx, dword [ebp - 0x250]
push ecx
call fcn.00406cf9
add esp, 4
mov eax, dword [ebp - 0x288]
cmp dword [ebp - 0x274], edi
jae 0x42fb13
lea eax, [ebp - 0x288]
push eax
call fcn.004b788d
mov edx, dword [0x528178]
add esp, 4
mov edi, eax
push edi
push ebx
push 0x100000
mov dword [edx + 0x44], edi
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [0x527118], eax
cmp eax, ebx
je 0x42fb5e
lea eax, [ebp - 0x28c]
push eax
push ebx
push esi
push 0x447c00
push ebx
push ebx
mov dword [ebp - 0x28c], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x527110], eax
lea ecx, [ebp - 0x294]
push ecx
push 0x447cd0
mov dword [ebp - 0x290], ebx
mov dword [ebp - 0x294], edi
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [ebp - 0x290]
cmp eax, ebx
jne 0x42fbbb
push edi
call fcn.00447c60
add esp, 4
cmp eax, ebx
je 0x42fbbe
lea edx, [ebp - 0x294]
push edx
push 0x447cd0
mov dword [ebp - 0x294], eax
mov dword [ebp - 0x290], ebx
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [ebp - 0x290]
cmp eax, ebx
je 0x42fbbe
mov dword [esi + 8], eax
call fcn.0040a170
test al, al
mov eax, dword [ebp - 0x26c]
je 0x42fc24
cmp dword [ebp - 0x258], 8
jae 0x42fbdc
lea eax, [ebp - 0x26c]
push ebx
push edi
push eax
push str._s__ld__ld
push 0x104
lea eax, [ebp - 0x218]
push eax
call fcn.00408a40
add esp, 0x18
cmp eax, ebx
jge 0x42fc4f
lea ecx, [ebp - 0x288]
call fcn.00409fe0
lea ecx, [ebp - 0x234]
call fcn.00409fe0
lea ecx, [ebp - 0x26c]
call fcn.00409fe0
xor al, al
jmp 0x42fd09
cmp dword [ebp - 0x258], 8
jae 0x42fc33
lea eax, [ebp - 0x26c]
mov ecx, dword [ebp - 0x298]
push ecx
push edi
push eax
push str._s__ld__ld
push 0x104
lea edx, [ebp - 0x218]
push edx
jmp 0x42fbf0
push 0xa0
call fcn.00404fba
add esp, 4
mov dword [ebp - 0x298], eax
mov byte [ebp - 4], 7
cmp eax, ebx
je 0x42fc7c
push ebx
lea ecx, [ebp - 0x218]
push ecx
push ebx
mov ecx, eax
call fcn.004399c0
jmp 0x42fc7e
xor eax, eax
mov byte [ebp - 4], 5
mov dword [esi], eax
cmp eax, ebx
je 0x42fbfc
push 0x4480d0
push 5
mov ecx, eax
mov byte [esi + 4], 1
call fcn.00439530
mov ecx, dword [esi]
push 0x4480d0
push 6
call fcn.00439530
mov ecx, dword [esi]
push 0x4480d0
push 7
call fcn.00439530
mov ecx, dword [esi]
push 0x4480d0
push 8
call fcn.00439530
mov ecx, dword [esi]
push 0x4480d0
push 9
call fcn.00439530
mov ecx, dword [esi]
push ebx
push 1
push edi
call fcn.00439b20
test eax, eax
lea ecx, [ebp - 0x288]
sete bl
call fcn.00409fe0
lea ecx, [ebp - 0x234]
call fcn.00409fe0
lea ecx, [ebp - 0x26c]
call fcn.00409fe0
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.00401306
mov esp, ebp
pop ebp
ret 4