Function at 0x41f220
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x474ded
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x49d00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov ecx, dword [ebx + 0xc]
test ecx, ecx
je 0x41f26c
cmp dword [ecx], 1
jne 0x41f260
call fcn.00451550
jmp 0x41f265
call fcn.00451ed0
mov dword [ebx + 0xc], 0
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
mov eax, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
test esi, esi
jne 0x41f2da
cmp dword [eax + 0x24], esi
jne 0x41f2cf
mov esi, 0x47d154
jmp 0x41f2da
mov esi, dword [eax + 0x1c]
test esi, esi
je 0x41f3a4
cmp word [esi], 0
je 0x41f3a4
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41f2f0
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 - 0x14], eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp dword [ebp - 0x24], 0
mov edi, eax
mov dword [ebp + 0xc], edi
je 0x41f334
push edi
lea ecx, [ebp - 0x30]
call fcn.0043fce0
mov edi, eax
mov eax, dword [ebp + 0xc]
jmp 0x41f38c
test edi, edi
jne 0x41f33d
mov eax, dword [ebp + 0xc]
jmp 0x41f38c
mov ebx, dword [ebp - 0x18]
mov eax, 0x40
test ebx, ebx
cmovle ebx, eax
mov eax, edi
cdq
idiv ebx
mov eax, dword [ebp - 0x30]
sub ebx, edx
add ebx, edi
push ebx
mov eax, dword [eax]
cmp eax, method.CWString.virtual_0
jne 0x41f376
mov ecx, 0x4a1e48
call fcn.00440640
mov edi, eax
test edi, edi
je 0x41f448
jmp 0x41f37d
lea ecx, [ebp - 0x30]
call eax
mov edi, eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x1c], eax
push 0
push 0
push eax
push edi
push dword [ebp - 0x14]
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jg 0x41f3a9
mov edi, 0x48279b
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
test ecx, ecx
jne 0x41f3c0
cmp dword [eax + 0x24], ecx
mov ecx, 0x47d154
je 0x41f3c0
mov ecx, dword [eax + 0x1c]
push edi
push ecx
call fcn.004512a0
mov dword [ebx + 0xc], eax
add esp, 8
xor ebx, ebx
test eax, eax
setne bl
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 0x41f40f
mov eax, dword [ebp - 0x30]
push edx
mov eax, dword [eax + 0xc]
cmp eax, method.CWString.virtual_12
jne 0x41f40a
mov ecx, 0x4a1e48
call fcn.00440730
jmp 0x41f40f
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 eax, ebx
mov dword [ebp - 0x30], 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 8
push 0xffffffffffffffff
call fcn.00457262
int3