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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x4cac
call fcn.00430a90
push ebx
push esi
mov esi, ecx
mov dword [esp + 0x30], edx
cmp dword [esi + 0x90], 0
push edi
lea edi, [esi + 0x14]
mov dword [esp + 0x10], esi
mov ebx, dword [esi + 0x14f2c]
lea ecx, [esi + 0x5440]
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x38], ebx
jne 0x43884a
mov dword [esp + 0x54], 0
fldz
fcomp dword [edi + 0xb0]
fnstsw ax
test ah, 5
jp 0x438859
mov eax, dword [esi + 0x14f28]
fld dword [eax + 8]
fmul dword [edi + 0xb8]
cmp dword [edi + 0xa4], 1
fstp dword [esp + 0x24]
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
jne 0x438860
mov dword [esp + 0x14], 4
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0xb8]
push eax
push dword [ebp + 0x1c]
lea esi, [ecx + 0x1000]
mov ecx, 0xf4
push dword [ebp + 0x10]
lea edi, [esp + 0x8f4]
push dword [ebp + 0xc]
rep movsd dword es:[edi], dword [esi]
push dword [ebp + 8]
mov ecx, dword [esp + 0x2c]
call fcn.0040cdf0
mov ecx, dword [esp + 0x44]
lea edx, [esp + 0x64]
add esp, 0x1c
call fcn.00410ade
mov edi, dword [esp + 0x14]
xor esi, esi
test edi, edi
jle 0x410242
mov ebx, 0x17a0
xor edi, edi
lea esp, [esp]
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x2cb8]
mov eax, esi
and eax, 1
shl eax, 0xc
add eax, ecx
mov ecx, dword [esp + 0x10]
push eax
lea eax, [esp + 0xcb4]
push eax
push dword [ebp + 8]
push esi
call fcn.0040be30
add esp, 0x10
cmp esi, 2
jge 0x4101fe
mov ecx, dword [esp + 0x10]
mov eax, dword [ebp + 8]
fld dword [ebx + ecx + 0x5440]
lea eax, [esi + eax*2]
fstp dword [ecx + eax*4 + 0x6ca0]
mov edx, dword [ecx + 0x14f28]
lea ecx, [esp + 0xcb0]
add edx, 0x2d4
call fcn.00410a20
mov eax, dword [esp + 0x10]
fstp dword [ebx + eax + 0x5440]
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0xe0]
add eax, edi
lea edx, [esp + 0xcb0]
push esi
push eax
lea eax, [esp + 0x4e8]
add eax, edi
push eax
call fcn.0040d4c0
inc esi
add esp, 0xc
add ebx, 4
add edi, 0x100
cmp esi, dword [esp + 0x14]
jl 0x410190
mov ebx, dword [esp + 0x38]
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x28]
cmp dword [edx + 0xa4], 1
jne 0x4102a3
mov eax, dword [esp + 0x4c]
add eax, dword [esp + 0x48]
cmp eax, 2
jne 0x4102a3
push dword [ebx + 0x1a64]
fld dword [edx + 0xb0]
lea ecx, [esp + 0x4e4]
mov eax, dword [esp + 0x14]
lea edx, [esp + 0xe4]
sub esp, 8
mov eax, dword [eax + 0x14f28]
fstp dword [esp + 4]
fld dword [esp + 0x30]
add eax, 0xd4
fstp dword [esp]
push eax
lea eax, [ebx + 0x1500]
push eax
call fcn.0040e050
add esp, 0x14
xor ebx, ebx
test edi, edi
jle 0x410336
mov edx, dword [esp + 0x10]
xor eax, eax
mov dword [esp + 0x30], eax
lea ecx, [edx + 0x6810]
mov dword [esp + 0x20], ecx
jmp 0x4102d0
lea esi, [esp + 0xe0]
add esi, eax
lea edi, [esp + 0x4e0]
add edi, eax
lea eax, [ecx - 0x3d0]
push eax
push ecx
mov ecx, dword [edx + 0x14f2c]
mov edx, edi
push esi
add ecx, 0x1200
call fcn.0040df10
mov ecx, dword [esp + 0x1c]
mov edx, edi
push ebx
push esi
call fcn.004109a0
mov ecx, dword [esp + 0x34]
inc ebx
mov eax, dword [esp + 0x44]
add ecx, 0xf4
mov edi, dword [esp + 0x28]
add eax, 0x100
mov edx, dword [esp + 0x24]
add esp, 0x14
mov dword [esp + 0x20], ecx
mov dword [esp + 0x30], eax
cmp ebx, edi
jl 0x4102d0
mov ebx, dword [esp + 0x10]
xor edx, edx
mov dword [esp + 0x18], edx
mov eax, dword [ebx + 0x14f2c]
mov ecx, dword [eax + 0x2b64]
mov dword [esp + 0x1c], ecx
jmp 0x410356
mov ebx, dword [esp + 0x10]
xor esi, esi
test edi, edi
jle 0x4103a5
lea edi, [ebx + 0x6040]
xor ebx, ebx
jmp 0x41036a
mov edx, dword [esp + 0x18]
mov eax, esi
and eax, 1
cmp dword [esp + eax*4 + 0x48], 0
je 0x410861
test ecx, ecx
jne 0x410861
test edx, edx
je 0x41045a
inc esi
add edi, 0x100
add ebx, 0x100
cmp esi, dword [esp + 0x14]
jl 0x410366
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
cmp dword [ebx + 0xb8], 1
jne 0x4103bc
mov eax, dword [esp + 0x4c]
add eax, dword [esp + 0x48]
je 0x41091c
xor esi, esi
test edi, edi
jle 0x4103f9
mov ebx, dword [esp + 0x1c]
xor edi, edi
jmp 0x4103d0
mov eax, esi
and eax, 1
cmp dword [esp + eax*4 + 0x48], 0
je 0x4108b9
test ebx, ebx
jne 0x4108b9
inc esi
add edi, 0x100
cmp esi, dword [esp + 0x14]
jl 0x4103d0
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
inc edx
mov dword [esp + 0x18], edx
cmp edx, 3
jl 0x410352
xor ebx, ebx
mov dword [esp + 0x18], ebx
test edi, edi
jle 0x410704
mov ecx, dword [esp + 0x2c]
lea esi, [esp + 0x940]
fld qword [0x4524f0]
mov eax, 0x416
fld dword [0x452620]
fld dword [0x452624]
lea edx, [ecx + 0x105c]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], edx
mov dword [esp + 0x40], esi
jmp 0x41052b
mov eax, dword [esp + 0x10]
xor edx, edx
mov eax, dword [eax + 0x14f2c]
mov ecx, dword [eax + 0x22d4]
mov dword [esp + 0x3c], ecx
cmp ecx, 0xa
jl 0x4104fe
lea eax, [edi + 4]
add ecx, 0xfffffff6
mov dword [esp + 0x44], eax
add eax, 0xfffffc08
mov dword [esp + 0x40], eax
mov eax, 0xcccccccd
mul ecx
mov ecx, dword [esp + 0x40]
mov eax, edx
shr eax, 3
inc eax
mov dword [esp + 0x20], eax
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x44]
add edx, edx
lea ebx, [ebx]
fld dword [ecx - 0xc]
fstp dword [eax - 4]
fld dword [eax - 0x400]
fstp dword [eax]
fld dword [ecx - 4]
fstp dword [eax + 4]
fld dword [ecx]
fstp dword [eax + 8]
fld dword [ecx + 4]
fstp dword [eax + 0xc]
fld dword [ecx + 8]
fstp dword [eax + 0x10]
fld dword [ecx + 0xc]
fstp dword [eax + 0x14]
fld dword [ecx + 0x10]
fstp dword [eax + 0x18]
fld dword [ecx + 0x14]
fstp dword [eax + 0x1c]
fld dword [ecx + 0x18]
add ecx, 0x28
fstp dword [eax + 0x20]
add eax, 0x28
sub dword [esp + 0x20], 1
jne 0x4104b0
mov ecx, dword [esp + 0x3c]
cmp edx, ecx
jge 0x410520
lea eax, [edi + edx*4]
sub ecx, edx
jmp 0x410510
fld dword [eax - 0x400]
fstp dword [eax]
add eax, 4
sub ecx, 1
jne 0x410510
mov ecx, dword [esp + 0x1c]
jmp 0x41038a
fxch st(1)
mov edi, esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], edi
xor esi, esi
mov dword [esp + 0x38], edx
mov dword [esp + 0x34], 0xd
jmp 0x41054d
fxch st(1)
xor esi, esi
jmp 0x41054d
fxch st(1)
add eax, esi
fld dword [ecx + eax*4]
fmulp st(3)
fxch st(2)
fst qword [esp + 0x58]
fst dword [esp + 0x30]
fld st(0)
fst dword [esp + 0x24]
test esi, esi
jle 0x41075d
lea eax, [esp + esi*4 + 0x60]
fld dword [eax]
lea edi, [esi + ebx*4]
mov ebx, dword [esp + edi*4 + 0x70]
fst dword [esp + 0x60]
cmp ebx, 2
jge 0x410813
cmp dword [esp + edi*4 + 0x74], 1
je 0x410813
fstp st(3)
fcom st(1)
fnstsw ax
test ah, 5
jnp 0x410852
cmp ebx, 1
je 0x4108e2
test esi, esi
je 0x410764
jle 0x4105be
cmp dword [esp + edi*4 + 0x6c], 3
je 0x410776
fstp st(2)
fstp st(2)
fld dword [esp + 0x30]
fxch st(2)
fxch st(1)
fcom st(1)
fnstsw ax
test ah, 5
jnp 0x41090b
fstp st(0)
fcom st(1)
fnstsw ax
test ah, 0x41
je 0x410756
fstp st(1)
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
lea eax, [edx + esi]
fmul dword [esp + eax*4 + 0xb0]
mov eax, dword [esp + 0x20]
fstp dword [esp + esi*4 + 0x64]
fld qword [0x4524f0]
inc esi
fld dword [0x452624]
fld dword [0x452620]
cmp esi, 3
jl 0x41054b
mov ecx, dword [esp + 0x38]
fstp st(2)
fstp st(0)
add eax, 3
fstp st(0)
mov dword [esp + 0x20], eax
fld dword [esp + 0x64]
add edi, 0xc
fstp dword [ecx - 4]
fld dword [esp + 0x68]
fstp dword [ecx]
fld dword [esp + 0x6c]
fstp dword [ecx + 4]
fld qword [0x4524f0]
add ecx, 0xc
sub dword [esp + 0x34], 1
fld dword [0x452624]
fld dword [0x452620]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x1c], edi
jne 0x410545
mov eax, dword [esp + 0x3c]
fstp st(2)
mov esi, dword [esp + 0x40]
fstp st(0)
mov edi, dword [esp + 0x14]
add edx, 3
fstp st(0)
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x44]
inc ebx
fld qword [0x4524f0]
add eax, 0x3d
fld dword [0x452624]
add esi, 0xf4
fld dword [0x452620]
add edx, 0xf4
mov dword [esp + 0x18], ebx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], edx
cmp ebx, edi
jl 0x410529
fstp st(2)
fstp st(0)
fstp st(0)
test edi, edi
jle 0x410704
mov edi, dword [esp + 0x10]
lea esi, [esp + 0x78]
mov ecx, dword [esp + 0x14]
add edi, 0x6c88
lea ecx, [ecx]
mov eax, dword [esi]
lea edi, [edi + 4]
mov dword [edi - 4], eax
lea esi, [esi + 0x10]
sub ecx, 1
jne 0x4106f0
mov edi, dword [esp + 0x14]
push dword [ebp + 0x20]
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x4c]
push eax
mov eax, dword [esp + 0x30]
mov edx, dword [eax + 0x38]
call fcn.00410a85
add esp, 8
xor esi, esi
test edi, edi
jle 0x41080a
imul eax, dword [ebp + 8], 0x3d0
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
add ebx, 0xfffffc30
add edi, eax
add ebx, eax
cmp esi, 1
jg 0x41079b
mov eax, dword [ebp + 0x14]
mov ecx, edi
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x20]
mov eax, dword [eax + esi*4]
jmp 0x4107bf
fstp st(0)
jmp 0x4105e8
mov eax, edi
jmp 0x410570
mov eax, dword [esp + 0x18]
cmp dword [ecx + eax*4 + 0x1848], 3
jne 0x4105be
mov eax, esi
fstp st(0)
sub eax, 0
je 0x410972
sub eax, 1
jne 0x410980
mov eax, dword [esp + 0x1c]
fstp st(1)
fld dword [eax]
fxch st(1)
jmp 0x4108e4
mov ecx, dword [ebp + 0x20]
xor eax, eax
mov edx, dword [ebp + 0x18]
add edx, 0xfffffff8
mov dword [esp + 0x28], edx
cmp dword [ecx], 2
je 0x410968
cmp dword [ecx + 4], 2
je 0x410968
mov ecx, ebx
cmp eax, 2
mov eax, dword [esp + 0x10]
push ecx
fld dword [eax + 0x14bac]
fstp dword [esp]
je 0x410912
call fcn.0040e840
mov eax, dword [esp + 0x2c]
add esp, 4
mov ecx, dword [esp + 0x54]
fst dword [eax + esi*4]
test ecx, ecx
jne 0x43886c
fstp st(0)
inc esi
add ebx, 0x1e8
add edi, 0x1e8
cmp esi, dword [esp + 0x14]
jl 0x410740
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
fstp st(1)
sub esp, 0xc
fstp st(3)
fxch st(1)
fstp dword [esp + 8]
fstp dword [esp + 4]
fstp dword [esp]
call fcn.00410f46
mov ecx, dword [esp + 0x38]
add esp, 0xc
fst dword [esp + 0x24]
fld qword [esp + 0x58]
fld dword [esp + 0x60]
fld dword [0x452624]
fxch st(3)
fxch st(1)
fxch st(2)
fxch st(1)
jmp 0x410593
fstp st(1)
fld st(0)
fst qword [esp + 0x58]
fxch st(1)
jmp 0x4105a0
imul eax, eax, 0xc00
lea ecx, [esp + 0x14b8]
add eax, ecx
mov ecx, dword [esp + 0x10]
push eax
lea eax, [esp + 0xcb4]
push eax
push edx
mov edx, dword [esp + 0x40]
push esi
call fcn.0040b6b0
push dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0xf4]
add eax, ebx
lea edx, [esp + 0xcc4]
push esi
push eax
lea eax, [esp + 0x4fc]
add eax, ebx
push eax
call fcn.0040d9a0
add esp, 0x20
jmp 0x410520
push dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0xe4]
add eax, edi
lea edx, [esp + 0x4e4]
push esi
push eax
add edx, edi
call fcn.0041506b
add esp, 0xc
jmp 0x4103e8
fstp st(0)
sub esp, 0xc
fxch st(2)
fstp dword [esp + 8]
fxch st(1)
fstp dword [esp + 4]
fstp dword [esp]
call fcn.00410f46
fld qword [esp + 0x64]
add esp, 0xc
fld dword [esp + 0x24]
jmp 0x4105ca
fstp st(1)
jmp 0x4105d9
call fcn.00411031
jmp 0x4107db
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0xe0]
fld dword [ebx + 0xc4]
mov eax, dword [ebx + 0x14f28]
add eax, 0x1d4
push dword [ecx + 0x22d4]
sub esp, 8
fstp dword [esp + 4]
fld dword [esp + 0x30]
fstp dword [esp]
push eax
lea eax, [ecx + 0x1d70]
push eax
lea ecx, [esp + 0x4f4]
call fcn.0040e050
add esp, 0x14
jmp 0x4103bc
mov eax, 2
jmp 0x4107bd
mov eax, dword [esp + 0x1c]
fstp st(1)
fld dword [eax - 4]
jmp 0x410794
sub eax, 1
jne 0x4108e4
fstp st(1)
fld dword [esp + 0x64]
fxch st(1)
jmp 0x4108e4
mov eax, dword [esi + 0x14f30]
mov dword [esp + 0x54], eax
jmp 0x41004d
fld1
jmp 0x41006f
mov eax, dword [edi + 0x38]
mov dword [esp + 0x14], eax
jmp 0x41012c
mov eax, dword [ebp + 8]
lea eax, [esi + eax*4]
fstp qword [ecx + eax*8 + 0x2e338]
jmp 0x4107f3