Function at 0x464780
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 0x4647aa
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 0x4647f0
lea ecx, [esp + 0x30]
call fcn.00464fd0
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.00463a00
mov ax, word [esp + 0x30]
cmp ax, bx
jne 0x464819
mov eax, dword [str._Content_]
push eax
jmp 0x464849
cmp ax, 8
je 0x464844
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00463780
add esp, 4
lea ecx, [esp + 0x30]
call fcn.00464fd0
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.00463c70
lea eax, [esp + 0x18]
lea ecx, [esi + 0x1c]
push eax
call fcn.00463cc0
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00463780
add esp, 4
lea ecx, [esp + 0x30]
call fcn.00464fd0
xor eax, eax
cmp dword [esp + 0x88], ebx
jne 0x464b4d
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 0x4647db
mov ax, word [esp + 0x30]
cmp ax, bx
jne 0x4648bf
mov dword [esi + 0x40], ebx
mov byte [esi + 0x45], bl
jmp 0x4648d4
cmp ax, 0x13
jne 0x46482c
mov ecx, dword [esp + 0x38]
mov dword [esi + 0x40], ecx
mov byte [esi + 0x45], 1
lea ecx, [esp + 0x30]
call fcn.00464fd0
mov eax, dword [esi + 0xc]
mov dword [esp + 0x10], ebx
cmp eax, ebx
je 0x4648f5
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.00463890
cmp eax, ebx
jne 0x464b4d
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 0x464946
lea ecx, [esp + 0x30]
call fcn.00464fd0
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 0x46496e
cmp eax, 0x40
jne 0x46482c
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.00464fd0
mov eax, dword [esi + 0x68]
xor ebx, ebx
cmp eax, ebx
je 0x4649c1
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 0x4649bf
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.00463d10
cmp eax, ebx
jl 0x464a0c
push eax
lea edx, [esp + 0x34]
push edx
mov ecx, edi
call fcn.00464670
push eax
lea eax, [esi + 0x10]
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.004646a0
mov edx, dword [eax]
push edx
call fcn.00465470
mov eax, dword [esp + 0x28]
push eax
call fcn.00463780
mov ecx, dword [esp + 0x44]
push ecx
call fcn.00463780
add esp, 0x18
push edi
lea edx, [esi + 0x10]
push edx
lea eax, [esp + 0x2c]
push eax
call fcn.004646a0
add esp, 0xc
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esi + 0x28]
call fcn.00463cc0
cmp byte [esi + 0x44], 0
je 0x464a40
mov edx, dword [esp + 0x24]
push edx
call fcn.00465470
jmp 0x464b3b
lea ecx, [esp + 0x40]
call fcn.00464180
mov eax, dword [esp + 0x24]
push eax
lea ecx, [esp + 0x44]
call fcn.00465e10
test al, al
je 0x464a92
mov ecx, dword [esp + 0x24]
push ecx
call fcn.00465380
add esp, 4
test al, al
jne 0x464a92
mov edx, dword [esp + 0x68]
push edx
call fcn.00463780
mov eax, dword [esp + 0x28]
push eax
call fcn.00463780
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 0x80004004
pop ebx
add esp, 0x68
ret 0x10
push 0x18
call fcn.00463750
add esp, 4
cmp eax, ebx
je 0x464ab2
mov dword [eax + 4], ebx
mov dword [eax], vtable.COutFileStream.0
mov dword [eax + 8], 0xffffffff
jmp 0x464ab4
xor eax, eax
push eax
lea ecx, [esp + 0x80]
mov dword [esi + 0x48], eax
call fcn.004639e0
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.00465310
test al, al
jne 0x464b16
mov eax, dword [esp + 0x7c]
cmp eax, ebx
je 0x464af0
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x68]
push eax
call fcn.00463780
mov ecx, dword [esp + 0x28]
push ecx
call fcn.00463780
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.00463d50
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x84]
push edx
mov dword [ecx], eax
call fcn.00463780
mov eax, dword [esp + 0x28]
add esp, 4
push eax
call fcn.00463780
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 0x10