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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4925e4
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x4a2018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], 0
mov dword [edi], 0x49df24
mov dword [edi + 0x58], 0
mov dword [edi + 0x78], 0
mov dword [edi + 0x7c], 0
mov dword [edi + 0x80], 0
mov dword [edi + 0x50], vtable.._AV__basic_ios__SU__char_traits__S_std___std__.0
mov dword [ebp - 4], 0
mov eax, dword [edi]
push 0
push 0
mov dword [ebp - 0x18], 1
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.._AV__basic_ostream__SU__char_traits__S_std___std__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ecx + edi - 4], eax
mov eax, dword [edi]
mov ebx, dword [eax + 4]
add ebx, edi
mov ecx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebx + 0x30], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0x201
mov dword [ebx + 0x18], 6
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0
call fcn.00472080
push 8
call fcn.0047edcc
add esp, 4
mov esi, eax
push 1
mov dword [ebp - 4], 2
call fcn.0047e524
mov dword [esi + 4], eax
add esp, 4
mov dword [ebx + 0x30], esi
lea eax, [edi + 4]
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x3c], 0
mov ebx, dword [esi + 4]
mov dword [ebp - 0x20], ebx
mov eax, dword [ebx]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x493148]
mov ecx, ebx
call esi
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 3
call fcn.004791c0
mov edi, eax
push 0x20
mov ecx, dword [edi]
mov esi, dword [ecx + 0x30]
mov ecx, esi
call dword [0x493148]
mov ecx, edi
call esi
movzx eax, ax
mov byte [ebp - 4], 1
mov dword [ebp - 0x20], eax
mov eax, dword [ebx]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x493148]
mov ecx, ebx
call esi
mov edi, eax
test edi, edi
je 0x47879f
mov ecx, dword [edi]
push 1
mov esi, dword [ecx]
mov ecx, esi
call dword [0x493148]
mov ecx, edi
call esi
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
cmp dword [ecx + 0x38], 0
mov word [ecx + 0x40], ax
jne 0x4787bd
mov eax, dword [ecx + 0xc]
push 0
or eax, 4
push eax
call fcn.00472080
mov dword [ebp - 4], 4
mov ebx, dword [ebp - 0x14]
push 8
mov eax, dword [ebx]
mov eax, dword [eax + 4]
mov dword [ebx + eax], vtable.._AV__basic_ostringstream__SU__char_traits__S_std__V__allocator__S_2__std__.0
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ecx + ebx - 4], eax
mov dword [ebx + 4], vtable.._AV__basic_streambuf__SU__char_traits__S_std___std__.0
call fcn.0047edcc
add esp, 4
mov esi, eax
push 1
mov byte [ebp - 4], 5
call fcn.0047e524
mov dword [esi + 4], eax
add esp, 4
lea eax, [ebx + 4]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea ecx, [eax + 0x18]
mov dword [eax + 0x20], ecx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
lea edi, [eax + 0x14]
mov dword [eax + 0x1c], edi
lea edx, [eax + 0x24]
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x14]
mov dword [ebx + 0x34], eax
mov ebx, dword [ebp - 0x20]
mov dword [esi], 0
mov dword [ecx], 0
mov ecx, dword [ebp - 0x14]
mov dword [eax], 0
mov eax, ecx
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
mov dword [ecx + 4], vtable.._AV__basic_stringbuf__SU__char_traits__S_std__V__allocator__S_2__std__.0
mov dword [ecx + 0x3c], 0
mov dword [ecx + 0x40], 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4