Function at 0x42a140
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, dword [0x49b5b8]
mov ecx, 0x3000
push esi
mov esi, dword [0x49b5b4]
push edi
movzx eax, word [ebx + 0x8f0]
cwde
imul eax, eax, 0x32
push 1
push 0x12a4
and eax, 0xfffffc00
add eax, 0x400
cmp eax, ecx
cmova ecx, eax
mov dword [ebp - 4], ecx
call fcn.0045f3d4
mov edi, eax
mov dword [ebx + 0x7c], edi
mov dword [0x49b5bc], edi
push 1
mov dword [edi + 0x18], esi
mov dword [edi + 0x1c], ebx
mov ecx, dword [esi + 0xe0]
mov dword [edi + 0x1d4], ecx
movsx eax, word [ebx + 0x8f0]
lea eax, [eax*8 + 0x50]
push eax
call fcn.0045f3d4
add esp, 0x10
mov dword [ebx + 0x8d0], eax
or esi, 0xffffffff
test eax, eax
je 0x42a59e
mov dword [edi + 0x1278], eax
movsx eax, word [ebx + 0x8f2]
mov dword [edi + 0x54], eax
movsx eax, word [ebx + 0x8f2]
imul eax, eax, 0x92
push 1
push eax
call fcn.0045f3d4
add esp, 8
mov dword [ebx + 0x480], eax
test eax, eax
je 0x42a59e
mov dword [edi + 0x58], eax
movsx eax, word [ebx + 0x8f2]
lea eax, [eax*4 + 4]
push eax
call fcn.004606f8
add esp, 4
mov dword [edi + 0x127c], eax
mov dword [edi + 0x1280], 0
push 0xc
call fcn.0045b921
add esp, 4
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
push 0xc
mov dword [edi + 0x1294], eax
call fcn.0045b921
add esp, 4
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
push 0xc
mov dword [edi + 0x1298], eax
call fcn.0045b921
add esp, 4
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [edi + 0x129c], eax
xor eax, eax
mov word [edi + 0x128e], ax
mov dword [edi + 0x1290], eax
mov dword [edi + 0x12a0], 0
mov dword [edi + 0x1288], esi
mov word [edi + 0x128c], si
movsx eax, word [ebx + 0x8f0]
cdq
and edx, 7
add eax, edx
sar eax, 3
and eax, 0xfff8
add eax, 0x10
push 1
push eax
call fcn.0045f3d4
add esp, 8
mov dword [ebx + 0x8d4], eax
test eax, eax
je 0x42a59e
mov esi, dword [ebp - 4]
mov dword [edi + 0x1168], eax
movsx eax, word [ebx + 0x8f0]
mov dword [edi + 0x40], eax
mov eax, esi
shr eax, 0xa
mov dword [edi + 0x94], eax
lea eax, [esi + esi]
push 1
push eax
call fcn.0045f3d4
add esp, 8
mov dword [ebx + 0x8cc], eax
test eax, eax
je 0x42a59b
mov dword [edi + 0xa0], eax
mov dword [edi + 0x98], eax
add eax, esi
mov esi, dword [sym.imp.USER32.dll_GetParent]
mov dword [edi + 0xa4], eax
mov eax, dword [0x49b584]
mov dword [edi + 8], eax
mov eax, dword [0x49b58c]
mov dword [edi], eax
mov eax, dword [0x49b588]
mov dword [edi + 4], eax
mov eax, dword [0x49b590]
mov dword [edi + 0x10], eax
mov eax, dword [0x49b594]
mov dword [edi + 0xc], eax
mov eax, dword [0x49b590]
push eax
mov dword [edi + 0x14], eax
call esi
test eax, eax
je 0x42a381
push eax
mov dword [edi + 0x14], eax
call esi
test eax, eax
jne 0x42a377
mov eax, dword [0x49b580]
mov ecx, 0x7ffff000
mov dword [edi + 0x4c0], eax
mov dword [edi + 0x4f4], 0x49b580
mov al, byte [ebx + 0x8dc]
mov byte [edi + 0x26], al
mov eax, dword [ebx + 0x1c]
mov dword [edi + 0xb0], eax
mov dword [ebx + 0x8e8], eax
mov eax, dword [ebx + 0x20]
mov dword [edi + 0xb4], eax
mov dword [ebx + 0x8ec], eax
mov eax, dword [ebx + 0x3c]
cmp eax, 0xffffffff
cmove eax, ecx
mov dword [edi + 0xa8], eax
mov eax, dword [ebx + 0x40]
cmp eax, 0xffffffff
mov dword [edi + 0x3c], 0
cmove eax, ecx
mov dword [edi + 0x1a8], 0
mov dword [edi + 0xac], eax
mov ecx, 0x80
xor eax, eax
mov dword [edi + 0x4c4], 0
mov dword [edi + 0x30], eax
movzx eax, word [edi + 0x28]
and ax, cx
mov dword [edi + 0x514], 0x64
or ax, 4
mov dword [edi + 0x510], 0x64
mov word [edi + 0x28], ax
mov eax, dword [edi + 0x1278]
sub eax, edi
mov dword [edi + 0x4ec], eax
mov eax, 0xffff8000
mov word [edi + 0x502], ax
mov word [edi + 0x4f0], ax
movzx eax, word [0x49b59e]
mov word [edi + 0x4d2], ax
mov eax, dword [0x49b598]
mov dword [edi + 0x4d4], eax
call fcn.00431730
mov eax, dword [0x49b51c]
xorps xmm0, xmm0
mov dword [edi + 0x51c], eax
mov edx, 0xffff
mov eax, dword [0x49b518]
mov dword [edi + 0x520], eax
mov eax, dword [0x49b414]
mov dword [edi + 0x524], eax
xor eax, eax
mov dword [edi + 0x438], 0
mov word [edi + 0x436], ax
mov dword [edi + 0x43c], 0xfffffffd
movsd qword [edi + 0x440], xmm0
mov dword [edi + 0x466], eax
mov word [edi + 0x46a], ax
mov byte [edi + 0x46c], al
movzx eax, word [ebx + 0x968]
mov ecx, eax
cmp ax, dx
jne 0x42a4ea
lea ecx, [ebp - 0x10]
call fcn.004054e0
lea ecx, [ebp - 0x10]
call fcn.004054e0
movzx eax, word [ebp - 0x10]
mov word [edi + 0x18c], ax
or word [edi + 0x28], 0x40
mov esi, dword [sym.imp.USER32.dll_ShowCursor]
push 0
call esi
push 1
call esi
mov word [edi + 0x4d0], ax
lea esi, [edi + 0x534]
mov eax, 0x100
mov dword [ebp - 4], eax
nop dword [eax]
cmp dword [esi], 0
jne 0x42a544
push 0x10
call fcn.0045b921
mov dword [ebp - 0xc], eax
add esp, 4
mov dword [eax], 0
mov dword [eax + 8], 0
mov dword [esi], eax
mov eax, dword [ebp - 4]
add esi, 4
sub eax, 1
mov dword [ebp - 4], eax
jne 0x42a520
mov dword [edi + 0x448], 0
xor eax, eax
mov dword [edi + 0x44c], 0
mov dword [edi + 0x456], 0
mov dword [edi + 0x45a], 0
mov dword [edi + 0x45e], 0
mov dword [edi + 0x462], 0
mov dword [ebx + 0x78], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
or esi, 0xffffffff
pop edi
mov ax, si
pop esi
pop ebx
mov esp, ebp
pop ebp
ret