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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d62a8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x508164]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], 0
mov edx, dword [ebp + 0xc]
mov dword [ebp - 4], 0
cmp byte [edi + 0x60], 0
jne 0x47ce4a
cmp dword [edi + 0x2c], edx
jne 0x47ce61
xor ecx, ecx
jmp 0x47ce83
xor ecx, ecx
cmp dword [edi + 0x24], ecx
jbe 0x47ce61
mov eax, dword [edi + 0x20]
cmp dword [eax], edx
je 0x47ce7f
inc ecx
add eax, 4
cmp ecx, dword [edi + 0x24]
jb 0x47ce54
push edx
push 0
lea ecx, [edi + 4]
call fcn.0047bfb0
mov ebx, eax
mov dword [ebp - 0x20], ebx
test ebx, ebx
jns 0x47ceb3
mov esi, 0x80070057
jmp 0x47cfdf
test ecx, ecx
js 0x47ce61
mov eax, dword [ebp + 8]
mov esi, dword [eax + ecx*4]
test esi, esi
je 0x47cea0
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x47cea0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], 0
mov dword [eax], esi
xor esi, esi
jmp 0x47cfdf
mov cl, byte [edi + 0x60]
mov eax, dword [edi + 0x14]
test cl, cl
je 0x47cec3
mov esi, dword [eax + ebx*8 + 4]
jmp 0x47cec6
mov esi, dword [eax + ebx*8]
test cl, cl
jne 0x47ced0
mov eax, dword [edi + 0x3c]
mov esi, dword [eax + esi*4]
mov eax, dword [edi + 0x6c]
lea ecx, [esi*4]
mov dword [ebp - 0x1c], ecx
mov eax, dword [ecx + eax]
mov dword [ebp + 0xc], eax
mov ecx, dword [eax]
test ecx, ecx
jne 0x47ceec
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
lea edx, [ebp - 0x14]
push edx
push 0x4e9934
push ecx
call dword [eax]
cmp dword [ebp - 0x14], 0
je 0x47cfda
mov al, byte [edi + 0x60]
mov edx, dword [ebp + 0xc]
test al, al
je 0x47cf13
mov ecx, dword [edx + 8]
jmp 0x47cf18
mov ecx, 1
test al, al
je 0x47cf25
mov eax, dword [edi + 0x30]
mov esi, dword [ebp - 0x1c]
mov esi, dword [esi + eax]
mov byte [ebp + 0xf], 0
cmp ecx, 1
jne 0x47d009
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 4
mov eax, dword [edx]
lea edx, [ebp - 0x18]
push edx
push 0x4f2570
push eax
mov ecx, dword [eax]
call dword [ecx]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x47cfc2
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 5
push eax
push esi
push dword [ebp + 8]
mov ecx, edi
call fcn.0047ce00
mov esi, eax
test esi, esi
jne 0x47cf86
mov eax, dword [ebp - 0x18]
push dword [ebp - 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov esi, eax
test esi, esi
je 0x47cfaa
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x47cf97
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x47cfdf
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x47cfdf
mov byte [ebp + 0xf], 1
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x47cfbf
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 0xd
test eax, eax
je 0x47cfd0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp byte [ebp + 0xf], 0
mov byte [ebp - 4], 0
jne 0x47d00d
mov esi, 0x80004001
mov dword [ebp - 4], 0x10
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x47cff3
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
test ecx, ecx
jne 0x47cfda
cmp dword [edi + 0x7c], ebx
ja 0x47d053
push 0xc
call fcn.0048d8f9
mov esi, eax
lea ecx, [edi + 0x78]
add esp, 4
mov dword [ebp + 8], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.00403f20
mov ecx, dword [edi + 0x7c]
mov eax, dword [edi + 0x78]
mov dword [eax + ecx*4], esi
inc dword [edi + 0x7c]
mov eax, dword [ebp - 0x20]
cmp dword [edi + 0x7c], eax
jbe 0x47d012
mov ebx, eax
mov eax, dword [edi + 0x78]
mov edi, dword [eax + ebx*4]
cmp dword [edi + 8], 0
jne 0x47cfda
cmp dword [edi + 4], 0
jne 0x47cfda
push 0x18
call fcn.0048d8f9
mov esi, eax
lea ecx, [edi + 8]
add esp, 4
mov dword [ebp + 8], esi
mov dword [esi + 4], vtable.IOutStreamFinish.0
mov dword [esi + 8], 0
mov dword [esi], vtable.COutStreamCalcSize.0
mov dword [esi + 4], vtable.COutStreamCalcSize.1.0
push esi
mov dword [esi + 0xc], 0
call fcn.00403ef0
mov dword [edi + 4], esi
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x47d0b7
mov eax, dword [ebx]
push ebx
call dword [eax + 4]
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x47d0c4
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esi + 0xc], ebx
lea ecx, [ebp - 0x14]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
push dword [edi + 4]
call fcn.00403ef0
mov eax, dword [ebp + 0x10]
xor esi, esi
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x14], 0
mov dword [eax], ecx
jmp 0x47cfdf