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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1bc
mov eax, dword [0x5920a4]
xor eax, esp
mov dword [esp + 0x1b8], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
cmp dword [edi + 0x58], 2
jl 0x4df9c1
xor eax, eax
cmp dword [edi + 4], eax
je 0x4df8ce
mov ecx, dword [ebp + 0x10]
cmp ecx, eax
jl 0x4df9c1
mov esi, dword [ebp + 0xc]
mov dword [esp + 0x18], edi
jg 0x42c5f1
cmp esi, eax
jb 0x4df9c1
cmp ecx, dword [edi + 0x14]
jg 0x4df9c1
jl 0x42c605
cmp esi, dword [edi + 0x10]
ja 0x4df9c1
or dword [edi + 0x50], 0xffffffff
or dword [edi + 0x54], 0xffffffff
mov ecx, dword [edi + 0x5c]
lea ebx, [edi + 0x78]
or dword [ebx + 0x154], 0xffffffff
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x24], eax
mov dword [ebx + 0x144], eax
mov dword [ebx + 0x148], eax
mov dword [ebx + 0x14c], eax
mov dword [ebx + 0x158], eax
mov dword [ebx + 0x15c], eax
mov dword [ebx + 0x160], eax
mov dword [ebx + 0x164], eax
lea eax, [edi + 0x1e0]
mov dword [ebx + 0x150], ecx
call fcn.0041e630
push dword [ebp + 0x10]
push esi
mov esi, edi
call fcn.00425610
push dword [edi + 0x5c]
and dword [esp + 0x20], 0
and dword [esp + 0x1c], 0
lea esi, [esp + 0x64]
call fcn.0041e5d0
xor esi, esi
add esp, 0xc
or dword [esp + 0x1ac], 0xffffffff
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x19c], esi
mov dword [esp + 0x1a0], esi
mov dword [esp + 0x1a4], esi
mov dword [esp + 0x1b0], esi
mov dword [esp + 0x1b4], esi
mov dword [esp + 0x1b8], esi
mov dword [esp + 0x1bc], esi
cmp dword [edi + 0x58], 3
jl 0x42c7b5
push 1
lea ecx, [esp + 0x3c]
lea eax, [esp + 0x5c]
call fcn.0042e6f0
add esp, 4
test eax, eax
jle 0x42c7b5
mov eax, dword [edi + 0x60]
mov ecx, dword [edi + 0x48]
shl eax, 5
add eax, ecx
cmp dword [eax + 0x1c], esi
je 0x4df919
lea edx, [esp + 0x38]
call fcn.0042d0c0
cmp eax, esi
jge 0x4df8e5
push 1
xor ecx, ecx
mov eax, ebx
call fcn.0042e6f0
mov dword [esp + 0x24], esi
add esp, 4
mov edx, dword [esp + 0x48]
mov eax, edx
and eax, dword [esp + 0x4c]
cmp eax, 0xffffffff
je 0x4df8d8
mov eax, dword [edi + 0x60]
mov ecx, dword [edi + 0x44]
mov ebx, dword [esp + 0x4c]
shl eax, 4
sub edx, dword [eax + ecx]
sbb ebx, dword [eax + ecx + 4]
mov dword [esp + 0x18], edx
cmp ebx, esi
jg 0x42c76f
jl 0x4df959
cmp edx, esi
jb 0x4df959
mov eax, dword [edi + 0x60]
cmp eax, esi
jg 0x4df964
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
cdq
sub ecx, eax
sbb ebx, edx
mov dword [edi + 0x50], ecx
mov dword [edi + 0x54], ebx
lea esi, [esp + 0x58]
call fcn.0041e590
fldz
fst qword [edi + 0x68]
xor eax, eax
fstp qword [edi + 0x70]
mov ecx, dword [esp + 0x1c4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004a9c82
mov esp, ebp
pop ebp
ret
cmp dword [esp + 0x14], esi
jne 0x4df9b4
push 0xffffffffffffffff
lea eax, [esp + 0x2c]
push 0xffffffffffffffff
push eax
mov esi, edi
call fcn.0042cb10
add esp, 0xc
test edx, edx
jl 0x4df97d
push 0
pop ecx
jg 0x42c7e7
cmp eax, ecx
jb 0x4df97d
cmp dword [edi + 0x58], 3
mov esi, dword [esp + 0x28]
jl 0x42c84c
movzx edx, byte [esi + 0xf]
xor eax, eax
mov ah, byte [esi + 0x11]
mov al, byte [esi + 0x10]
shl eax, 8
or eax, edx
movzx edx, byte [esi + 0xe]
shl eax, 8
or eax, edx
cmp dword [edi + 0x5c], eax
jne 0x4df92c
cmp dword [edi + 0x58], 3
jl 0x42c84c
lea eax, [esp + 0x28]
mov edi, ebx
call fcn.0042c310
lea eax, [esp + 0x28]
lea edi, [esp + 0x58]
call fcn.0042c310
mov eax, dword [esp + 0x28]
movzx eax, byte [eax + 5]
mov edi, dword [esp + 0x18]
and eax, 4
mov dword [esp + 0x24], eax
xor esi, esi
jmp 0x42c6d7
movzx eax, byte [esi + 0xf]
xor edx, edx
mov dh, byte [esi + 0x11]
mov dl, byte [esi + 0x10]
shl edx, 8
or edx, eax
movzx eax, byte [esi + 0xe]
shl edx, 8
or edx, eax
xor eax, eax
cmp dword [edi + 0x34], ecx
mov dword [edi + 0x5c], edx
jle 0x42c87b
mov esi, dword [edi + 0x40]
cmp dword [esi], edx
jne 0x4df947
cmp eax, dword [edi + 0x34]
je 0x4df992
mov dword [edi + 0x60], eax
or dword [ebx + 0x154], 0xffffffff
or dword [esp + 0x1ac], 0xffffffff
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], ecx
mov dword [ebx + 0x1c], ecx
mov dword [ebx + 0x20], ecx
mov dword [ebx + 0x24], ecx
mov dword [ebx + 0x144], ecx
mov dword [ebx + 0x148], ecx
mov dword [ebx + 0x14c], ecx
mov dword [ebx + 0x158], ecx
mov dword [ebx + 0x15c], ecx
mov dword [ebx + 0x160], ecx
mov dword [ebx + 0x164], ecx
mov dword [ebx + 0x150], edx
mov eax, dword [edi + 0x5c]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x19c], ecx
mov dword [esp + 0x1a0], ecx
mov dword [esp + 0x1a4], ecx
mov dword [esp + 0x1b0], ecx
mov dword [esp + 0x1b4], ecx
mov dword [esp + 0x1b8], ecx
mov dword [esp + 0x1bc], ecx
mov dword [esp + 0x1a8], eax
mov dword [edi + 0x58], 3
jmp 0x42c81a
mov eax, 0xffffff76
jmp 0x42c7a0
mov eax, dword [esp + 0x20]
mov dword [esp + 0x14], eax
jmp 0x42c6d7
cmp dword [esp + 0x24], esi
mov dword [esp + 0x20], eax
je 0x4df8ff
push 1
xor ecx, ecx
mov eax, ebx
call fcn.0042e6f0
jmp 0x42c72f
mov ecx, dword [esp + 0x14]
cmp ecx, esi
je 0x42c732
add eax, ecx
sar eax, 2
add dword [esp + 0x10], eax
jmp 0x42c732
push 1
xor ecx, ecx
mov eax, ebx
call fcn.0042e6f0
add esp, 4
jmp 0x42c7b5
push edi
call fcn.00507c3e
pop ecx
lea esi, [esp + 0x58]
call fcn.0041e590
mov esi, dword [esp + 0x28]
xor ecx, ecx
jmp 0x42c814
inc eax
add esi, 4
cmp eax, dword [edi + 0x34]
jl 0x42c873
jmp 0x42c87b
mov dword [esp + 0x18], esi
xor ebx, ebx
jmp 0x42c76f
add ecx, 8
mov edx, dword [ecx]
add dword [esp + 0x18], edx
mov edx, dword [ecx + 4]
adc ebx, edx
add ecx, 0x10
dec eax
jne 0x4df967
jmp 0x42c77a
push 0xffffffffffffffff
push edi
call fcn.00411e90
pop ecx
pop ecx
mov dword [edi + 0x50], eax
mov dword [edi + 0x54], edx
jmp 0x42c78d
or dword [edi + 0x50], 0xffffffff
or dword [edi + 0x54], 0xffffffff
lea esi, [esp + 0x58]
call fcn.0041e590
push edi
call fcn.00507c3e
pop ecx
mov eax, 0xffffff77
jmp 0x42c7a0
or dword [edi + 0x50], 0xffffffff
or dword [edi + 0x54], 0xffffffff
jmp 0x42c78d
mov eax, 0xffffff7d
jmp 0x42c7a0