Function at 0x462150
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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b4531
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0xec8980]
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.004617d0], vtable.MYFILE.0
call fcn.00461760
mov dword [ebp - fcn.004617d0], vtable.MYDIR.0
mov dword [ebp - 4], 0
mov ecx, dword [0xf0526c]
mov edi, dword [ebp - 0x1d0]
test ecx, ecx
jne 0x462223
mov ecx, 0x40000
call fcn.0045c9a0
push eax
push 0x10000
mov dword [0xf0526c], eax
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, dword [0xf0526c]
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4621f1
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.0048e65c
mov ecx, dword [0xf0526c]
add esp, 8
mov edx, edi
call fcn.0045d1c0
push dword [ebp - 0x1d0]
lea ecx, [ebp - 0x1e0]
call fcn.004616e0
lea eax, [ebp - 0xe4]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x462291
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.00489980
mov edx, dword [ebp - 0xe0]
mov ecx, dword [ebp - 0xe4]
movsd qword [ebp - 0x178], xmm0
call fcn.00489980
movsd xmm1, qword [ebp - 0x178]
divsd xmm1, xmm0
jmp 0x4622b3
call dword [sym.imp.KERNEL32.dll_GetTickCount]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
addsd xmm1, qword [eax*8 + 0xea1a10]
divsd xmm1, qword [0xea1790]
movaps xmm0, xmm1
movsd qword [ebp - 0x178], xmm1
mulsd xmm0, qword [0xea17d8]
call fcn.00489880
movsd xmm0, qword [ebp - 0x178]
mov esi, eax
call fcn.00489880
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 0x462307
mov edx, dword [ebp - 0x1d4]
mov ecx, dword [ebp - 0x1d0]
call fcn.0045d0f0
push dword [ebp - 0x1c8]
push dword [ebp - 0x1d4]
call dword [sym.imp.USER32.dll_CharToOemW]
mov ecx, dword [ebp - 0x1d4]
call fcn.0045d2f0
push dword [ebp - 0x1d4]
call fcn.00499c37
add esp, 4
test eax, eax
je 0x462368
inc edi
cmp edi, 0x3e8
jb 0x4622e0
mov esi, 0xfffffff5
jmp 0x4631d1
lea ecx, [ebp - 0x1e0]
call fcn.00461670
mov esi, dword [ebp - 0xe8]
mov ecx, 0x40000
mov dword [ebp - fcn.004617d0], vtable.MYFILE.0
mov dword [ebp - 0x118], 0xffffffff
mov byte [ebp - 0x11c], 0
mov esi, dword [esi + 0x24]
call fcn.0045c9a0
mov ecx, 0x10000
mov dword [ebp - 0x114], eax
call fcn.0045c9a0
mov ecx, 0x40000
mov dword [ebp - 0x108], eax
call fcn.0045c9a0
mov dword [ebp - 0x110], eax
mov edx, 0xe9afc0
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 0x4623d2
mov edx, dword [ebp - 0x114]
mov ecx, dword [ebp - 0x110]
call fcn.0045d0f0
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.004616e0
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 0x462420
mov edx, dword [ebp - 0x114]
mov ecx, dword [ebp - 0x110]
call fcn.0045d0f0
push dword [ebp - 0x108]
push dword [ebp - 0x114]
call edi
lea ecx, [ebp - 0x120]
call fcn.00461670
mov eax, dword [ebp - 0xe8]
mov ecx, 0x40000
mov dword [ebp - fcn.004617d0], vtable.MYFILE.0
mov dword [ebp - 0xfc], 0xffffffff
mov byte [ebp - 0x100], 0
mov esi, dword [eax + 0x20]
call fcn.0045c9a0
mov ecx, 0x10000
mov dword [ebp - 0xf8], eax
call fcn.0045c9a0
mov ecx, 0x40000
mov dword [ebp - 0xec], eax
call fcn.0045c9a0
mov dword [ebp - 0xf4], eax
mov edx, 0xe9afc0
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 0x4624b7
mov edx, dword [ebp - 0xf8]
mov ecx, dword [ebp - 0xf4]
call fcn.0045d0f0
push dword [ebp - 0xec]
push dword [ebp - 0xf8]
call edi
push dword [ebp - 0x1d0]
lea ecx, [ebp - 0x104]
call fcn.004616e0
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 0x462500
mov edx, dword [ebp - 0xf8]
mov ecx, dword [ebp - 0xf4]
call fcn.0045d0f0
push dword [ebp - 0xec]
push dword [ebp - 0xf8]
call edi
lea ecx, [ebp - 0x104]
call fcn.00461670
mov ecx, dword [ebp - 0xe8]
movaps xmm0, xmmword [0xea1900]
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.00461b50
push dword [ebp - 0x114]
mov dword [ebp - 0x20c], eax
xor eax, eax
mov dword [ebp - 0x204], eax
call fcn.0049babb
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 0x46264f
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 0x462649
test esi, esi
js 0x4630a5
mov esi, 0xfffffffa
jmp 0x4630a5
mov esi, dword [ebp - 0x200]
cmp byte [ebp - 0x130], 0
jne 0x4628a9
mov ecx, 0x40000
call fcn.0045c9a0
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 0x46286f
mov ecx, dword [ebp - 0x118]
test ecx, ecx
jns 0x4626fc
mov ecx, dword [ebp - 0x114]
call fcn.0045d2f0
push 0
lea eax, [ebp - 0x128]
push eax
push 0x180
push 0x40
push 0x8301
push dword [ebp - 0x114]
call fcn.0049c532
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 0x46289f
mov al, byte [ebp - 0xd9]
test al, al
je 0x46282f
cmp al, 1
je 0x46282f
lea ecx, [ebp - 0x1c4]
mov dword [ebp - fcn.004617d0], vtable.MYFILE.0
call fcn.00461760
mov edx, dword [ebp - 0x1b0]
mov ecx, str.data7777
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx], al
lea edx, [edx + 1]
test al, al
jne 0x462732
mov edx, dword [ebp - 0x1b8]
mov ecx, dword [ebp - 0x1b4]
call fcn.0045d0f0
push dword [ebp - 0x1ac]
push dword [ebp - 0x1b8]
call dword [sym.imp.USER32.dll_CharToOemW]
mov al, byte [ebp - 0x1c0]
mov byte [ebp - 0x100], al
mov eax, dword [ebp - 0x1bc]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0x1b8]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0x1b4]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0x1b0]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - 0xec], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c4]
mov dword [ebp - fcn.004617d0], vtable.MYFILE.0
call fcn.004617d0
mov eax, dword [ebp - 0x1b8]
cmp eax, dword [ebp - 0x1b4]
je 0x4627db
push eax
call fcn.0048e4e1
add esp, 4
push dword [ebp - 0x1ac]
call fcn.0048e4e1
push dword [ebp - 0x1b4]
call fcn.0048e4e1
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.004a4048
add esp, 0x14
cmp eax, 1
jne 0x46289f
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.004a4048
add esp, 0xc
cmp eax, esi
jne 0x46289f
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 0x4626a6
test edi, edi
je 0x462884
push edi
call fcn.0048e4e1
add esp, 4
xor eax, eax
mov dword [ebp - 0x204], eax
lea ecx, [ebp - 0x120]
call fcn.0045ca20
test esi, esi
jne 0x4630a5
mov edi, dword [sym.imp.USER32.dll_CharToOemW]
jmp 0x4628c1
mov esi, 0xfffffff5
jmp 0x463098
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.0049babb
mov esi, dword [ebp - 0x20c]
add esp, 4
cmp byte [esi], 0
je 0x462f85
cmp byte [ebp - 0xd9], 0
je 0x462f85
lea ecx, [ebp - 0x1c4]
mov dword [ebp - fcn.004617d0], vtable.MYFILE.0
call fcn.00461760
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 0x462908
mov edx, dword [ebp - 0x1b8]
mov ecx, dword [ebp - 0x1b4]
call fcn.0045d0f0
push dword [ebp - 0x1ac]
push dword [ebp - 0x1b8]
call edi
cmp dword [0xecedfc], 0
jne 0x462954
cmp byte [ebp - 0x130], 0
je 0x462954
cmp byte [ebp - 0x12f], 0
jne 0x462a67
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 0x462989
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 - 0x218], edx
mov eax, dword [ebp - 0x1f4]
mul ecx
mov ecx, eax
mov dword [ebp - 0x210], edx
mov eax, dword [ebp - 0x1f4]
mov edx, 0xcccccccc
mul edx
add ecx, esi
mov dword [ebp - 0x1f4], edx
mov edx, dword [ebp - 0x210]
mov esi, dword [ebp - 0x1f4]
adc edx, 0
add edi, ecx
mov dword [ebp - 0x208], eax
mov ecx, dword [ebp - 0x218]
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 0x462970
push dword [ebp - 0x20c]
push ecx
push str.Unpacking
push str._n_s__s_bytes_with__s_n
call fcn.00437440
add esp, 0x10
push 0xef5c7c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [ebp - 0x130], 0
je 0x462a86
lea ecx, [ebp - 0x170]
call fcn.00461f20
mov eax, dword [ebp - 0x12f]
test al, al
je 0x462aa1
lea ecx, [ebp - 0x160]
call fcn.00461f20
mov eax, dword [ebp - 0x12f]
cmp dword [0xecedfc], 0
jne 0x462ad6
cmp byte [ebp - 0x130], 0
je 0x462ad6
test al, al
je 0x462ad6
push dword [ebp - 0x150]
call fcn.004a3876
push dword [ebp - 0x150]
mov dword [ebp - 0x14c], eax
call fcn.004a280a
add esp, 8
lea eax, [ebp - 0x198]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x462b34
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.00489980
mov edx, dword [ebp - 0x194]
mov ecx, dword [ebp - 0x198]
movsd qword [ebp - 0xe4], xmm0
call fcn.00489980
movsd xmm1, qword [ebp - 0xe4]
divsd xmm1, xmm0
movsd qword [ebp - 0xe4], xmm1
jmp 0x462b5e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0xea1a10]
divsd xmm0, qword [0xea1790]
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.0049a02b
push 1
mov dword [ebp - 0x1c], eax
call fcn.0049a02b
push 2
mov dword [ebp - 0x18], eax
call fcn.0049a02b
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 0x462c2b
cmp dword [ebp - 0x164], 0
jl 0x462c2b
push dword [ebp - 0x16c]
push dword [ebp - 0x168]
call fcn.004a2bfe
push dword [ebp - 0x168]
call fcn.004a280a
add esp, 0xc
mov eax, dword [ebp - 0x12f]
test al, al
je 0x462c63
cmp dword [ebp - 0x154], 0
jl 0x462c63
push dword [ebp - 0x15c]
push dword [ebp - 0x158]
call fcn.004a2bfe
push dword [ebp - 0x158]
call fcn.004a280a
mov eax, dword [ebp - 0x12f]
add esp, 0xc
cmp dword [0xecedfc], 0
jne 0x462c9d
cmp byte [ebp - 0x130], 0
je 0x462c9d
test al, al
je 0x462c9d
mov eax, dword [ebp - 0x14c]
test eax, eax
js 0x462c9d
push dword [ebp - 0x150]
push eax
call fcn.004a2bfe
push dword [ebp - 0x14c]
call fcn.004a280a
add esp, 0xc
push 0xef5c7c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp byte [ebp - 0x130], 0
je 0x462ce6
lea eax, [ebp - 0x184]
push eax
push 0
lea eax, [ebp - 0x170]
push eax
push 0x461fd0
push 0
push 0
call fcn.0049d37f
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
add esp, 0x18
mov dword [ebp - 0x148], eax
test eax, eax
jne 0x462cec
call esi
jmp 0x462cec
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [ebp - 0x12f], 0
je 0x462d22
lea eax, [ebp - 0x174]
push eax
push 0
lea eax, [ebp - 0x170]
push eax
push 0x462070
push 0
push 0
call fcn.0049d37f
add esp, 0x18
mov dword [ebp - 0x144], eax
test eax, eax
jne 0x462d22
call esi
cmp byte [ebp - 0x130], 0
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
je 0x462d4e
push 0xffffffffffffffff
push dword [ebp - 0x148]
call esi
mov eax, dword [ebp - 0x164]
test eax, eax
js 0x462d4e
push eax
call fcn.004a280a
add esp, 4
cmp byte [ebp - 0x12f], 0
je 0x462d74
push 0xffffffffffffffff
push dword [ebp - 0x144]
call esi
mov eax, dword [ebp - 0x154]
test eax, eax
js 0x462d74
push eax
call fcn.004a280a
add esp, 4
test edi, edi
je 0x462dab
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 0x462e01
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.00489980
mov edx, dword [ebp - 0x19c]
mov ecx, dword [ebp - 0x1a0]
movsd qword [ebp - 0x180], xmm0
call fcn.00489980
movsd xmm1, qword [ebp - 0x180]
divsd xmm1, xmm0
jmp 0x462e23
call dword [sym.imp.KERNEL32.dll_GetTickCount]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
addsd xmm1, qword [eax*8 + 0xea1a10]
divsd xmm1, qword [0xea1790]
cmp dword [0xecedfc], 0
subsd xmm1, qword [ebp - 0xe4]
mov eax, dword [ebp - 0xe8]
addsd xmm1, qword [eax + 8]
movsd qword [eax + 8], xmm1
jne 0x462e56
cmp byte [ebp - 0x130], 0
je 0x462e56
cmp byte [ebp - 0x12f], 0
jne 0x462e69
push dword [ebp - 0x124]
push str._nErrorlevel_d_n
call fcn.00437440
add esp, 8
cmp dword [ebp - 0x12c], 0
jge 0x462ec6
mov esi, dword [ebp - 0x12c]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1c4]
mov dword [ebp - fcn.004617d0], vtable.MYFILE.0
call fcn.004617d0
mov eax, dword [ebp - 0x1b8]
cmp eax, dword [ebp - 0x1b4]
je 0x462ea8
push eax
call fcn.0048e4e1
add esp, 4
push dword [ebp - 0x1ac]
call fcn.0048e4e1
push dword [ebp - 0x1b4]
call fcn.0048e4e1
add esp, 8
jmp 0x463092
cmp byte [ebp - 0x12f], 0
je 0x462f27
mov esi, dword [ebp - 0x124]
neg esi
sbb esi, esi
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1c4]
mov dword [ebp - fcn.004617d0], vtable.MYFILE.0
call fcn.004617d0
mov eax, dword [ebp - 0x1b8]
cmp eax, dword [ebp - 0x1b4]
je 0x462f09
push eax
call fcn.0048e4e1
add esp, 4
push dword [ebp - 0x1ac]
call fcn.0048e4e1
push dword [ebp - 0x1b4]
call fcn.0048e4e1
add esp, 8
jmp 0x463092
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1c4]
mov dword [ebp - fcn.004617d0], vtable.MYFILE.0
call fcn.004617d0
mov eax, dword [ebp - 0x1b8]
cmp eax, dword [ebp - 0x1b4]
je 0x462f57
push eax
call fcn.0048e4e1
add esp, 4
push dword [ebp - 0x1ac]
call fcn.0048e4e1
push dword [ebp - 0x1b4]
call fcn.0048e4e1
add esp, 8
mov byte [ebp - 4], 3
cmp dword [ebp - 0x124], 0
je 0x462f99
mov ecx, dword [ebp - 0xfc]
jmp 0x462fd2
push dword [ebp - 0xf8]
push dword [ebp - 0x114]
call fcn.0049bd95
add esp, 8
push 0
lea eax, [ebp - 0xe8]
push eax
push 0x180
push 0x40
push 0x8000
push dword [ebp - 0xf8]
call fcn.0049c532
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 0x46307f
push dword [ebp - 0x114]
call fcn.0049babb
push dword [ebp - 0xfc]
call fcn.0049c9a5
add esp, 8
mov dword [ebp - 0x1a8], eax
mov dword [ebp - 0x1a4], edx
push dword [ebp - 0x1fc]
push dword [ebp - 0xfc]
call fcn.0049c9a5
add esp, 4
push eax
lea eax, [ebp - 0x1a8]
push eax
push str.quasiwrite
call dword [ebp - 0x200]
mov ecx, 0x40000
call fcn.0045c9a0
mov edi, eax
push 0x40000
push edi
push dword [ebp - 0xfc]
call fcn.004a310e
mov esi, eax
add esp, 0x1c
test esi, esi
jle 0x463098
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.004a310e
mov esi, eax
add esp, 0x1c
test esi, esi
jg 0x463050
jmp 0x463098
push dword [ebp - 0xf8]
call fcn.0049babb
add esp, 4
mov esi, 0xfffffffe
mov edi, dword [ebp - 0x204]
test edi, edi
je 0x4630a5
push edi
call fcn.0048e4e1
add esp, 4
push 1
push dword [ebp - 0x20c]
call fcn.00488f6f
mov byte [ebp - 4], 2
add esp, 8
mov eax, dword [ebp - 0x144]
test eax, eax
je 0x4630d8
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x4630d8
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
jmp 0x4630e8
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x144], 0
mov eax, dword [ebp - 0x148]
test eax, eax
je 0x463101
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x463101
call edi
jmp 0x46310b
mov dword [ebp - 0x148], 0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x104]
mov dword [ebp - fcn.004617d0], vtable.MYFILE.0
call fcn.004617d0
mov eax, dword [ebp - 0xf8]
cmp eax, dword [ebp - 0xf4]
je 0x46313b
push eax
call fcn.0048e4e1
add esp, 4
push dword [ebp - 0xec]
call fcn.0048e4e1
push dword [ebp - 0xf4]
call fcn.0048e4e1
add esp, 8
mov byte [ebp - 4], 9
mov eax, vtable.MYFILE.0
cmp dword [ebp - 0x118], 0
mov dword [ebp - 0x120], eax
jl 0x46317d
lea ecx, [ebp - 0x120]
call fcn.0045ca20
mov eax, dword [ebp - 0x120]
cmp byte [ebp - 0x11c], 0
je 0x4631a1
lea ecx, [ebp - 0x120]
call dword [eax + 0x10]
lea ecx, [ebp - 0x120]
call fcn.0045d360
mov byte [ebp - 0x11c], 0
mov eax, dword [ebp - 0x114]
cmp eax, dword [ebp - 0x110]
je 0x4631b8
push eax
call fcn.0048e4e1
add esp, 4
push dword [ebp - 0x108]
call fcn.0048e4e1
push dword [ebp - 0x110]
call fcn.0048e4e1
add esp, 8
mov dword [ebp - 4], 0xa
lea ecx, [ebp - 0x1e0]
mov dword [ebp - fcn.004617d0], vtable.MYDIR.0
call fcn.004617d0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x1e0]
mov dword [ebp - fcn.004617d0], vtable.MYFILE.0
call fcn.004617d0
mov eax, dword [ebp - 0x1d4]
cmp eax, dword [ebp - 0x1d0]
je 0x46321d
push eax
call fcn.0048e4e1
add esp, 4
push dword [ebp - 0x1c8]
call fcn.0048e4e1
push dword [ebp - 0x1d0]
call fcn.0048e4e1
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.00488f09
mov esp, ebp
pop ebp
ret 0xc