Function at 0x4382b0
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 0x4382da
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 0x438320
lea ecx, [esp + 0x30]
call fcn.00438b20
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.00437840
mov ax, word [esp + 0x30]
cmp ax, bx
jne 0x438349
mov eax, dword [str._Content_]
push eax
jmp 0x438379
cmp ax, 8
je 0x438374
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004375e0
add esp, 4
lea ecx, [esp + 0x30]
call fcn.00438b20
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.00437aa0
lea eax, [esp + 0x18]
lea ecx, [esi + 0x1c]
push eax
call fcn.00437af0
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004375e0
add esp, 4
lea ecx, [esp + 0x30]
call fcn.00438b20
xor eax, eax
cmp dword [esp + 0x88], ebx
jne 0x4386a0
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 0x43830b
mov ax, word [esp + 0x30]
cmp ax, bx
jne 0x4383ef
mov dword [esi + 0x40], ebx
mov byte [esi + 0x45], bl
jmp 0x438404
cmp ax, 0x13
jne 0x43835c
mov ecx, dword [esp + 0x38]
mov dword [esi + 0x40], ecx
mov byte [esi + 0x45], 1
lea ecx, [esp + 0x30]
call fcn.00438b20
mov eax, dword [esi + 0xc]
mov dword [esp + 0x10], ebx
cmp eax, ebx
je 0x438425
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.004376f0
cmp eax, ebx
jne 0x4386a0
mov eax, dword [esi + 0x68]
cmp eax, ebx
je 0x438461
mov ecx, dword [esi + 0x1c]
mov edx, dword [eax]
mov edx, dword [edx + 4]
xor ebx, ebx
cmp byte [esi + 0x44], bl
setne bl
push ebx
push ecx
mov ecx, dword [esp + 0x18]
push ecx
push ebp
push eax
call edx
mov dword [esi + 0x6c], eax
xor ebx, ebx
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 edi, eax
cmp edi, ebx
jne 0x43830b
movzx eax, word [esp + 0x30]
mov byte [esi + 0x46], bl
cmp eax, ebx
je 0x4384b3
cmp eax, 0x40
jne 0x43835c
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.00438b20
xor edx, edx
mov word [esp + 0x30], dx
xor eax, eax
lea edx, [esp + 0x30]
push edx
mov word [esp + 0x36], ax
mov eax, dword [esi + 0xc]
mov ecx, dword [eax]
push 7
push ebp
push eax
mov eax, dword [ecx + 0x18]
call eax
mov ebp, eax
cmp ebp, ebx
je 0x4384f8
lea ecx, [esp + 0x30]
call fcn.00438b20
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x68
ret 0x10
cmp word [esp + 0x30], bx
je 0x43850c
lea ecx, [esp + 0x30]
push ecx
call fcn.004397d0
add esp, 4
lea ecx, [esp + 0x30]
call fcn.00438b20
lea ebp, [esi + 0x1c]
push 0x5c
mov ecx, ebp
call fcn.00437b40
cmp eax, ebx
jl 0x438560
push eax
lea edx, [esp + 0x34]
push edx
mov ecx, ebp
call fcn.004381a0
push eax
lea eax, [esi + 0x10]
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.004381d0
mov edx, dword [eax]
push edx
call fcn.00438fe0
mov eax, dword [esp + 0x28]
push eax
call fcn.004375e0
mov ecx, dword [esp + 0x44]
push ecx
call fcn.004375e0
add esp, 0x18
push ebp
lea edx, [esi + 0x10]
push edx
lea eax, [esp + 0x2c]
push eax
call fcn.004381d0
add esp, 0xc
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esi + 0x28]
call fcn.00437af0
cmp byte [esi + 0x44], bl
je 0x438593
mov edx, dword [esp + 0x24]
push edx
call fcn.00438fe0
jmp 0x43868e
lea ecx, [esp + 0x40]
call fcn.00437fb0
mov eax, dword [esp + 0x24]
push eax
lea ecx, [esp + 0x44]
call fcn.00439760
test al, al
je 0x4385e5
mov ecx, dword [esp + 0x24]
push ecx
call fcn.00438ef0
add esp, 4
test al, al
jne 0x4385e5
mov edx, dword [esp + 0x68]
push edx
call fcn.004375e0
mov eax, dword [esp + 0x28]
push eax
call fcn.004375e0
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 0x80004004
pop ebx
add esp, 0x68
ret 0x10
push 0x18
call fcn.004375b0
add esp, 4
cmp eax, ebx
je 0x438605
mov dword [eax + 4], ebx
mov dword [eax], vtable.COutFileStream.0
mov dword [eax + 8], 0xffffffff
jmp 0x438607
xor eax, eax
push eax
lea ecx, [esp + 0x80]
mov dword [esi + 0x48], eax
call fcn.00437820
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.00438e80
test al, al
jne 0x438669
mov eax, dword [esp + 0x7c]
cmp eax, ebx
je 0x438643
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x68]
push eax
call fcn.004375e0
mov ecx, dword [esp + 0x28]
push ecx
call fcn.004375e0
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.00437b80
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x84]
push edx
mov dword [ecx], eax
call fcn.004375e0
mov eax, dword [esp + 0x28]
add esp, 4
push eax
call fcn.004375e0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 0x10