Function at 0x42d040
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x440a5d
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x45b00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, edx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x3c], ecx
mov edi, dword [ebp + 0x14]
mov edx, dword [ebp + 8]
mov dword [ebp - 0x38], edx
mov dword [edi + 0x14], 0
test eax, eax
jle 0x42d2bd
mov dword [ebp - 0x30], vtable.CVolCommonBaseWithMemManager.0
mov dword [ebp - 0x30], vtable.CVolObject.0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], vtable.CVolMem.0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x18], 0x40
mov dword [ebp - 4], 1
test edx, edx
je 0x42d1a5
cmp word [edx], 0
je 0x42d1a5
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42d0f0
push 0
push 0
sub ecx, esi
push 0
sar ecx, 1
push 0
lea eax, [ecx + 1]
push eax
push edx
push 0
push 0
mov dword [ebp - 0x34], eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp dword [ebp - 0x24], 0
mov ebx, eax
mov dword [ebp - 0x10], ebx
je 0x42d134
push ebx
lea ecx, [ebp - 0x30]
call fcn.00428ab0
mov ebx, eax
mov eax, dword [ebp - 0x10]
jmp 0x42d18b
test ebx, ebx
jne 0x42d13d
mov eax, dword [ebp - 0x10]
jmp 0x42d18b
mov esi, dword [ebp - 0x18]
mov eax, 0x40
test esi, esi
cmovle esi, eax
mov eax, ebx
cdq
idiv esi
mov eax, dword [ebp - 0x30]
sub esi, edx
add esi, ebx
push esi
mov eax, dword [eax]
cmp eax, method.CWString.virtual_0
jne 0x42d178
mov ecx, 0x45bdd8
call fcn.004297c0
mov ebx, eax
test ebx, ebx
jne 0x42d17f
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
lea ecx, [ebp - 0x30]
call eax
mov ebx, eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], eax
push 0
push 0
push eax
push ebx
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jg 0x42d1aa
mov ebx, 0x445ad3
mov eax, dword [ebp - 0x14]
test al, 7
jne 0x42d25f
push eax
mov ecx, edi
call fcn.00428a50
push dword [ebp - 0x14]
mov esi, eax
push dword [ebp - 0x3c]
push esi
call sub.VCRUNTIME140.dll_memcpy
push 0
push ebx
mov ebx, dword [ebp - 0x14]
mov ecx, esi
mov edx, ebx
call fcn.0042cf30
mov esi, dword [esi]
add esp, 0x14
test esi, esi
jle 0x42d258
lea eax, [esi + 0xc]
cmp ebx, eax
jge 0x42d258
lea eax, [ebx - 4]
cmp esi, eax
jg 0x42d258
mov eax, dword [edi + 0x14]
cmp eax, 4
jle 0x42d22a
mov ecx, dword [edi + 0xc]
add eax, 0xfffffffc
push eax
lea eax, [ecx + 4]
push eax
push ecx
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [edi + 0x14]
add esp, 0xc
cmp eax, 4
je 0x42d22a
add eax, 0xfffffffc
mov ecx, edi
push eax
call fcn.00428ab0
push esi
mov ecx, edi
call fcn.00428ab0
jmp 0x42d25f
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x42d239
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0xc]
push esi
mov ecx, edi
mov dword [edi + 0xc], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
call fcn.00428ab0
jmp 0x42d25f
mov ecx, edi
call fcn.00428b60
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x30], vtable.CVolMem.0
mov dword [ebp - 4], 2
mov edx, dword [ebp - 0x24]
test edx, edx
je 0x42d29a
mov eax, dword [ebp - 0x30]
push edx
mov eax, dword [eax + 0xc]
cmp eax, fcn.004265e0
jne 0x42d295
mov ecx, 0x45bdd8
call fcn.004298b0
jmp 0x42d29a
lea ecx, [ebp - 0x30]
call eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x30], vtable.CVolObject.0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret