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

Disassembly:
sub esp, 0xac
mov eax, dword [esp + 0xb8]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0xc0]
imul edi, edi, 0x64
mov ebp, ecx
add edi, dword [ebp + 4]
test eax, eax
mov dword [esp + 0x90], ebp
mov dword [esp + 0x5c], 0
jne 0x510cd5
mov eax, dword [edi + 0x58]
add eax, 0x14
mov ecx, dword [eax]
mov dword [esp + 0x2c], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x30], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x34], eax
mov edx, dword [edi + 0x58]
mov eax, dword [edx + 0x10]
mov ecx, 1
cmp eax, ecx
jbe 0x510c9a
mov edx, 0xc
mov eax, dword [edi + 0x58]
fld dword [esp + 0x2c]
fadd dword [eax + edx + 0x14]
lea eax, [eax + edx + 0x14]
inc ecx
add edx, 0xc
fstp dword [esp + 0x2c]
fld dword [esp + 0x30]
fadd dword [eax + 4]
fstp dword [esp + 0x30]
fld dword [esp + 0x34]
fadd dword [eax + 8]
fstp dword [esp + 0x34]
mov eax, dword [edi + 0x58]
cmp ecx, dword [eax + 0x10]
jb 0x510c65
mov ecx, dword [edi + 0x58]
mov edx, dword [ecx + 0x10]
fild dword [ecx + 0x10]
test edx, edx
jge 0x510cad
fadd dword [0x5da2fc]
fdivr dword [0x5f53f4]
fld dword [esp + 0x2c]
fmul st(1)
fstp dword [esp + 0x2c]
fld dword [esp + 0x30]
fmul st(1)
fstp dword [esp + 0x30]
fld dword [esp + 0x34]
fmul st(1)
fstp dword [esp + 0x34]
fstp st(0)
jmp 0x510d01
test byte [edi + 0x54], 8
je 0x510ced
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [edi + 0x5c]
push eax
push 0
call fcn.004d2710
jmp 0x510d01
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x2c], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
cmp dword [esp + 0xc4], 1
je 0x510d1d
mov eax, dword [edi + 0x54]
mov ecx, dword [edi + 0x3c]
and eax, 0xfffffffe
or eax, 2
mov dword [esp + 0x74], ecx
jmp 0x510d2c
fld dword [edi + 0x40]
mov eax, dword [edi + 0x54]
fchs
or eax, 3
fstp dword [esp + 0x74]
mov dword [edi + 0x54], eax
mov eax, dword [0x68aeec]
mov ecx, dword [0x68aee8]
mov ebx, eax
shl ebx, 6
add ebx, ecx
inc eax
mov dword [0x68aeec], eax
mov eax, dword [edi + 0x58]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x64], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x6c], edx
mov edx, dword [esp + 0x68]
lea ecx, [esp + 0x40]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x6c]
push ecx
mov ecx, ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], eax
call fcn.0052a710
mov eax, dword [edi + 0x58]
fld dword [eax + 0x14]
add eax, 0x14
fsub dword [esp + 0x2c]
fstp dword [esp + 0x50]
mov edx, dword [esp + 0x50]
fld dword [eax + 4]
fsub dword [esp + 0x30]
fstp dword [esp + 0x54]
fld dword [eax + 8]
mov eax, dword [esp + 0x54]
fsub dword [esp + 0x34]
mov dword [esp + 0xb0], edx
lea edx, [esp + 0xa4]
mov dword [esp + 0xb4], eax
fstp dword [esp + 0x58]
mov ecx, dword [esp + 0x58]
push edx
lea eax, [esp + 0xb4]
mov dword [esp + 0xbc], ecx
push eax
mov ecx, ebx
call fcn.0052a5a0
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0xa8]
mov eax, ecx
mov dword [esp + 0x10], ecx
mov ecx, edx
mov dword [esp + 0x24], ecx
mov ecx, ebp
mov dword [esp + 0x14], edx
mov dword [esp + 0x20], eax
call fcn.0050ffd0
mov edx, dword [ebp]
mov esi, eax
mov ecx, esi
sub ecx, edx
mov eax, 0x66666667
imul ecx
mov ecx, dword [edi + 0x58]
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [edx - 1]
mov dword [esp + 0x88], eax
mov dword [esp + 0x3c], eax
mov eax, 1
mov dword [esp + 0x38], edx
mov edx, dword [ecx + 0x10]
mov dword [esp + 0x28], eax
cmp edx, eax
jbe 0x510ff4
mov dword [esp + 0x1c], 0xc
test esi, esi
je 0x5110d2
mov eax, dword [edi + 0x58]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x40], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], edx
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x80]
mov ecx, esi
mov dword [ecx], edx
mov edx, dword [esp + 0x84]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0xc0]
mov dword [ecx + 8], edx
mov dword [esi + 0x40], eax
call fcn.0058d121
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
xor eax, eax
mov dword [esi + 0x2c], eax
fmul dword [0x5dfbdc]
fmul dword [esp + 0x74]
fstp dword [esi + 0x28]
mov ecx, dword [edi + 0x2c]
mov dword [esi + 0x24], ecx
mov ecx, esi
mov dword [esi + 0x30], eax
call fcn.0050ff20
mov ecx, dword [esp + 0x20]
mov dword [esi + 0x14], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x50], 0
mov edx, dword [esp + 0x50]
mov dword [esi + 0xc], edx
mov edx, dword [esp + 0x24]
mov dword [esi + 0x18], edx
mov dword [esp + 0x54], 0
mov eax, dword [esp + 0x54]
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x58]
fld dword [eax + ecx + 0x14]
lea eax, [eax + ecx + 0x14]
fsub dword [esp + 0x2c]
fstp dword [esp + 0x64]
mov edx, dword [esp + 0x64]
fld dword [eax + 4]
fsub dword [esp + 0x30]
fstp dword [esp + 0x68]
fld dword [eax + 8]
mov eax, dword [esp + 0x68]
fsub dword [esp + 0x34]
mov dword [esp + 0xb0], edx
lea edx, [esp + 0xa4]
mov dword [esp + 0xb4], eax
fstp dword [esp + 0x6c]
mov ecx, dword [esp + 0x6c]
push edx
lea eax, [esp + 0xb4]
mov dword [esp + 0xbc], ecx
push eax
mov ecx, ebx
call fcn.0052a5a0
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0xa8]
mov eax, ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
mov dword [esi + 0x1c], eax
mov ecx, edx
mov dword [esi + 0x20], ecx
mov edx, dword [edi + 0x50]
mov eax, dword [edi + 0x4c]
mov ecx, dword [esi + 0x90]
push edx
push eax
call fcn.00553c90
mov esi, dword [esp + 0x5c]
inc esi
mov ecx, ebp
mov dword [esp + 0x5c], esi
call fcn.0050ffd0
mov ecx, dword [esp + 0x1c]
add ecx, 0xc
mov esi, eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x1c], ecx
mov ecx, dword [edi + 0x58]
mov edx, dword [ecx + 0x10]
inc eax
cmp eax, edx
mov dword [esp + 0x28], eax
jb 0x510e63
test esi, esi
je 0x5110d2
mov eax, dword [edi + 0x58]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x40], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0x64]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x68]
mov ecx, esi
mov dword [ecx], edx
mov edx, dword [esp + 0x6c]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0xc0]
mov dword [ecx + 8], edx
mov dword [esi + 0x40], eax
call fcn.0058d121
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
xor eax, eax
mov dword [esi + 0x2c], eax
fmul dword [0x5dfbdc]
fmul dword [esp + 0x74]
fstp dword [esi + 0x28]
mov ecx, dword [edi + 0x2c]
mov dword [esi + 0x24], ecx
mov ecx, esi
mov dword [esi + 0x30], eax
call fcn.0050ff20
mov ecx, dword [esp + 0x20]
mov dword [esi + 0x14], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x50], 0
mov edx, dword [esp + 0x50]
mov dword [esp + 0x54], 0
mov eax, dword [esp + 0x54]
mov dword [esi + 0xc], edx
mov edx, dword [esp + 0x24]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x10]
mov dword [esi + 0x20], ecx
mov ecx, dword [esi + 0x90]
mov dword [esi + 0x18], edx
mov dword [esi + 0x1c], eax
mov edx, dword [edi + 0x50]
mov eax, dword [edi + 0x4c]
push edx
push eax
call fcn.00553c90
inc dword [esp + 0x5c]
mov ecx, dword [edi + 0x28]
fild dword [edi + 0x28]
test ecx, ecx
jge 0x5110e2
fadd dword [0x5da2fc]
fstp dword [esp + 0x18]
mov eax, dword [esp + 0x18]
push eax
push eax
call fcn.004bd540
add esp, 8
call fcn.0058c3f0
test eax, eax
mov edx, dword [esp + 0x38]
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], edx
je 0x511427
lea ecx, [ecx]
mov ebx, dword [esp + 0x28]
mov ecx, dword [ebp + 8]
mov eax, dword [ebp]
mov esi, dword [ebp + 0xc]
dec ebx
lea ecx, [ecx + ecx*4]
shl ecx, 5
mov dword [esp + 0x28], ebx
xor ebx, ebx
add ecx, eax
test esi, esi
jbe 0x511153
mov eax, dword [ecx + 0x40]
test eax, eax
jl 0x511153
mov eax, dword [ebp + 8]
mov edx, dword [ebp]
lea ecx, [eax + eax*4]
shl ecx, 5
add ecx, edx
inc eax
xor edx, edx
div esi
inc ebx
mov dword [ebp + 8], edx
cmp ebx, dword [ebp + 0xc]
jb 0x511130
mov eax, dword [esp + 0x1c]
cmp ebx, esi
sbb ebx, ebx
and ebx, ecx
cmp eax, esi
jne 0x51117d
mov edx, dword [ebp]
mov ecx, ebx
sub ecx, edx
mov eax, 0x66666667
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [esp + 0x1c], edx
test ebx, ebx
je 0x511420
mov ecx, dword [esp + 0xc0]
mov dword [ebx + 0x40], ecx
mov esi, dword [ebp + 8]
mov ecx, dword [ebp]
mov edx, dword [ebp + 0xc]
lea esi, [esi + esi*4]
shl esi, 5
xor eax, eax
add esi, ecx
test edx, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x7c], edx
jbe 0x5111e0
mov edx, dword [esi + 0x40]
test edx, edx
jl 0x5111e0
mov eax, dword [ebp + 8]
lea esi, [eax + eax*4]
shl esi, 5
add esi, ecx
inc eax
xor edx, edx
div dword [esp + 0x7c]
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
mov dword [ebp + 8], edx
cmp eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x18]
jb 0x5111b2
cmp eax, dword [esp + 0x7c]
jae 0x511419
test esi, esi
je 0x511419
mov eax, dword [esp + 0x3c]
inc eax
xor edx, edx
div dword [esp + 0x7c]
cmp edx, dword [esp + 0x3c]
je 0x511225
mov ebp, dword [esp + 0xc0]
lea eax, [edx + edx*4]
shl eax, 5
cmp dword [eax + ecx + 0x40], ebp
je 0x511225
lea eax, [edx + 1]
xor edx, edx
div dword [esp + 0x7c]
cmp edx, dword [esp + 0x3c]
jne 0x511203
cmp dword [esp + 0x1c], edx
mov ebp, edx
mov dword [esp + 0x3c], ebp
jne 0x511254
mov edx, ebx
sub edx, ecx
mov eax, 0x66666667
imul edx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x3c], edx
mov ebp, edx
mov eax, dword [edi + 0x58]
mov edx, dword [eax + 4]
lea ebp, [ebp + ebp*4]
shl ebp, 5
add ebp, ecx
mov ecx, dword [eax]
mov dword [esp + 0x40], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x44], edx
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x64], eax
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x6c], edx
mov edx, dword [esp + 0x68]
mov eax, ebx
mov dword [eax], ecx
mov ecx, dword [esp + 0x6c]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
call fcn.0058d121
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
xor eax, eax
mov dword [ebx + 0x2c], eax
mov ecx, ebx
fmul dword [0x5dfbdc]
fmul dword [esp + 0x74]
fstp dword [ebx + 0x28]
mov edx, dword [edi + 0x2c]
mov dword [ebx + 0x24], edx
mov dword [esi + 0x30], eax
call fcn.0050ff20
mov eax, dword [edi + 0x58]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x94], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x98], edx
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x94]
mov dword [esp + 0x9c], ecx
mov ecx, dword [esp + 0x98]
mov dword [esp + 0xa0], edx
mov edx, dword [esp + 0x9c]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x54]
mov eax, esi
mov dword [eax], ecx
mov ecx, dword [esp + 0x58]
mov dword [eax + 4], edx
mov edx, dword [esp + 0xc0]
mov dword [eax + 8], ecx
mov dword [esi + 0x40], edx
call fcn.0058d121
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
xor eax, eax
mov dword [esi + 0x2c], eax
fmul dword [0x5dfbdc]
fmul dword [esp + 0x74]
fstp dword [esi + 0x28]
mov ecx, dword [edi + 0x2c]
mov dword [esi + 0x24], ecx
mov ecx, esi
mov dword [esi + 0x30], eax
call fcn.0050ff20
lea edx, [esp + 0x20]
push edx
mov ecx, ebp
call fcn.00510740
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [ebx + 0x10], ecx
mov dword [ebx + 0xc], eax
mov edx, dword [ebp + 0xc]
mov dword [ebx + 0x14], edx
mov eax, dword [ebp + 0x10]
mov dword [ebx + 0x18], eax
mov ecx, dword [ebp + 0x14]
mov dword [ebx + 0x1c], ecx
mov edx, dword [ebp + 0x18]
mov dword [ebx + 0x20], edx
mov eax, dword [edi + 0x50]
mov ecx, dword [edi + 0x4c]
push eax
push ecx
mov ecx, dword [ebx + 0x90]
call fcn.00553c90
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], edx
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x14], eax
mov ecx, dword [ebp + 0x18]
mov dword [esi + 0x18], ecx
mov edx, dword [ebp + 0x1c]
mov dword [esi + 0x1c], edx
mov eax, dword [ebp + 0x20]
mov dword [esi + 0x20], eax
mov ecx, dword [edi + 0x50]
mov edx, dword [edi + 0x4c]
push ecx
mov ecx, dword [esi + 0x90]
push edx
call fcn.00553c90
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x5c]
mov dword [ebp + 0x18], eax
mov eax, dword [esp + 0x28]
add ecx, 2
test eax, eax
mov dword [ebp + 0x14], ebx
mov ebp, dword [esp + 0x90]
mov dword [esp + 0x5c], ecx
je 0x511420
jmp 0x511110
mov dword [ebx + 0x40], 0xffffffff
mov ebx, dword [esp + 0x8c]
mov eax, dword [edi + 0x58]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x94], ecx
fld dword [esp + 0x94]
mov ecx, dword [eax + 8]
fchs
mov dword [esp + 0x98], edx
mov edx, dword [eax + 0xc]
fstp dword [esp + 0x40]
fld dword [esp + 0x98]
mov dword [esp + 0x9c], ecx
fchs
lea eax, [esp + 0x40]
fstp dword [esp + 0x44]
fld dword [esp + 0x9c]
push eax
fchs
mov ecx, ebx
fstp dword [esp + 0x4c]
mov dword [esp + 0xa4], edx
call fcn.0052a710
mov eax, dword [esp + 0x5c]
test eax, eax
mov ecx, dword [esp + 0x88]
mov dword [esp + 0xac], 0
je 0x511a43
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0xbf800000
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0x3f800000
mov dword [esp + 0x18], eax
jmp 0x5114e3
mov ebp, dword [esp + 0x90]
mov ecx, dword [esp + 0x3c]
mov esi, dword [ebp + 0xc]
xor edx, edx
lea eax, [ecx + 1]
div esi
cmp edx, ecx
je 0x51151f
mov esi, dword [ebp]
jmp 0x511500
mov ebx, dword [esp + 0xc0]
lea eax, [edx + edx*4]
shl eax, 5
cmp dword [eax + esi + 0x40], ebx
je 0x51151f
lea eax, [edx + 1]
xor edx, edx
div dword [ebp + 0xc]
cmp edx, ecx
jne 0x511500
mov eax, dword [ebp]
lea ebx, [edx + edx*4]
shl ebx, 5
fld dword [ebx + eax + 0x14]
add ebx, eax
fadd dword [ebx + 0xc]
mov dword [esp + 0x3c], edx
fld dword [ebx + 0x10]
fadd dword [ebx + 0x18]
fxch st(1)
fadd dword [ebx + 0x1c]
fstp dword [esp + 0x50]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x20], ecx
fadd dword [ebx + 0x20]
mov ecx, dword [ebx + 0x90]
fstp dword [esp + 0x54]
fld dword [esp + 0x50]
mov edx, dword [esp + 0x54]
fmul dword [0x5f062c]
mov dword [esp + 0x24], edx
fstp dword [esp + 0x20]
fld dword [esp + 0x24]
fmul dword [0x5f062c]
fstp dword [esp + 0x24]
call fcn.005548d0
mov esi, eax
lea ebp, [esi + 0x18]
mov dword [esp + 0x38], 0x12
nop
mov ecx, edi
call fcn.00548410
mov dword [ebp], eax
mov eax, dword [esp + 0x38]
add ebp, 0x24
dec eax
mov dword [esp + 0x38], eax
jne 0x511590
lea edx, [esi + 0xbc]
mov dword [esp + 0x1c], edx
lea edx, [esi + 0xb4]
lea eax, [ebx + 0xc]
lea ecx, [esi + 8]
mov dword [esp + 0x28], edx
mov dword [esp + 0x38], 3
lea ebx, [ebx]
fld dword [eax]
mov ebp, dword [esp + 0x64]
fsub dword [esp + 0x20]
add eax, 8
fstp dword [eax - 8]
fld dword [eax - 4]
fsub dword [esp + 0x24]
fstp dword [eax - 4]
mov edx, dword [eax - 8]
mov dword [ecx - 8], edx
mov edx, dword [eax - 4]
mov dword [ecx - 4], edx
lea edx, [ecx + 4]
mov dword [edx], ebp
mov ebp, dword [esp + 0x68]
mov dword [edx + 4], ebp
mov ebp, dword [esp + 0x6c]
mov dword [edx + 8], ebp
mov ebp, dword [esp + 0x28]
mov dword [ecx], 0
mov edx, dword [eax - 8]
mov dword [ebp], edx
mov ebp, dword [eax - 4]
mov edx, dword [esp + 0x1c]
mov dword [edx - 4], ebp
mov ebp, dword [edi + 0x2c]
mov dword [edx], ebp
mov ebp, dword [esp + 0x40]
add edx, 4
mov dword [edx], ebp
mov ebp, dword [esp + 0x44]
mov dword [edx + 4], ebp
mov ebp, dword [esp + 0x48]
mov dword [edx + 8], ebp
mov ebp, dword [esp + 0x28]
mov edx, 0x24
sub ebp, edx
mov dword [esp + 0x28], ebp
mov ebp, dword [esp + 0x1c]
sub ebp, edx
add ecx, edx
mov edx, dword [esp + 0x38]
dec edx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x38], edx
jne 0x5115d0
lea ecx, [esi + 0x48]
mov edx, ecx
mov ebp, dword [edx]
lea eax, [esi + 0xd8]
mov dword [eax], ebp
mov ebp, dword [edx + 4]
mov edx, dword [edx + 8]
mov dword [eax + 4], ebp
mov dword [eax + 8], edx
lea eax, [esi + 0x24]
mov dword [esp + 0x88], eax
mov ebp, dword [eax]
lea edx, [esi + 0xfc]
mov dword [edx], ebp
mov ebp, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [edx + 4], ebp
mov dword [edx + 8], eax
lea eax, [esi + 0x90]
mov ebp, dword [eax]
lea edx, [esi + 0x120]
mov dword [edx], ebp
mov ebp, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [edx + 4], ebp
mov dword [edx + 8], eax
lea eax, [esi + 0x6c]
mov ebp, dword [eax]
lea edx, [esi + 0x144]
mov dword [edx], ebp
mov ebp, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [edx + 4], ebp
mov dword [edx + 8], eax
fld dword [ebx + 0x20]
fsub dword [ebx + 0x18]
fstp dword [esp + 0x10]
fld dword [ebx + 0x14]
fsub dword [ebx + 0x1c]
fstp dword [esp + 0x14]
fld dword [esp + 0x10]
fcomp dword [0x60477c]
fnstsw ax
test ah, 0x44
jp 0x511724
fld dword [esp + 0x14]
fcomp dword [0x60477c]
fnstsw ax
test ah, 0x44
jp 0x511724
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], eax
jmp 0x511753
fld dword [esp + 0x14]
fmul dword [esp + 0x14]
fld dword [esp + 0x10]
fmul dword [esp + 0x10]
faddp st(1)
fsqrt
fdivr dword [0x5f53f4]
fld dword [esp + 0x10]
fmul st(1)
fstp dword [esp + 0x7c]
fmul dword [esp + 0x14]
fstp dword [esp + 0x80]
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x80]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
lea eax, [esi + 0xe8]
mov edx, 4
mov ebp, dword [esp + 0x7c]
mov dword [eax - 4], ebp
mov ebp, dword [esp + 0x80]
mov dword [eax], ebp
mov dword [eax + 4], 0
add eax, 0x24
dec edx
jne 0x511771
mov edx, dword [esi + 0x6c]
lea eax, [esi + 0x168]
mov dword [eax], edx
mov edx, dword [esi + 0x70]
mov dword [eax + 4], edx
mov edx, dword [esi + 0x74]
mov dword [eax + 8], edx
lea eax, [esi + 0xb4]
mov ebp, dword [eax]
lea edx, [esi + 0x18c]
mov dword [edx], ebp
mov ebp, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [edx + 4], ebp
mov dword [edx + 8], eax
mov eax, esi
mov ebp, dword [eax]
lea edx, [esi + 0x1b0]
mov dword [edx], ebp
mov ebp, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [edx + 4], ebp
mov dword [edx + 8], eax
mov eax, dword [ecx]
lea edx, [esi + 0x1d4]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov ecx, dword [ecx + 8]
mov dword [edx + 4], eax
mov dword [edx + 8], ecx
fld dword [ebx + 0x10]
fsub dword [ebx + 0x20]
fstp dword [esp + 0x10]
fld dword [ebx + 0x1c]
fsub dword [ebx + 0xc]
fstp dword [esp + 0x14]
fld dword [esp + 0x10]
fcomp dword [0x60477c]
fnstsw ax
test ah, 0x44
jp 0x511837
fld dword [esp + 0x14]
fcomp dword [0x60477c]
fnstsw ax
test ah, 0x44
jp 0x511837
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], eax
jmp 0x511863
fld dword [esp + 0x14]
fmul dword [esp + 0x14]
fld dword [esp + 0x10]
fmul dword [esp + 0x10]
faddp st(1)
fsqrt
fdivr dword [0x5f53f4]
fld dword [esp + 0x10]
fmul st(1)
fstp dword [esp + 0x74]
fmul dword [esp + 0x14]
fstp dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
lea eax, [esi + 0x178]
mov ecx, 4
mov edi, edi
mov edx, dword [esp + 0x74]
mov dword [eax - 4], edx
mov edx, dword [esp + 0x78]
mov dword [eax], edx
mov dword [eax + 4], 0
add eax, 0x24
dec ecx
jne 0x511880
lea ecx, [esi + 0x1f8]
mov eax, esi
mov ebp, dword [eax]
mov edx, ecx
mov dword [edx], ebp
mov ebp, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [edx + 4], ebp
mov dword [edx + 8], eax
mov eax, dword [esi + 0xb4]
lea edx, [esi + 0x21c]
mov dword [edx], eax
mov eax, dword [esi + 0xb8]
mov dword [edx + 4], eax
mov eax, dword [esi + 0xbc]
mov dword [edx + 8], eax
mov eax, dword [esi + 0x90]
lea edx, [esi + 0x240]
mov dword [edx], eax
mov eax, dword [esi + 0x94]
mov dword [edx + 4], eax
mov eax, dword [esi + 0x98]
mov dword [edx + 8], eax
mov eax, dword [esp + 0x88]
mov edx, dword [eax]
add esi, 0x264
mov dword [esi], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esi + 4], edx
mov dword [esi + 8], eax
fld dword [ebx + 0x18]
fsub dword [ebx + 0x10]
fstp dword [esp + 0x10]
fld dword [ebx + 0xc]
fsub dword [ebx + 0x14]
fstp dword [esp + 0x14]
fld dword [esp + 0x10]
fcomp dword [0x60477c]
fnstsw ax
test ah, 0x44
jp 0x511959
fld dword [esp + 0x14]
fcomp dword [0x60477c]
fnstsw ax
test ah, 0x44
jp 0x511959
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], eax
jmp 0x511985
fld dword [esp + 0x14]
fmul dword [esp + 0x14]
fld dword [esp + 0x10]
fmul dword [esp + 0x10]
faddp st(1)
fsqrt
fdivr dword [0x5f53f4]
fld dword [esp + 0x10]
fmul st(1)
fstp dword [esp + 0x5c]
fmul dword [esp + 0x14]
fstp dword [esp + 0x60]
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x14], eax
lea eax, [ecx + 0x10]
mov dword [esp + 0x10], edx
mov ecx, 4
lea ecx, [ecx]
mov edx, dword [esp + 0x5c]
mov dword [eax - 4], edx
mov edx, dword [esp + 0x60]
mov dword [eax], edx
mov dword [eax + 4], 0
add eax, 0x24
dec ecx
jne 0x5119a0
mov ecx, dword [ebx + 0x90]
call fcn.00554900
mov eax, dword [edi + 0x20]
mov ecx, dword [ebx + 0x90]
mov edx, dword [eax + 0x14]
mov dword [ecx + 0x14], edx
mov ecx, dword [0x680064]
push 0
call fcn.00543530
mov ecx, dword [ebx + 0x90]
mov edx, dword [esp + 0x20]
mov dword [ecx + 0x1c], eax
mov eax, dword [esp + 0x24]
add ebx, 0x44
push ebx
lea ecx, [esp + 0xa8]
push ecx
mov ecx, dword [esp + 0x94]
mov dword [esp + 0xac], edx
mov dword [esp + 0xb0], eax
call fcn.0052a5a0
fld dword [esp + 0x2c]
fadd dword [ebx]
mov eax, dword [esp + 0x18]
dec eax
mov dword [esp + 0x18], eax
fstp dword [ebx]
fld dword [esp + 0x30]
fadd dword [ebx + 4]
fstp dword [ebx + 4]
fld dword [esp + 0x34]
fadd dword [ebx + 8]
fstp dword [ebx + 8]
jne 0x5114d8
mov edx, dword [edi + 0x54]
shr edx, 2
not edx
test dl, 1
jne 0x511a58
mov eax, dword [0x5f063c]
mov dword [edi + 0x44], eax
mov eax, dword [0x68aeec]
pop edi
pop esi
dec eax
pop ebp
mov dword [0x68aeec], eax
pop ebx
add esp, 0xac
ret 0xc