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

Disassembly:
sub esp, 0x20
mov eax, dword [0x48b4fc]
test eax, eax
nop
push ebx
push esi
push edi
push ebp
je 0x41015c
mov edi, 0x4f1ae8
xor eax, eax
mov ecx, 0x3f
rep stosd dword es:[edi], eax
mov edi, 0x4f3928
mov ecx, 0x3f
rep stosd dword es:[edi], eax
mov edi, 0x4f6b68
mov ecx, 0xf81
rep stosd dword es:[edi], eax
mov dword [0x48b4fc], eax
mov dword [esp + 0x14], 0x48959c
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 0x41022e
xor edx, edx
xor ebx, ebx
mov dword [esp + 0x20], ecx
cmp ecx, edx
jle 0x41022e
mov eax, 0x4f1ae8
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 0x4101fe
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 0x4101ef
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 0x4101b4
mov eax, dword [esp + 0x14]
add eax, 0xc
mov dword [esp + 0x14], eax
cmp eax, 0x4895e4
jb 0x410164
xor esi, esi
mov eax, dword [esp + 0x20]
cmp eax, esi
jle 0x410382
fldl2e
fld1
fldz
mov ecx, 0x4f1ae8
mov edi, dword [esp + 0x4c]
xor ebx, ebx
mov eax, dword [esp + 0x20]
cmp eax, ebx
jle 0x410364
mov ebp, edi
mov edx, 0x4f1ae8
fld dword [ecx]
fsub dword [edx]
cmp ebx, esi
jl 0x410286
fmul qword [0x41a3c0]
jmp 0x41028c
fmul qword [0x41a3c8]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fstp qword [esp + 0x18]
mov eax, dword [esp + 0x10]
cmp eax, 0x3f000000
jl 0x4102d8
fld qword [esp + 0x18]
fcomp qword [0x41a318]
fnstsw ax
test ah, 0x41
je 0x4102d8
fld qword [esp + 0x18]
fsub qword [0x41a2d8]
fld st(0)
fmul st(1)
fxch st(1)
fmul qword [0x41a320]
fsubp st(1)
fmul qword [0x41a328]
fstp dword [esp + 0x18]
jmp 0x4102e0
mov dword [esp + 0x18], 0
fld dword [esp + 0x10]
fadd dword [0x41a330]
fld st(0)
fmul st(1)
fxch st(1)
fmul qword [0x41a340]
fxch st(1)
fadd qword [0x41a2e8]
fsqrt
fmul qword [0x41a338]
faddp st(1)
fadd qword [0x41a348]
fcom qword [0x41a3d0]
fstp st(1)
fnstsw ax
test ah, 0x41
je 0x410326
mov dword [ebp], 0
jmp 0x410351
fld dword [esp + 0x18]
fadd st(1)
fld st(3)
fld st(3)
fxch st(2)
fmul qword [0x41a358]
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 0x410276
add ecx, 4
add edi, 0xfc
inc esi
mov eax, dword [esp + 0x20]
cmp eax, esi
jg 0x410261
fstp dword [esp + 0x18]
fstp st(0)
fstp st(0)
mov dword [esp + 0x14], 0x48a9dc
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 0x410454
xor edx, edx
xor ebx, ebx
mov dword [esp + 0x20], ecx
cmp ecx, edx
jle 0x410454
mov edi, 0x4f3928
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 0x410424
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 0x410415
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 0x4103da
mov eax, dword [esp + 0x14]
add eax, 0xc
mov dword [esp + 0x14], eax
cmp eax, 0x48aa24
jb 0x41038a
xor esi, esi
mov eax, dword [esp + 0x20]
cmp eax, esi
jle 0x4105a8
fldl2e
fld1
fldz
mov edi, 0x4f3928
mov ecx, 0x4f6b68
xor ebx, ebx
mov eax, dword [esp + 0x20]
cmp eax, ebx
jle 0x41058a
mov edx, ecx
mov ebp, 0x4f3928
fld dword [edi]
fsub dword [ebp]
cmp ebx, esi
jl 0x4104ae
fmul qword [0x41a3c0]
jmp 0x4104b4
fmul qword [0x41a3c8]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fstp qword [esp + 0x18]
mov eax, dword [esp + 0x10]
cmp eax, 0x3f000000
jl 0x410500
fld qword [esp + 0x18]
fcomp qword [0x41a318]
fnstsw ax
test ah, 0x41
je 0x410500
fld qword [esp + 0x18]
fsub qword [0x41a2d8]
fld st(0)
fmul st(1)
fxch st(1)
fmul qword [0x41a320]
fsubp st(1)
fmul qword [0x41a328]
fstp dword [esp + 0x18]
jmp 0x410508
mov dword [esp + 0x18], 0
fld dword [esp + 0x10]
fadd dword [0x41a330]
fld st(0)
fmul st(1)
fxch st(1)
fmul qword [0x41a340]
fxch st(1)
fadd qword [0x41a2e8]
fsqrt
fmul qword [0x41a338]
faddp st(1)
fadd qword [0x41a348]
fcom qword [0x41a3d0]
fstp st(1)
fnstsw ax
test ah, 0x41
je 0x41054d
mov dword [edx], 0
jmp 0x410577
fld dword [esp + 0x18]
fadd st(1)
fld st(3)
fld st(3)
fxch st(2)
fmul qword [0x41a358]
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 0x41049d
add edi, 4
add ecx, 0xfc
inc esi
mov eax, dword [esp + 0x20]
cmp eax, esi
jg 0x410488
fstp dword [esp + 0x18]
fstp st(0)
fstp st(0)
mov dword [esp + 0x10], 0x48b024
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 0x410623
test ebx, ebx
jle 0x410623
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 0x4105e3
mov eax, dword [esp + 0x10]
add eax, 0xc
mov dword [esp + 0x10], eax
cmp eax, 0x48b06c
jb 0x4105b0
mov dword [esp + 0x10], 0x48b3cc
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 0x4106ba
test ebx, ebx
jle 0x4106ba
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 0x41067a
mov eax, dword [esp + 0x10]
add eax, 0xc
mov dword [esp + 0x10], eax
cmp eax, 0x48b414
jb 0x410641
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x20
ret