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

Disassembly:
push 0xffffffffffffffff
push 0x52c3df
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8c
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov dword [esp + 0x7c], ebp
call fcn.0047f7e0
xor ebx, ebx
lea esi, [ebp + 0x220]
mov dword [ebp], 0x539e98
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
mov dword [esp + 0xa4], ebx
mov word [esi + 4], bx
mov ecx, 0x840150
mov byte [esp + 0xa4], 1
call fcn.00463a60
mov byte [ebp + 0x1e8], bl
mov dword [esp + 0x14], 1
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov ecx, dword [esp + 0xac]
mov eax, dword [esp + 0xb0]
push ecx
lea edx, [esp + 0x64]
mov dword [ebp + 0x23c], eax
mov dword [ebp + 0xe0], 0x190
mov dword [ebp + 0xe4], 0x12c
mov ecx, dword [0x841bc8]
push edx
mov byte [esp + 0xac], 2
call fcn.00474330
mov edi, eax
fild dword [ebp + 0xe0]
mov eax, dword [ebp + 0xe0]
test eax, eax
mov byte [esp + 0xa4], 3
jge 0x47b11b
fadd dword [0x5303b0]
fmul dword [0x5303d8]
call fcn.00517154
push eax
mov eax, dword [0x841be0]
push eax
push edi
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [0x841bc8]
call fcn.00473ef0
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
mov byte [esp + 0xb0], 4
call fcn.0045bf30
mov eax, dword [esp + 0x40]
mov edi, 8
cmp eax, edi
jb 0x47b16c
mov edx, dword [esp + 0x2c]
push edx
call fcn.0051647d
add esp, 4
xor eax, eax
mov dword [esp + 0x3c], eax
mov word [esp + 0x2c], ax
cmp dword [esp + 0x78], edi
mov dword [esp + 0x40], 7
mov byte [esp + 0xa4], 2
jb 0x47b19a
mov eax, dword [esp + 0x64]
push eax
call fcn.0051647d
add esp, 4
mov eax, dword [esp + 0xb0]
test eax, eax
mov dword [ebp + 0x240], 0
je 0x47b258
mov edi, dword [esp + 0x14]
and edi, eax
je 0x47b22e
push 0x224
call fcn.00516d2a
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0xa4], 5
je 0x47b1e4
push edi
mov ecx, eax
call fcn.004797f0
mov edi, eax
jmp 0x47b1e6
xor edi, edi
test ebx, ebx
mov eax, dword [esp + 0x20]
mov byte [esp + 0xa4], 2
mov dword [esp + 0x10], edi
je 0x47b219
mov edx, dword [esp + 0x24]
mov ecx, eax
sub ecx, ebx
sub edx, ebx
sar ecx, 2
sar edx, 2
cmp ecx, edx
jae 0x47b219
mov dword [eax], edi
add eax, 4
mov dword [esp + 0x20], eax
jmp 0x47b22e
lea ecx, [esp + 0x10]
push ecx
push 1
push eax
lea ecx, [esp + 0x24]
call fcn.0047a820
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xb0]
mov edx, ecx
not edx
and eax, edx
shl ecx, 1
test eax, eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0x14], ecx
jne 0x47b1b3
test ebx, ebx
jne 0x47b25c
xor eax, eax
jmp 0x47b265
mov eax, dword [esp + 0x20]
sub eax, ebx
sar eax, 2
dec eax
imul eax, eax, 0x96
test eax, eax
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
jge 0x47b27e
fadd dword [0x5303b0]
fmul dword [0x5303bc]
mov dword [esp + 0x48], 0x42c80000
xor edi, edi
fchs
test ebx, ebx
fstp dword [esp + 0x44]
jne 0x47b29c
xor eax, eax
jmp 0x47b2a5
mov eax, dword [esp + 0x20]
sub eax, ebx
sar eax, 2
cmp edi, eax
je 0x47b2ce
mov ecx, dword [ebx + edi*4]
push 0
push ebp
call fcn.00470e20
mov ecx, dword [ebx + edi*4]
lea eax, [esp + 0x44]
push eax
call fcn.0046f0f0
fld dword [esp + 0x44]
fadd dword [0x53514c]
inc edi
jmp 0x47b290
mov ecx, ebp
call fcn.0046fdd0
push eax
call fcn.004706d0
add esp, 4
mov ecx, ebp
call fcn.00471650
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x2c], esp
xor eax, eax
push 0xffffffffffffffff
push eax
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], eax
push esi
mov word [ecx + 4], ax
call fcn.0045bf30
mov ecx, ebp
call fcn.00480980
push 0x437f0000
push 0x41b80000
push 0x43300000
push 0x437f0000
lea ecx, [esp + 0x38]
call fcn.00481200
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
lea ecx, [ebp + 0x30]
mov dword [ecx], edx
mov edx, dword [esp + 0x30]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x34]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
lea ecx, [esp + 0x60]
push ecx
mov ecx, dword [0x84587c]
call fcn.004815a0
mov esi, eax
mov ecx, 7
lea edi, [esp + 0x44]
rep movsd dword es:[edi], dword [esi]
fld dword [esp + 0x48]
fadd dword [0x534f88]
mov edx, dword [esp + 0x44]
mov ecx, 7
lea esi, [esp + 0x60]
lea edi, [esp + 0x28]
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0x43c80000
rep movsd dword es:[edi], dword [esi]
fstp dword [esp + 0x2c]
mov dword [esp + 0x28], edx
mov ecx, 7
lea esi, [esp + 0x28]
lea edi, [esp + 0x80]
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x84]
push ecx
mov ecx, ebp
call fcn.0046f2b0
mov ecx, dword [ebp + 0xf0]
or ecx, 0x4000
test ebx, ebx
mov dword [ebp + 0xf0], ecx
mov dword [0x841be4], ebp
je 0x47b3e6
push ebx
call fcn.0051647d
add esp, 4
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
mov eax, ebp
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x98
ret 8