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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, dword [0x4a35d0]
mov ecx, 0x3000
push esi
mov esi, dword [0x4a35cc]
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.00466a94
mov edi, eax
mov dword [ebx + 0x7c], edi
mov dword [0x4a35d4], 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.00466a94
add esp, 0x10
mov dword [ebx + 0x8d0], eax
or esi, 0xffffffff
test eax, eax
je 0x42cbee
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.00466a94
add esp, 8
mov dword [ebx + 0x480], eax
test eax, eax
je 0x42cbee
mov dword [edi + 0x58], eax
movsx eax, word [ebx + 0x8f2]
lea eax, [eax*4 + 4]
push eax
call fcn.00467db8
add esp, 4
mov dword [edi + 0x127c], eax
mov dword [edi + 0x1280], 0
push 0xc
call fcn.00462fce
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.00462fce
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.00462fce
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.00466a94
add esp, 8
mov dword [ebx + 0x8d4], eax
test eax, eax
je 0x42cbee
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.00466a94
add esp, 8
mov dword [ebx + 0x8cc], eax
test eax, eax
je 0x42cbeb
mov dword [edi + 0xa0], eax
mov dword [edi + 0x98], eax
add eax, esi
mov esi, dword [0x486340]
mov dword [edi + 0xa4], eax
mov eax, dword [0x4a359c]
mov dword [edi + 8], eax
mov eax, dword [0x4a35a4]
mov dword [edi], eax
mov eax, dword [0x4a35a0]
mov dword [edi + 4], eax
mov eax, dword [0x4a35a8]
mov dword [edi + 0x10], eax
mov eax, dword [0x4a35ac]
mov dword [edi + 0xc], eax
mov eax, dword [0x4a35a8]
push eax
mov dword [edi + 0x14], eax
call esi
test eax, eax
je 0x42c9b1
push eax
mov dword [edi + 0x14], eax
call esi
test eax, eax
jne 0x42c9a7
mov eax, dword [0x4a3598]
mov ecx, 0x7ffff000
mov dword [edi + 0x4c0], eax
mov dword [edi + 0x4f4], 0x4a3598
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 [0x4a35b6]
mov word [edi + 0x4d2], ax
mov eax, dword [0x4a35b0]
mov dword [edi + 0x4d4], eax
call fcn.00433e00
mov eax, dword [0x4a3534]
xorps xmm0, xmm0
mov dword [edi + 0x51c], eax
mov edx, 0xffff
mov eax, dword [0x4a3530]
mov dword [edi + 0x520], eax
mov eax, dword [0x4a342c]
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 0x42cb1a
lea ecx, [ebp - 0x10]
call fcn.00405a30
lea ecx, [ebp - 0x10]
call fcn.00405a30
movzx eax, word [ebp - 0x10]
push 0x7f00
mov word [edi + 0x18c], ax
or word [edi + 0x28], 0x40
push 0
call dword [0x4863bc]
mov esi, dword [0x4a2668]
push eax
push dword [0x4a35a0]
call esi
mov ecx, eax
neg ecx
push eax
sbb ecx, ecx
neg ecx
dec ecx
mov word [edi + 0x4d0], cx
push dword [0x4a35a0]
call esi
mov eax, 0x100
lea esi, [edi + 0x534]
mov dword [ebp - 4], eax
nop dword [eax]
cmp dword [esi], 0
jne 0x42cb94
push 0x10
call fcn.00462fce
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 0x42cb70
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