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

Disassembly:
sub esp, 0x20
mov eax, dword [0x45b174]
test eax, eax
nop
push ebx
push esi
push edi
push ebp
je 0x403e9c
mov edi, 0x4cdaf0
xor eax, eax
mov ecx, 0x3f
rep stosd dword es:[edi], eax
mov edi, 0x4cf930
mov ecx, 0x3f
rep stosd dword es:[edi], eax
mov edi, 0x4d2b70
mov ecx, 0xf81
rep stosd dword es:[edi], eax
mov dword [0x45b174], eax
mov dword [esp + 0x14], 0x481034
mov eax, dword [esp + 0x14]
fld dword [eax - 4]
fcomp dword [esp + 0x34]
mov ecx, dword [eax]
mov esi, dword [eax + 4]
mov dword [esp + 0x2c], ecx
fnstsw ax
test ah, 0x40
je 0x403f6e
xor edx, edx
xor ebx, ebx
mov dword [esp + 0x20], ecx
cmp ecx, edx
jle 0x403f6e
mov eax, 0x4cdaf0
mov ecx, dword [esp + 0x48]
mov ebp, dword [esp + 0x44]
mov edi, dword [esp + 0x40]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], edi
mov edi, dword [esp + 0x38]
xor ecx, ecx
mov cl, byte [esi + 1]
mov dword [edi], ecx
mov ecx, dword [esp + 0x28]
mov ebp, dword [esi + 4]
mov dword [ecx], ebp
mov ebp, dword [esi + 8]
mov ecx, dword [esp + 0x24]
add esi, 0x14
mov dword [ecx], ebp
mov ebp, dword [esi - 8]
mov ecx, dword [esp + 0x10]
mov dword [ecx], ebp
mov ebp, dword [esi - 4]
mov dword [eax], ebp
xor ebp, ebp
cmp dword [edi], ebp
jle 0x403f3e
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x18], eax
lea ecx, [ecx + ebx*4]
mov dword [ecx], edx
add ecx, 4
inc ebx
inc ebp
cmp dword [edi], ebp
jg 0x403f2f
mov eax, dword [esp + 0x18]
add eax, 4
mov ecx, dword [esp + 0x10]
add ecx, 4
mov ebp, dword [esp + 0x24]
add ebp, 4
add edi, 4
inc edx
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x24], ebp
add ecx, 4
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x2c]
cmp ecx, edx
jg 0x403ef4
mov eax, dword [esp + 0x14]
add eax, 0xc
mov dword [esp + 0x14], eax
cmp eax, 0x48107c
jb 0x403ea4
xor esi, esi
mov eax, dword [esp + 0x20]
cmp eax, esi
jle 0x4040c2
fldl2e
fld1
fldz
mov ecx, 0x4cdaf0
mov edi, dword [esp + 0x4c]
xor ebx, ebx
mov eax, dword [esp + 0x20]
cmp eax, ebx
jle 0x4040a4
mov ebp, edi
mov edx, 0x4cdaf0
fld dword [ecx]
fsub dword [edx]
cmp ebx, esi
jl 0x403fc6
fmul qword [0x41a100]
jmp 0x403fcc
fmul qword [0x41a108]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fstp qword [esp + 0x18]
mov eax, dword [esp + 0x10]
cmp eax, 0x3f000000
jl 0x404018
fld qword [esp + 0x18]
fcomp qword [0x41a058]
fnstsw ax
test ah, 0x41
je 0x404018
fld qword [esp + 0x18]
fsub qword [0x41a018]
fld st(0)
fmul st(1)
fxch st(1)
fmul qword [0x41a060]
fsubp st(1)
fmul qword [0x41a068]
fstp dword [esp + 0x18]
jmp 0x404020
mov dword [esp + 0x18], 0
fld dword [esp + 0x10]
fadd dword [0x41a070]
fld st(0)
fmul st(1)
fxch st(1)
fmul qword [0x41a080]
fxch st(1)
fadd qword [0x41a028]
fsqrt
fmul qword [0x41a078]
faddp st(1)
fadd qword [0x41a088]
fcom qword [0x41a110]
fstp st(1)
fnstsw ax
test ah, 0x41
je 0x404066
mov dword [ebp], 0
jmp 0x404091
fld dword [esp + 0x18]
fadd st(1)
fld st(3)
fld st(3)
fxch st(2)
fmul qword [0x41a098]
fmul st(1), st(0)
fxch st(1)
fst st(1)
frndint
fsub st(1), st(0)
fxch st(1)
f2xm1
faddp st(2)
fxch st(1)
fscale
fstp st(1)
fstp dword [ebp]
add ebp, 4
add edx, 4
inc ebx
mov eax, dword [esp + 0x20]
cmp eax, ebx
jg 0x403fb6
add ecx, 4
add edi, 0xfc
inc esi
mov eax, dword [esp + 0x20]
cmp eax, esi
jg 0x403fa1
fstp dword [esp + 0x18]
fstp st(0)
fstp st(0)
mov dword [esp + 0x14], 0x482474
mov eax, dword [esp + 0x14]
fld dword [eax - 4]
fcomp dword [esp + 0x34]
mov ecx, dword [eax]
mov esi, dword [eax + 4]
mov dword [esp + 0x2c], ecx
fnstsw ax
test ah, 0x40
je 0x404194
xor edx, edx
xor ebx, ebx
mov dword [esp + 0x20], ecx
cmp ecx, edx
jle 0x404194
mov edi, 0x4cf930
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
mov ebp, dword [esp + 0x54]
mov dword [esp + 0x10], eax
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x28], ebp
xor eax, eax
mov al, byte [esi + 1]
mov dword [ecx], eax
mov eax, dword [esp + 0x28]
mov ebp, dword [esi + 4]
mov dword [eax], ebp
mov ebp, dword [esi + 8]
mov eax, dword [esp + 0x24]
add esi, 0x14
mov dword [eax], ebp
mov ebp, dword [esi - 8]
mov eax, dword [esp + 0x10]
mov dword [eax], ebp
mov ebp, dword [esi - 4]
mov dword [edi], ebp
xor ebp, ebp
cmp dword [ecx], ebp
jle 0x404164
mov eax, dword [esp + 0x50]
mov dword [esp + 0x18], esi
lea eax, [eax + ebx*4]
mov dword [eax], edx
add eax, 4
inc ebx
inc ebp
cmp dword [ecx], ebp
jg 0x404155
mov esi, dword [esp + 0x18]
add edi, 4
mov eax, dword [esp + 0x10]
add eax, 4
mov ebp, dword [esp + 0x24]
add ebp, 4
add ecx, 4
inc edx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x24], ebp
add eax, 4
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x2c]
cmp eax, edx
jg 0x40411a
mov eax, dword [esp + 0x14]
add eax, 0xc
mov dword [esp + 0x14], eax
cmp eax, 0x4824bc
jb 0x4040ca
xor esi, esi
mov eax, dword [esp + 0x20]
cmp eax, esi
jle 0x4042e8
fldl2e
fld1
fldz
mov edi, 0x4cf930
mov ecx, 0x4d2b70
xor ebx, ebx
mov eax, dword [esp + 0x20]
cmp eax, ebx
jle 0x4042ca
mov edx, ecx
mov ebp, 0x4cf930
fld dword [edi]
fsub dword [ebp]
cmp ebx, esi
jl 0x4041ee
fmul qword [0x41a100]
jmp 0x4041f4
fmul qword [0x41a108]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fstp qword [esp + 0x18]
mov eax, dword [esp + 0x10]
cmp eax, 0x3f000000
jl 0x404240
fld qword [esp + 0x18]
fcomp qword [0x41a058]
fnstsw ax
test ah, 0x41
je 0x404240
fld qword [esp + 0x18]
fsub qword [0x41a018]
fld st(0)
fmul st(1)
fxch st(1)
fmul qword [0x41a060]
fsubp st(1)
fmul qword [0x41a068]
fstp dword [esp + 0x18]
jmp 0x404248
mov dword [esp + 0x18], 0
fld dword [esp + 0x10]
fadd dword [0x41a070]
fld st(0)
fmul st(1)
fxch st(1)
fmul qword [0x41a080]
fxch st(1)
fadd qword [0x41a028]
fsqrt
fmul qword [0x41a078]
faddp st(1)
fadd qword [0x41a088]
fcom qword [0x41a110]
fstp st(1)
fnstsw ax
test ah, 0x41
je 0x40428d
mov dword [edx], 0
jmp 0x4042b7
fld dword [esp + 0x18]
fadd st(1)
fld st(3)
fld st(3)
fxch st(2)
fmul qword [0x41a098]
fmul st(1), st(0)
fxch st(1)
fst st(1)
frndint
fsub st(1), st(0)
fxch st(1)
f2xm1
faddp st(2)
fxch st(1)
fscale
fstp st(1)
fstp dword [edx]
add edx, 4
add ebp, 4
inc ebx
mov eax, dword [esp + 0x20]
cmp eax, ebx
jg 0x4041dd
add edi, 4
add ecx, 0xfc
inc esi
mov eax, dword [esp + 0x20]
cmp eax, esi
jg 0x4041c8
fstp dword [esp + 0x18]
fstp st(0)
fstp st(0)
mov dword [esp + 0x10], 0x482abc
mov eax, dword [esp + 0x10]
fld dword [eax - 4]
fcomp dword [esp + 0x34]
mov ebx, dword [eax]
mov edx, dword [eax + 4]
fnstsw ax
test ah, 0x40
je 0x404363
test ebx, ebx
jle 0x404363
mov ebp, dword [esp + 0x70]
mov esi, dword [esp + 0x6c]
mov eax, dword [esp + 0x68]
mov edi, dword [esp + 0x64]
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x18], ebx
xor ebx, ebx
add edx, 0xc
add ebp, 4
add esi, 4
mov bl, byte [edx - 0xb]
add eax, 4
mov dword [ecx], ebx
add edi, 4
xor ebx, ebx
add ecx, 4
mov bl, byte [edx - 0xa]
mov dword [edi - 4], ebx
xor ebx, ebx
mov bl, byte [edx - 9]
mov dword [eax - 4], ebx
mov ebx, dword [edx - 8]
mov dword [esi - 4], ebx
mov ebx, dword [edx - 4]
mov dword [ebp - 4], ebx
mov ebx, dword [esp + 0x18]
dec ebx
mov dword [esp + 0x18], ebx
jne 0x404323
mov eax, dword [esp + 0x10]
add eax, 0xc
mov dword [esp + 0x10], eax
cmp eax, 0x482b04
jb 0x4042f0
mov dword [esp + 0x10], 0x482e64
mov eax, dword [esp + 0x10]
fld dword [eax - 4]
fcomp dword [esp + 0x34]
mov ebx, dword [eax]
mov edx, dword [eax + 4]
fnstsw ax
test ah, 0x40
je 0x4043fa
test ebx, ebx
jle 0x4043fa
mov eax, dword [esp + 0x84]
mov ebp, dword [esp + 0x80]
mov esi, dword [esp + 0x7c]
mov ecx, dword [esp + 0x78]
mov edi, dword [esp + 0x74]
mov dword [esp + 0x18], ebx
xor ebx, ebx
add edx, 0xc
add eax, 4
add ebp, 4
mov bl, byte [edx - 0xb]
add esi, 4
mov dword [edi], ebx
add ecx, 4
xor ebx, ebx
add edi, 4
mov bl, byte [edx - 0xa]
mov dword [ecx - 4], ebx
xor ebx, ebx
mov bl, byte [edx - 9]
mov dword [esi - 4], ebx
mov ebx, dword [edx - 8]
mov dword [ebp - 4], ebx
mov ebx, dword [edx - 4]
mov dword [eax - 4], ebx
mov ebx, dword [esp + 0x18]
dec ebx
mov dword [esp + 0x18], ebx
jne 0x4043ba
mov eax, dword [esp + 0x10]
add eax, 0xc
mov dword [esp + 0x10], eax
cmp eax, 0x482eac
jb 0x404381
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x20
ret