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

Disassembly:
sub esp, 0xf8
push ebx
push ebp
push esi
lea eax, [esp + 0xd0]
push edi
push eax
call fcn.0040e4e0
mov ecx, 0xd
mov esi, eax
lea edi, [esp + 0xa4]
xor ebp, ebp
rep movsd dword es:[edi], dword [esi]
add esp, 4
mov dword [0x81e8f8], ebp
xor edi, edi
mov esi, dword [edi + 0x81e4f0]
cmp esi, ebp
je 0x41312d
test byte [esi + 0xa4], 4
je 0x41312d
mov ecx, esi
call fcn.0040c5b0
push esi
call fcn.0051647d
add esp, 4
mov dword [edi + 0x81e4f0], ebp
add edi, 4
cmp edi, 0x400
jb 0x413104
xor esi, esi
lea ebx, [ebx]
mov ecx, dword [esi + 0x81e4f0]
cmp ecx, ebp
je 0x413151
call fcn.00413bf0
fstp st(0)
add esi, 4
cmp esi, 0x400
jb 0x413140
xor esi, esi
mov ebx, 8
mov ecx, dword [esi + 0x81e4f0]
cmp ecx, ebp
je 0x4131c3
mov eax, dword [ecx + 0xa4]
test al, 1
je 0x4131c3
test bl, al
jne 0x4131c3
test byte [ecx + 0xa8], 1
jne 0x4131c3
fld dword [ecx + 0x9c]
sub esp, 0xc
fld dword [esp + 0xb8]
mov eax, esp
fmul st(1)
fld dword [esp + 0xbc]
fmul st(2)
fld dword [esp + 0xc0]
fmul st(3)
fstp dword [esp + 0x48]
mov edx, dword [esp + 0x48]
fxch st(1)
fstp dword [eax]
mov dword [eax + 8], edx
fstp dword [eax + 4]
fstp st(0)
call fcn.00413be0
add esi, 4
cmp esi, 0x400
jb 0x413163
call fcn.0040e200
fst dword [esp + 0x18]
fmul dword [0x530a5c]
fadd dword [0x5303b4]
call fcn.00517154
test eax, eax
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
jge 0x4131fa
fadd dword [0x5303b0]
cmp eax, ebp
fdivr dword [esp + 0x18]
fstp dword [esp + 0x14]
jbe 0x413787
mov dword [esp + 0x1c], eax
mov edi, edi
fld dword [esp + 0x14]
fcomp dword [esp + 0x18]
fnstsw ax
test ah, 0x41
jne 0x413227
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], eax
fld dword [esp + 0x18]
xor ebp, ebp
fsub dword [esp + 0x14]
xor edi, edi
fstp dword [esp + 0x18]
fld dword [esp + 0x14]
fadd st(0), st(0)
fstp dword [esp + 0x10]
mov esi, dword [edi + 0x81e4f0]
test esi, esi
je 0x41340a
test byte [esi + 0xa4], bl
jne 0x41340a
test byte [esi + 0xa8], 1
jne 0x41340a
fld dword [0x5303b8]
fld dword [esi + 0x9c]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x4132bd
fld dword [esp + 0x14]
lea edx, [esp + 0x58]
fdiv dword [esi + 0x9c]
push edx
fld st(0)
fmul dword [esi + 0x4c]
fld st(1)
fmul dword [esi + 0x50]
fxch st(2)
fmul dword [esi + 0x54]
fstp dword [esp + 0x94]
mov ecx, dword [esp + 0x94]
fstp dword [esp + 0x5c]
mov dword [esp + 0x64], ecx
lea ecx, [esi + 0x40]
fstp dword [esp + 0x60]
call fcn.0041cb50
fld dword [esp + 0x14]
lea ecx, [esp + 0x40]
fmul dword [0x53098c]
push ecx
lea ecx, [esi + 0x30]
fld st(0)
fmul dword [esi + 0x40]
fld st(1)
fmul dword [esi + 0x44]
fxch st(2)
fmul dword [esi + 0x48]
fstp dword [esp + 0xa0]
mov eax, dword [esp + 0xa0]
fstp dword [esp + 0x44]
mov dword [esp + 0x4c], eax
fstp dword [esp + 0x48]
call fcn.0041cb50
test byte [esi + 0xa4], 2
je 0x41339a
fld dword [esp + 0x10]
fmul dword [esi + 0x40]
fld dword [esp + 0x10]
fmul dword [esi + 0x44]
fld dword [esp + 0x10]
fmul dword [esi + 0x48]
fstp dword [esp + 0x6c]
fld dword [esi + 0x40]
fsub st(2)
fstp dword [esi + 0x40]
fld dword [esi + 0x44]
fsub st(1)
fstp dword [esi + 0x44]
fstp st(0)
fstp st(0)
fld dword [esi + 0x48]
fsub dword [esp + 0x6c]
fstp dword [esi + 0x48]
fld dword [esi + 0x44]
fld dword [esi + 0x40]
fld dword [esi + 0x48]
fld st(1)
fmul st(2)
fld st(3)
fmul st(4)
faddp st(1)
fld st(1)
fmul st(2)
faddp st(1)
fcomp qword [0x5303d0]
fstp st(0)
fnstsw ax
fstp st(0)
test ah, 5
fstp st(0)
jp 0x41339a
mov dword [esp + 0x28], 0
mov edx, dword [esp + 0x28]
mov dword [esp + 0x2c], 0
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x30], 0
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x40], edx
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], ecx
mov eax, dword [0x83c7d0]
lea edx, [esi + 0x64]
mov dword [edx], eax
mov ecx, dword [0x83c7d4]
mov dword [edx + 4], ecx
mov eax, dword [0x83c7d8]
mov dword [edx + 8], eax
mov edx, dword [0x83c7d0]
lea ecx, [esi + 0x58]
mov dword [ecx], edx
mov eax, dword [0x83c7d4]
mov dword [ecx + 4], eax
mov edx, dword [0x83c7d8]
mov dword [ecx + 8], edx
mov ecx, dword [0x83c7d0]
lea eax, [esi + 0x70]
mov dword [eax], ecx
mov edx, dword [0x83c7d4]
mov dword [eax + 4], edx
mov ecx, dword [0x83c7d8]
mov dword [eax + 8], ecx
mov edx, dword [0x83c7d0]
add esi, 0x7c
mov dword [esi], edx
mov eax, dword [0x83c7d4]
mov dword [esi + 4], eax
mov ecx, dword [0x83c7d8]
mov dword [esi + 8], ecx
add edi, 4
cmp edi, 0x400
jb 0x413241
mov ecx, dword [0x81e8f0]
mov edi, 1
mov dword [esp + 0x20], edi
mov dword [esp + 0x10], 0x81e4f0
mov dword [esp + 0x24], 0x100
mov edx, dword [esp + 0x10]
mov esi, dword [edx]
test esi, esi
je 0x413635
test byte [esi + 0xa4], bl
jne 0x413635
mov eax, dword [esi + 0x88]
test eax, eax
je 0x4134b6
cmp edi, 0x100
jae 0x4134b6
mov eax, dword [edi*4 + 0x81e4f0]
test eax, eax
je 0x4134a7
test byte [eax + 0xa4], bl
jne 0x4134a7
mov ecx, dword [eax + 0xa8]
test dword [esi + 0xa8], ecx
jne 0x4134a7
mov ecx, dword [0x81e8f4]
mov edx, ebp
imul edx, edx, 0x2c
add edx, ecx
push edx
mov ecx, 0x400
sub ecx, ebp
push ecx
push eax
push esi
call fcn.00412810
add esp, 0x10
add ebp, eax
inc edi
cmp edi, 0x100
jb 0x413464
mov ecx, dword [0x81e8f0]
test ecx, ecx
je 0x413635
test byte [esi + 0xa8], 1
jne 0x413635
mov eax, dword [esi + 0x88]
dec eax
je 0x4135bf
dec eax
je 0x413552
dec eax
jne 0x413624
mov edx, dword [0x81e8f4]
mov edi, ebp
imul edi, edi, 0x2c
lea eax, [edi + edx]
mov edx, dword [esi + 0x8c]
push eax
push ebx
push ecx
mov ecx, dword [esi + 0x90]
push ecx
push edx
push esi
call fcn.00408fa0
add esp, 0x18
test eax, eax
jbe 0x413622
mov ecx, edi
mov edx, eax
jmp 0x413520
mov edi, dword [0x81e8f4]
mov dword [ecx + edi], esi
mov edi, dword [0x81e8f4]
mov dword [ecx + edi + 4], 0
mov edi, dword [esi + 0xa0]
mov ebx, dword [0x81e8f4]
mov dword [ecx + ebx + 8], edi
add ecx, 0x2c
dec edx
jne 0x413520
jmp 0x41361d
mov eax, dword [0x81e8f4]
mov edi, ebp
imul edi, edi, 0x2c
lea edx, [edi + eax]
mov eax, dword [esi + 0x94]
push edx
mov edx, dword [esi + 0x8c]
push ebx
push ecx
mov ecx, dword [esi + 0x90]
push eax
push ecx
push edx
push esi
call fcn.00459da0
add esp, 0x1c
test eax, eax
jbe 0x413622
mov ecx, edi
mov edx, eax
lea esp, [esp]
mov edi, dword [0x81e8f4]
mov dword [ecx + edi], esi
mov edi, dword [0x81e8f4]
mov dword [ecx + edi + 4], 0
mov edi, dword [esi + 0xa0]
mov ebx, dword [0x81e8f4]
mov dword [ecx + ebx + 8], edi
add ecx, 0x2c
dec edx
jne 0x413590
jmp 0x41361d
mov eax, dword [0x81e8f4]
mov edi, ebp
imul edi, edi, 0x2c
lea edx, [edi + eax]
mov eax, dword [esi + 0x8c]
push edx
push ebx
push ecx
push eax
lea ecx, [esi + 0x30]
push ecx
call fcn.004085d0
add esp, 0x14
test eax, eax
jbe 0x413622
mov ecx, edi
mov edx, eax
lea ebx, [ebx]
mov edi, dword [0x81e8f4]
mov dword [ecx + edi], esi
mov edi, dword [0x81e8f4]
mov dword [ecx + edi + 4], 0
mov edi, dword [esi + 0xa0]
mov ebx, dword [0x81e8f4]
mov dword [ecx + ebx + 8], edi
add ecx, 0x2c
dec edx
jne 0x4135f0
mov ebx, 8
add ebp, eax
mov eax, dword [0x81e8f8]
mov ecx, dword [0x81e8f0]
inc eax
mov dword [0x81e8f8], eax
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
add esi, 4
inc edi
dec eax
mov dword [esp + 0x10], esi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], eax
jne 0x413438
test ebp, ebp
jbe 0x413678
xor esi, esi
mov edi, ebp
mov edx, dword [0x81e8f4]
lea eax, [esi + edx]
push eax
call fcn.00412b50
add esp, 4
add esi, 0x2c
dec edi
jne 0x413660
xor edi, edi
lea ebx, [ebx]
mov esi, dword [edi + 0x81e4f0]
test esi, esi
je 0x41371d
test byte [esi + 0xa4], bl
jne 0x41371d
test byte [esi + 0xa8], 1
jne 0x41371d
fld dword [esi + 0x58]
lea edx, [esp + 0x4c]
fadd dword [esi + 0x64]
push edx
fld dword [esi + 0x68]
fadd dword [esi + 0x5c]
fld dword [esi + 0x6c]
fadd dword [esi + 0x60]
fstp dword [esp + 0x7c]
mov ecx, dword [esp + 0x7c]
fxch st(1)
fstp dword [esp + 0x50]
mov dword [esp + 0x58], ecx
lea ecx, [esi + 0x40]
fstp dword [esp + 0x54]
call fcn.0041cb50
fld dword [esi + 0x7c]
lea ecx, [esp + 0x34]
fadd dword [esi + 0x70]
push ecx
fld dword [esi + 0x80]
lea ecx, [esi + 0x30]
fadd dword [esi + 0x74]
fld dword [esi + 0x84]
fadd dword [esi + 0x78]
fstp dword [esp + 0x88]
mov eax, dword [esp + 0x88]
fxch st(1)
fstp dword [esp + 0x38]
mov dword [esp + 0x40], eax
fstp dword [esp + 0x3c]
call fcn.0041cb50
add edi, 4
cmp edi, 0x400
jb 0x413680
test ebp, ebp
jbe 0x41377d
xor edi, edi
mov edx, dword [0x81e8f4]
mov eax, dword [edi + edx]
test eax, eax
lea esi, [edi + edx]
je 0x413759
mov ecx, dword [eax + 0x98]
test ecx, ecx
je 0x413759
push esi
push eax
push ecx
push 7
call fcn.00401170
add esp, 0x10
mov eax, dword [esi + 4]
test eax, eax
je 0x413777
mov ecx, dword [eax + 0x98]
test ecx, ecx
je 0x413777
push esi
push eax
push ecx
push 7
call fcn.00401170
add esp, 0x10
add edi, 0x2c
dec ebp
jne 0x413732
dec dword [esp + 0x1c]
jne 0x413210
xor esi, esi
lea esp, [esp]
mov eax, dword [esi + 0x81e4f0]
test eax, eax
je 0x4137df
test byte [eax + 0xa4], bl
jne 0x4137df
test byte [eax + 0xa8], 1
jne 0x4137c8
mov edx, dword [0x83c7d0]
lea ecx, [eax + 0x4c]
mov dword [ecx], edx
mov edx, dword [0x83c7d4]
mov dword [ecx + 4], edx
mov edx, dword [0x83c7d8]
mov dword [ecx + 8], edx
mov ecx, dword [eax + 0x98]
test ecx, ecx
je 0x4137df
push 0
push eax
push ecx
push ebx
call fcn.00401170
add esp, 0x10
add esi, 4
cmp esi, 0x400
jb 0x413790
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xf8
ret