Function at 0x415830
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x421366
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x42a008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, edx
mov esi, ecx
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x44], 0x42252c
mov dword [ebp - 0x44], vtable.CVolObject.0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 4], 1
mov dword [ebp - 0x44], vtable.CVolMem.0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x2c], 0x40
mov dword [ebp - 4], 2
xor ebx, ebx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x14], edx
test edx, edx
jne 0x4158dc
cmp dword [eax + 0x24], ebx
jne 0x4158ce
mov edx, 0x422b94
mov dword [ebp - 0x14], edx
jmp 0x4158dc
mov edx, dword [eax + 0x1c]
mov dword [ebp - 0x14], edx
test edx, edx
je 0x4159b0
cmp word [edx], 0
je 0x4159b0
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4158f0
push 0
push 0
sub ecx, edi
push 0
sar ecx, 1
push 0
lea eax, [ecx + 1]
push eax
push edx
push 0
push 0
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp dword [ebp - 0x38], 0
mov edi, eax
mov dword [ebp - 0x10], edi
je 0x415934
push edi
lea ecx, [ebp - 0x44]
call fcn.0041a2c0
mov edi, eax
mov eax, dword [ebp - 0x10]
jmp 0x415991
test edi, edi
jne 0x41593d
mov eax, dword [ebp - 0x10]
jmp 0x415991
mov ecx, dword [ebp - 0x2c]
mov eax, 0x40
test ecx, ecx
cmovle ecx, eax
mov eax, edi
cdq
idiv ecx
mov eax, dword [ebp - 0x44]
sub ecx, edx
add ecx, edi
mov dword [ebp - 0x18], ecx
mov eax, dword [eax]
push ecx
cmp eax, method.CVolObjectArray.virtual_0
jne 0x41597b
mov ecx, 0x42a9d8
call fcn.0041af60
mov edi, eax
test edi, edi
jne 0x415982
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
lea ecx, [ebp - 0x44]
call eax
mov edi, eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x30], eax
push 0
push 0
push eax
push edi
push dword [ebp - 0x1c]
push dword [ebp - 0x14]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jle 0x4159b0
lea ebx, [eax - 1]
jmp 0x4159b5
mov edi, 0x422597
mov dword [esi], vtable.CVolObject.0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov byte [ebp - 4], 3
mov dword [esi], vtable.CVolMem.0
mov dword [esi + 0xc], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x18], 0x40
mov byte [ebp - 4], 4
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0x10]
sub eax, ecx
mov dword [esi], vtable.CVolMem.0
mov dword [ebp - 0x1c], ecx
cmp eax, ebx
jl 0x415ac1
cmp ebx, 1
jne 0x415a35
test edi, edi
jne 0x415a25
mov eax, dword [esi + 0xc]
xor dl, dl
mov byte [ecx + eax], dl
inc dword [esi + 0x14]
jmp 0x415aec
mov eax, dword [esi + 0xc]
mov dl, byte [edi]
mov byte [ecx + eax], dl
inc dword [esi + 0x14]
jmp 0x415aec
cmp ebx, 2
jne 0x415a62
test edi, edi
jne 0x415a4f
mov eax, dword [esi + 0xc]
xor edx, edx
mov word [ecx + eax], dx
add dword [esi + 0x14], ebx
jmp 0x415aec
mov eax, dword [esi + 0xc]
movzx edx, word [edi]
mov word [ecx + eax], dx
add dword [esi + 0x14], 2
jmp 0x415aec
cmp ebx, 4
jne 0x415a86
test edi, edi
jne 0x415a78
mov eax, dword [esi + 0xc]
xor edx, edx
mov dword [ecx + eax], edx
add dword [esi + 0x14], ebx
jmp 0x415aec
mov eax, dword [esi + 0xc]
mov edx, dword [edi]
mov dword [ecx + eax], edx
add dword [esi + 0x14], 4
jmp 0x415aec
cmp ebx, 8
jne 0x415ac1
test edi, edi
jne 0x415aac
mov eax, dword [esi + 0xc]
xorps xmm0, xmm0
movlpd qword [ebp - 0x20], xmm0
mov edx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x1c]
mov dword [ecx + eax], edx
mov dword [ecx + eax + 4], edi
add dword [esi + 0x14], ebx
jmp 0x415aec
mov eax, dword [esi + 0xc]
mov edx, dword [edi]
mov edi, dword [edi + 4]
mov dword [ecx + eax], edx
mov dword [ecx + eax + 4], edi
add dword [esi + 0x14], 8
jmp 0x415aec
test ebx, ebx
jle 0x415aec
lea eax, [ecx + ebx]
mov ecx, esi
push eax
call fcn.0041a2c0
add eax, dword [ebp - 0x1c]
push ebx
test edi, edi
je 0x415ae1
push edi
push eax
call sub.VCRUNTIME140.dll_memcpy
jmp 0x415ae9
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov byte [ebp - 4], 2
mov dword [ebp - 0x24], 1
mov byte [ebp - 4], 0
mov dword [ebp - 0x44], vtable.CVolMem.0
mov dword [ebp - 4], 5
mov edx, dword [ebp - 0x38]
test edx, edx
je 0x415b2f
mov eax, dword [ebp - 0x44]
push edx
mov eax, dword [eax + 0xc]
cmp eax, method.CVolObjectArray.virtual_12
jne 0x415b2a
mov ecx, 0x42a9d8
call fcn.0041b040
jmp 0x415b2f
lea ecx, [ebp - 0x44]
call eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
mov byte [ebp - 4], 0
mov dword [ebp - 0x44], vtable.CVolObject.0
mov eax, esi
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