Function at 0x10004950
Capabilities:
Create directory
Delete directory
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10191351
mov eax, dword fs:[0]
push eax
sub esp, 0x1c0
mov eax, dword [0x101fd000]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1ac], ecx
mov dword [ebp - 4], 0
push 1
mov byte [ebp - 4], 1
call fcn.1002adfd
mov esi, eax
add esp, 4
mov dword [ebp - 0x178], esi
mov dword [ebp - 0x16c], esi
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x160]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
add eax, 4
push eax
call fcn.1000de10
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x160]
cmp dword [ebp - 0x14c], 0xf
mov edi, dword [ebp - 0x150]
mov edx, edi
cmova ecx, dword [ebp - 0x160]
push 2
push 0x101da92c
call fcn.1000ca40
add esp, 8
test al, al
je 0x10004a54
lea eax, [ebp - 0x170]
mov dword [ebp - 0x170], 0x10023570
push eax
lea ecx, [ebp - 0x168]
call fcn.1000b920
mov byte [ebp - 4], 4
cmp dword [ebp - 0x164], 0
je 0x10006831
call sub.KERNEL32.dll_GetCurrentThreadId
mov ecx, dword [ebp - 0x164]
cmp ecx, eax
je 0x10006838
push 0
push ecx
push dword [ebp - 0x168]
call fcn.10166c0b
add esp, 0xc
test eax, eax
jne 0x1000683f
jmp 0x1000665b
mov eax, dword [ebp - 0x14c]
lea ecx, [ebp - 0x160]
mov edx, dword [ebp - 0x160]
cmp eax, 0xf
cmova ecx, edx
cmp edi, 2
jne 0x10004b42
mov eax, edi
mov dword [ebp - 0x174], 0x101da930
sub eax, 4
mov dword [ebp - 0x170], eax
jb 0x10004abd
nop dword [eax]
mov esi, dword [ebp - 0x174]
mov eax, dword [ecx]
cmp eax, dword [esi]
mov esi, dword [ebp - 0x178]
jne 0x10004ac2
mov eax, dword [ebp - 0x170]
add ecx, 4
add dword [ebp - 0x174], 4
sub eax, 4
mov dword [ebp - 0x170], eax
jae 0x10004a90
cmp eax, 0xfffffffc
je 0x10004b2c
mov esi, dword [ebp - 0x174]
mov al, byte [ecx]
cmp al, byte [esi]
mov esi, dword [ebp - 0x178]
jne 0x10004b25
cmp dword [ebp - 0x170], 0xfffffffd
je 0x10004b2c
mov esi, dword [ebp - 0x174]
mov al, byte [ecx + 1]
cmp al, byte [esi + 1]
mov esi, dword [ebp - 0x178]
jne 0x10004b25
cmp dword [ebp - 0x170], 0xfffffffe
je 0x10004b2c
mov esi, dword [ebp - 0x174]
mov al, byte [ecx + 2]
cmp al, byte [esi + 2]
mov esi, dword [ebp - 0x178]
jne 0x10004b25
cmp dword [ebp - 0x170], 0xffffffff
je 0x10004b2c
mov al, byte [ecx + 3]
mov ecx, dword [ebp - 0x174]
cmp al, byte [ecx + 3]
je 0x10004b2c
sbb eax, eax
or eax, 1
jmp 0x10004b2e
xor eax, eax
test eax, eax
jne 0x10004b3c
call fcn.10006860
jmp 0x1000665b
mov eax, dword [ebp - 0x14c]
cmp eax, 0xf
lea ecx, [ebp - 0x160]
cmova ecx, edx
cmp edi, 2
jne 0x10004c2e
mov eax, edi
mov dword [ebp - 0x174], 0x101da934
sub eax, 4
mov dword [ebp - 0x170], eax
jb 0x10004b9d
nop
mov esi, dword [ebp - 0x174]
mov eax, dword [ecx]
cmp eax, dword [esi]
mov esi, dword [ebp - 0x178]
jne 0x10004ba2
mov eax, dword [ebp - 0x170]
add ecx, 4
add dword [ebp - 0x174], 4
sub eax, 4
mov dword [ebp - 0x170], eax
jae 0x10004b70
cmp eax, 0xfffffffc
je 0x10004c0c
mov esi, dword [ebp - 0x174]
mov al, byte [ecx]
cmp al, byte [esi]
mov esi, dword [ebp - 0x178]
jne 0x10004c05
cmp dword [ebp - 0x170], 0xfffffffd
je 0x10004c0c
mov esi, dword [ebp - 0x174]
mov al, byte [ecx + 1]
cmp al, byte [esi + 1]
mov esi, dword [ebp - 0x178]
jne 0x10004c05
cmp dword [ebp - 0x170], 0xfffffffe
je 0x10004c0c
mov esi, dword [ebp - 0x174]
mov al, byte [ecx + 2]
cmp al, byte [esi + 2]
mov esi, dword [ebp - 0x178]
jne 0x10004c05
cmp dword [ebp - 0x170], 0xffffffff
je 0x10004c0c
mov al, byte [ecx + 3]
mov ecx, dword [ebp - 0x174]
cmp al, byte [ecx + 3]
je 0x10004c0c
sbb eax, eax
or eax, 1
jmp 0x10004c0e
xor eax, eax
test eax, eax
jne 0x10004c28
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
add eax, 0xac
push eax
call fcn.10006fc0
jmp 0x1000665b
mov eax, dword [ebp - 0x14c]
cmp eax, 0xf
lea ecx, [ebp - 0x160]
cmova ecx, edx
cmp edi, 3
jne 0x10005556
mov eax, edi
mov dword [ebp - 0x174], 0x101da938
sub eax, 4
mov dword [ebp - 0x170], eax
jb 0x10004c8d
nop word [eax + eax]
mov esi, dword [ebp - 0x174]
mov eax, dword [ecx]
cmp eax, dword [esi]
mov esi, dword [ebp - 0x178]
jne 0x10004c92
mov eax, dword [ebp - 0x170]
add ecx, 4
add dword [ebp - 0x174], 4
sub eax, 4
mov dword [ebp - 0x170], eax
jae 0x10004c60
cmp eax, 0xfffffffc
je 0x10004cfc
mov esi, dword [ebp - 0x174]
mov al, byte [ecx]
cmp al, byte [esi]
mov esi, dword [ebp - 0x178]
jne 0x10004cf5
cmp dword [ebp - 0x170], 0xfffffffd
je 0x10004cfc
mov esi, dword [ebp - 0x174]
mov al, byte [ecx + 1]
cmp al, byte [esi + 1]
mov esi, dword [ebp - 0x178]
jne 0x10004cf5
cmp dword [ebp - 0x170], 0xfffffffe
je 0x10004cfc
mov esi, dword [ebp - 0x174]
mov al, byte [ecx + 2]
cmp al, byte [esi + 2]
mov esi, dword [ebp - 0x178]
jne 0x10004cf5
cmp dword [ebp - 0x170], 0xffffffff
je 0x10004cfc
mov al, byte [ecx + 3]
mov ecx, dword [ebp - 0x174]
cmp al, byte [ecx + 3]
je 0x10004cfc
sbb eax, eax
or eax, 1
jmp 0x10004cfe
xor eax, eax
test eax, eax
jne 0x10005550
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x148]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
add eax, 0x1c
push eax
call fcn.1000de10
mov byte [ebp - 4], 6
lea eax, [ebp - 0x148]
cmp dword [ebp - 0x134], 0xf
push 0x101dadec
cmova eax, dword [ebp - 0x148]
push eax
call fcn.101722af
add esp, 8
test eax, eax
je 0x10004f8f
push eax
call fcn.101723eb
add esp, 4
lea eax, [ebp - 0x148]
cmp dword [ebp - 0x134], 0xf
cmova eax, dword [ebp - 0x148]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x10004f84
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
lea edi, [ebp - 0x17]
mov dword [ebp - 0x170], ecx
nop word [eax + eax]
mov eax, 0xcccccccd
dec edi
mul ecx
shr edx, 3
mov al, dl
mov cl, dl
shl al, 2
add cl, al
mov eax, dword [ebp - 0x170]
add cl, cl
sub al, cl
mov ecx, edx
add al, 0x30
mov byte [edi], al
mov eax, edx
mov dword [ebp - 0x170], eax
test eax, eax
jne 0x10004d90
push ecx
lea eax, [ebp - 0x17]
push eax
push edi
lea ecx, [ebp - 0x1a8]
call fcn.10002ca0
lea eax, [ebp - 0x1a8]
mov byte [ebp - 4], 7
push eax
mov edx, str.Up_Err_:
lea ecx, [ebp - 0x190]
call fcn.10002730
mov ecx, eax
add esp, 4
mov dword [ebp - 0x164], ecx
mov byte [ebp - 4], 8
lea edi, [ebp - 0x148]
cmp dword [ebp - 0x134], 0xf
mov eax, dword [ecx + 0x10]
cmova edi, dword [ebp - 0x148]
mov edx, dword [ebp - 0x138]
mov dword [ebp - 0x170], eax
mov eax, dword [ecx + 0x14]
sub eax, dword [ebp - 0x170]
mov dword [ebp - 0x174], edi
mov dword [ebp - 0x178], edx
cmp edx, eax
ja 0x10004e71
cmp dword [ecx + 0x14], 0xf
mov edi, dword [ebp - 0x170]
lea eax, [edx + edi]
mov dword [ecx + 0x10], eax
mov eax, ecx
jbe 0x10004e4d
mov eax, dword [ecx]
push edx
push dword [ebp - 0x174]
add edi, eax
push edi
call fcn.10169070
mov eax, dword [ebp - 0x178]
add esp, 0xc
mov byte [edi + eax], 0
mov eax, dword [ebp - 0x164]
jmp 0x10004e86
push edx
push edi
mov byte [ebp - 0x164], 0
push dword [ebp - 0x164]
push edx
call fcn.1000d3b0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x1c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 9
push eax
call fcn.100094b0
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x10004eed
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10004ee3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10006846
push ecx
push edx
call fcn.10165540
add esp, 8
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x17c]
cmp ecx, 0xf
jbe 0x10004f2b
mov edx, dword [ebp - 0x190]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10004f21
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10006846
push ecx
push edx
call fcn.10165540
add esp, 8
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x194]
mov dword [ebp - 0x180], 0
mov dword [ebp - 0x17c], 0xf
mov byte [ebp - 0x190], 0
cmp ecx, 0xf
jbe 0x10004f84
mov edx, dword [ebp - 0x1a8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10004f7a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10006846
push ecx
push edx
call fcn.10165540
add esp, 8
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
add eax, 0xdc
push eax
lea eax, [ebp - 0x148]
push eax
call fcn.100144b0
test al, al
jne 0x100051ab
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
lea edi, [ebp - 0x17]
mov dword [ebp - 0x170], ecx
mov eax, 0xcccccccd
dec edi
mul ecx
shr edx, 3
mov al, dl
mov cl, dl
shl al, 2
add cl, al
mov eax, dword [ebp - 0x170]
add cl, cl
sub al, cl
mov ecx, edx
add al, 0x30
mov byte [edi], al
mov eax, edx
mov dword [ebp - 0x170], eax
test eax, eax
jne 0x10004fc0
push ecx
lea eax, [ebp - 0x17]
push eax
push edi
lea ecx, [ebp - 0x1a8]
call fcn.10002ca0
lea eax, [ebp - 0x1a8]
mov byte [ebp - 4], 0xa
push eax
mov edx, str.Up_Err_:
lea ecx, [ebp - 0x190]
call fcn.10002730
mov ecx, eax
add esp, 4
mov dword [ebp - 0x178], ecx
mov byte [ebp - 4], 0xb
lea edi, [ebp - 0x148]
cmp dword [ebp - 0x134], 0xf
mov eax, dword [ecx + 0x10]
cmova edi, dword [ebp - 0x148]
mov edx, dword [ebp - 0x138]
mov dword [ebp - 0x170], eax
mov eax, dword [ecx + 0x14]
sub eax, dword [ebp - 0x170]
mov dword [ebp - 0x164], edi
mov dword [ebp - 0x174], edx
cmp edx, eax
ja 0x100050a1
cmp dword [ecx + 0x14], 0xf
mov edi, dword [ebp - 0x170]
lea eax, [edx + edi]
mov dword [ecx + 0x10], eax
mov eax, ecx
jbe 0x1000507d
mov eax, dword [ecx]
push edx
push dword [ebp - 0x164]
add edi, eax
push edi
call fcn.10169070
mov eax, dword [ebp - 0x174]
add esp, 0xc
mov byte [edi + eax], 0
mov eax, dword [ebp - 0x178]
jmp 0x100050b6
push edx
push edi
mov byte [ebp - 0x164], 0
push dword [ebp - 0x164]
push edx
call fcn.1000d3b0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x1c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0xc
push eax
call fcn.100094b0
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x10005119
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000510f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000684b
push ecx
push edx
call fcn.10165540
add esp, 8
mov ecx, dword [ebp - 0x17c]
cmp ecx, 0xf
jbe 0x10005153
mov edx, dword [ebp - 0x190]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10005149
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000684b
push ecx
push edx
call fcn.10165540
add esp, 8
mov ecx, dword [ebp - 0x194]
mov dword [ebp - 0x180], 0
mov dword [ebp - 0x17c], 0xf
mov byte [ebp - 0x190], 0
cmp ecx, 0xf
jbe 0x1000532d
mov edx, dword [ebp - 0x1a8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10005323
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000684b
jmp 0x10005323
push 0x104
lea eax, [ebp - 0x130]
push 0
push eax
call fcn.101695f0
add esp, 0xc
lea ecx, [ebp - 0x130]
cmp dword [ebp - 0x134], 0xf
lea eax, [ebp - 0x148]
cmova eax, dword [ebp - 0x148]
push 0
push ecx
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
xorps xmm0, xmm0
mov dword [ebp - 0x180], 0
lea ecx, [ebp - 0x130]
mov dword [ebp - 0x17c], 0
movups xmmword [ebp - 0x190], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10005211
sub ecx, edx
lea eax, [ebp - 0x130]
push ecx
push eax
lea ecx, [ebp - 0x190]
call fcn.1000dcd0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x2c]
push 8
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
push str.Success
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 0
call fcn.1000dcd0
lea eax, [ebp - 0x190]
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x1ac]
lea ecx, [ebp - 0x1a8]
call fcn.1000c260
lea eax, [ebp - 0x1a8]
mov byte [ebp - 4], 0xf
push eax
call fcn.100094b0
mov ecx, dword [ebp - 0x194]
cmp ecx, 0xf
jbe 0x100052bf
mov edx, dword [ebp - 0x1a8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100052b5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10006850
push ecx
push edx
call fcn.10165540
add esp, 8
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x100052f3
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100052e9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10006850
push ecx
push edx
call fcn.10165540
add esp, 8
mov ecx, dword [ebp - 0x17c]
cmp ecx, 0xf
jbe 0x1000532d
mov edx, dword [ebp - 0x190]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10005323
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10006850
push ecx
push edx
call fcn.10165540
add esp, 8
mov ecx, dword [ebp - 0x134]
cmp ecx, 0xf
jbe 0x1000665b
mov edx, dword [ebp - 0x148]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10006651
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10006850
jmp 0x10006651
call fcn.10165540
add esp, 8
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x1000552c
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1000552c
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x1000552c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [ebp - 0x1ac]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1016550f
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0x14c]
cmp eax, 0xf
lea ecx, [ebp - 0x160]
cmova ecx, edx
cmp edi, 3
jne 0x1000563e
mov eax, edi
mov dword [ebp - 0x174], 0x101da960
sub eax, 4
mov dword [ebp - 0x170], eax
jb 0x100055af
mov esi, dword [ebp - 0x174]
mov eax, dword [ecx]
cmp eax, dword [esi]
mov esi, dword [ebp - 0x178]
jne 0x100055b4
mov eax, dword [ebp - 0x170]
add ecx, 4
add dword [ebp - 0x174], 4
sub eax, 4
mov dword [ebp - 0x170], eax
jae 0x10005582
cmp eax, 0xfffffffc
je 0x1000561e
mov esi, dword [ebp - 0x174]
mov al, byte [ecx]
cmp al, byte [esi]
mov esi, dword [ebp - 0x178]
jne 0x10005617
cmp dword [ebp - 0x170], 0xfffffffd
je 0x1000561e
mov esi, dword [ebp - 0x174]
mov al, byte [ecx + 1]
cmp al, byte [esi + 1]
mov esi, dword [ebp - 0x178]
jne 0x10005617
cmp dword [ebp - 0x170], 0xfffffffe
je 0x1000561e
mov esi, dword [ebp - 0x174]
mov al, byte [ecx + 2]
cmp al, byte [esi + 2]
mov esi, dword [ebp - 0x178]
jne 0x10005617
cmp dword [ebp - 0x170], 0xffffffff
je 0x1000561e
mov al, byte [ecx + 3]
mov ecx, dword [ebp - 0x174]
cmp al, byte [ecx + 3]
je 0x1000561e
sbb eax, eax
or eax, 1
jmp 0x10005620
xor eax, eax
test eax, eax
jne 0x10005638
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
add eax, 0x64
push eax
call fcn.10008e60
jmp 0x1000665b
mov eax, dword [ebp - 0x14c]
cmp eax, 0xf
lea ecx, [ebp - 0x160]
cmova ecx, edx
cmp edi, 3
jne 0x10005730
mov eax, edi
mov dword [ebp - 0x174], 0x101da964
sub eax, 4
mov dword [ebp - 0x170], eax
jb 0x1000569d
nop word [eax + eax]
mov esi, dword [ebp - 0x174]
mov eax, dword [ecx]
cmp eax, dword [esi]
mov esi, dword [ebp - 0x178]
jne 0x100056a2
mov eax, dword [ebp - 0x170]
add ecx, 4
add dword [ebp - 0x174], 4
sub eax, 4
mov dword [ebp - 0x170], eax
jae 0x10005670
cmp eax, 0xfffffffc
je 0x1000570c
mov esi, dword [ebp - 0x174]
mov al, byte [ecx]
cmp al, byte [esi]
mov esi, dword [ebp - 0x178]
jne 0x10005705
cmp dword [ebp - 0x170], 0xfffffffd
je 0x1000570c
mov esi, dword [ebp - 0x174]
mov al, byte [ecx + 1]
cmp al, byte [esi + 1]
mov esi, dword [ebp - 0x178]
jne 0x10005705
cmp dword [ebp - 0x170], 0xfffffffe
je 0x1000570c
mov esi, dword [ebp - 0x174]
mov al, byte [ecx + 2]
cmp al, byte [esi + 2]
mov esi, dword [ebp - 0x178]
jne 0x10005705
cmp dword [ebp - 0x170], 0xffffffff
je 0x1000570c
mov al, byte [ecx + 3]
mov ecx, dword [ebp - 0x174]
cmp al, byte [ecx + 3]
je 0x1000570c
sbb eax, eax
or eax, 1
jmp 0x1000570e
xor eax, eax
test eax, eax
jne 0x1000572a
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
lea eax, [ecx + 0x64]
push eax
lea eax, [ecx + 0x34]
push eax
call fcn.100083a0
jmp 0x1000665b
mov eax, dword [ebp - 0x14c]
cmp eax, 0xf
lea ecx, [ebp - 0x160]
cmova ecx, edx
cmp edi, 3
jne 0x10005987
mov eax, edi
mov dword [ebp - 0x174], 0x101da968
sub eax, 4
mov dword [ebp - 0x170], eax
jb 0x1000578d
nop dword [eax]
mov esi, dword [ebp - 0x174]
mov eax, dword [ecx]
cmp eax, dword [esi]
mov esi, dword [ebp - 0x178]
jne 0x10005792
mov eax, dword [ebp - 0x170]
add ecx, 4
add dword [ebp - 0x174], 4
sub eax, 4
mov dword [ebp - 0x170], eax
jae 0x10005760
cmp eax, 0xfffffffc
je 0x100057fc
mov esi, dword [ebp - 0x174]
mov al, byte [ecx]
cmp al, byte [esi]
mov esi, dword [ebp - 0x178]
jne 0x100057f5
cmp dword [ebp - 0x170], 0xfffffffd
je 0x100057fc
mov esi, dword [ebp - 0x174]
mov al, byte [ecx + 1]
cmp al, byte [esi + 1]
mov esi, dword [ebp - 0x178]
jne 0x100057f5
cmp dword [ebp - 0x170], 0xfffffffe
je 0x100057fc
mov esi, dword [ebp - 0x174]
mov al, byte [ecx + 2]
cmp al, byte [esi + 2]
mov esi, dword [ebp - 0x178]
jne 0x100057f5
cmp dword [ebp - 0x170], 0xffffffff
je 0x100057fc
mov al, byte [ecx + 3]
mov ecx, dword [ebp - 0x174]
cmp al, byte [ecx + 3]
je 0x100057fc
sbb eax, eax
or eax, 1
jmp 0x100057fe
xor eax, eax
test eax, eax
jne 0x10005981
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
add eax, 0x34
push eax
lea eax, [ebp - 0x1a8]
push eax
call fcn.10012810
cmp dword [eax + 0x14], 7
jbe 0x10005824
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0x194]
mov edi, eax
cmp ecx, 7
jbe 0x1000586d
mov edx, dword [ebp - 0x1a8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10005863
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10006855
push ecx
push edx
call fcn.10165540
add esp, 8
test edi, edi
jne 0x1000665b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
lea edi, [ebp - 0x17]
mov dword [ebp - 0x170], ecx
mov eax, 0xcccccccd
dec edi
mul ecx
shr edx, 3
mov al, dl
mov cl, dl
shl al, 2
add cl, al
mov eax, dword [ebp - 0x170]
add cl, cl
sub al, cl
mov ecx, edx
add al, 0x30
mov byte [edi], al
mov eax, edx
mov dword [ebp - 0x170], eax
test eax, eax
jne 0x10005886
push ecx
lea eax, [ebp - 0x17]
push eax
push edi
lea ecx, [ebp - 0x1a8]
call fcn.10002ca0
lea eax, [ebp - 0x1a8]
mov byte [ebp - 4], 0x15
push eax
mov edx, str.DEL:
lea ecx, [ebp - 0x190]
call fcn.10002730
add esp, 4
push eax
mov byte [ebp - 4], 0x16
call fcn.100094b0
mov ecx, dword [ebp - 0x17c]
cmp ecx, 0xf
jbe 0x10005929
mov edx, dword [ebp - 0x190]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000591f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000685a
push ecx
push edx
call fcn.10165540
add esp, 8
mov dword [ebp - 0x180], 0
mov dword [ebp - 0x17c], 0xf
mov byte [ebp - 0x190], 0
mov ecx, dword [ebp - 0x194]
cmp ecx, 0xf
jbe 0x1000665b
mov edx, dword [ebp - 0x1a8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10006651
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000685a
jmp 0x10006651
mov eax, dword [ebp - 0x14c]
cmp eax, 0xf
lea ecx, [ebp - 0x160]
cmova ecx, edx
cmp edi, 2
jne 0x10005b2d
mov eax, edi
mov dword [ebp - 0x174], 0x101da974
sub eax, 4
mov dword [ebp - 0x170], eax
jb 0x100059e0
mov esi, dword [ebp - 0x174]
mov eax, dword [ecx]
cmp eax, dword [esi]
mov esi, dword [ebp - 0x178]
jne 0x100059e5
mov eax, dword [ebp - 0x170]
add ecx, 4
add dword [ebp - 0x174], 4
sub eax, 4
mov dword [ebp - 0x170], eax
jae 0x100059b3
cmp eax, 0xfffffffc
je 0x10005a4f
mov esi, dword [ebp - 0x174]
mov al, byte [ecx]
cmp al, byte [esi]
mov esi, dword [ebp - 0x178]
jne 0x10005a48
cmp dword [ebp - 0x170], 0xfffffffd
je 0x10005a4f
mov esi, dword [ebp - 0x174]
mov al, byte [ecx + 1]
cmp al, byte [esi + 1]
mov esi, dword [ebp - 0x178]
jne 0x10005a48
cmp dword [ebp - 0x170], 0xfffffffe
je 0x10005a4f
mov esi, dword [ebp - 0x174]
mov al, byte [ecx + 2]
cmp al, byte [esi + 2]
mov esi, dword [ebp - 0x178]
jne 0x10005a48
cmp dword [ebp - 0x170], 0xffffffff
je 0x10005a4f
mov al, byte [ecx + 3]
mov ecx, dword [ebp - 0x174]
cmp al, byte [ecx + 3]
je 0x10005a4f
sbb eax, eax
or eax, 1
jmp 0x10005a51
xor eax, eax
test eax, eax
jne 0x10005b27
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
add eax, 0x34
push eax
call fcn.10012070
test al, al
jne 0x1000665b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
lea edi, [ebp - 0x17]
mov dword [ebp - 0x170], ecx
mov eax, 0xcccccccd
dec edi
mul ecx
shr edx, 3
mov al, dl
mov cl, dl
shl al, 2
add cl, al
mov eax, dword [ebp - 0x170]
add cl, cl
sub al, cl
mov ecx, edx
add al, 0x30
mov byte [edi], al
mov eax, edx
mov dword [ebp - 0x170], eax
test eax, eax
jne 0x10005a81
push ecx
lea eax, [ebp - 0x17]
push eax
push edi
lea ecx, [ebp - 0x1a8]
call fcn.10002ca0
lea eax, [ebp - 0x1a8]
mov byte [ebp - 4], 0x17
push eax
mov edx, 0x101da978
lea ecx, [ebp - 0x190]
call fcn.10002730
add esp, 4
push eax
mov byte [ebp - 4], 0x18
call fcn.100094b0
mov ecx, dword [ebp - 0x17c]
cmp ecx, 0xf
jbe 0x10005929
mov edx, dword [ebp - 0x190]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000591f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000685a
jmp 0x1000591f
mov eax, dword [ebp - 0x14c]
cmp eax, 0xf
lea ecx, [ebp - 0x160]
cmova ecx, edx
cmp edi, 3
jne 0x10005dc4
mov eax, edi
mov dword [ebp - 0x174], 0x101da97c
sub eax, 4
mov dword [ebp - 0x170], eax
jb 0x10005b8d
nop dword [eax]
mov esi, dword [ebp - 0x174]
mov eax, dword [ecx]
cmp eax, dword [esi]
mov esi, dword [ebp - 0x178]
jne 0x10005b92
mov eax, dword [ebp - 0x170]
add ecx, 4
add dword [ebp - 0x174], 4
sub eax, 4
mov dword [ebp - 0x170], eax
jae 0x10005b60
cmp eax, 0xfffffffc
je 0x10005bfc
mov esi, dword [ebp - 0x174]
mov al, byte [ecx]
cmp al, byte [esi]
mov esi, dword [ebp - 0x178]
jne 0x10005bf5
cmp dword [ebp - 0x170], 0xfffffffd
je 0x10005bfc
mov esi, dword [ebp - 0x174]
mov al, byte [ecx + 1]
cmp al, byte [esi + 1]
mov esi, dword [ebp - 0x178]
jne 0x10005bf5
cmp dword [ebp - 0x170], 0xfffffffe
je 0x10005bfc
mov esi, dword [ebp - 0x174]
mov al, byte [ecx + 2]
cmp al, byte [esi + 2]
mov esi, dword [ebp - 0x178]
jne 0x10005bf5
cmp dword [ebp - 0x170], 0xffffffff
je 0x10005bfc
mov al, byte [ecx + 3]
mov ecx, dword [ebp - 0x174]
cmp al, byte [ecx + 3]
je 0x10005bfc
sbb eax, eax
or eax, 1
jmp 0x10005bfe
xor eax, eax
test eax, eax
jne 0x10005dbe
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
add eax, 0x7c
push eax
lea eax, [ebp - 0x1a8]
push eax
call fcn.10012810
cmp dword [eax + 0x14], 7
jbe 0x10005c24
mov eax, dword [eax]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 0x194]
mov edi, eax
cmp ecx, 7
jbe 0x10005c6f
mov edx, dword [ebp - 0x1a8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10005c65
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000685a
push ecx
push edx
call fcn.10165540
add esp, 8
test edi, edi
jne 0x1000665b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
lea edi, [ebp - 0x17]
mov dword [ebp - 0x170], ecx
mov eax, 0xcccccccd
dec edi
mul ecx
shr edx, 3
mov al, dl
mov cl, dl
shl al, 2
add cl, al
mov eax, dword [ebp - 0x170]
add cl, cl
sub al, cl
mov ecx, edx
add al, 0x30
mov byte [edi], al
mov eax, edx
mov dword [ebp - 0x170], eax
test eax, eax
jne 0x10005c88
push ecx
lea eax, [ebp - 0x17]
push eax
push edi
lea ecx, [ebp - 0x1a8]
call fcn.10002ca0
lea eax, [ebp - 0x1a8]
mov byte [ebp - 4], 0x19
push eax
mov edx, str.fder:
lea ecx, [ebp - 0x148]
call fcn.10002730
add esp, 4
mov byte [ebp - 4], 0x1a
mov edx, eax
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 4]
add ecx, 0x7c
push ecx
lea ecx, [ebp - 0x190]
call fcn.1000b9c0
add esp, 4
push eax
mov byte [ebp - 4], 0x1b
call fcn.100094b0
mov ecx, dword [ebp - 0x17c]
cmp ecx, 0xf
jbe 0x10005d49
mov edx, dword [ebp - 0x190]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10005d3f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000685a
push ecx
push edx
call fcn.10165540
add esp, 8
mov ecx, dword [ebp - 0x134]
mov dword [ebp - 0x180], 0
mov dword [ebp - 0x17c], 0xf
mov byte [ebp - 0x190], 0
cmp ecx, 0xf
jbe 0x10005d9e
mov edx, dword [ebp - 0x148]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10005d94
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000685a
push ecx
push edx
call fcn.10165540
add esp, 8
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x134], 0xf
mov byte [ebp - 0x148], 0
jmp 0x10005944
mov eax, dword [ebp - 0x14c]
cmp eax, 0xf
lea ecx, [ebp - 0x160]
cmova ecx, edx
cmp edi, 3
jne 0x10006056
mov eax, edi
mov dword [ebp - 0x174], 0x101da988
sub eax, 4
mov dword [ebp - 0x170], eax
jb 0x10005e1d
mov esi, dword [ebp - 0x174]
mov eax, dword [ecx]
cmp eax, dword [esi]
mov esi, dword [ebp - 0x178]
jne 0x10005e22
mov eax, dword [ebp - 0x170]
add ecx, 4
add dword [ebp - 0x174], 4
sub eax, 4
mov dword [ebp - 0x170], eax
jae 0x10005df0
cmp eax, 0xfffffffc
je 0x10005e8c
mov esi, dword [ebp - 0x174]
mov al, byte [ecx]
cmp al, byte [esi]
mov esi, dword [ebp - 0x178]
jne 0x10005e85
cmp dword [ebp - 0x170], 0xfffffffd
je 0x10005e8c
mov esi, dword [ebp - 0x174]
mov al, byte [ecx + 1]
cmp al, byte [esi + 1]
mov esi, dword [ebp - 0x178]
jne 0x10005e85
cmp dword [ebp - 0x170], 0xfffffffe
je 0x10005e8c
mov esi, dword [ebp - 0x174]
mov al, byte [ecx + 2]
cmp al, byte [esi + 2]
mov esi, dword [ebp - 0x178]
jne 0x10005e85
cmp dword [ebp - 0x170], 0xffffffff
je 0x10005e8c
mov al, byte [ecx + 3]
mov ecx, dword [ebp - 0x174]
cmp al, byte [ecx + 3]
je 0x10005e8c
sbb eax, eax
or eax, 1
jmp 0x10005e8e
xor eax, eax
test eax, eax
jne 0x10006050
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
add eax, 0x7c
push eax
lea eax, [ebp - 0x1a8]
push eax
call fcn.10012810
cmp dword [eax + 0x14], 7
jbe 0x10005eb4
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ecx, dword [ebp - 0x194]
mov edi, eax
cmp ecx, 7
jbe 0x10005efd
mov edx, dword [ebp - 0x1a8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10005ef3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000685a
push ecx
push edx
call fcn.10165540
add esp, 8
test edi, edi
jne 0x1000665b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
lea edi, [ebp - 0x17]
mov dword [ebp - 0x170], ecx
mov eax, 0xcccccccd
dec edi
mul ecx
shr edx, 3
mov al, dl
mov cl, dl
shl al, 2
add cl, al
mov eax, dword [ebp - 0x170]
add cl, cl
sub al, cl
mov ecx, edx
add al, 0x30
mov byte [edi], al
mov eax, edx
mov dword [ebp - 0x170], eax
test eax, eax
jne 0x10005f16
push ecx
lea eax, [ebp - 0x17]
push eax
push edi
lea ecx, [ebp - 0x1a8]
call fcn.10002ca0
lea eax, [ebp - 0x1a8]
mov byte [ebp - 4], 0x1c
push eax
mov edx, str.d_fder
lea ecx, [ebp - 0x148]
call fcn.10002730
add esp, 4
mov byte [ebp - 4], 0x1d
mov edx, eax
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 4]
add ecx, 0x7c
push ecx
lea ecx, [ebp - 0x190]
call fcn.1000b9c0
add esp, 4
push eax
mov byte [ebp - 4], 0x1e
call fcn.100094b0
mov ecx, dword [ebp - 0x17c]
cmp ecx, 0xf
jbe 0x10005fd7
mov edx, dword [ebp - 0x190]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10005fcd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000685a
push ecx
push edx
call fcn.10165540
add esp, 8
mov ecx, dword [ebp - 0x134]
mov dword [ebp - 0x180], 0
mov dword [ebp - 0x17c], 0xf
mov byte [ebp - 0x190], 0
cmp ecx, 0xf
jbe 0x10005d9e
mov edx, dword [ebp - 0x148]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10006026
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000685a
push ecx
push edx
call fcn.10165540
add esp, 8
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x134], 0xf
mov byte [ebp - 0x148], 0
jmp 0x10005944
mov eax, dword [ebp - 0x14c]
cmp eax, 0xf
lea ecx, [ebp - 0x160]
cmova ecx, edx
cmp edi, 3
jne 0x10006370
mov eax, edi
mov dword [ebp - 0x174], 0x101da994
sub eax, 4
mov dword [ebp - 0x170], eax
jb 0x100060af
mov esi, dword [ebp - 0x174]
mov eax, dword [ecx]
cmp eax, dword [esi]
mov esi, dword [ebp - 0x178]
jne 0x100060b4
mov eax, dword [ebp - 0x170]
add ecx, 4
add dword [ebp - 0x174], 4
sub eax, 4
mov dword [ebp - 0x170], eax
jae 0x10006082
cmp eax, 0xfffffffc
je 0x1000611e
mov esi, dword [ebp - 0x174]
mov al, byte [ecx]
cmp al, byte [esi]
mov esi, dword [ebp - 0x178]
jne 0x10006117
cmp dword [ebp - 0x170], 0xfffffffd
je 0x1000611e
mov esi, dword [ebp - 0x174]
mov al, byte [ecx + 1]
cmp al, byte [esi + 1]
mov esi, dword [ebp - 0x178]
jne 0x10006117
cmp dword [ebp - 0x170], 0xfffffffe
je 0x1000611e
mov esi, dword [ebp - 0x174]
mov al, byte [ecx + 2]
cmp al, byte [esi + 2]
mov esi, dword [ebp - 0x178]
jne 0x10006117
cmp dword [ebp - 0x170], 0xffffffff
je 0x1000611e
mov al, byte [ecx + 3]
mov ecx, dword [ebp - 0x174]
cmp al, byte [ecx + 3]
je 0x1000611e
sbb eax, eax
or eax, 1
jmp 0x10006120
xor eax, eax
test eax, eax
jne 0x1000636a
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
add eax, 0x94
push eax
lea eax, [ebp - 0x1a8]
push eax
call fcn.10012810
mov edi, eax
mov byte [ebp - 4], 0x1f
lea eax, [ebp - 0x190]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 4]
add ecx, 0x34
push ecx
push eax
call fcn.10012810
cmp dword [edi + 0x14], 7
jbe 0x10006164
mov edi, dword [edi]
cmp dword [eax + 0x14], 7
jbe 0x1000616c
mov eax, dword [eax]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov ecx, dword [ebp - 0x17c]
mov edi, eax
cmp ecx, 7
jbe 0x100061b6
mov edx, dword [ebp - 0x190]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100061ac
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000685a
push ecx
push edx
call fcn.10165540
add esp, 8
xor eax, eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x194]
mov dword [ebp - 0x180], 0
mov dword [ebp - 0x17c], 7
mov word [ebp - 0x190], ax
cmp ecx, 7
jbe 0x10006217
mov edx, dword [ebp - 0x1a8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000620d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000685a
push ecx
push edx
call fcn.10165540
add esp, 8
test edi, edi
jne 0x1000665b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
lea edi, [ebp - 0x17]
mov dword [ebp - 0x170], ecx
mov eax, 0xcccccccd
dec edi
mul ecx
shr edx, 3
mov al, dl
mov cl, dl
shl al, 2
add cl, al
mov eax, dword [ebp - 0x170]
add cl, cl
sub al, cl
mov ecx, edx
add al, 0x30
mov byte [edi], al
mov eax, edx
mov dword [ebp - 0x170], eax
test eax, eax
jne 0x10006230
push ecx
lea eax, [ebp - 0x17]
push eax
push edi
lea ecx, [ebp - 0x1a8]
call fcn.10002ca0
lea eax, [ebp - 0x1a8]
mov byte [ebp - 4], 0x20
push eax
mov edx, str.ren_dir
lea ecx, [ebp - 0x148]
call fcn.10002730
add esp, 4
mov byte [ebp - 4], 0x21
mov edx, eax
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 4]
add ecx, 0x34
push ecx
lea ecx, [ebp - 0x190]
call fcn.1000b9c0
add esp, 4
push eax
mov byte [ebp - 4], 0x22
call fcn.100094b0
mov ecx, dword [ebp - 0x17c]
cmp ecx, 0xf
jbe 0x100062f1
mov edx, dword [ebp - 0x190]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100062e7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000685a
push ecx
push edx
call fcn.10165540
add esp, 8
mov ecx, dword [ebp - 0x134]
mov dword [ebp - 0x180], 0
mov dword [ebp - 0x17c], 0xf
mov byte [ebp - 0x190], 0
cmp ecx, 0xf
jbe 0x10005d9e
mov edx, dword [ebp - 0x148]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10006340
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000685a
push ecx
push edx
call fcn.10165540
add esp, 8
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x134], 0xf
mov byte [ebp - 0x148], 0
jmp 0x10005944
mov eax, dword [ebp - 0x14c]
cmp eax, 0xf
lea ecx, [ebp - 0x160]
cmova ecx, edx
cmp edi, 3
jne 0x10006661
mov edx, 0x101da9a0
sub edi, 4
jb 0x100063a1
nop
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x100063a6
add ecx, 4
add edx, 4
sub edi, 4
jae 0x10006390
cmp edi, 0xfffffffc
je 0x100063da
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x100063d3
cmp edi, 0xfffffffd
je 0x100063da
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x100063d3
cmp edi, 0xfffffffe
je 0x100063da
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x100063d3
cmp edi, 0xffffffff
je 0x100063da
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x100063da
sbb eax, eax
or eax, 1
jmp 0x100063dc
xor eax, eax
test eax, eax
jne 0x1000665b
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
add eax, 0x94
push eax
lea eax, [ebp - 0x1a8]
push eax
call fcn.10012810
mov edi, eax
mov byte [ebp - 4], 0x23
lea eax, [ebp - 0x190]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 4]
add ecx, 0x34
push ecx
push eax
call fcn.10012810
cmp dword [edi + 0x14], 7
jbe 0x10006420
mov edi, dword [edi]
cmp dword [eax + 0x14], 7
jbe 0x10006428
mov eax, dword [eax]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov ecx, dword [ebp - 0x17c]
mov edi, eax
cmp ecx, 7
jbe 0x10006472
mov edx, dword [ebp - 0x190]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10006468
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000685a
push ecx
push edx
call fcn.10165540
add esp, 8
xor eax, eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x194]
mov dword [ebp - 0x180], 0
mov dword [ebp - 0x17c], 7
mov word [ebp - 0x190], ax
cmp ecx, 7
jbe 0x100064d3
mov edx, dword [ebp - 0x1a8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100064c9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000685a
push ecx
push edx
call fcn.10165540
add esp, 8
test edi, edi
jne 0x1000665b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
lea edi, [ebp - 0x17]
mov dword [ebp - 0x170], ecx
nop dword [eax]
mov eax, 0xcccccccd
dec edi
mul ecx
shr edx, 3
mov al, dl
mov cl, dl
shl al, 2
add cl, al
mov eax, dword [ebp - 0x170]
add cl, cl
sub al, cl
mov ecx, edx
add al, 0x30
mov byte [edi], al
mov eax, edx
mov dword [ebp - 0x170], eax
test eax, eax
jne 0x100064f0
push ecx
lea eax, [ebp - 0x17]
push eax
push edi
lea ecx, [ebp - 0x1a8]
call fcn.10002ca0
lea eax, [ebp - 0x1a8]
mov byte [ebp - 4], 0x24
push eax
mov edx, str.ren_dir
lea ecx, [ebp - 0x148]
call fcn.10002730
add esp, 4
mov byte [ebp - 4], 0x25
mov edx, eax
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 4]
add ecx, 0x34
push ecx
lea ecx, [ebp - 0x190]
call fcn.1000b9c0
add esp, 4
push eax
mov byte [ebp - 4], 0x26
call fcn.100094b0
mov ecx, dword [ebp - 0x17c]
cmp ecx, 0xf
jbe 0x100065b1
mov edx, dword [ebp - 0x190]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100065a7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000685a
push ecx
push edx
call fcn.10165540
add esp, 8
mov ecx, dword [ebp - 0x134]
mov dword [ebp - 0x180], 0
mov dword [ebp - 0x17c], 0xf
mov byte [ebp - 0x190], 0
cmp ecx, 0xf
jbe 0x10006606
mov edx, dword [ebp - 0x148]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100065fc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000685a
push ecx
push edx
call fcn.10165540
add esp, 8
mov ecx, dword [ebp - 0x194]
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x134], 0xf
mov byte [ebp - 0x148], 0
cmp ecx, 0xf
jbe 0x1000665b
mov edx, dword [ebp - 0x1a8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10006651
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000685a
push ecx
push edx
call fcn.10165540
add esp, 8
mov edx, dword [ebp - 0x160]
mov ecx, dword [ebp - 0x14c]
cmp ecx, 0xf
jbe 0x10006695
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000668b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000685a
push ecx
push edx
call fcn.10165540
add esp, 8
mov dword [ebp - 0x150], 0
mov dword [ebp - 0x14c], 0xf
mov byte [ebp - 0x160], 0
test esi, esi
je 0x10005504
push 1
push esi
jmp 0x100054fc
push 1
call fcn.10166bd0
push 5
call fcn.10166bd0
push 2
call fcn.10166bd0
call fcn.1016cb5f
call fcn.1016cb5f
call fcn.1016cb5f
call fcn.1016cb5f
call fcn.1016cb5f
int3