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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x80]
fld qword [esp + 0x78]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x84]
fstp qword [esp + 0x30]
mov dword [esp + 0x2c], eax
mov eax, dword [edx + 4]
sub eax, dword [edx]
mov dword [esp + 0x44], eax
cmp eax, 0x830
jbe 0x10046dc
cmp dword [esp + 0x44], 0x83000
ja 0x10046b2
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x18], edx
sar ebx, 4
imul edi, ebx, 0xc9484e2b
imul eax, ebx, 0xdadec758
mov dword [esp + 0x24], edi
cmp eax, 0xfffffff
ja 0x1004718
imul ebx, ebx, 0xd6f63ac0
mov dword [esp], ebx
call fcn.010270bd
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
mov dword [esp + 0x28], eax
call fcn.0100116d
test edi, edi
mov edx, dword [esp + 0x18]
je 0x1004417
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
xor esi, esi
mov ebp, edx
mov ebx, eax
lea edi, [eax + edi*8]
jmp 0x10043de
fld dword [eax*4 + 0x69a13e60]
add ebx, 8
add esi, 0x830
fstp qword [ebx - 8]
cmp edi, ebx
je 0x1004415
mov eax, dword [ebp]
mov eax, dword [eax + esi + 0x820]
cmp eax, 0xff
jbe 0x10043c7
movd xmm1, eax
add ebx, 8
add esi, 0x830
movq qword [esp + 0x48], xmm1
fild qword [esp + 0x48]
fstp qword [esp]
call fcn.00fe73ad
fstp qword [ebx - 8]
cmp edi, ebx
jne 0x10043de
mov edx, ebp
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x18], 0x208
imul edi, eax, 0x207
shl eax, 3
mov dword [esp + 0x3c], eax
add ecx, eax
lea esi, [esi]
mov ebx, dword [esp + 0x24]
sub dword [esp + 0x18], 1
mov eax, dword [esp + 0x18]
test ebx, ebx
je 0x10044df
lea ebp, [eax*4]
mov ebx, dword [esp + 0x28]
xor esi, esi
mov eax, ebp
mov ebp, ecx
mov ecx, eax
jmp 0x1004485
fld dword [0x69a14264]
fsubp st(1)
add esi, 0x830
fstp qword [ebx + edi*8]
add ebx, 8
cmp ebp, ebx
je 0x10044dd
mov eax, dword [edx]
fld qword [ebx]
add eax, ecx
mov eax, dword [eax + esi]
test eax, eax
je 0x100446d
cmp eax, 0xff
ja 0x10044a5
fld dword [eax*4 + 0x69a13e60]
jmp 0x1004473
movd xmm0, eax
fstp qword [esp + 0x10]
movq qword [esp + 0x48], xmm0
fild qword [esp + 0x48]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], edx
fstp qword [esp]
call fcn.00fe73ad
mov edx, dword [esp + 0x1c]
fld qword [esp + 0x10]
fxch st(1)
mov ecx, dword [esp + 0x20]
jmp 0x1004473
mov ecx, ebp
mov esi, dword [esp + 0x18]
sub edi, dword [esp + 0x24]
test esi, esi
jne 0x100443d
mov edx, dword [esp + 0x44]
test edx, edx
js 0x1004718
mov edi, dword [esp + 0x3c]
mov dword [esp], edi
call fcn.010270bd
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov ebx, eax
mov dword [esp], eax
call fcn.0100116d
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x24]
imul eax, esi
mov dword [esp], eax
mov edi, eax
call fcn.010270bd
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov ebp, eax
mov dword [esp], eax
call fcn.0100116d
lea ecx, [esi - 1]
mov eax, esi
mov edx, dword [esp + 0x24]
mov esi, ecx
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x2c]
sub edi, edx
add ecx, esi
mov dword [esp + 0x10], ecx
test eax, eax
je 0x1004704
mov dword [esp + 0x44], edi
mov esi, ebp
xor ecx, ecx
mov dword [esp + 0x20], ebp
mov ebp, dword [esp + 0x2c]
mov eax, dword [esp + 0x40]
movzx edi, word [eax + ecx*2]
test edx, edx
je 0x100460a
fld qword [0x69a14268]
imul edi, dword [esp + 0x3c]
xor eax, eax
add edi, dword [esp + 0x28]
nop
fld qword [ebx + eax*8]
fadd qword [edi + eax*8]
fst qword [ebx + eax*8]
fxch st(1)
fcomi st(1)
jbe 0x10045bd
fstp st(0)
mov byte [ebp + ecx], al
jmp 0x10045bf
fstp st(1)
add eax, 1
cmp eax, edx
jne 0x100459d
fld qword [esp + 0x30]
cmp ecx, 0x7cf
jbe 0x100468d
xor eax, eax
jmp 0x10045e7
fstp qword [ebx + eax*8]
add eax, 1
cmp eax, edx
jae 0x1004606
fld qword [ebx + eax*8]
fsub st(2)
fcomi st(1)
jb 0x10045dd
fstp st(0)
mov byte [esi + eax], 1
fst qword [ebx + eax*8]
add eax, 1
cmp eax, edx
jb 0x10045e7
fstp st(0)
fstp st(0)
jmp 0x100460a
fstp st(0)
fstp st(0)
add ecx, 1
add esi, edx
cmp dword [esp + 0x38], ecx
jne 0x100457b
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 0x20]
mov edi, dword [esp + 0x44]
movzx ecx, byte [eax]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x1004669
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x18], ebx
mov esi, dword [esp + 0x24]
lea eax, [eax + edx - 2]
jmp 0x1004648
mov eax, edx
sub edi, esi
movzx edx, cl
lea ebx, [ebp + edi]
cmp byte [ebx + edx], 0
je 0x100465a
movzx ecx, byte [eax]
mov byte [eax], cl
lea edx, [eax - 1]
cmp eax, dword [esp + 0x2c]
jne 0x1004646
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call fcn.0102708d
mov dword [esp], ebx
call fcn.0102708d
mov dword [esp + 0x70], ebp
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.0102708d
fstp st(0)
mov dword [esp + 0x18], ecx
fild dword [esp + 0x18]
fmul qword [0x69a14270]
fdiv dword [0x69a14278]
fadd qword [0x69a14280]
fmul qword [esp + 0x30]
jmp 0x10045d6
mov dword [esp + 0x18], edx
mov dword [esp + 8], 0xac
mov dword [esp + 4], 0x69a13dd4
mov dword [esp], 0x69a13de6
call dword [0x69aba3b0]
mov edx, dword [esp + 0x18]
jmp 0x1004360
mov eax, dword [esp + 0x38]
test eax, eax
je 0x1004710
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x74], 0
mov dword [esp + 0x70], eax
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.0100116d
mov eax, dword [esp + 0x10]
movzx ecx, byte [eax]
jmp 0x1004630
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
call fcn.0102858d