Function at 0x473100
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x58ac0b
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
push ebx
push esi
push edi
mov eax, dword [0x6a3b20]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x18], ebx
mov eax, dword [0x5a7c68]
mov dword [esp + 0x14], eax
mov esi, dword [ebp + 8]
fld qword [esi]
lea ecx, [esp + 0x4c]
fadd qword [esi + 0x10]
push ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0xbc], 0
fld st(0)
fld qword [esi + 8]
fadd qword [esi + 0x18]
fld qword [esi + 8]
fxch st(3)
fstp qword [esp + 0x90]
fxch st(2)
fstp qword [esp + 0x98]
fstp qword [esp + 0xa0]
fstp qword [esp + 0xa8]
fld qword [esi]
fld qword [esi + 8]
fadd qword [esi + 0x18]
fld qword [esi + 8]
fld qword [esi]
fstp qword [esp + 0x70]
fstp qword [esp + 0x78]
fxch st(1)
fstp qword [esp + 0x80]
fstp qword [esp + 0x88]
fld qword [esi]
fadd qword [esi + 0x10]
fld st(0)
fld qword [esi + 8]
fadd qword [esi + 0x18]
fld st(0)
fld qword [esi]
fstp qword [esp + 0x30]
fxch st(1)
fstp qword [esp + 0x38]
fxch st(1)
fstp qword [esp + 0x40]
fstp qword [esp + 0x48]
fld qword [esi + 8]
fld qword [esi + 8]
fld qword [esi]
fstp qword [esp + 0x50]
fstp qword [esp + 0x58]
fxch st(1)
fstp qword [esp + 0x60]
fstp qword [esp + 0x68]
call fcn.0045f2c0
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x18]
call fcn.0045f2c0
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x18]
call fcn.0045f2c0
lea ecx, [esp + 0x8c]
push ecx
lea ecx, [esp + 0x18]
call fcn.0045f2c0
fld qword [0x5ae8c8]
mov edi, dword [esp + 0x14]
fst qword [esp + 0x24]
mov ecx, dword [edi + 8]
mov eax, dword [edi + 0xc]
sub eax, ecx
test eax, eax
jle 0x4732aa
mov edx, dword [ebp + 0xc]
fstp st(0)
fld qword [edx]
lea ebx, [edi + ecx*4 + 0x10]
fstp qword [esp + 0x4c]
mov dword [esp + 0x1c], eax
fld qword [edx + 8]
fstp qword [esp + 0x54]
jmp 0x473256
fstp st(0)
mov eax, dword [ebx]
fld qword [eax + 0x18]
lea edx, [esp + 0x6c]
fld qword [eax + 0x10]
push edx
fstp qword [esp + 0x70]
lea ecx, [esp + 0x50]
fstp qword [esp + 0x78]
fld qword [eax + 8]
fld qword [eax]
lea eax, [esp + 0x30]
fstp qword [esp + 0x30]
push eax
fstp qword [esp + 0x3c]
call fcn.00430510
fld qword [esp + 0x24]
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x47329b
fstp st(0)
fst qword [esp + 0x24]
jmp 0x47329d
fstp st(1)
add ebx, 4
dec dword [esp + 0x1c]
jne 0x473254
mov ebx, dword [esp + 0x18]
call fcn.00580afa
fst qword [esp + 0x1c]
cmp byte [ebp + 0x10], 0
je 0x47330a
mov ecx, dword [ebx + 0xc]
mov edx, dword [ecx + 0x6c]
mov dword [esp + 0x18], edx
fild dword [esp + 0x18]
fmul qword [0x5ab908]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x47330a
mov eax, dword [ebp + 0xc]
fstp st(0)
push eax
mov ecx, esi
call dword [0x5a7a50]
mov edi, dword [esp + 0x14]
test al, al
je 0x473306
mov ecx, dword [ebx + 0xc]
mov edx, dword [ecx + 0x6c]
mov dword [esp + 0x18], edx
fild dword [esp + 0x18]
fmul qword [0x5ab908]
fst qword [esp + 0x1c]
jmp 0x47330a
fld qword [esp + 0x1c]
mov eax, dword [edi]
mov dword [esp + 0xb8], 0xffffffff
test eax, eax
je 0x473332
cmp eax, 0xffffffff
je 0x473369
or eax, 0xffffffff
lock xadd dword [edi], eax
setne al
test al, al
jne 0x473369
mov edi, dword [esp + 0x14]
mov ecx, dword [edi + 0xc]
fstp st(0)
mov edx, dword [edi + 8]
lea esi, [edi + ecx*4 + 0x10]
mov ebx, edi
lea edi, [edi + edx*4 + 0x10]
cmp edi, esi
je 0x47335b
mov eax, dword [esi - 4]
sub esi, 4
push eax
call fcn.0058078e
add esp, 4
cmp esi, edi
jne 0x473348
push ebx
call dword [0x5a7d8c]
fld qword [esp + 0x20]
add esp, 4
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc