Function at 0x52d1a0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [ebp + 0x1c]
push ebx
push esi
mov esi, ecx
mov dword [ebp - 8], eax
push edi
mov edi, dword [ebp + 0x18]
mov dword [ebp - 0x14], edi
mov eax, dword [esi]
call dword [eax + 0x54]
mov ebx, eax
test ebx, ebx
jne 0x52d1f2
push dword [ebp - 8]
mov eax, dword [ebp + 8]
mov ecx, esi
push edi
sub esp, 0x10
mov edx, esp
mov dword [edx], eax
mov eax, dword [ebp + 0xc]
mov dword [edx + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [edx + 8], eax
mov eax, dword [ebp + 0x14]
mov dword [edx + 0xc], eax
call fcn.0052d090
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov eax, dword [edi]
xor ecx, ecx
test eax, eax
cmovle eax, ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], eax
call fcn.0052e360
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xc], eax
mov ecx, dword [eax + 0x1c]
test ecx, ecx
jne 0x52d227
push 0x6154fc
push dword [eax]
call edi
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x1c], eax
mov ecx, eax
push 2
push ebx
call ecx
call fcn.0052e360
mov dword [ebp - 0xc], eax
mov ecx, dword [eax + 0x14]
test ecx, ecx
jne 0x52d24c
push 0x6154d4
push dword [eax]
call edi
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x14], eax
mov ecx, eax
push 4
push ebx
call ecx
fild dword [ebp - 4]
fstp dword [ebp - 4]
fld dword [ebp - 4]
fmul qword [0x5fc308]
fstp dword [ebp - 4]
fld dword [ebp - 4]
fchs
fild dword [ebp + 8]
fstp dword [ebp - 4]
fld dword [ebp - 4]
fsub st(1)
fstp dword [ebp - 4]
fld dword [ebp - 4]
fst dword [ebp - 0x10]
fstp dword [ebp - 0x18]
fild dword [ebp + 0xc]
fstp dword [ebp - 4]
fld dword [ebp - 4]
mov eax, dword [ebp + 0x10]
fsub st(1)
sub eax, dword [ebp + 8]
fstp dword [ebp - 4]
fld dword [ebp - 4]
fst dword [ebp - 0x20]
fstp dword [ebp - 0x30]
mov dword [ebp - 4], eax
fadd st(0), st(0)
fild dword [ebp - 4]
fstp dword [ebp - 4]
fld dword [ebp - 4]
mov eax, dword [ebp + 0x14]
fadd st(1)
sub eax, dword [ebp + 0xc]
fstp dword [ebp - 4]
fld dword [ebp - 4]
fst dword [ebp - 0x1c]
fstp dword [ebp - 0x2c]
mov dword [ebp - 4], eax
fild dword [ebp - 4]
mov eax, dword [ebp - 8]
fstp dword [ebp - 4]
fadd dword [ebp - 4]
fstp dword [ebp - 4]
fld dword [ebp - 4]
fst dword [ebp - 0xc]
fstp dword [ebp - 0x28]
test eax, eax
je 0x52d355
lea ecx, [ebp + 8]
push ecx
push eax
mov ecx, esi
call fcn.0052bc80
mov dword [ebp - 8], eax
call fcn.0052e360
mov dword [ebp - 4], eax
mov ecx, dword [eax + 0x64]
test ecx, ecx
jne 0x52d30c
push 0x615644
push dword [eax]
call edi
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x64], eax
mov ecx, eax
fld dword [ebp - 0xc]
sub esp, 0x10
fstp dword [esp + 0xc]
fld dword [ebp - 0x1c]
fstp dword [esp + 8]
fld dword [ebp - 0x20]
fstp dword [esp + 4]
fld dword [ebp - 0x10]
fstp dword [esp]
push dword [ebp - 8]
push ebx
call ecx
call fcn.0052e360
mov dword [ebp - 0x10], eax
mov ecx, dword [eax + 0x44]
test ecx, ecx
jne 0x52d350
push 0x6155c0
push dword [eax]
call edi
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x44], eax
mov ecx, eax
push dword [ebp - 8]
call ecx
cmp dword [ebp - 0x24], 0
jle 0x52d3d5
lea eax, [ebp + 8]
mov ecx, esi
push eax
push dword [ebp - 0x14]
call fcn.0052c060
mov dword [ebp - 8], eax
call fcn.0052e360
mov dword [ebp - 0x14], eax
mov ecx, dword [eax + 0x50]
test ecx, ecx
jne 0x52d38c
push 0x6155f0
push dword [eax]
call edi
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x50], eax
mov ecx, eax
fld dword [ebp - 0x28]
sub esp, 0x10
fstp dword [esp + 0xc]
fld dword [ebp - 0x2c]
fstp dword [esp + 8]
fld dword [ebp - 0x30]
fstp dword [esp + 4]
fld dword [ebp - 0x18]
fstp dword [esp]
push dword [ebp - 8]
push ebx
call ecx
call fcn.0052e360
mov dword [ebp - 0x18], eax
mov ecx, dword [eax + 0x48]
test ecx, ecx
jne 0x52d3d0
push 0x6155d0
push dword [eax]
call edi
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x48], eax
mov ecx, eax
push dword [ebp - 8]
call ecx
mov eax, dword [esi]
mov ecx, esi
push ebx
call dword [eax + 0x58]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18