Function at 0x438470
Capabilities:
Terminate process
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45a7f5
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push esi
push edi
mov eax, dword [0x5c000c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ecx + 0xc]
test esi, esi
jne 0x4384ac
cmp dword [ecx + 0x24], esi
mov esi, 0x5ade04
je 0x4384ac
mov esi, dword [ecx + 0x1c]
mov dword [ebp - 0x34], vtable.CVolCommonBaseWithMemManager.0
mov dword [ebp - 0x34], vtable.CVolObject.0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x34], vtable.CVolMem.0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x1c], 0x40
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x60]
call fcn.00402dc0
mov byte [ebp - 4], 3
xor ebx, ebx
mov dword [ebp - 0x14], ebx
test esi, esi
je 0x4385da
cmp word [esi], bx
je 0x4385da
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x438520
push 0
push 0
sub ecx, edx
push 0
sar ecx, 1
push 0
lea eax, [ecx + 1]
push eax
push esi
push 0
push 0
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
mov dword [ebp - 0x10], edi
cmp dword [ebp - 0x28], ebx
je 0x438563
push edi
lea ecx, [ebp - 0x34]
call fcn.00436000
mov edi, eax
mov eax, dword [ebp - 0x10]
jmp 0x4385ba
test edi, edi
jne 0x43856c
mov eax, dword [ebp - 0x10]
jmp 0x4385ba
mov ebx, dword [ebp - 0x1c]
mov eax, 0x40
test ebx, ebx
cmovle ebx, eax
mov eax, edi
cdq
idiv ebx
mov eax, dword [ebp - 0x34]
sub ebx, edx
add ebx, edi
push ebx
mov eax, dword [eax]
cmp eax, method.CWString.virtual_0
jne 0x4385a5
mov ecx, 0x5c2198
call fcn.00436bb0
mov edi, eax
test edi, edi
je 0x4386a3
jmp 0x4385ac
lea ecx, [ebp - 0x34]
call eax
mov edi, eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x24], ebx
xor ebx, ebx
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x20], eax
push 0
push 0
push eax
push edi
push dword [ebp - 0x18]
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jle 0x4385da
lea ebx, [eax - 1]
mov dword [ebp - 0x14], ebx
jmp 0x4385df
mov edi, 0x5adda3
mov eax, dword [ebp + 8]
test eax, eax
je 0x438621
cmp word [eax], 0
je 0x438621
test ebx, ebx
js 0x438621
push 0x5af704
push eax
call fcn.004437ea
mov esi, eax
add esp, 8
test esi, esi
je 0x438621
push esi
push ebx
push 1
push edi
call fcn.0044235d
xor ebx, ebx
cmp eax, dword [ebp - 0x14]
push esi
sete bl
call fcn.004413cf
add esp, 0x14
jmp 0x438623
xor ebx, ebx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x60]
call fcn.00402ac0
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x34], vtable.CVolMem.0
mov dword [ebp - 4], 4
mov edx, dword [ebp - 0x28]
test edx, edx
je 0x43866a
mov eax, dword [ebp - 0x34]
push edx
mov eax, dword [eax + 0xc]
cmp eax, method.CWString.virtual_12
jne 0x438665
mov ecx, 0x5c2198
call fcn.00436ca0
jmp 0x43866a
lea ecx, [ebp - 0x34]
call eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 4], 0xffffffff
mov eax, ebx
mov dword [ebp - 0x34], vtable.CVolObject.0
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
push 0xffffffffffffffff
call fcn.00440fc0
int3