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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x79e530
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x9c
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
lea edx, [esp + 0x7c]
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x10]
push eax
push ecx
push edx
mov ecx, edi
call fcn.00542b60
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x14]
push eax
lea edx, [esp + 0x88]
push ecx
push edx
mov ecx, edi
call fcn.00542b60
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x18]
push eax
lea edx, [esp + 0x70]
push ecx
push edx
mov ecx, edi
call fcn.00542b60
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x1c]
push eax
lea edx, [esp + 0x60]
push ecx
push edx
mov ecx, edi
call fcn.00542b60
mov eax, dword [esi + 0xbf8]
mov ecx, dword [esi + 0xbf4]
push eax
lea edx, [esp + 0x50]
push ecx
push edx
mov ecx, edi
call fcn.00542b60
mov eax, dword [esi + 0xc00]
mov ecx, dword [esi + 0xbfc]
push eax
lea edx, [esp + 0x90]
push ecx
push edx
mov ecx, edi
call fcn.00542b60
add esi, 0x30
push esi
call fcn.00749c29
mov edx, dword [esp + 0x64]
mov esi, eax
lea eax, [esp + 0xa8]
lea ecx, [esp + 0x18]
push eax
mov eax, dword [esp + 0x64]
push ecx
mov ecx, dword [esp + 0x7c]
push edx
mov edx, dword [esp + 0x7c]
push eax
mov eax, dword [esp + 0x9c]
push ecx
mov ecx, dword [esp + 0x9c]
push edx
mov edx, dword [esp + 0x9c]
push eax
mov eax, dword [esp + 0x9c]
push ecx
push edx
push eax
mov dword [esp + 0x3c], esi
call fcn.00541dd0
mov ecx, dword [esp + 0xbc]
push ecx
mov edx, dword [esp + 0xbc]
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x7c]
push edx
mov edx, dword [esp + 0x4c]
push eax
mov eax, dword [esp + 0x4c]
push ecx
push edx
push eax
call fcn.005434a0
fild dword [esp + 0x54]
lea eax, [esi - 1]
xor ebx, ebx
add esp, 0x44
cmp eax, ebx
fdivr st(1)
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x54], eax
fstp qword [esp + 0x94]
fstp st(0)
jle 0x543964
mov ecx, dword [esp + 0x4c]
mov esi, dword [esp + 0x14]
fild dword [esp + 0x14]
sub ecx, esi
mov dword [esp + 0x10], ecx
fild dword [esp + 0x10]
fadd st(1)
call fcn.007496f4
fild dword [esp + 0x18]
mov edx, dword [esp + 0x50]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x18]
fstp qword [esp + 0x1c]
sub edx, eax
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
fadd qword [esp + 0x1c]
call fcn.007496f4
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
fstp qword [esp + 0x9c]
sub eax, edx
mov edx, dword [esp + 0x54]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x24]
fild dword [esp + 0x10]
sub eax, esi
mov dword [esp + 0x78], ecx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x1c]
fstp qword [esp + 0x64]
fild dword [esp + 0x24]
mov dword [esp + 0x74], eax
mov dword [esp + 0x10], edx
fstp qword [esp + 0x24]
jmp 0x543854
mov esi, dword [esp + 0x14]
fld qword [esp + 0x2c]
fadd qword [esp + 0x94]
fst qword [esp + 0x2c]
fcos
fld qword [esp + 0x2c]
fsin
fld qword [esp + 0x24]
fmul st(2)
fadd qword [esp + 0x9c]
fld qword [esp + 0x64]
fmul st(2)
fsubp st(1)
call fcn.007496f4
fld qword [esp + 0x64]
fmul st(2)
fld qword [esp + 0x24]
fmul st(2)
mov dword [esp + 0x1c], eax
faddp st(1)
fadd qword [esp + 0x74]
call fcn.007496f4
fstp st(0)
fstp st(0)
mov dword [esp + 0x20], eax
mov dword [esp + 0x38], 0x7cb8e8
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], ebx
mov eax, dword [esp + 0x18]
push 0xffffffffffffffff
push 1
lea ecx, [esp + 0x40]
mov dword [esp + 0xb8], ebx
mov dword [esp + 0x60], eax
call fcn.005fc3f0
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x58]
push 0xffffffffffffffff
mov dword [ecx], esi
mov dword [ecx + 4], edx
mov esi, dword [esp + 0x44]
lea ecx, [esp + 0x3c]
lea eax, [esi + 1]
push eax
call fcn.005fc3f0
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x1c]
mov dword [ecx + esi*8], edx
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x38]
mov dword [eax + esi*8 + 4], ecx
mov eax, dword [edi + 0x516d1c]
push edx
push eax
mov ecx, edi
call fcn.00549910
mov dword [esp + 0x38], 0x7cb8e8
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xb0], 1
cmp eax, ebx
je 0x54394a
push eax
call fcn.007604d0
add esp, 4
mov eax, dword [esp + 0x10]
mov dword [esp + 0xb0], 0xffffffff
dec eax
mov dword [esp + 0x10], eax
jne 0x543850
mov ecx, dword [esp + 0xa8]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4