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

Disassembly:
sub esp, 0x30
fldz
push esi
mov esi, dword [esp + 0x38]
fstp dword [esp + 0x2c]
push edi
xor edi, edi
cmp esi, edi
lea eax, [esp + 0x30]
mov dword [esp + 0x10], eax
mov dword [esp + 0x34], edi
mov dword [esp + 0x28], edi
jne 0x42a5be
lea eax, [edi + 1]
pop edi
pop esi
add esp, 0x30
ret
push ebx
mov ebx, dword [esp + 0x54]
cmp ebx, 1
push ebp
mov ebp, dword [esp + 0x5c]
jne 0x42a5df
cmp ebp, edi
je 0x42aa0c
cmp dword [esp + 0x60], edi
je 0x42aa0c
mov ecx, dword [esp + 0x64]
push 0x1800
push ecx
lea edx, [esi + 0xf1e94]
push edx
call fcn.00443c10
xor edx, edx
add esp, 0xc
cmp ebx, 1
mov dword [esi + 0xf1eb4], eax
mov dword [esp + 0x44], edi
mov dword [esp + 0x10], edx
jne 0x42a632
xor eax, eax
cmp dword [esi + 0x34], edi
jle 0x42a64e
mov ebx, dword [esi + 0x34]
mov ecx, dword [ebp + eax*4]
add eax, 1
add edx, ecx
add edi, ecx
cmp eax, ebx
jl 0x42a617
mov dword [esp + 0x44], edi
mov dword [esp + 0x10], edx
xor edi, edi
jmp 0x42a64e
mov eax, dword [esp + 0x54]
cmp eax, edi
jne 0x42a640
mov dword [esp + 0x44], edi
jmp 0x42a646
mov eax, dword [eax]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x10], ecx
cmp dword [esi + 0xf1ed4], 1
jne 0x42a673
mov edx, dword [esi + 0xf1edc]
push edx
call fcn.0042bbc0
mov eax, dword [esi + 0xf1edc]
mov ecx, dword [eax + 0x2c]
add esp, 4
mov dword [esp + 0x18], ecx
xor ebp, ebp
cmp dword [esi + 0x34], edi
jle 0x42a6af
lea ebx, [esi + 0xf1ca0]
lea edi, [esi + 0x3c]
cmp dword [edi], 1
jne 0x42a6a1
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
push 0x400
push edx
push edi
push eax
push ebx
call fcn.0042db50
add esp, 0x14
add ebp, 1
add edi, 0x34
add ebx, 0x64
cmp ebp, dword [esi + 0x34]
jl 0x42a683
mov eax, dword [esi + 0x48]
mov ecx, dword [esi]
mov edx, dword [esi + 0xf1c80]
push ecx
push edx
mov ecx, eax
imul ecx, ecx, 0x1028
lea edx, [ecx + esi + 0x4c40]
lea ebx, [esi + 0x42b8]
push ebx
push edx
lea ecx, [esi + 0x86e3c]
push ecx
mov ecx, eax
imul eax, eax, 0x9e50
imul ecx, ecx, 0x1fc
lea edx, [esi + 0xcd80]
push edx
lea edx, [ecx + esi + 0xf0ca0]
mov ecx, dword [esp + 0x60]
push edx
mov edx, dword [esp + 0x68]
lea eax, [eax + esi + 0xa1a20]
push eax
mov eax, dword [esi + 4]
push ecx
mov ecx, dword [esi + 0x34]
lea edi, [esi + 0x3c]
push edi
push edx
push eax
push ecx
call fcn.00430420
add esp, 0x34
test eax, eax
jne 0x42aa0c
mov edx, dword [esi + 4]
mov ecx, dword [esi + 0x10]
push edx
mov edx, dword [esi + 0x34]
push ecx
lea eax, [esi + 0x140]
push eax
push edi
push edx
call fcn.0042c470
xor ebp, ebp
add esp, 0x14
cmp dword [esi + 0x34], ebp
jle 0x42a94c
lea eax, [esi + 0x15c]
mov dword [esp + 0x2c], eax
lea ecx, [esi + 0x214]
lea eax, [esi + 0x48]
lea edx, [esi + 0x4238]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], 0x16
mov dword [esp + 0x28], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], edx
lea ebx, [esi + 0x8c3b8]
lea edi, [esi + 0x253fc]
lea esp, [esp]
mov edx, dword [esi + 0xf1ed4]
cmp edx, 2
jne 0x42a7c8
mov eax, dword [esi + 0xf1edc]
mov ecx, dword [esi + 0xf1ed8]
cmp ecx, dword [eax + 0xc]
jge 0x42aa0c
cmp ebp, dword [eax + 4]
jge 0x42aa0c
mov eax, dword [eax + 0x2c]
mov ecx, dword [esp + 0x1c]
movsx eax, word [eax + ecx]
mov dword [esp + 0x30], eax
cmp dword [esp + 0x58], 1
jne 0x42a7dc
mov ecx, dword [esp + 0x5c]
mov ecx, dword [ecx + ebp*4]
mov dword [esp + 0x10], ecx
jmp 0x42a7e0
mov ecx, dword [esp + 0x10]
cmp edx, 1
jne 0x42a7f5
mov eax, dword [esi + 0xf1edc]
mov eax, dword [eax + 0x2c]
lea eax, [eax + ebp*4]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x44]
cmp eax, ecx
mov dword [esp + 0x34], eax
jl 0x42a805
mov dword [esp + 0x34], ecx
push dword [esp + 0x30]
fld dword [edi + 4]
mov ecx, dword [edi - 0x34]
push edx
mov edx, dword [esp + 0x20]
push edx
mov edx, dword [edi - 0x14]
sub esp, 0xc
fstp dword [esp + 8]
mov eax, dword [esp + 0x2c]
fld dword [edi]
mov eax, dword [eax]
fstp dword [esp + 4]
fld dword [edi - 4]
fstp dword [esp]
push edx
fld dword [ebx + 4]
sub esp, 0x14
fstp dword [esp + 0x10]
lea edx, [esi + 0x145ff0]
fld dword [ebx]
fstp dword [esp + 0xc]
fld dword [edi - 0x1c]
fstp dword [esp + 8]
fld dword [edi - 0x20]
fstp dword [esp + 4]
fld dword [edi - 0x24]
fstp dword [esp]
push ecx
fld dword [edi - 0x38]
push ecx
fstp dword [esp]
push edx
fld dword [edi - 8]
lea edx, [esi + 0x14bff0]
push edx
lea edx, [esi + 0x153ff0]
push edx
lea edx, [esi + 0x13dfb0]
push edx
lea edx, [esi + 0x13dee0]
push edx
xor edx, edx
cmp ecx, 3
mov ecx, dword [esp + 0x80]
setge dl
push edx
sub esp, 0x14
fstp dword [esp + 0x10]
mov edx, dword [esp + 0x88]
fld dword [edi - 0x10]
fstp dword [esp + 0xc]
fld dword [edi - 0xc]
fstp dword [esp + 8]
fld dword [ebx - 4]
fstp dword [esp + 4]
fld dword [edi - 0x3c]
fstp dword [esp]
push ecx
mov ecx, eax
imul eax, eax, 0x1028
imul ecx, ecx, 0x7c0
push edx
lea edx, [ecx + esi + 0x438]
mov ecx, dword [esp + 0x8c]
push edx
push ecx
mov ecx, dword [esp + 0xa0]
lea edx, [eax + esi + 0x4c40]
mov eax, dword [esp + 0x9c]
push edx
mov edx, dword [esp + 0x8c]
push eax
mov eax, dword [edx - 4]
push ecx
push eax
lea eax, [esi + 0x140]
push eax
push ebp
call fcn.0042c5c0
add esp, 0x8c
add dword [esp + 0x1c], 2
add dword [esp + 0x20], 0x1e8
add dword [esp + 0x24], 0x14
add dword [esp + 0x28], 0x78
add dword [esp + 0x2c], 0x18
add dword [esp + 0x14], 0x34
add ebp, 1
add ebx, 0x5594
add edi, 0x1868c
cmp ebp, dword [esi + 0x34]
jl 0x42a790
xor ebp, ebp
cmp dword [esi + 0x34], ebp
jle 0x42a9b9
lea ecx, [esi + 0x4238]
lea edx, [esi + 0xf1ca0]
lea edi, [esi + 0x48]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x44], edx
lea ebx, [esi + 0x449c]
cmp dword [edi - 0xc], 1
jne 0x42a99e
mov edx, dword [edi]
fld dword [ebx]
mov eax, dword [esp + 0x44]
imul edx, edx, 0x1028
push ecx
mov ecx, dword [esp + 0x30]
fstp dword [esp]
push eax
push ecx
lea eax, [edx + esi + 0x4c40]
push eax
call fcn.0042e010
add esp, 0x10
add dword [esp + 0x44], 0x64
add dword [esp + 0x2c], 0x14
add ebp, 1
add ebx, 0x1e8
add edi, 0x34
cmp ebp, dword [esi + 0x34]
jl 0x42a970
mov ecx, dword [esi + 0x34]
lea edi, [esi + 0x438]
push edi
lea ebx, [esi + 0x140]
push ebx
push ecx
call fcn.0042c2d0
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x64]
push edx
mov edx, dword [esp + 0x60]
push eax
push ecx
mov ecx, dword [esi + 0xf1eb4]
push edx
mov edx, dword [esi + 0x34]
lea eax, [esp + 0x58]
push eax
lea eax, [esi + 0x42b8]
push eax
push edi
lea eax, [esi + 0x3c]
push eax
push ecx
push edx
call fcn.0042d630
add esp, 0x34
test eax, eax
je 0x42aa19
pop ebp
pop ebx
pop edi
mov eax, 1
pop esi
add esp, 0x30
ret
mov eax, dword [esi + 0x34]
push edi
push ebx
push eax
call fcn.0042c270
mov ecx, dword [esi + 0xf1eb4]
push ecx
call fcn.00443cf0
mov dword [esp + 0x54], eax
fild dword [esp + 0x54]
mov ebx, 1
add dword [esi + 0xf1ec0], ebx
mov edi, 2
fadd qword [esi + 0xf1eb8]
add esp, 0x10
cmp dword [esi + 0x253c8], edi
fstp qword [esi + 0xf1eb8]
jne 0x42aa89
xor ecx, ecx
cmp dword [esi + 0x34], ecx
jle 0x42aa89
lea eax, [esi + 0x16c]
lea esp, [esp]
mov ebp, dword [eax]
mov edx, dword [eax - 4]
add ebp, ebx
cmp edx, ebp
jle 0x42aa7f
add edx, ebx
mov dword [eax], edx
add ecx, ebx
add eax, 0x18
cmp ecx, dword [esi + 0x34]
jl 0x42aa70
mov eax, dword [esi + 0x253c8]
cmp eax, 4
je 0x42aa99
cmp eax, 3
jne 0x42aac7
cmp dword [esi + 0xf1ed4], edi
je 0x42aac7
xor ecx, ecx
cmp dword [esi + 0x34], ecx
jle 0x42aac7
lea eax, [esi + 0x168]
mov edi, edi
mov dword [eax + 4], 0x1800
mov dword [eax], 0x17f9
add ecx, ebx
add eax, 0x18
cmp ecx, dword [esi + 0x34]
jl 0x42aab0
mov edx, dword [esi + 0xf1eb4]
push edx
call fcn.00443cf0
mov ecx, dword [esp + 0x6c]
cdq
and edx, 7
add eax, edx
sar eax, 3
add esp, 4
mov dword [ecx], eax
cmp dword [esi + 0xf1ed4], ebx
jne 0x42ab4e
cmp dword [esi + 0x34], 0
mov edx, dword [esi + 0xf1edc]
mov ebp, dword [edx + 0x2c]
jle 0x42ab3c
mov edi, 0xffffffe0
lea eax, [ebp + 0x20]
lea ecx, [esi + 0x48]
sub edi, ebp
lea esp, [esp]
mov edx, dword [ecx]
imul edx, edx, 0x1028
cmp dword [edx + esi + 0x4c4c], 2
setne dl
sub dl, bl
add ecx, 0x34
and edx, 2
mov byte [eax], dl
add eax, ebx
lea edx, [edi + eax]
cmp edx, dword [esi + 0x34]
jl 0x42ab10
mov edi, 2
mov ax, word [esi + 0x42a4]
add ax, word [esi + 0x429c]
mov word [ebp + 0x14], ax
cmp dword [esi + 0xf1ed4], edi
jne 0x42ab65
mov eax, dword [esi + 0xf1edc]
mov ecx, dword [eax + 0x2c]
mov edx, dword [ecx + 0x28]
mov dword [eax + 0x2c], edx
add dword [esi + 0xf1ed8], ebx
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
add esp, 0x30
ret