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

Disassembly:
sub esp, 0x44
fld dword [0x838aec]
mov eax, dword [esp + 0x6c]
push ebx
fstp dword [eax]
push ebp
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x78]
xor ebx, ebx
test byte [0x8605e8], 1
push esi
push edi
mov dword [esp + 0x10], edx
mov dword [ecx], ebx
jne 0x47bbf2
or dword [0x8605e8], 1
push 0x7952d0
mov dword [0x8605dc], ebx
mov dword [0x8605e0], ebx
mov dword [0x8605e4], ebx
call fcn.00736075
add esp, 4
cmp dword [esp + 0x58], ebx
fld1
fst dword [esp + 0x24]
fldz
fst dword [esp + 0x28]
fst dword [esp + 0x2c]
fst dword [esp + 0x30]
fst dword [esp + 0x38]
fst dword [esp + 0x3c]
fst dword [esp + 0x40]
fst dword [esp + 0x48]
fst dword [esp + 0x4c]
fstp dword [esp + 0x50]
fst dword [esp + 0x34]
fstp dword [esp + 0x44]
jne 0x47bc34
lea edx, [esp + 0x24]
mov dword [esp + 0x58], edx
mov esi, dword [esp + 0x5c]
cmp dword [0x8605e0], esi
jae 0x47bc4b
push esi
mov ecx, 0x8605dc
call fcn.0047bb20
mov edi, dword [esp + 0x68]
cmp edi, ebx
jne 0x47bc99
cmp esi, ebx
je 0x47bcf9
mov ebx, dword [esp + 0x60]
xor edi, edi
mov ebp, esi
mov ecx, dword [esp + 0x58]
mov eax, dword [0x8605e4]
push ecx
mov edx, ebx
lea ecx, [esp + 0x1c]
lea esi, [edi + eax]
call fcn.006d3dc0
mov edx, dword [eax]
add ebx, dword [esp + 0x64]
mov dword [esi], edx
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov edx, dword [eax + 8]
add edi, 0xc
sub ebp, 1
mov dword [esi + 8], edx
jne 0x47bc63
jmp 0x47bcf9
cmp esi, ebx
je 0x47bcf9
mov ebp, dword [esp + 0x60]
mov dword [esp + 0x60], esi
jmp 0x47bcb0
movzx eax, byte [edi]
mov ecx, dword [0x8605e4]
and eax, 0xff
lea edx, [eax + eax*2]
shl edx, 4
add edx, dword [esp + 0x58]
lea esi, [ebx + ecx]
push edx
mov edx, ebp
lea ecx, [esp + 0x1c]
call fcn.006d3dc0
mov ecx, dword [eax]
add edi, dword [esp + 0x6c]
add ebp, dword [esp + 0x64]
mov dword [esi], ecx
mov edx, dword [eax + 4]
mov dword [esi + 4], edx
mov eax, dword [eax + 8]
add ebx, 0xc
sub dword [esp + 0x60], 1
mov dword [esi + 8], eax
jne 0x47bcb0
mov eax, dword [esp + 0x70]
sub eax, 3
je 0x47be30
sub eax, 1
je 0x47bda1
sub eax, 1
jne 0x47bec9
mov ebp, dword [esp + 0x74]
mov esi, 2
cmp ebp, esi
jbe 0x47bec9
mov ebx, dword [esp + 0x78]
mov edi, dword [0x8605e4]
movzx eax, word [ebx + esi*2]
lea edx, [eax + eax*2]
lea ecx, [esp + 0x58]
push ecx
lea eax, [edi + edx*4]
push eax
movzx eax, word [ebx + esi*2 - 2]
lea ecx, [eax + eax*2]
movzx eax, word [ebx]
lea edx, [edi + ecx*4]
lea eax, [eax + eax*2]
push edx
mov edx, dword [esp + 0x1c]
lea ecx, [edi + eax*4]
push ecx
mov ecx, dword [esp + 0x24]
call fcn.0047a940
test eax, eax
je 0x47bd95
fld dword [esp + 0x58]
mov ecx, dword [esp + 0x7c]
fld dword [ecx]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x47bd93
mov eax, dword [esp + 0x80]
fstp dword [ecx]
lea edx, [esi - 2]
mov dword [eax], edx
mov edi, dword [0x8605e4]
jmp 0x47bd95
fstp st(0)
add esi, 1
cmp esi, ebp
jb 0x47bd33
jmp 0x47bec9
mov ebp, dword [esp + 0x74]
mov ebx, 2
cmp ebp, ebx
jbe 0x47bec9
mov esi, dword [esp + 0x78]
mov edi, dword [0x8605e4]
lea esp, [esp]
movzx eax, word [esi + 4]
lea edx, [eax + eax*2]
lea ecx, [esp + 0x58]
push ecx
lea eax, [edi + edx*4]
push eax
movzx eax, word [esi + 2]
lea ecx, [eax + eax*2]
movzx eax, word [esi]
lea edx, [edi + ecx*4]
lea eax, [eax + eax*2]
push edx
mov edx, dword [esp + 0x1c]
lea ecx, [edi + eax*4]
push ecx
mov ecx, dword [esp + 0x24]
call fcn.0047a940
test eax, eax
je 0x47be21
fld dword [esp + 0x58]
mov ecx, dword [esp + 0x7c]
fld dword [ecx]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x47be1f
mov eax, dword [esp + 0x80]
fstp dword [ecx]
lea edx, [ebx - 2]
mov dword [eax], edx
mov edi, dword [0x8605e4]
jmp 0x47be21
fstp st(0)
add ebx, 1
add esi, 2
cmp ebx, ebp
jb 0x47bdc0
jmp 0x47bec9
mov eax, dword [esp + 0x74]
xor ebp, ebp
test eax, eax
jbe 0x47bec9
mov esi, dword [esp + 0x78]
mov edi, dword [0x8605e4]
lea ecx, [eax - 1]
mov eax, 0xaaaaaaab
mul ecx
mov ebx, edx
shr ebx, 1
add esi, 2
add ebx, 1
lea esp, [esp]
movzx eax, word [esi + 2]
lea eax, [eax + eax*2]
lea ecx, [edi + eax*4]
movzx eax, word [esi]
lea edx, [esp + 0x58]
push edx
lea edx, [eax + eax*2]
push ecx
lea eax, [edi + edx*4]
push eax
movzx eax, word [esi - 2]
lea ecx, [eax + eax*2]
lea edx, [edi + ecx*4]
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x20]
call fcn.0047a940
test eax, eax
je 0x47bebe
fld dword [esp + 0x58]
mov ecx, dword [esp + 0x7c]
fld dword [ecx]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x47bebc
mov eax, dword [esp + 0x80]
fstp dword [ecx]
mov dword [eax], ebp
mov edi, dword [0x8605e4]
jmp 0x47bebe
fstp st(0)
add esi, 6
add ebp, 1
sub ebx, 1
jne 0x47be60
mov ecx, dword [esp + 0x7c]
fld dword [ecx]
pop edi
fld dword [0x838aec]
pop esi
fucompp
pop ebp
pop ebx
fnstsw ax
test ah, 0x44
jnp 0x47beed
mov eax, 1
add esp, 0x44
ret 0x2c
xor eax, eax
add esp, 0x44
ret 0x2c