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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xec
mov dword [ebp - 0x1c], 0
cmp dword [ebp - 0x1c], 2
je 0x478587
cmp dword [ebp - 0x1c], 2
ja 0x47871d
cmp dword [ebp - 0x1c], 0
je 0x478705
cmp dword [ebp - 0x1c], 1
je 0x478723
jmp 0x47871d
mov eax, dword [ebp + 0x18]
mov esi, dword [eax]
mov eax, dword [ebp + 0x10]
mov edi, dword [eax]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp + 0x10]
mov ebx, dword [eax]
mov dword [ebp - 0x34], ebx
mov eax, dword [ebp + 0x18]
mov edx, dword [eax]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov dword [ebp - 0x40], ecx
mov eax, dword [ebp + 0x10]
mov ebx, dword [eax]
mov dword [ebp - 0x44], ebx
mov eax, dword [ebp + 0x14]
mov edx, dword [eax]
mov dword [ebp - 0x48], edx
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov dword [ebp - 0x50], ecx
mov eax, dword [ebp + 0x14]
mov ebx, dword [eax]
mov dword [ebp - 0x54], ebx
mov eax, dword [ebp + 0x14]
mov edx, dword [eax]
mov dword [ebp - 0x58], edx
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov ebx, dword [eax + 0x48]
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax]
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
fld qword [0x596778]
fstp qword [esp + 0x94]
mov dword [esp + 0x90], esi
mov dword [esp + 0x8c], edi
mov dword [esp + 0x88], 1
fld qword [0x596788]
fstp qword [esp + 0x80]
mov esi, dword [ebp - 0x2c]
mov dword [esp + 0x7c], esi
mov edi, dword [ebp - 0x30]
mov dword [esp + 0x78], edi
mov esi, dword [ebp - 0x34]
mov dword [esp + 0x74], esi
fld qword [0x596788]
fstp qword [esp + 0x6c]
mov edi, dword [ebp - 0x38]
mov dword [esp + 0x68], edi
mov dword [esp + 0x64], 7
mov dword [esp + 0x60], 6
mov esi, dword [ebp - 0x3c]
mov dword [esp + 0x5c], esi
mov edi, dword [ebp - 0x40]
mov dword [esp + 0x58], edi
mov esi, dword [ebp - 0x44]
mov dword [esp + 0x54], esi
mov edi, dword [ebp - 0x48]
mov dword [esp + 0x50], edi
mov esi, dword [ebp - 0x4c]
mov dword [esp + 0x4c], esi
mov edi, dword [ebp - 0x50]
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], 3
mov esi, dword [ebp - 0x54]
mov dword [esp + 0x40], esi
mov edi, dword [ebp - 0x58]
mov dword [esp + 0x3c], edi
fldz
fstp qword [esp + 0x34]
mov dword [esp + 0x30], 7
fld qword [0x596770]
fstp qword [esp + 0x28]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ecx
fld qword [0x596798]
fstp qword [esp + 0x18]
fldz
fstp qword [esp + 0x10]
fld qword [0x596768]
fstp qword [esp + 8]
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._ByteAlloc
mov edx, dword [ebp + 0x10]
mov dword [edx], eax
mov dword [ebp - 0x1c], 1
jmp 0x47871e
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
add edx, edx
mov dword [eax + 0x48], edx
mov dword [ebp - 0x1c], 2
jmp 0x47871e
nop
jmp 0x47855e
nop
add esp, 0xec
pop ebx
pop esi
pop edi
pop ebp
ret