Function at 0x10003570
Capabilities:
Create directory
Create thread
Delete directory
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10041407
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xbc
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
push 1
mov dword [ebp - 0xa4], ecx
mov dword [ebp - 4], 0
call fcn.100240ca
add esp, 4
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0xa8], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
add eax, 4
push eax
call fcn.10003110
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0xf
mov esi, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x1c]
cmova ecx, esi
push 2
push 0x1004d08c
mov edx, edi
seta byte [ebp - 0x11]
call fcn.1000a6c0
add esp, 8
test al, al
je 0x1000366d
push 4
call fcn.100240ca
add esp, 4
mov dword [ebp + 8], eax
mov dword [eax], 0x1001a9f0
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 3
push ecx
push 0
push eax
push 0x1000a750
push 0
push 0
call fcn.1002af93
add esp, 0x18
mov dword [ebp - 0x7c], eax
test eax, eax
je 0x100047b0
mov byte [ebp - 4], 4
cmp dword [ebp - 0x78], 0
je 0x1000479b
call sub.KERNEL32.dll_GetCurrentThreadId
mov ecx, dword [ebp - 0x78]
cmp ecx, eax
je 0x100047a2
push 0
push ecx
push dword [ebp - 0x7c]
call fcn.10022987
add esp, 0xc
test eax, eax
jne 0x100047a9
jmp 0x100045e7
mov al, byte [ebp - 0x11]
lea ecx, [ebp - 0x2c]
test al, al
cmovne ecx, esi
cmp edi, 2
jne 0x100036f0
mov esi, edi
mov edx, 0x1004d090
sub esi, 4
jb 0x100036a1
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x100036a6
add ecx, 4
add edx, 4
sub esi, 4
jae 0x10003690
cmp esi, 0xfffffffc
je 0x100036da
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x100036d3
cmp esi, 0xfffffffd
je 0x100036da
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x100036d3
cmp esi, 0xfffffffe
je 0x100036da
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x100036d3
cmp esi, 0xffffffff
je 0x100036da
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x100036da
sbb eax, eax
or eax, 1
jmp 0x100036dc
xor eax, eax
test eax, eax
jne 0x100036ea
call fcn.10005990
jmp 0x100045e7
mov esi, dword [ebp - 0x2c]
mov al, byte [ebp - 0x11]
test al, al
lea ecx, [ebp - 0x2c]
cmovne ecx, esi
cmp edi, 2
jne 0x1000377c
mov esi, edi
mov edx, 0x1004d094
sub esi, 4
jb 0x10003721
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10003726
add ecx, 4
add edx, 4
sub esi, 4
jae 0x10003710
cmp esi, 0xfffffffc
je 0x1000375a
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x10003753
cmp esi, 0xfffffffd
je 0x1000375a
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x10003753
cmp esi, 0xfffffffe
je 0x1000375a
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x10003753
cmp esi, 0xffffffff
je 0x1000375a
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x1000375a
sbb eax, eax
or eax, 1
jmp 0x1000375c
xor eax, eax
test eax, eax
jne 0x10003776
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
add eax, 0xac
push eax
call fcn.10005d40
jmp 0x100045e7
mov esi, dword [ebp - 0x2c]
mov al, byte [ebp - 0x11]
test al, al
lea ecx, [ebp - 0x2c]
cmovne ecx, esi
cmp edi, 3
jne 0x10003cdd
mov esi, edi
mov edx, 0x1004d098
sub esi, 4
jb 0x100037b1
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x100037b6
add ecx, 4
add edx, 4
sub esi, 4
jae 0x100037a0
cmp esi, 0xfffffffc
je 0x100037ea
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x100037e3
cmp esi, 0xfffffffd
je 0x100037ea
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x100037e3
cmp esi, 0xfffffffe
je 0x100037ea
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x100037e3
cmp esi, 0xffffffff
je 0x100037ea
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x100037ea
sbb eax, eax
or eax, 1
jmp 0x100037ec
xor eax, eax
test eax, eax
jne 0x10003cd7
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xa0]
mov esi, dword [ebp + 8]
mov eax, dword [esi + 4]
add eax, 0x1c
push eax
call fcn.10003110
mov byte [ebp - 4], 6
lea eax, [ebp - 0xa0]
cmp dword [ebp - 0x8c], 0xf
push 0x1004d5dc
cmova eax, dword [ebp - 0xa0]
push eax
call fcn.1002bd36
add esp, 8
test eax, eax
je 0x1000398b
push eax
call fcn.1002c1d5
add esp, 4
lea eax, [ebp - 0xa0]
cmp dword [ebp - 0x8c], 0xf
cmova eax, dword [ebp - 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x1000396c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
lea esi, [ebp - 0x5f]
mov dword [ebp - 0x84], ecx
mov eax, 0xcccccccd
dec esi
mul ecx
shr edx, 3
mov al, dl
mov cl, dl
shl al, 2
add cl, al
mov eax, dword [ebp - 0x84]
add cl, cl
sub al, cl
mov ecx, edx
add al, 0x30
mov byte [esi], al
mov eax, edx
mov dword [ebp - 0x84], eax
test eax, eax
jne 0x10003878
push ecx
lea eax, [ebp - 0x5f]
push eax
push esi
lea ecx, [ebp - 0x5c]
call fcn.10001620
push 0xe
push str.Invalid_File_:
push ecx
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 7
call fcn.10002060
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x44], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x34], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 8
push eax
call fcn.100078a0
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x30]
cmp ecx, 0xf
jbe 0x10003931
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10003927
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100047be
push ecx
push edx
call fcn.100240fa
add esp, 8
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x48]
cmp ecx, 0xf
jbe 0x10003969
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000395f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100047be
push ecx
push edx
call fcn.100240fa
add esp, 8
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x88], 0x1f4
mov dword [ebp - 0x84], 0
call fcn.10009a40
mov eax, dword [esi + 4]
add eax, 0xdc
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.1000f560
test al, al
jne 0x10003a95
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
lea esi, [ebp - 0x5f]
mov dword [ebp + 8], ecx
mov eax, 0xcccccccd
dec esi
mul ecx
shr edx, 3
mov al, dl
mov cl, dl
shl al, 2
add cl, al
mov eax, dword [ebp + 8]
add cl, cl
sub al, cl
mov ecx, edx
add al, 0x30
mov byte [esi], al
mov eax, edx
mov dword [ebp + 8], eax
test eax, eax
jne 0x100039b6
push ecx
lea eax, [ebp - 0x5f]
push eax
push esi
lea ecx, [ebp - 0x5c]
call fcn.10001620
push 0xa
push str.Err_Code_:
push ecx
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 9
call fcn.10002060
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x44], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x34], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 0xa
push eax
call fcn.100078a0
mov ecx, dword [ebp - 0x30]
cmp ecx, 0xf
jbe 0x10003a65
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10003a5b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100047c3
push ecx
push edx
call fcn.100240fa
add esp, 8
mov ecx, dword [ebp - 0x48]
cmp ecx, 0xf
jbe 0x10003b06
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10003afc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100047c3
jmp 0x10003afc
mov ax, word [0x1004d0c0]
xorps xmm0, xmm0
movups xmmword [ebp - 0x74], xmm0
mov dword [ebp - 0x64], 0xa
movq xmm0, qword [str.Success_UP]
mov dword [ebp - 0x60], 0xf
movq qword [ebp - 0x74], xmm0
mov word [ebp - 0x6c], ax
mov byte [ebp - 0x6a], 0
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 0xb
push eax
call fcn.100078a0
mov ecx, dword [ebp - 0x60]
cmp ecx, 0xf
jbe 0x10003b06
mov edx, dword [ebp - 0x74]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10003afc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100047c8
push ecx
push edx
call fcn.100240fa
add esp, 8
mov ecx, dword [ebp - 0x8c]
cmp ecx, 0xf
jbe 0x100045e7
mov edx, dword [ebp - 0xa0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100045dd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100047c8
jmp 0x100045dd
call fcn.100240fa
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0xa4]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
mov esi, dword [ebp - 0x2c]
mov al, byte [ebp - 0x11]
test al, al
lea ecx, [ebp - 0x2c]
cmovne ecx, esi
cmp edi, 3
jne 0x10003d60
mov esi, edi
mov edx, 0x1004d0d0
sub esi, 4
jb 0x10003d07
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10003d0c
add ecx, 4
add edx, 4
sub esi, 4
jae 0x10003cf6
cmp esi, 0xfffffffc
je 0x10003d40
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x10003d39
cmp esi, 0xfffffffd
je 0x10003d40
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x10003d39
cmp esi, 0xfffffffe
je 0x10003d40
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x10003d39
cmp esi, 0xffffffff
je 0x10003d40
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x10003d40
sbb eax, eax
or eax, 1
jmp 0x10003d42
xor eax, eax
test eax, eax
jne 0x10003d5a
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
add eax, 0x64
push eax
call fcn.10007650
jmp 0x100045e7
mov esi, dword [ebp - 0x2c]
mov al, byte [ebp - 0x11]
test al, al
lea ecx, [ebp - 0x2c]
cmovne ecx, esi
cmp edi, 3
jne 0x10003dee
mov esi, edi
mov edx, 0x1004d0d4
sub esi, 4
jb 0x10003d91
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10003d96
add ecx, 4
add edx, 4
sub esi, 4
jae 0x10003d80
cmp esi, 0xfffffffc
je 0x10003dca
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x10003dc3
cmp esi, 0xfffffffd
je 0x10003dca
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x10003dc3
cmp esi, 0xfffffffe
je 0x10003dca
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x10003dc3
cmp esi, 0xffffffff
je 0x10003dca
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x10003dca
sbb eax, eax
or eax, 1
jmp 0x10003dcc
xor eax, eax
test eax, eax
jne 0x10003de8
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
lea eax, [ecx + 0x64]
push eax
lea eax, [ecx + 0x34]
push eax
call fcn.10006ec0
jmp 0x100045e7
mov esi, dword [ebp - 0x2c]
mov al, byte [ebp - 0x11]
test al, al
lea ecx, [ebp - 0x2c]
cmovne ecx, esi
cmp edi, 3
jne 0x10003f7e
mov esi, edi
mov edx, 0x1004d0d8
sub esi, 4
jb 0x10003e21
nop dword [eax + eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10003e26
add ecx, 4
add edx, 4
sub esi, 4
jae 0x10003e10
cmp esi, 0xfffffffc
je 0x10003e5a
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x10003e53
cmp esi, 0xfffffffd
je 0x10003e5a
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x10003e53
cmp esi, 0xfffffffe
je 0x10003e5a
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x10003e53
cmp esi, 0xffffffff
je 0x10003e5a
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x10003e5a
sbb eax, eax
or eax, 1
jmp 0x10003e5c
xor eax, eax
test eax, eax
jne 0x10003f78
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
add eax, 0x34
cmp dword [eax + 0x14], 0xf
jbe 0x10003e75
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x100045e7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
lea esi, [ebp - 0x5f]
mov dword [ebp + 8], ecx
mov eax, 0xcccccccd
dec esi
mul ecx
shr edx, 3
mov al, dl
mov cl, dl
shl al, 2
add cl, al
mov eax, dword [ebp + 8]
add cl, cl
sub al, cl
mov ecx, edx
add al, 0x30
mov byte [esi], al
mov eax, edx
mov dword [ebp + 8], eax
test eax, eax
jne 0x10003e92
push ecx
lea eax, [ebp - 0x5f]
push eax
push esi
lea ecx, [ebp - 0x5c]
call fcn.10001620
push 0xe
push str.Invalid_File_:
push ecx
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x11
call fcn.10002060
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x44], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x34], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 0x12
push eax
call fcn.100078a0
mov ecx, dword [ebp - 0x30]
cmp ecx, 0xf
jbe 0x10003f41
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10003f37
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100047cd
push ecx
push edx
call fcn.100240fa
add esp, 8
mov ecx, dword [ebp - 0x48]
cmp ecx, 0xf
jbe 0x100045e7
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100045dd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100047cd
jmp 0x100045dd
mov esi, dword [ebp - 0x2c]
mov al, byte [ebp - 0x11]
test al, al
lea ecx, [ebp - 0x2c]
cmovne ecx, esi
cmp edi, 2
jne 0x100040d8
mov esi, edi
mov edx, 0x1004d0dc
sub esi, 4
jb 0x10003fb1
nop dword [eax + eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10003fb6
add ecx, 4
add edx, 4
sub esi, 4
jae 0x10003fa0
cmp esi, 0xfffffffc
je 0x10003fea
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x10003fe3
cmp esi, 0xfffffffd
je 0x10003fea
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x10003fe3
cmp esi, 0xfffffffe
je 0x10003fea
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x10003fe3
cmp esi, 0xffffffff
je 0x10003fea
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x10003fea
sbb eax, eax
or eax, 1
jmp 0x10003fec
xor eax, eax
test eax, eax
jne 0x100040d2
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
add eax, 0x34
push eax
call fcn.1000e0e0
test al, al
jne 0x100045e7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
lea esi, [ebp - 0x5f]
mov dword [ebp + 8], ecx
nop dword [eax]
mov eax, 0xcccccccd
dec esi
mul ecx
shr edx, 3
mov al, dl
mov cl, dl
shl al, 2
add cl, al
mov eax, dword [ebp + 8]
add cl, cl
sub al, cl
mov ecx, edx
add al, 0x30
mov byte [esi], al
mov eax, edx
mov dword [ebp + 8], eax
test eax, eax
jne 0x10004020
push ecx
lea eax, [ebp - 0x5f]
push eax
push esi
lea ecx, [ebp - 0x5c]
call fcn.10001620
push 0xe
push str.Execute_File_:
push ecx
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x13
call fcn.10002060
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x44], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x34], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 0x14
lea eax, [ebp - 0x44]
push eax
call fcn.100078a0
mov ecx, dword [ebp - 0x30]
cmp ecx, 0xf
jbe 0x10003f41
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10003f37
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100047cd
jmp 0x10003f37
mov esi, dword [ebp - 0x2c]
mov al, byte [ebp - 0x11]
test al, al
lea ecx, [ebp - 0x2c]
cmovne ecx, esi
cmp edi, 3
jne 0x100041fd
mov esi, edi
mov edx, 0x1004d0f0
sub esi, 4
jb 0x10004106
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1000410b
add ecx, 4
add edx, 4
sub esi, 4
jae 0x100040f5
cmp esi, 0xfffffffc
je 0x1000413f
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x10004138
cmp esi, 0xfffffffd
je 0x1000413f
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x10004138
cmp esi, 0xfffffffe
je 0x1000413f
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x10004138
cmp esi, 0xffffffff
je 0x1000413f
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x1000413f
sbb eax, eax
or eax, 1
jmp 0x10004141
xor eax, eax
test eax, eax
jne 0x100041f7
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
add eax, 0x7c
cmp dword [eax + 0x14], 0xf
jbe 0x1000415a
mov eax, dword [eax]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x100045e7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
lea esi, [ebp - 0x5f]
mov dword [ebp + 8], ecx
nop dword [eax]
mov eax, 0xcccccccd
dec esi
mul ecx
shr edx, 3
mov al, dl
mov cl, dl
shl al, 2
add cl, al
mov eax, dword [ebp + 8]
add cl, cl
sub al, cl
mov ecx, edx
add al, 0x30
mov byte [esi], al
mov eax, edx
mov dword [ebp + 8], eax
test eax, eax
jne 0x10004180
push ecx
lea eax, [ebp - 0x5f]
push eax
push esi
lea ecx, [ebp - 0x5c]
call fcn.10001620
push 0xd
push str.Invalid_Dir_:
push ecx
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x15
call fcn.10002060
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x44], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x34], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 0x16
jmp 0x10004092
mov esi, dword [ebp - 0x2c]
mov al, byte [ebp - 0x11]
test al, al
lea ecx, [ebp - 0x2c]
cmovne ecx, esi
cmp edi, 3
jne 0x1000431f
mov esi, edi
mov edx, 0x1004d104
sub esi, 4
jb 0x10004231
nop word [eax + eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10004236
add ecx, 4
add edx, 4
sub esi, 4
jae 0x10004220
cmp esi, 0xfffffffc
je 0x1000426a
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x10004263
cmp esi, 0xfffffffd
je 0x1000426a
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x10004263
cmp esi, 0xfffffffe
je 0x1000426a
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x10004263
cmp esi, 0xffffffff
je 0x1000426a
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x1000426a
sbb eax, eax
or eax, 1
jmp 0x1000426c
xor eax, eax
test eax, eax
jne 0x10004319
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
add eax, 0x7c
cmp dword [eax + 0x14], 0xf
jbe 0x10004285
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x100045e7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
lea esi, [ebp - 0x5f]
mov dword [ebp + 8], ecx
mov eax, 0xcccccccd
dec esi
mul ecx
shr edx, 3
mov al, dl
mov cl, dl
shl al, 2
add cl, al
mov eax, dword [ebp + 8]
add cl, cl
sub al, cl
mov ecx, edx
add al, 0x30
mov byte [esi], al
mov eax, edx
mov dword [ebp + 8], eax
test eax, eax
jne 0x100042a2
push ecx
lea eax, [ebp - 0x5f]
push eax
push esi
lea ecx, [ebp - 0x5c]
call fcn.10001620
push 0xb
push str.Invalid_Dir
push ecx
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x17
call fcn.10002060
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x44], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x34], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 0x18
jmp 0x10004092
mov esi, dword [ebp - 0x2c]
mov al, byte [ebp - 0x11]
test al, al
lea ecx, [ebp - 0x2c]
cmovne ecx, esi
cmp edi, 3
jne 0x10004451
mov esi, edi
mov edx, 0x1004d114
sub esi, 4
jb 0x10004351
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10004356
add ecx, 4
add edx, 4
sub esi, 4
jae 0x10004340
cmp esi, 0xfffffffc
je 0x1000438a
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x10004383
cmp esi, 0xfffffffd
je 0x1000438a
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x10004383
cmp esi, 0xfffffffe
je 0x1000438a
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x10004383
cmp esi, 0xffffffff
je 0x1000438a
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x1000438a
sbb eax, eax
or eax, 1
jmp 0x1000438c
xor eax, eax
test eax, eax
jne 0x1000444b
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
cmp dword [eax + 0xa8], 0xf
lea ecx, [eax + 0x94]
jbe 0x100043ab
mov ecx, dword [ecx]
add eax, 0x34
cmp dword [eax + 0x14], 0xf
jbe 0x100043b6
mov eax, dword [eax]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x100045e7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
lea esi, [ebp - 0x5f]
mov dword [ebp + 8], ecx
mov eax, 0xcccccccd
dec esi
mul ecx
shr edx, 3
mov al, dl
mov cl, dl
shl al, 2
add cl, al
mov eax, dword [ebp + 8]
add cl, cl
sub al, cl
mov ecx, edx
add al, 0x30
mov byte [esi], al
mov eax, edx
mov dword [ebp + 8], eax
test eax, eax
jne 0x100043d4
push ecx
lea eax, [ebp - 0x5f]
push eax
push esi
lea ecx, [ebp - 0x5c]
call fcn.10001620
push 0xc
push str.Invalid_File
push ecx
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x19
call fcn.10002060
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x44], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x34], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 0x1a
jmp 0x10004092
mov esi, dword [ebp - 0x2c]
mov al, byte [ebp - 0x11]
test al, al
lea ecx, [ebp - 0x2c]
cmovne ecx, esi
cmp edi, 3
jne 0x100045ea
mov edx, 0x1004d128
sub edi, 4
jb 0x10004481
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10004486
add ecx, 4
add edx, 4
sub edi, 4
jae 0x10004470
cmp edi, 0xfffffffc
je 0x100044ba
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x100044b3
cmp edi, 0xfffffffd
je 0x100044ba
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x100044b3
cmp edi, 0xfffffffe
je 0x100044ba
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x100044b3
cmp edi, 0xffffffff
je 0x100044ba
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x100044ba
sbb eax, eax
or eax, 1
jmp 0x100044bc
xor eax, eax
test eax, eax
jne 0x100045ea
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
cmp dword [eax + 0xa8], 0xf
lea ecx, [eax + 0x94]
jbe 0x100044db
mov ecx, dword [ecx]
add eax, 0x34
cmp dword [eax + 0x14], 0xf
jbe 0x100044e6
mov eax, dword [eax]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x100045e7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
lea esi, [ebp - 0x5f]
mov dword [ebp + 8], ecx
mov eax, 0xcccccccd
dec esi
mul ecx
shr edx, 3
mov al, dl
mov cl, dl
shl al, 2
add cl, al
mov eax, dword [ebp + 8]
add cl, cl
sub al, cl
mov ecx, edx
add al, 0x30
mov byte [esi], al
mov eax, edx
mov dword [ebp + 8], eax
test eax, eax
jne 0x10004504
push ecx
lea eax, [ebp - 0x5f]
push eax
push esi
lea ecx, [ebp - 0x5c]
call fcn.10001620
push 0xb
push str.Invalid_Dir
push ecx
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x1b
call fcn.10002060
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x44], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x34], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 0x1c
push eax
call fcn.100078a0
mov ecx, dword [ebp - 0x30]
cmp ecx, 0xf
jbe 0x100045b3
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100045a9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100047cd
push ecx
push edx
call fcn.100240fa
add esp, 8
mov ecx, dword [ebp - 0x48]
cmp ecx, 0xf
jbe 0x100045e7
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100045dd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100047cd
push ecx
push edx
call fcn.100240fa
add esp, 8
mov esi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x18]
cmp eax, 0xf
jbe 0x1000461d
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x10004613
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100047cd
push ecx
push esi
call fcn.100240fa
add esp, 8
push 1
push dword [ebp - 0x80]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
jmp 0x10003cb6
push 1
call fcn.100221cb
push 5
call fcn.100221cb
push 2
call fcn.100221cb
push 6
mov dword [ebp - 0x78], 0
call fcn.100221cb
call fcn.1002ade6
call fcn.1002ade6
call fcn.1002ade6
call fcn.1002ade6
int3