Function at 0x461d10
Capabilities:
Check for time delay via queryperformancecounter
Create a process with modified i/o handles and window
Create directory
Create process on windows
Create process suspended
Create thread
Get common file path
Move file
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b3df1
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0xec8960]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xe8], ecx
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x1e0]
mov dword [ebp - 0x200], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1fc], eax
mov dword [ebp - fcn.004613b0], vtable.MYFILE.0
call fcn.00461340
mov dword [ebp - fcn.004613b0], vtable.MYDIR.0
mov dword [ebp - 4], 0
mov ecx, dword [0xf051a8]
mov edi, dword [ebp - 0x1d0]
test ecx, ecx
jne 0x461de3
mov ecx, 0x40000
call fcn.0045c5b0
push eax
push 0x10000
mov dword [0xf051a8], eax
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
mov esi, dword [0xf051a8]
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x461db1
sub ecx, edx
mov edx, 2
sar ecx, 1
lea eax, [ecx + 1]
xor ecx, ecx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
push esi
call fcn.0048e18c
mov ecx, dword [0xf051a8]
add esp, 8
mov edx, edi
call fcn.0045cdd0
push dword [ebp - 0x1d0]
lea ecx, [ebp - 0x1e0]
call fcn.004612c0
lea eax, [ebp - 0xe4]
push eax
call dword [sym.imp.KERNEL32.DLL_QueryPerformanceFrequency]
test eax, eax
je 0x461e51
lea eax, [ebp - 0x188]
push eax
call dword [sym.imp.KERNEL32.DLL_QueryPerformanceCounter]
mov edx, dword [ebp - 0x184]
mov ecx, dword [ebp - 0x188]
call fcn.00489490
mov edx, dword [ebp - 0xe0]
mov ecx, dword [ebp - 0xe4]
movsd qword [ebp - 0x178], xmm0
call fcn.00489490
movsd xmm1, qword [ebp - 0x178]
divsd xmm1, xmm0
jmp 0x461e73
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
addsd xmm1, qword [eax*8 + 0xea1930]
divsd xmm1, qword [0xea16b0]
movaps xmm0, xmm1
movsd qword [ebp - 0x178], xmm1
mulsd xmm0, qword [0xea16f8]
call fcn.00489380
movsd xmm0, qword [ebp - 0x178]
mov esi, eax
call fcn.00489380
add esi, eax
xor edi, edi
nop
imul esi, esi, 0x33ce519
lea eax, [ebp - 0x74]
add esi, 0x89
push esi
push str.freearc_u.tmp
push eax
call fcn.0042e890
mov edx, dword [ebp - 0x1cc]
lea ecx, [ebp - 0x74]
add esp, 0xc
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx], al
lea edx, [edx + 1]
test al, al
jne 0x461ec7
mov edx, dword [ebp - 0x1d4]
mov ecx, dword [ebp - 0x1d0]
call fcn.0045cd00
push dword [ebp - 0x1c8]
push dword [ebp - 0x1d4]
call dword [sym.imp.USER32.dll_CharToOemW]
mov ecx, dword [ebp - 0x1d4]
call fcn.0045cf00
push dword [ebp - 0x1d4]
call fcn.00499657
add esp, 4
test eax, eax
je 0x461f28
inc edi
cmp edi, 0x3e8
jb 0x461ea0
mov esi, 0xfffffff5
jmp 0x462d91
lea ecx, [ebp - 0x1e0]
call fcn.00461250
mov esi, dword [ebp - 0xe8]
mov ecx, 0x40000
mov dword [ebp - fcn.004613b0], vtable.MYFILE.0
mov dword [ebp - 0x118], 0xffffffff
mov byte [ebp - 0x11c], 0
mov esi, dword [esi + 0x24]
call fcn.0045c5b0
mov ecx, 0x10000
mov dword [ebp - 0x114], eax
call fcn.0045c5b0
mov ecx, 0x40000
mov dword [ebp - 0x108], eax
call fcn.0045c5b0
mov dword [ebp - 0x110], eax
mov edx, 0xe9af88
mov dword [ebp - 0x10c], eax
mov cl, byte [edx]
lea edx, [edx + 1]
mov byte [eax], cl
lea eax, [eax + 1]
test cl, cl
jne 0x461f92
mov edx, dword [ebp - 0x114]
mov ecx, dword [ebp - 0x110]
call fcn.0045cd00
push dword [ebp - 0x108]
mov edi, dword [sym.imp.USER32.dll_CharToOemW]
push dword [ebp - 0x114]
call edi
push dword [ebp - 0x1d0]
lea ecx, [ebp - 0x120]
call fcn.004612c0
mov ecx, dword [ebp - 0x10c]
nop dword [eax]
mov al, byte [esi]
lea esi, [esi + 1]
mov byte [ecx], al
lea ecx, [ecx + 1]
test al, al
jne 0x461fe0
mov edx, dword [ebp - 0x114]
mov ecx, dword [ebp - 0x110]
call fcn.0045cd00
push dword [ebp - 0x108]
push dword [ebp - 0x114]
call edi
lea ecx, [ebp - 0x120]
call fcn.00461250
mov eax, dword [ebp - 0xe8]
mov ecx, 0x40000
mov dword [ebp - fcn.004613b0], vtable.MYFILE.0
mov dword [ebp - 0xfc], 0xffffffff
mov byte [ebp - 0x100], 0
mov esi, dword [eax + 0x20]
call fcn.0045c5b0
mov ecx, 0x10000
mov dword [ebp - 0xf8], eax
call fcn.0045c5b0
mov ecx, 0x40000
mov dword [ebp - 0xec], eax
call fcn.0045c5b0
mov dword [ebp - 0xf4], eax
mov edx, 0xe9af88
mov dword [ebp - 0xf0], eax
mov cl, byte [edx]
lea edx, [edx + 1]
mov byte [eax], cl
lea eax, [eax + 1]
test cl, cl
jne 0x462077
mov edx, dword [ebp - 0xf8]
mov ecx, dword [ebp - 0xf4]
call fcn.0045cd00
push dword [ebp - 0xec]
push dword [ebp - 0xf8]
call edi
push dword [ebp - 0x1d0]
lea ecx, [ebp - 0x104]
call fcn.004612c0
mov ecx, dword [ebp - 0xf0]
nop dword [eax + eax]
mov al, byte [esi]
lea esi, [esi + 1]
mov byte [ecx], al
lea ecx, [ecx + 1]
test al, al
jne 0x4620c0
mov edx, dword [ebp - 0xf8]
mov ecx, dword [ebp - 0xf4]
call fcn.0045cd00
push dword [ebp - 0xec]
push dword [ebp - 0xf8]
call edi
lea ecx, [ebp - 0x104]
call fcn.00461250
mov ecx, dword [ebp - 0xe8]
movaps xmm0, xmmword [0xea1840]
mov esi, dword [ebp - 0x200]
mov dword [ebp - 0x170], 0
mov eax, dword [ecx + 0x558]
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp - 0x1fc]
mov dword [ebp - 0x16c], 0
mov dword [ebp - 0x164], 0xffffffff
mov dword [ebp - 0x160], 1
mov dword [ebp - 0x15c], 1
movups xmmword [ebp - 0x154], xmm0
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x140], 1
mov dword [ebp - 0x138], esi
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x12c], 0
lea eax, [ebp - 0x12f]
mov byte [ebp - 4], 3
mov edx, dword [ecx + 0x2c]
push eax
lea eax, [ebp - 0x130]
push eax
call fcn.00461730
push dword [ebp - 0x114]
mov dword [ebp - 0x20c], eax
xor eax, eax
mov dword [ebp - 0x204], eax
call fcn.0049b4b3
mov eax, dword [ebp - 0xe8]
add esp, 0xc
xorps xmm0, xmm0
mov byte [ebp - 0xd9], 1
movlpd qword [ebp - 0xe4], xmm0
cmp dword [eax + 0x558], 0
je 0x46220f
push dword [ebp - 0x1fc]
lea eax, [ebp - 0xd9]
push 1
push eax
push str.read
call esi
mov esi, eax
add esp, 0x10
cmp esi, 1
je 0x462209
test esi, esi
js 0x462c65
mov esi, 0xfffffffa
jmp 0x462c65
mov esi, dword [ebp - 0x200]
cmp byte [ebp - 0x130], 0
jne 0x462469
mov ecx, 0x40000
call fcn.0045c5b0
push dword [ebp - 0x1fc]
mov edi, eax
push 0x40000
push edi
push str.read
mov dword [ebp - 0x204], edi
call esi
mov esi, eax
add esp, 0x10
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x1f4], eax
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0x1f8], eax
test esi, esi
jle 0x46242f
mov ecx, dword [ebp - 0x118]
test ecx, ecx
jns 0x4622bc
mov ecx, dword [ebp - 0x114]
call fcn.0045cf00
push 0
lea eax, [ebp - 0x128]
push eax
push 0x180
push 0x40
push 0x8301
push dword [ebp - 0x114]
call fcn.0049bf01
mov ecx, dword [ebp - 0x128]
add esp, 0x18
test eax, eax
mov eax, 0xffffffff
cmovne ecx, eax
mov dword [ebp - 0x118], ecx
test ecx, ecx
js 0x46245f
mov al, byte [ebp - 0xd9]
test al, al
je 0x4623ef
cmp al, 1
je 0x4623ef
lea ecx, [ebp - 0x228]
mov dword [ebp - fcn.004613b0], vtable.MYFILE.0
call fcn.00461340
mov edx, dword [ebp - 0x214]
mov ecx, str.data7777
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx], al
lea edx, [edx + 1]
test al, al
jne 0x4622f2
mov edx, dword [ebp - 0x21c]
mov ecx, dword [ebp - 0x218]
call fcn.0045cd00
push dword [ebp - 0x210]
push dword [ebp - 0x21c]
call dword [sym.imp.USER32.dll_CharToOemW]
mov al, byte [ebp - 0x224]
mov byte [ebp - 0x100], al
mov eax, dword [ebp - 0x220]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0x218]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0x214]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0x210]
mov dword [ebp - 0xec], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x228]
mov dword [ebp - fcn.004613b0], vtable.MYFILE.0
call fcn.004613b0
mov eax, dword [ebp - 0x21c]
cmp eax, dword [ebp - 0x218]
je 0x46239b
push eax
call fcn.0048e011
add esp, 4
push dword [ebp - 0x210]
call fcn.0048e011
push dword [ebp - 0x218]
call fcn.0048e011
add dword [ebp - 0x1f8], 1
lea eax, [ebp - 0xd9]
push 1
adc dword [ebp - 0x1f4], 0
push eax
mov byte [ebp - 4], 3
push dword [ebp - 0x118]
call fcn.004a3c00
add esp, 0x14
cmp eax, 1
jne 0x46245f
mov ecx, dword [ebp - 0x118]
mov byte [ebp - 0xd9], al
add dword [ebp - 0x1f8], esi
push esi
adc dword [ebp - 0x1f4], 0
push edi
push ecx
call fcn.004a3c00
add esp, 0xc
cmp eax, esi
jne 0x46245f
push dword [ebp - 0x1fc]
push 0x40000
push edi
push str.read
call dword [ebp - 0x200]
mov esi, eax
add esp, 0x10
test esi, esi
jg 0x462266
test edi, edi
je 0x462444
push edi
call fcn.0048e011
add esp, 4
xor eax, eax
mov dword [ebp - 0x204], eax
lea ecx, [ebp - 0x120]
call fcn.0045c630
test esi, esi
jne 0x462c65
mov edi, dword [sym.imp.USER32.dll_CharToOemW]
jmp 0x462481
mov esi, 0xfffffff5
jmp 0x462c58
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x1f4], eax
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0x1f8], eax
push dword [ebp - 0xf8]
call fcn.0049b4b3
mov esi, dword [ebp - 0x20c]
add esp, 4
cmp byte [esi], 0
je 0x462b45
cmp byte [ebp - 0xd9], 0
je 0x462b45
lea ecx, [ebp - 0x1c4]
mov dword [ebp - fcn.004613b0], vtable.MYFILE.0
call fcn.00461340
mov edx, dword [ebp - 0x1b0]
mov ecx, esi
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx], al
lea edx, [edx + 1]
test al, al
jne 0x4624c8
mov edx, dword [ebp - 0x1b8]
mov ecx, dword [ebp - 0x1b4]
call fcn.0045cd00
push dword [ebp - 0x1ac]
push dword [ebp - 0x1b8]
call edi
cmp dword [0xecedb4], 0
jne 0x462514
cmp byte [ebp - 0x130], 0
je 0x462514
cmp byte [ebp - 0x12f], 0
jne 0x462627
mov edx, dword [ebp - 0x1f8]
lea ecx, [ebp - 0xbd]
mov eax, 4
mov byte [ebp - 0xbd], 0
nop dword [eax]
sub eax, 1
mov dword [ebp - 0x128], eax
jne 0x462549
dec ecx
mov dword [ebp - 0x128], 3
mov byte [ecx], 0x2c
dec ecx
mov eax, edx
mov dword [ebp - 0xe0], ecx
mov ecx, 0xcccccccd
mul ecx
mov eax, dword [ebp - 0x1f8]
lea edi, [ecx - 1]
mov esi, edx
mul edi
mov edi, eax
mov dword [ebp - 0x234], edx
mov eax, dword [ebp - 0x1f4]
mul ecx
mov ecx, eax
mov dword [ebp - 0x22c], edx
mov eax, dword [ebp - 0x1f4]
mov edx, 0xcccccccc
mul edx
add ecx, esi
mov dword [ebp - 0x1f4], edx
mov edx, dword [ebp - 0x22c]
mov esi, dword [ebp - 0x1f4]
adc edx, 0
add edi, ecx
mov dword [ebp - 0x208], eax
mov ecx, dword [ebp - 0x234]
adc ecx, 0
xor eax, eax
add edx, ecx
mov ecx, dword [ebp - 0x208]
adc eax, eax
add ecx, edx
mov edx, dword [ebp - 0x1f8]
adc esi, eax
shrd ecx, esi, 3
mov al, cl
mov dword [ebp - 0x208], ecx
shl al, 2
add cl, al
shr esi, 3
add cl, cl
mov dword [ebp - 0x1f4], esi
sub dl, cl
mov ecx, dword [ebp - 0xe0]
add dl, 0x30
mov byte [ecx], dl
mov edx, dword [ebp - 0x208]
mov eax, edx
or eax, esi
mov dword [ebp - 0x1f8], edx
mov eax, dword [ebp - 0x128]
jne 0x462530
push dword [ebp - 0x20c]
push ecx
push str.Unpacking
push str._n_s__s_bytes_with__s_n
call fcn.00437320
add esp, 0x10
push 0xef5c34
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
cmp byte [ebp - 0x130], 0
je 0x462646
lea ecx, [ebp - 0x170]
call fcn.00461ae0
mov eax, dword [ebp - 0x12f]
test al, al
je 0x462661
lea ecx, [ebp - 0x160]
call fcn.00461ae0
mov eax, dword [ebp - 0x12f]
cmp dword [0xecedb4], 0
jne 0x462696
cmp byte [ebp - 0x130], 0
je 0x462696
test al, al
je 0x462696
push dword [ebp - 0x150]
call fcn.004a3422
push dword [ebp - 0x150]
mov dword [ebp - 0x14c], eax
call fcn.004a23de
add esp, 8
lea eax, [ebp - 0x198]
push eax
call dword [sym.imp.KERNEL32.DLL_QueryPerformanceFrequency]
test eax, eax
je 0x4626f4
lea eax, [ebp - 0x190]
push eax
call dword [sym.imp.KERNEL32.DLL_QueryPerformanceCounter]
mov edx, dword [ebp - 0x18c]
mov ecx, dword [ebp - 0x190]
call fcn.00489490
mov edx, dword [ebp - 0x194]
mov ecx, dword [ebp - 0x198]
movsd qword [ebp - 0xe4], xmm0
call fcn.00489490
movsd xmm1, qword [ebp - 0xe4]
divsd xmm1, xmm0
movsd qword [ebp - 0xe4], xmm1
jmp 0x46271e
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0xea1930]
divsd xmm0, qword [0xea16b0]
movsd qword [ebp - 0xe4], xmm0
mov esi, dword [ebp - 0x1d4]
xorps xmm0, xmm0
mov edi, dword [ebp - 0x1b8]
xor eax, eax
push eax
movlpd qword [ebp - 0x50], xmm0
movlpd qword [ebp - 0x48], xmm0
movlpd qword [ebp - 0x40], xmm0
movlpd qword [ebp - 0x38], xmm0
movlpd qword [ebp - 0x30], xmm0
mov dword [ebp - 0x22], 0
mov word [ebp - 0x1e], ax
mov dword [ebp - 0x54], 0x44
mov dword [ebp - 0x28], 0x101
mov word [ebp - 0x24], ax
call fcn.00499a4b
push 1
mov dword [ebp - 0x1c], eax
call fcn.00499a4b
push 2
mov dword [ebp - 0x18], eax
call fcn.00499a4b
add esp, 0xc
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1f0]
mov dword [ebp - 0x124], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x1f0], xmm0
push eax
lea eax, [ebp - 0x54]
push eax
push esi
push 0
push 0
push 1
push 0
push 0
push edi
push 0
call dword [sym.imp.KERNEL32.DLL_CreateProcessW]
cmp byte [ebp - 0x130], 0
mov edi, eax
je 0x4627eb
cmp dword [ebp - 0x164], 0
jl 0x4627eb
push dword [ebp - 0x16c]
push dword [ebp - 0x168]
call fcn.004a27c9
push dword [ebp - 0x168]
call fcn.004a23de
add esp, 0xc
mov eax, dword [ebp - 0x12f]
test al, al
je 0x462823
cmp dword [ebp - 0x154], 0
jl 0x462823
push dword [ebp - 0x15c]
push dword [ebp - 0x158]
call fcn.004a27c9
push dword [ebp - 0x158]
call fcn.004a23de
mov eax, dword [ebp - 0x12f]
add esp, 0xc
cmp dword [0xecedb4], 0
jne 0x46285d
cmp byte [ebp - 0x130], 0
je 0x46285d
test al, al
je 0x46285d
mov eax, dword [ebp - 0x14c]
test eax, eax
js 0x46285d
push dword [ebp - 0x150]
push eax
call fcn.004a27c9
push dword [ebp - 0x14c]
call fcn.004a23de
add esp, 0xc
push 0xef5c34
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
cmp byte [ebp - 0x130], 0
je 0x4628a6
lea eax, [ebp - 0x184]
push eax
push 0
lea eax, [ebp - 0x170]
push eax
push 0x461b90
push 0
push 0
call fcn.0049cd60
mov esi, dword [sym.imp.KERNEL32.DLL_GetLastError]
add esp, 0x18
mov dword [ebp - 0x148], eax
test eax, eax
jne 0x4628ac
call esi
jmp 0x4628ac
mov esi, dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp byte [ebp - 0x12f], 0
je 0x4628e2
lea eax, [ebp - 0x174]
push eax
push 0
lea eax, [ebp - 0x170]
push eax
push 0x461c30
push 0
push 0
call fcn.0049cd60
add esp, 0x18
mov dword [ebp - 0x144], eax
test eax, eax
jne 0x4628e2
call esi
cmp byte [ebp - 0x130], 0
mov esi, dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
je 0x46290e
push 0xffffffffffffffff
push dword [ebp - 0x148]
call esi
mov eax, dword [ebp - 0x164]
test eax, eax
js 0x46290e
push eax
call fcn.004a23de
add esp, 4
cmp byte [ebp - 0x12f], 0
je 0x462934
push 0xffffffffffffffff
push dword [ebp - 0x144]
call esi
mov eax, dword [ebp - 0x154]
test eax, eax
js 0x462934
push eax
call fcn.004a23de
add esp, 4
test edi, edi
je 0x46296b
push 0xffffffffffffffff
push dword [ebp - 0x1f0]
call esi
lea eax, [ebp - 0x124]
push eax
push dword [ebp - 0x1f0]
call dword [sym.imp.KERNEL32.DLL_GetExitCodeProcess]
push dword [ebp - 0x1f0]
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
call esi
push dword [ebp - 0x1ec]
call esi
lea eax, [ebp - 0x1a0]
push eax
call dword [sym.imp.KERNEL32.DLL_QueryPerformanceFrequency]
test eax, eax
je 0x4629c1
lea eax, [ebp - 0x180]
push eax
call dword [sym.imp.KERNEL32.DLL_QueryPerformanceCounter]
mov edx, dword [ebp - 0x17c]
mov ecx, dword [ebp - 0x180]
call fcn.00489490
mov edx, dword [ebp - 0x19c]
mov ecx, dword [ebp - 0x1a0]
movsd qword [ebp - 0x180], xmm0
call fcn.00489490
movsd xmm1, qword [ebp - 0x180]
divsd xmm1, xmm0
jmp 0x4629e3
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
addsd xmm1, qword [eax*8 + 0xea1930]
divsd xmm1, qword [0xea16b0]
cmp dword [0xecedb4], 0
subsd xmm1, qword [ebp - 0xe4]
mov eax, dword [ebp - 0xe8]
addsd xmm1, qword [eax + 8]
movsd qword [eax + 8], xmm1
jne 0x462a16
cmp byte [ebp - 0x130], 0
je 0x462a16
cmp byte [ebp - 0x12f], 0
jne 0x462a29
push dword [ebp - 0x124]
push str._nErrorlevel_d_n
call fcn.00437320
add esp, 8
cmp dword [ebp - 0x12c], 0
jge 0x462a86
mov esi, dword [ebp - 0x12c]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1c4]
mov dword [ebp - fcn.004613b0], vtable.MYFILE.0
call fcn.004613b0
mov eax, dword [ebp - 0x1b8]
cmp eax, dword [ebp - 0x1b4]
je 0x462a68
push eax
call fcn.0048e011
add esp, 4
push dword [ebp - 0x1ac]
call fcn.0048e011
push dword [ebp - 0x1b4]
call fcn.0048e011
add esp, 8
jmp 0x462c52
cmp byte [ebp - 0x12f], 0
je 0x462ae7
mov esi, dword [ebp - 0x124]
neg esi
sbb esi, esi
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1c4]
mov dword [ebp - fcn.004613b0], vtable.MYFILE.0
call fcn.004613b0
mov eax, dword [ebp - 0x1b8]
cmp eax, dword [ebp - 0x1b4]
je 0x462ac9
push eax
call fcn.0048e011
add esp, 4
push dword [ebp - 0x1ac]
call fcn.0048e011
push dword [ebp - 0x1b4]
call fcn.0048e011
add esp, 8
jmp 0x462c52
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1c4]
mov dword [ebp - fcn.004613b0], vtable.MYFILE.0
call fcn.004613b0
mov eax, dword [ebp - 0x1b8]
cmp eax, dword [ebp - 0x1b4]
je 0x462b17
push eax
call fcn.0048e011
add esp, 4
push dword [ebp - 0x1ac]
call fcn.0048e011
push dword [ebp - 0x1b4]
call fcn.0048e011
add esp, 8
mov byte [ebp - 4], 3
cmp dword [ebp - 0x124], 0
je 0x462b59
mov ecx, dword [ebp - 0xfc]
jmp 0x462b92
push dword [ebp - 0xf8]
push dword [ebp - 0x114]
call fcn.0049b786
add esp, 8
push 0
lea eax, [ebp - 0xe8]
push eax
push 0x180
push 0x40
push 0x8000
push dword [ebp - 0xf8]
call fcn.0049bf01
mov ecx, dword [ebp - 0xe8]
add esp, 0x18
test eax, eax
mov eax, 0xffffffff
cmovne ecx, eax
mov dword [ebp - 0xfc], ecx
test ecx, ecx
js 0x462c3f
push dword [ebp - 0x114]
call fcn.0049b4b3
push dword [ebp - 0xfc]
call fcn.0049c37c
add esp, 8
mov dword [ebp - 0x1a8], eax
mov dword [ebp - 0x1a4], edx
push dword [ebp - 0x1fc]
push dword [ebp - 0xfc]
call fcn.0049c37c
add esp, 4
push eax
lea eax, [ebp - 0x1a8]
push eax
push str.quasiwrite
call dword [ebp - 0x200]
mov ecx, 0x40000
call fcn.0045c5b0
mov edi, eax
push 0x40000
push edi
push dword [ebp - 0xfc]
call fcn.004a2cc3
mov esi, eax
add esp, 0x1c
test esi, esi
jle 0x462c58
nop dword [eax]
push dword [ebp - 0x1fc]
push esi
push edi
push str.write
call dword [ebp - 0x200]
push 0x40000
push edi
push dword [ebp - 0xfc]
call fcn.004a2cc3
mov esi, eax
add esp, 0x1c
test esi, esi
jg 0x462c10
jmp 0x462c58
push dword [ebp - 0xf8]
call fcn.0049b4b3
add esp, 4
mov esi, 0xfffffffe
mov edi, dword [ebp - 0x204]
test edi, edi
je 0x462c65
push edi
call fcn.0048e011
add esp, 4
push 1
push dword [ebp - 0x20c]
call fcn.00488945
mov byte [ebp - 4], 2
add esp, 8
mov eax, dword [ebp - 0x144]
test eax, eax
je 0x462c98
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
test eax, eax
jne 0x462c98
mov edi, dword [sym.imp.KERNEL32.DLL_GetLastError]
call edi
jmp 0x462ca8
mov edi, dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [ebp - 0x144], 0
mov eax, dword [ebp - 0x148]
test eax, eax
je 0x462cc1
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
test eax, eax
jne 0x462cc1
call edi
jmp 0x462ccb
mov dword [ebp - 0x148], 0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x104]
mov dword [ebp - fcn.004613b0], vtable.MYFILE.0
call fcn.004613b0
mov eax, dword [ebp - 0xf8]
cmp eax, dword [ebp - 0xf4]
je 0x462cfb
push eax
call fcn.0048e011
add esp, 4
push dword [ebp - 0xec]
call fcn.0048e011
push dword [ebp - 0xf4]
call fcn.0048e011
add esp, 8
mov byte [ebp - 4], 9
mov eax, vtable.MYFILE.0
cmp dword [ebp - 0x118], 0
mov dword [ebp - 0x120], eax
jl 0x462d3d
lea ecx, [ebp - 0x120]
call fcn.0045c630
mov eax, dword [ebp - 0x120]
cmp byte [ebp - 0x11c], 0
je 0x462d61
lea ecx, [ebp - 0x120]
call dword [eax + 0x10]
lea ecx, [ebp - 0x120]
call fcn.0045cf70
mov byte [ebp - 0x11c], 0
mov eax, dword [ebp - 0x114]
cmp eax, dword [ebp - 0x110]
je 0x462d78
push eax
call fcn.0048e011
add esp, 4
push dword [ebp - 0x108]
call fcn.0048e011
push dword [ebp - 0x110]
call fcn.0048e011
add esp, 8
mov dword [ebp - 4], 0xa
lea ecx, [ebp - 0x1e0]
mov dword [ebp - fcn.004613b0], vtable.MYDIR.0
call fcn.004613b0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x1e0]
mov dword [ebp - fcn.004613b0], vtable.MYFILE.0
call fcn.004613b0
mov eax, dword [ebp - 0x1d4]
cmp eax, dword [ebp - 0x1d0]
je 0x462ddd
push eax
call fcn.0048e011
add esp, 4
push dword [ebp - 0x1c8]
call fcn.0048e011
push dword [ebp - 0x1d0]
call fcn.0048e011
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004888df
mov esp, ebp
pop ebp
ret 0xc