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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, dword [0x4a05c8]
mov ecx, 0x3000
push esi
mov esi, dword [0x4a05c4]
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.004643e4
mov edi, eax
mov dword [ebx + 0x7c], edi
mov dword [0x4a05cc], 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.004643e4
add esp, 0x10
mov dword [ebx + 0x8d0], eax
or esi, 0xffffffff
test eax, eax
je 0x42b2ae
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.004643e4
add esp, 8
mov dword [ebx + 0x480], eax
test eax, eax
je 0x42b2ae
mov dword [edi + 0x58], eax
movsx eax, word [ebx + 0x8f2]
lea eax, [eax*4 + 4]
push eax
call fcn.00465708
add esp, 4
mov dword [edi + 0x127c], eax
mov dword [edi + 0x1280], 0
push 0xc
call fcn.00460912
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.00460912
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.00460912
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.004643e4
add esp, 8
mov dword [ebx + 0x8d4], eax
test eax, eax
je 0x42b2ae
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.004643e4
add esp, 8
mov dword [ebx + 0x8cc], eax
test eax, eax
je 0x42b2ab
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 [0x4a0594]
mov dword [edi + 8], eax
mov eax, dword [0x4a059c]
mov dword [edi], eax
mov eax, dword [0x4a0598]
mov dword [edi + 4], eax
mov eax, dword [0x4a05a0]
mov dword [edi + 0x10], eax
mov eax, dword [0x4a05a4]
mov dword [edi + 0xc], eax
mov eax, dword [0x4a05a0]
push eax
mov dword [edi + 0x14], eax
call esi
test eax, eax
je 0x42b071
push eax
mov dword [edi + 0x14], eax
call esi
test eax, eax
jne 0x42b067
mov eax, dword [0x4a0590]
mov ecx, 0x7ffff000
mov dword [edi + 0x4c0], eax
mov dword [edi + 0x4f4], 0x4a0590
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 [0x4a05ae]
mov word [edi + 0x4d2], ax
mov eax, dword [0x4a05a8]
mov dword [edi + 0x4d4], eax
call fcn.00432450
mov eax, dword [0x4a0524]
xorps xmm0, xmm0
mov dword [edi + 0x51c], eax
mov edx, 0xffff
mov eax, dword [0x4a0520]
mov dword [edi + 0x520], eax
mov eax, dword [0x4a041c]
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 0x42b1da
lea ecx, [ebp - 0x10]
call fcn.00405850
lea ecx, [ebp - 0x10]
call fcn.00405850
movzx eax, word [ebp - 0x10]
push 0x7f00
mov word [edi + 0x18c], ax
or word [edi + 0x28], 0x40
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
mov esi, dword [sym.imp.MMFS2.dll_Ordinal_24]
push eax
push dword [0x4a0598]
call esi
mov ecx, eax
neg ecx
push eax
sbb ecx, ecx
neg ecx
dec ecx
mov word [edi + 0x4d0], cx
push dword [0x4a0598]
call esi
mov eax, pe_nt_image_headers32
lea esi, [edi + 0x534]
mov dword [ebp - 4], eax
nop dword [eax]
cmp dword [esi], 0
jne 0x42b254
push 0x10
call fcn.00460912
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 0x42b230
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