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

Disassembly:
sub esp, 0x68
mov eax, dword [esp + 0x74]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x78]
xor ebx, ebx
push edi
lea edi, [esi + 0x4c]
mov dword [eax], ebx
mov eax, dword [edi]
mov dword [esp + 0x14], edi
cmp eax, ebx
je 0x47c81a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [edi], ebx
mov ebp, dword [esp + 0x80]
xor ecx, ecx
mov word [esp + 0x32], cx
xor eax, eax
lea ecx, [esp + 0x30]
push ecx
mov word [esp + 0x34], ax
mov eax, dword [esi + 0xc]
push 3
mov dword [esi + 0x70], ebp
mov edx, dword [eax]
mov edx, dword [edx + 0x18]
push ebp
push eax
call edx
mov edi, eax
cmp edi, ebx
je 0x47c860
lea ecx, [esp + 0x30]
call fcn.0047d100
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 0x10
push 3
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
call fcn.0047b6e0
mov ax, word [esp + 0x30]
cmp ax, bx
jne 0x47c889
mov eax, dword [str._Content_]
push eax
jmp 0x47c8b9
cmp ax, 8
je 0x47c8b4
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0047b130
add esp, 4
lea ecx, [esp + 0x30]
call fcn.0047d100
pop edi
pop esi
pop ebp
mov eax, 0x80004005
pop ebx
add esp, 0x68
ret 0x10
mov edx, dword [esp + 0x38]
push edx
lea ecx, [esp + 0x1c]
call fcn.0047baa0
lea eax, [esp + 0x18]
lea ecx, [esi + 0x1c]
push eax
call fcn.0047baf0
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0047b130
add esp, 4
lea ecx, [esp + 0x30]
call fcn.0047d100
xor eax, eax
cmp dword [esp + 0x88], ebx
jne 0x47cbbd
xor edx, edx
mov word [esp + 0x30], dx
lea edx, [esp + 0x30]
push edx
mov word [esp + 0x36], ax
mov eax, dword [esi + 0xc]
mov ecx, dword [eax]
push 9
push ebp
push eax
mov eax, dword [ecx + 0x18]
call eax
mov edi, eax
cmp edi, ebx
jne 0x47c84b
mov ax, word [esp + 0x30]
cmp ax, bx
jne 0x47c92f
mov dword [esi + 0x40], ebx
mov byte [esi + 0x45], bl
jmp 0x47c944
cmp ax, 0x13
jne 0x47c89c
mov ecx, dword [esp + 0x38]
mov dword [esi + 0x40], ecx
mov byte [esi + 0x45], 1
lea ecx, [esp + 0x30]
call fcn.0047d100
mov eax, dword [esi + 0xc]
mov dword [esp + 0x10], ebx
cmp eax, ebx
je 0x47c965
mov edx, dword [eax]
mov edx, dword [edx + 0x14]
lea ecx, [esp + 0x10]
push ecx
push eax
call edx
mov ecx, dword [esi + 0xc]
lea edi, [esi + 0x44]
mov eax, ebp
call fcn.0047b330
cmp eax, ebx
jne 0x47cbbd
xor ecx, ecx
mov word [esp + 0x32], cx
xor eax, eax
lea ecx, [esp + 0x30]
push ecx
mov word [esp + 0x34], ax
mov eax, dword [esi + 0xc]
mov edx, dword [eax]
mov edx, dword [edx + 0x18]
push 0xc
push ebp
push eax
call edx
mov ebx, eax
test ebx, ebx
je 0x47c9b6
lea ecx, [esp + 0x30]
call fcn.0047d100
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x68
ret 0x10
movzx eax, word [esp + 0x30]
mov byte [esi + 0x46], 0
test eax, eax
je 0x47c9de
cmp eax, 0x40
jne 0x47c89c
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], ecx
mov byte [esi + 0x46], 1
lea ecx, [esp + 0x30]
call fcn.0047d100
mov eax, dword [esi + 0x68]
xor ebx, ebx
cmp eax, ebx
je 0x47ca31
mov edx, dword [esi + 0x1c]
xor ecx, ecx
cmp byte [edi], cl
mov edi, dword [eax]
setne cl
lea ebx, [esi + 0x38]
push ebx
push ecx
push edx
mov edx, dword [esp + 0x1c]
push edx
push ebp
push eax
mov eax, dword [edi + 4]
call eax
mov dword [esi + 0x6c], eax
cmp eax, 1
jne 0x47ca2f
mov ecx, dword [esp + 0x84]
pop edi
pop esi
pop ebp
mov dword [ecx], 0
xor eax, eax
pop ebx
add esp, 0x68
ret 0x10
xor ebx, ebx
lea edi, [esi + 0x1c]
push 0x5c
mov ecx, edi
call fcn.0047bb40
cmp eax, ebx
jl 0x47ca7c
push eax
lea edx, [esp + 0x34]
push edx
mov ecx, edi
call fcn.0047c6e0
push eax
lea eax, [esi + 0x10]
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.0047c710
mov edx, dword [eax]
push edx
call fcn.0047e8f0
mov eax, dword [esp + 0x28]
push eax
call fcn.0047b130
mov ecx, dword [esp + 0x44]
push ecx
call fcn.0047b130
add esp, 0x18
push edi
lea edx, [esi + 0x10]
push edx
lea eax, [esp + 0x2c]
push eax
call fcn.0047c710
add esp, 0xc
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esi + 0x28]
call fcn.0047baf0
cmp byte [esi + 0x44], 0
je 0x47cab0
mov edx, dword [esp + 0x24]
push edx
call fcn.0047e8f0
jmp 0x47cbab
lea ecx, [esp + 0x40]
call fcn.0047c150
mov eax, dword [esp + 0x24]
push eax
lea ecx, [esp + 0x44]
call fcn.0047fca0
test al, al
je 0x47cb02
mov ecx, dword [esp + 0x24]
push ecx
call fcn.0047dee0
add esp, 4
test al, al
jne 0x47cb02
mov edx, dword [esp + 0x68]
push edx
call fcn.0047b130
mov eax, dword [esp + 0x28]
push eax
call fcn.0047b130
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 0x80004004
pop ebx
add esp, 0x68
ret 0x10
push 0x18
call fcn.0047b100
add esp, 4
cmp eax, ebx
je 0x47cb22
mov dword [eax + 4], ebx
mov dword [eax], vtable.COutFileStream.0
mov dword [eax + 8], 0xffffffff
jmp 0x47cb24
xor eax, eax
push eax
lea ecx, [esp + 0x80]
mov dword [esi + 0x48], eax
call fcn.0047b5a0
mov eax, dword [esp + 0x24]
mov esi, dword [esi + 0x48]
push 2
push eax
lea ecx, [esi + 8]
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
call fcn.0047dd80
test al, al
jne 0x47cb86
mov eax, dword [esp + 0x7c]
cmp eax, ebx
je 0x47cb60
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x68]
push eax
call fcn.0047b130
mov ecx, dword [esp + 0x28]
push ecx
call fcn.0047b130
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 0x80004004
pop ebx
add esp, 0x68
ret 0x10
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x7c]
push edx
call fcn.0047bb80
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x84]
push edx
mov dword [ecx], eax
call fcn.0047b130
mov eax, dword [esp + 0x28]
add esp, 4
push eax
call fcn.0047b130
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 0x10