Function at 0x10034f50
Capabilities:
Check for time delay via gettickcount
Create a process with modified i/o handles and window
Create pipe
Create process on windows
Create two anonymous pipes
Terminate process

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005b858
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x130
push esi
push edi
mov eax, dword [0x101c200c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], edx
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x10034fc6
lea esi, [eax + 0x10]
mov dword [eax + 0xc], 0
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x10034fb1
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0xc]
mov dword [esi + 0xc], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov edi, dword [ebx + 0x14]
test edi, edi
je 0x10034ffa
mov dword [edi + 0xc], 0
mov ecx, dword [edi + 0x1c]
test ecx, ecx
je 0x10034fe5
mov eax, dword [edi + 0x10]
push ecx
lea ecx, [edi + 0x10]
call dword [eax + 0xc]
mov dword [edi + 0x1c], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x20], 0
mov eax, dword [ebx + 0x1c]
test eax, eax
je 0x10035007
mov dword [eax], 0xffffffff
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10035eef
cmp word [eax], 0
je 0x10035eef
mov eax, dword [ebx + 0x20]
xorps xmm0, xmm0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x70], 0
movups xmmword [ebp - 0xa4], xmm0
test eax, eax
je 0x1003507c
cmp dword [eax], 0
jne 0x10035063
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x6c], ecx
mov ecx, dword [ebp - 0x14]
mov dword [ebx + 0x20], 0
mov dword [ebp - 0x78], ecx
jmp 0x10035088
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x20]
mov edx, eax
mov dword [ebp - 0x6c], edx
mov dword [ebp - 0x68], edx
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x78], ecx
jmp 0x1003508e
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x68], eax
cmp dword [ebx + 0x10], 0
mov esi, dword [sym.imp.KERNEL32.dll_CreatePipe]
mov dword [ebp - 0x58], 0xffffffff
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xdc], 0xc
mov dword [ebp - 0xd4], 1
je 0x100350e8
push 0
lea eax, [ebp - 0xdc]
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x70]
push eax
call esi
test eax, eax
jne 0x100350e8
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x70], eax
jmp 0x10035e0f
test edi, edi
je 0x1003510e
push 0
lea eax, [ebp - 0xdc]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x74]
push eax
call esi
test eax, eax
jne 0x1003510e
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x74], eax
jmp 0x10035e0f
xor eax, eax
mov dword [ebp - 0xd0], vtable.CVolCommonBaseWithMemManager.0
cmp dword [ebx + 0x10], 0
xorps xmm0, xmm0
mov word [ebp - 0xfe], ax
movlpd qword [ebp - 0x106], xmm0
mov word [ebp - 0x110], ax
mov eax, dword [ebp - 0x104]
cmovne eax, dword [ebp - 0x5c]
test edi, edi
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x100]
cmovne eax, dword [ebp - 0x60]
movlpd qword [ebp - 0x13c], xmm0
movlpd qword [ebp - 0x134], xmm0
movlpd qword [ebp - 0x12c], xmm0
movlpd qword [ebp - 0x124], xmm0
movlpd qword [ebp - 0x11c], xmm0
movlpd qword [ebp - 0x10e], xmm0
mov dword [ebp - 0x140], 0x44
mov dword [ebp - 0x114], 0x101
mov dword [ebp - 0x100], eax
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0xd0], vtable.CVolObject.0
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xc8], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0xc0]
mov dword [ebp - 0xc0], vtable.CVolCommonBaseWithMemManager.0
mov dword [ebp - 0xd0], vtable.CWString.0
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc0], vtable.CVolObject.0
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 0
mov byte [ebp - 4], 1
mov dword [ebp - 0xc0], vtable.CVolMem.0
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xa8], 0x40
mov byte [ebp - 4], 2
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xa8], 0xfe
mov dword [ebp - 4], 3
mov dword [ebp - 0x94], vtable.CVolCommonBaseWithMemManager.0
mov dword [ebp - 0x94], vtable.CVolObject.0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
mov byte [ebp - 4], 4
mov dword [ebp - 0x94], vtable.CVolMem.0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x7c], 0x40
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x94]
mov esi, dword [ebp - 0x18]
push esi
call fcn.10036bc0
mov ecx, dword [ebx + 8]
test ecx, ecx
je 0x100352e0
cmp word [ecx], 0
jne 0x100352e0
lea edx, [ebp - 0xd0]
mov ecx, esi
call fcn.10034d60
mov ecx, eax
mov eax, dword [ebp - 0x88]
xor edx, edx
cmp dword [ebp - 0x80], edx
cmove eax, edx
lea edx, [ebp - 0xa4]
push edx
lea edx, [ebp - 0x140]
push edx
push ecx
push 0
push 0
push 1
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x1003539f
mov dword [ebp - 0xa4], eax
mov byte [ebp - 4], 3
mov dword [ebp - 0x94], vtable.CVolMem.0
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x88]
test ecx, ecx
je 0x1003535f
mov eax, dword [ebp - 0x94]
push ecx
mov eax, dword [eax + 0xc]
cmp eax, method.CWString.virtual_12
jne 0x10035357
mov ecx, 0x101c40b8
call fcn.100377b0
jmp 0x1003535f
lea ecx, [ebp - 0x94]
call eax
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x84], 0
mov byte [ebp - 4], 3
mov dword [ebp - 0x94], vtable.CVolObject.0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd0]
call fcn.10002af0
jmp 0x10035e0f
mov esi, dword [ebx + 0x10]
test esi, esi
je 0x100353b6
push dword [ebp - 0x5c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x5c], 0
test edi, edi
je 0x100353ca
push dword [ebp - 0x60]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x54], vtable.CVolCommonBaseWithMemManager.0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], vtable.CVolObject.0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov byte [ebp - 4], 7
mov dword [ebp - 0x54], vtable.CVolMem.0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x3c], 0x40
mov byte [ebp - 4], 8
mov dword [ebp - 0x38], vtable.CVolCommonBaseWithMemManager.0
mov dword [ebp - 0x38], vtable.CVolObject.0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov byte [ebp - 4], 9
mov dword [ebp - 0x38], vtable.CVolMem.0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x20], 0x40
mov byte [ebp - 4], 0xa
test esi, esi
jne 0x1003546a
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x100354b3
mov eax, dword [ebp - 0x44]
mov esi, dword [ebp - 0x40]
sub eax, esi
cmp eax, 2
jl 0x10035486
mov eax, dword [ebp - 0x48]
xor ecx, ecx
mov word [esi + eax], cx
add dword [ebp - 0x40], 2
jmp 0x100354b0
lea eax, [esi + 2]
cmp eax, esi
jne 0x10035492
mov eax, dword [ebp - 0x48]
jmp 0x100354aa
test eax, eax
jne 0x100354a1
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], eax
jmp 0x100354aa
push eax
lea ecx, [ebp - 0x54]
call fcn.10036ab0
xor ecx, ecx
mov word [eax + esi], cx
mov eax, dword [ebx + 0x20]
test edi, edi
jne 0x100354bf
test eax, eax
je 0x100355a0
mov edx, dword [ebp - 0x28]
mov eax, edx
mov ecx, dword [ebp - 0x24]
sub eax, ecx
mov dword [ebp - 0x14], ecx
cmp eax, 2
jl 0x100354e3
mov eax, dword [ebp - 0x2c]
xor edx, edx
mov word [ecx + eax], dx
add dword [ebp - 0x24], 2
jmp 0x100355a0
lea edi, [ecx + 2]
cmp edi, ecx
mov ecx, dword [ebp - 0x2c]
je 0x10035597
test edi, edi
jne 0x10035531
test ecx, ecx
je 0x10035518
mov eax, dword [ebp - 0x38]
push ecx
mov eax, dword [eax + 0xc]
cmp eax, method.CWString.virtual_12
jne 0x10035513
mov ecx, 0x101c40b8
call fcn.100377b0
jmp 0x10035518
lea ecx, [ebp - 0x38]
call eax
mov dword [ebp - 0x2c], 0
xor ecx, ecx
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
jmp 0x10035597
test ecx, ecx
jne 0x10035542
push edi
lea ecx, [ebp - 0x38]
call fcn.10036ab0
mov ecx, eax
jmp 0x10035597
mov esi, dword [ebp - 0x20]
mov eax, 0x40
test esi, esi
cmovle esi, eax
cmp edx, edi
jl 0x10035559
sub edx, edi
cmp edx, esi
jle 0x10035594
mov eax, edi
cdq
idiv esi
mov eax, dword [ebp - 0x38]
sub esi, edx
add esi, edi
push esi
mov eax, dword [eax + 8]
push ecx
cmp eax, method.CWString.virtual_8
jne 0x10035587
mov ecx, 0x101c40b8
call fcn.10037720
mov ecx, eax
test ecx, ecx
je 0x10035f06
jmp 0x1003558e
lea ecx, [ebp - 0x38]
call eax
mov ecx, eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], edi
mov eax, dword [ebp - 0x14]
xor edx, edx
mov word [ecx + eax], dx
mov esi, dword [ebx + 0x20]
xor eax, eax
mov dword [ebp - 0x64], eax
test esi, esi
je 0x100355e3
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xf0], eax
lea eax, [ebp - 0x54]
mov dword [ebp - 0xec], eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0xe8], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0xe4], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xf4], 0
mov edi, dword [ebp - 0x48]
mov esi, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
nop dword [eax]
test edx, edx
je 0x1003561a
push 0x64
push dword [ebp - 0xa4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x1003580c
mov dword [ebp - 0x1c], 0
mov esi, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x48]
cmp dword [ebx + 0x10], 0
mov dword [ebp - 0x14], 0
je 0x10035640
mov ecx, dword [ebp - 0x70]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.10034530
mov edi, dword [ebp - 0x48]
add esp, 8
mov esi, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [ebx + 0x14], eax
je 0x10035666
mov ecx, dword [ebp - 0x74]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.10034530
mov edi, dword [ebp - 0x48]
add esp, 8
mov esi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x14], 0
mov edx, dword [ebp - 0x1c]
jg 0x100355f0
test eax, eax
jg 0x100355f0
test edx, edx
jne 0x100355f4
mov eax, edx
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x14], eax
cmp dword [ebx + 0x20], edx
je 0x100356d7
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x64], edx
jne 0x100356d7
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x6c]
mov dword [ebp - 0xf8], eax
lea eax, [ebp - 0xf8]
push eax
mov eax, dword [ebx + 0x20]
mov dword [ebp - 0xf4], 1
mov eax, dword [eax]
call eax
mov eax, dword [ebp - 0x14]
add esp, 4
mov edi, dword [ebp - 0x48]
mov esi, dword [ebp - 0x2c]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebx + 0x10]
test ecx, ecx
je 0x10035769
xor eax, eax
lea edx, [ecx + 0x10]
cmp dword [ebp - 0x40], eax
mov dword [ecx + 0xc], eax
mov ecx, dword [edx + 0xc]
cmove edi, eax
mov dword [ebp - 0x14], edx
test ecx, ecx
je 0x10035708
mov eax, dword [edx]
push ecx
mov ecx, edx
call dword [eax + 0xc]
mov esi, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x14]
mov dword [edx + 0xc], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x10], 0
test edi, edi
je 0x10035766
cmp word [edi], 0
je 0x10035766
mov ecx, edi
lea eax, [ecx + 2]
mov dword [ebp - 0x14], eax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10035730
sub ecx, dword [ebp - 0x14]
sar ecx, 1
lea eax, [ecx*2 + 2]
mov dword [ebp - 0x14], eax
test eax, eax
jle 0x10035766
push eax
mov ecx, edx
call fcn.10036b10
push dword [ebp - 0x14]
push edi
push eax
call fcn.10040960
mov esi, dword [ebp - 0x2c]
add esp, 0xc
mov ecx, dword [ebx + 0x10]
mov edi, dword [ebx + 0x14]
test edi, edi
je 0x10035c49
cmp edi, ecx
jne 0x10035bd2
mov ecx, edi
call fcn.1000b220
test eax, eax
jne 0x10035794
push 0x101b1708
call fcn.10038190
mov esi, dword [ebp - 0x2c]
cmp dword [ebp - 0x24], 0
je 0x10035c49
test esi, esi
je 0x10035c49
cmp word [esi], 0
je 0x10035c49
mov edx, dword [edi + 0xc]
mov dword [ebp - 0x14], edx
test edx, edx
je 0x10035b05
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100357c3
mov eax, dword [ebx + 0x14]
sub ecx, edi
sar ecx, 1
mov dword [eax + 0x24], 0
lea edi, [ecx*2 + 2]
lea ecx, [eax + 0x10]
cmp dword [eax + 0x20], edi
jl 0x10035ae0
cmp edi, 2
jne 0x10035ab2
mov edi, eax
mov ax, word [edx]
mov ecx, dword [edi + 0x1c]
mov word [ecx], ax
add dword [edi + 0x24], 2
jmp 0x10035afe
mov esi, dword [ebx + 0x20]
test esi, esi
je 0x10035614
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
sub ecx, dword [ebp - 0x68]
cmp ecx, dword [ebp - 0x78]
jb 0x10035614
mov dword [ebp - 0x68], eax
sub eax, dword [ebp - 0x6c]
mov dword [ebp - 0xf8], eax
lea eax, [ebp - 0xf8]
push eax
mov eax, dword [esi]
call eax
mov ecx, dword [ebp - 0x40]
add esp, 4
mov edx, ecx
mov dword [ebp - 0x64], eax
and edx, 1
je 0x1003585d
sub ecx, edx
push ecx
lea ecx, [ebp - 0x54]
call fcn.10036b10
mov ecx, dword [ebp - 0x24]
mov eax, ecx
and eax, 1
je 0x10035872
sub ecx, eax
push ecx
lea ecx, [ebp - 0x38]
call fcn.10036b10
mov ecx, dword [ebp - 0x40]
mov edi, dword [ebp - 0x48]
cmp ecx, 2
jb 0x1003588b
movzx eax, word [ecx + edi - 2]
test ax, ax
je 0x10035980
mov edx, dword [ebp - 0x44]
mov eax, edx
mov ecx, dword [ebp - 0x40]
sub eax, ecx
cmp eax, 2
jl 0x100358a9
xor eax, eax
mov word [ecx + edi], ax
add dword [ebp - 0x40], 2
jmp 0x1003597d
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x18], eax
lea ecx, [eax + 2]
cmp ecx, eax
jne 0x100358bd
mov ecx, eax
jmp 0x10035977
test ecx, ecx
jne 0x10035900
test edi, edi
je 0x100358e4
mov eax, dword [ebp - 0x54]
push edi
mov eax, dword [eax + 0xc]
cmp eax, method.CWString.virtual_12
jne 0x100358df
mov ecx, 0x101c40b8
call fcn.100377b0
jmp 0x100358e4
lea ecx, [ebp - 0x54]
call eax
mov ecx, dword [ebp - 0x18]
xor edi, edi
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x44], 0
jmp 0x10035977
test edi, edi
jne 0x10035914
push ecx
lea ecx, [ebp - 0x54]
call fcn.10036ab0
mov ecx, dword [ebp - 0x18]
mov edi, eax
jmp 0x10035977
mov esi, dword [ebp - 0x3c]
mov eax, 0x40
test esi, esi
cmovle esi, eax
cmp edx, ecx
jl 0x10035933
sub edx, ecx
cmp edx, esi
jg 0x10035933
mov dword [ebp - 0x40], ecx
mov ecx, dword [ebp - 0x18]
jmp 0x10035977
mov eax, ecx
cdq
idiv esi
mov eax, dword [ebp - 0x54]
sub esi, edx
add esi, ecx
push esi
mov eax, dword [eax + 8]
push edi
cmp eax, method.CWString.virtual_8
jne 0x10035961
mov ecx, 0x101c40b8
call fcn.10037720
mov edi, eax
test edi, edi
je 0x10035f06
jmp 0x10035968
lea ecx, [ebp - 0x54]
call eax
mov edi, eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], esi
lea eax, [ecx + 2]
mov dword [ebp - 0x40], eax
xor eax, eax
mov word [edi + ecx], ax
mov edi, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x2c]
cmp ecx, 2
jb 0x10035999
movzx eax, word [ecx + esi - 2]
test ax, ax
je 0x10035a91
mov edx, dword [ebp - 0x28]
mov eax, edx
mov ecx, dword [ebp - 0x24]
sub eax, ecx
cmp eax, 2
jl 0x100359b7
xor eax, eax
mov word [ecx + esi], ax
add dword [ebp - 0x24], 2
jmp 0x10035a8b
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x18], eax
lea ecx, [eax + 2]
cmp ecx, eax
jne 0x100359cb
mov ecx, eax
jmp 0x10035a85
test ecx, ecx
jne 0x10035a0e
test esi, esi
je 0x100359f2
mov eax, dword [ebp - 0x38]
push esi
mov eax, dword [eax + 0xc]
cmp eax, method.CWString.virtual_12
jne 0x100359ed
mov ecx, 0x101c40b8
call fcn.100377b0
jmp 0x100359f2
lea ecx, [ebp - 0x38]
call eax
mov ecx, dword [ebp - 0x18]
xor esi, esi
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
jmp 0x10035a85
test esi, esi
jne 0x10035a22
push ecx
lea ecx, [ebp - 0x38]
call fcn.10036ab0
mov ecx, dword [ebp - 0x18]
mov esi, eax
jmp 0x10035a85
mov edi, dword [ebp - 0x20]
mov eax, 0x40
test edi, edi
cmovle edi, eax
cmp edx, ecx
jl 0x10035a41
sub edx, ecx
cmp edx, edi
jg 0x10035a41
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x18]
jmp 0x10035a85
mov eax, ecx
cdq
idiv edi
mov eax, dword [ebp - 0x38]
sub edi, edx
add edi, ecx
push edi
mov eax, dword [eax + 8]
push esi
cmp eax, method.CWString.virtual_8
jne 0x10035a6f
mov ecx, 0x101c40b8
call fcn.10037720
mov esi, eax
test esi, esi
je 0x10035f06
jmp 0x10035a76
lea ecx, [ebp - 0x38]
call eax
mov esi, eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], edi
lea eax, [ecx + 2]
mov dword [ebp - 0x24], eax
xor eax, eax
mov word [esi + ecx], ax
mov esi, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x64]
cmp ecx, 1
je 0x100356d7
cmp ecx, 2
jne 0x1003561a
mov dword [ebp - 0x58], 0xfffffffe
jmp 0x100356d7
cmp edi, 4
jne 0x10035ac6
mov edi, eax
mov eax, dword [edx]
mov ecx, dword [edi + 0x1c]
mov dword [ecx], eax
add dword [edi + 0x24], 4
jmp 0x10035afe
cmp edi, 8
jne 0x10035ae0
mov ecx, dword [edx]
mov edi, eax
mov edx, dword [edx + 4]
mov eax, dword [edi + 0x1c]
mov dword [eax], ecx
mov dword [eax + 4], edx
add dword [edi + 0x24], 8
jmp 0x10035afe
test edi, edi
jle 0x10035afc
push edi
call fcn.10036b10
push edi
push dword [ebp - 0x14]
push eax
call fcn.10040960
mov edi, dword [ebx + 0x14]
add esp, 0xc
jmp 0x10035afe
mov edi, eax
mov dword [edi + 0xc], 0
lea eax, [edi + 0x10]
mov edi, dword [edi + 0x24]
mov dword [ebp - 0x14], eax
cmp edi, 2
jb 0x10035b29
mov ecx, dword [ebx + 0x14]
mov eax, dword [ecx + 0x1c]
movzx eax, word [eax + edi - 2]
test ax, ax
jne 0x10035b29
add edi, 0xfffffffe
mov dword [ecx + 0x24], edi
mov ecx, esi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10035b30
sub ecx, edx
mov edx, dword [ebx + 0x14]
sar ecx, 1
mov eax, dword [edx + 0x20]
lea ecx, [ecx*2 + 2]
sub eax, edi
mov dword [ebp - 0x64], ecx
cmp eax, ecx
jl 0x10035baa
cmp ecx, 2
jne 0x10035b6f
mov eax, dword [edx + 0x1c]
movzx ecx, word [esi]
mov word [edi + eax], cx
mov edi, edx
add dword [edi + 0x24], 2
jmp 0x10035c49
cmp ecx, 4
jne 0x10035b87
mov eax, dword [edx + 0x1c]
mov ecx, dword [esi]
mov dword [edi + eax], ecx
mov edi, edx
add dword [edi + 0x24], 4
jmp 0x10035c49
cmp ecx, 8
jne 0x10035baa
mov eax, dword [ebx + 0x14]
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov eax, dword [eax + 0x1c]
mov dword [edi + eax], ecx
mov dword [edi + eax + 4], edx
mov edi, dword [ebx + 0x14]
add dword [edi + 0x24], 8
jmp 0x10035c49
test ecx, ecx
jle 0x10035c47
lea eax, [ecx + edi]
mov ecx, dword [ebp - 0x14]
push eax
call fcn.10036b10
push dword [ebp - 0x64]
add eax, edi
push esi
push eax
call fcn.10040960
mov edi, dword [ebx + 0x14]
add esp, 0xc
jmp 0x10035c49
xor eax, eax
cmp dword [ebp - 0x24], eax
mov dword [edi + 0xc], eax
mov ecx, dword [edi + 0x1c]
cmove esi, eax
test ecx, ecx
je 0x10035bee
mov eax, dword [edi + 0x10]
push ecx
lea ecx, [edi + 0x10]
call dword [eax + 0xc]
mov dword [edi + 0x1c], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x20], 0
test esi, esi
je 0x10035c49
cmp word [esi], 0
je 0x10035c49
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10035c12
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
mov dword [ebp - 0x14], eax
test eax, eax
jle 0x10035c49
push eax
lea ecx, [edi + 0x10]
call fcn.10036b10
push dword [ebp - 0x14]
push esi
push eax
call fcn.10040960
add esp, 0xc
jmp 0x10035c49
mov edi, edx
mov esi, dword [ebx + 0x1c]
test esi, esi
je 0x10035c71
cmp dword [ebp - 0x58], 0xfffffffe
jne 0x10035c5e
mov dword [esi], 0xffffffff
jmp 0x10035c71
push esi
push dword [ebp - 0xa4]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x10035c71
mov dword [esi], eax
mov byte [ebp - 4], 8
mov dword [ebp - 0x38], vtable.CVolMem.0
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x10035ca6
mov eax, dword [ebp - 0x38]
push ecx
mov eax, dword [eax + 0xc]
cmp eax, method.CWString.virtual_12
jne 0x10035ca1
mov ecx, 0x101c40b8
call fcn.100377b0
jmp 0x10035ca6
lea ecx, [ebp - 0x38]
call eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov byte [ebp - 4], 8
mov dword [ebp - 0x38], vtable.CVolObject.0
mov byte [ebp - 4], 5
mov dword [ebp - 0x54], vtable.CVolMem.0
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x48]
test ecx, ecx
je 0x10035cfb
mov eax, dword [ebp - 0x54]
push ecx
mov eax, dword [eax + 0xc]
cmp eax, method.CWString.virtual_12
jne 0x10035cf6
mov ecx, 0x101c40b8
call fcn.100377b0
jmp 0x10035cfb
lea ecx, [ebp - 0x54]
call eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x44], 0
mov byte [ebp - 4], 5
mov dword [ebp - 0x54], vtable.CVolObject.0
mov byte [ebp - 4], 3
mov dword [ebp - 0x94], vtable.CVolMem.0
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x88]
test ecx, ecx
je 0x10035d5c
mov eax, dword [ebp - 0x94]
push ecx
mov eax, dword [eax + 0xc]
cmp eax, method.CWString.virtual_12
jne 0x10035d54
mov ecx, 0x101c40b8
call fcn.100377b0
jmp 0x10035d5c
lea ecx, [ebp - 0x94]
call eax
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x84], 0
mov byte [ebp - 4], 3
mov dword [ebp - 0x94], vtable.CVolObject.0
mov dword [ebp - 4], 0xe
lea eax, [ebp - 0xc0]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc0], vtable.CVolMem.0
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0xb4]
test ecx, ecx
je 0x10035dd2
mov eax, dword [ebp - 0xc0]
push ecx
mov eax, dword [eax + 0xc]
cmp eax, method.CWString.virtual_12
jne 0x10035dca
mov ecx, 0x101c40b8
call fcn.100377b0
jmp 0x10035dd2
lea ecx, [ebp - 0xc0]
call eax
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xb0], 0
mov byte [ebp - 4], 0xe
mov dword [ebp - 0xc0], vtable.CVolObject.0
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0xd0], vtable.CVolObject.0
cmp dword [ebp - 0xa4], 0
je 0x10035e8a
cmp dword [ebp - 0x1c], 0
je 0x10035e72
push dword [ebp - 0x9c]
mov esi, dword [sym.imp.KERNEL32.dll_GenerateConsoleCtrlEvent]
push 0
call esi
push dword [ebp - 0x9c]
push 1
call esi
push dword [ebp - 0x9c]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x10035e72
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0xa0]
call esi
push dword [ebp - 0xa4]
call esi
jmp 0x10035e90
push dword [ebp - 0xa0]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0xa4]
call esi
jmp 0x10035e90
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x70]
test eax, eax
je 0x10035e9a
push eax
call esi
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x10035ea4
push eax
call esi
mov eax, dword [ebp - 0x74]
test eax, eax
je 0x10035eae
push eax
call esi
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x10035eb8
push eax
call esi
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x10035ec9
mov ecx, eax
call fcn.10038810
mov eax, dword [ebx + 0x10]
test edi, edi
je 0x10035ed8
cmp edi, eax
je 0x10035ed8
mov ecx, edi
call fcn.10038810
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0xffffffffffffffff
call fcn.10041c16
int3