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

Disassembly:
sub esp, 0x64
push ebx
push ebp
mov ebp, dword [esp + 0x70]
push esi
xor esi, esi
cmp dword [ebp + 0xc], esi
push edi
je 0x42f3a9
mov eax, dword [ebp]
mov edx, dword [eax + 4]
mov ecx, ebp
call edx
test eax, eax
je 0x42f3a9
mov eax, dword [ebp]
mov edx, dword [eax + 8]
mov ecx, ebp
call edx
test eax, eax
je 0x42f3a9
mov eax, dword [esp + 0x88]
cmp eax, dword [esp + 0x80]
jle 0x42f3a9
mov ecx, dword [esp + 0x8c]
cmp ecx, dword [esp + 0x84]
jle 0x42f3a9
mov ecx, dword [esp + 0x90]
cmp dword [esp + 0x98], ecx
jle 0x42f3a9
mov ebx, dword [esp + 0x9c]
mov eax, dword [esp + 0x94]
cmp ebx, eax
jle 0x42f3a9
cmp ecx, esi
jl 0x42f3a9
cmp eax, esi
jl 0x42f3a9
mov edi, dword [esp + 0x7c]
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov ecx, edi
call eax
cmp dword [esp + 0x98], eax
jg 0x42f3a9
mov edx, dword [edi]
mov eax, dword [edx + 8]
mov ecx, edi
call eax
cmp ebx, eax
jg 0x42f3a9
mov edx, dword [edi]
xor eax, eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov eax, dword [edx + 4]
mov ecx, edi
mov dword [esp + 0x50], esi
mov dword [esp + 0x60], esi
call eax
mov edx, dword [edi]
mov dword [esp + 0x38], eax
mov eax, dword [edx + 8]
mov ecx, edi
call eax
mov edx, dword [ebp]
mov dword [esp + 0x3c], eax
mov eax, dword [edx + 4]
mov ecx, ebp
call eax
mov edx, dword [ebp]
mov dword [esp + 0x30], eax
mov eax, dword [edx + 8]
mov ecx, ebp
call eax
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x34]
mov dword [esp + 0x38], eax
push edx
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x9c]
lea edx, [esp + 0x8c]
lea ebx, [esp + 0x5c]
call fcn.00433a20
mov esi, dword [esp + 0x6c]
add esp, 0xc
test esi, esi
jl 0x42f3a9
mov ebx, dword [esp + 0x64]
test ebx, ebx
jl 0x42f3a9
mov edx, dword [ebp]
mov eax, dword [edx + 4]
mov ecx, ebp
call eax
cmp dword [esp + 0x68], eax
jg 0x42f3a9
mov edx, dword [ebp]
mov eax, dword [edx + 8]
mov ecx, ebp
call eax
mov ecx, dword [esp + 0x6c]
cmp ecx, eax
jg 0x42f3a9
cmp dword [esp + 0x68], esi
jle 0x42f3a9
cmp ecx, ebx
jle 0x42f3a9
cmp dword [esp + 0x50], 0
jl 0x42f3a9
cmp dword [esp + 0x54], 0
jl 0x42f3a9
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov ecx, edi
call eax
cmp dword [esp + 0x58], eax
jg 0x42f3a9
mov edx, dword [edi]
mov eax, dword [edx + 8]
mov ecx, edi
call eax
mov ecx, dword [esp + 0x5c]
cmp ecx, eax
jg 0x42f3a9
mov edx, dword [esp + 0x50]
cmp dword [esp + 0x58], edx
jle 0x42f3a9
cmp ecx, dword [esp + 0x54]
jle 0x42f3a9
xor eax, eax
mov edx, dword [ebp]
test esi, esi
setl al
xor ecx, ecx
sub eax, 1
and eax, esi
test ebx, ebx
setl cl
mov dword [esp + 0x40], eax
mov eax, dword [edx + 4]
sub ecx, 1
and ecx, ebx
mov dword [esp + 0x44], ecx
mov ecx, ebp
call eax
mov esi, dword [esp + 0x68]
cmp eax, esi
jge 0x42f020
mov edx, dword [ebp]
mov eax, dword [edx + 4]
mov ecx, ebp
call eax
jmp 0x42f022
mov eax, esi
xor ebx, ebx
cmp eax, ebx
jge 0x42f02e
mov dword [esp + 0x48], ebx
jmp 0x42f050
mov edx, dword [ebp]
mov eax, dword [edx + 4]
mov ecx, ebp
call eax
cmp eax, esi
jge 0x42f04c
mov edx, dword [ebp]
mov eax, dword [edx + 4]
mov ecx, ebp
call eax
mov dword [esp + 0x48], eax
jmp 0x42f050
mov dword [esp + 0x48], esi
mov edx, dword [ebp]
mov eax, dword [edx + 8]
mov ecx, ebp
call eax
mov esi, dword [esp + 0x6c]
cmp eax, esi
jge 0x42f06e
mov edx, dword [ebp]
mov eax, dword [edx + 8]
mov ecx, ebp
call eax
jmp 0x42f070
mov eax, esi
cmp eax, ebx
jge 0x42f07a
mov dword [esp + 0x4c], ebx
jmp 0x42f09c
mov edx, dword [ebp]
mov eax, dword [edx + 8]
mov ecx, ebp
call eax
cmp eax, esi
jge 0x42f098
mov edx, dword [ebp]
mov eax, dword [edx + 8]
mov ecx, ebp
call eax
mov dword [esp + 0x4c], eax
jmp 0x42f09c
mov dword [esp + 0x4c], esi
mov eax, dword [esp + 0x50]
xor ecx, ecx
cmp eax, ebx
setl cl
xor edx, edx
sub ecx, 1
and ecx, eax
mov eax, dword [esp + 0x54]
cmp eax, ebx
setl dl
mov dword [esp + 0x60], ecx
mov ecx, edi
sub edx, 1
and edx, eax
mov eax, dword [edi]
mov dword [esp + 0x64], edx
mov edx, dword [eax + 4]
call edx
mov esi, dword [esp + 0x58]
cmp eax, esi
jge 0x42f0e0
mov eax, dword [edi]
mov edx, dword [eax + 4]
mov ecx, edi
call edx
jmp 0x42f0e2
mov eax, esi
cmp eax, ebx
jge 0x42f0ea
xor esi, esi
jmp 0x42f102
mov eax, dword [edi]
mov edx, dword [eax + 4]
mov ecx, edi
call edx
cmp eax, esi
jge 0x42f102
mov eax, dword [edi]
mov edx, dword [eax + 4]
mov ecx, edi
call edx
mov esi, eax
mov eax, dword [edi]
mov edx, dword [eax + 8]
mov ecx, edi
call edx
mov ebx, dword [esp + 0x5c]
cmp eax, ebx
jge 0x42f11e
mov eax, dword [edi]
mov edx, dword [eax + 8]
mov ecx, edi
call edx
jmp 0x42f120
mov eax, ebx
test eax, eax
jge 0x42f128
xor eax, eax
jmp 0x42f142
mov eax, dword [edi]
mov edx, dword [eax + 8]
mov ecx, edi
call edx
cmp eax, ebx
jge 0x42f140
mov eax, dword [edi]
mov edx, dword [eax + 8]
mov ecx, edi
call edx
jmp 0x42f142
mov eax, ebx
mov edx, dword [esp + 0x40]
cmp dword [esp + 0x48], edx
jle 0x42f3a9
mov ecx, dword [esp + 0x44]
cmp dword [esp + 0x4c], ecx
jle 0x42f3a9
cmp esi, dword [esp + 0x60]
jle 0x42f3a9
mov ebx, dword [esp + 0x64]
cmp eax, ebx
jle 0x42f3a9
cmp dword [ebp + 0xc], 0
je 0x42f3a9
cmp dword [edi + 0x50], 0
je 0x42f3a9
sub esi, dword [esp + 0x60]
mov ecx, dword [esp + 0x48]
sub ecx, edx
mov dword [esp + 0x90], esi
fild dword [esp + 0x90]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x4c]
fidiv dword [esp + 0x28]
mov edx, dword [esp + 0x44]
mov esi, eax
sub esi, ebx
mov dword [esp + 0x20], esi
sub ecx, edx
mov dword [esp + 0x90], ecx
mov dword [esp + 0x2c], 1
fstp dword [esp + 0x80]
fild dword [esp + 0x20]
fidiv dword [esp + 0x90]
fstp dword [esp + 0x30]
fld qword [0x4c1580]
fabs
fld dword [esp + 0x80]
fld st(0)
fld qword [0x4bdd20]
fsub st(1), st(0)
fxch st(1)
fstp dword [esp + 0x90]
fld dword [esp + 0x90]
fabs
fstp dword [esp + 0x90]
fld dword [esp + 0x90]
fcomp st(3)
fnstsw ax
test ah, 5
jnp 0x42f229
mov dword [esp + 0x2c], 0
fld dword [esp + 0x30]
mov dword [esp + 0x24], 1
fld st(0)
fsubrp st(2)
fxch st(1)
fstp dword [esp + 0x90]
fld dword [esp + 0x90]
fabs
fstp dword [esp + 0x90]
fld dword [esp + 0x90]
fcomp st(3)
fnstsw ax
fstp st(2)
test ah, 5
jnp 0x42f26c
mov dword [esp + 0x24], 0
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x44]
cmp edx, dword [esp + 0x4c]
mov ebx, ecx
mov dword [esp + 0x1c], ebx
mov eax, esi
jge 0x42f3a5
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], esi
jmp 0x42f2a3
mov eax, dword [esp + 0x90]
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
test ebx, ebx
jl 0x42f3a5
test eax, eax
jl 0x42f3a5
cmp dword [esp + 0x24], 0
je 0x42f2c7
mov eax, dword [esp + 0x14]
mov dword [esp + 0x90], eax
jmp 0x42f2db
fild dword [esp + 0x18]
fmul st(2)
call fcn.0049dc50
sub esi, eax
mov dword [esp + 0x90], esi
mov ecx, dword [ebp + 0x44]
mov eax, dword [edi + 0x44]
sub eax, dword [esp + 0x90]
mov edx, dword [esp + 0x40]
sub eax, dword [esp + 0x64]
sub ecx, ebx
sub ecx, dword [esp + 0x44]
imul eax, dword [edi + 0x48]
imul ecx, dword [ebp + 0x48]
add ecx, dword [ebp + 0x50]
add eax, dword [edi + 0x50]
lea esi, [ecx + edx*4]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x48]
cmp dword [esp + 0x40], edx
lea ebx, [eax + ecx*4]
mov dword [esp + 0x38], ebx
jge 0x42f380
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x80], 0
mov edi, ebx
jmp 0x42f333
mov ebx, dword [esp + 0x38]
cmp dword [esp + 0x2c], 0
je 0x42f33e
mov eax, edi
jmp 0x42f34f
fild dword [esp + 0x80]
fmul st(1)
call fcn.0049dc50
lea eax, [ebx + eax*4]
mov cl, byte [eax]
mov dl, byte [eax + 1]
mov bl, byte [eax + 2]
mov al, byte [eax + 3]
add dword [esp + 0x80], 1
mov byte [esi], cl
mov byte [esi + 1], dl
mov byte [esi + 2], bl
mov byte [esi + 3], al
add esi, 4
add edi, 4
sub ebp, 1
jne 0x42f32f
mov ebp, dword [esp + 0x78]
mov edi, dword [esp + 0x7c]
mov eax, dword [esp + 0x30]
mov ecx, 1
sub dword [esp + 0x14], ecx
add dword [esp + 0x18], ecx
sub dword [esp + 0x1c], ecx
add eax, ecx
cmp eax, dword [esp + 0x4c]
mov dword [esp + 0x30], eax
jl 0x42f294
fstp st(0)
fstp st(0)
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x64
ret 0x28