Function at 0x66e53f
Capabilities:
Create directory

Disassembly:
push ebp
lea ebp, [esp - 0x824]
sub esp, 0x824
push 0xffffffffffffffff
push 0x69faf6
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x79b544]
xor eax, ebp
mov dword [ebp + 0x820], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push ecx
mov dword [ebp - 4], 1
mov esi, esp
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp + 0x830]
add eax, 0xfffffff0
mov dword [ebp - 0x18], esp
push eax
call fcn.0045207b
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 2
mov esi, esp
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp + 0x82c]
add eax, 0xfffffff0
push eax
call fcn.0045207b
pop ecx
add eax, 0x10
mov ecx, ebx
mov dword [esi], eax
mov byte [ebp - 4], 1
call fcn.0066db25
push ecx
mov esi, esp
mov dword [ebp - 0x18], esi
mov eax, dword [ebp + 0x82c]
add eax, 0xfffffff0
push eax
call fcn.0045207b
add eax, 0x10
pop ecx
mov dword [esi], eax
call fcn.0066de6f
test eax, eax
je 0x66eb7c
push ecx
mov esi, esp
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 0x830]
add eax, 0xfffffff0
push eax
call fcn.0045207b
add eax, 0x10
pop ecx
mov dword [esi], eax
call fcn.0066de6f
test eax, eax
jne 0x66e687
push str._not_found
lea ecx, [ebp - 0x1c]
call fcn.004514db
push eax
lea eax, [ebp + 0x830]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.004512d9
add esp, 0xc
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.0044ec01
push 8
call fcn.00474bfc
mov esi, eax
pop ecx
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 0xa
test esi, esi
je 0x66e671
push ecx
lea eax, [ebp - 0x24]
mov ecx, esp
push eax
call fcn.0045151f
mov ecx, esi
call fcn.0066f11f
jmp 0x66e673
xor eax, eax
mov byte [ebp - 4], 9
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push 0x790648
jmp 0x66ebeb
push ecx
mov esi, esp
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 0x82c]
add eax, 0xfffffff0
push eax
call fcn.0045207b
add eax, 0x10
pop ecx
mov dword [esi], eax
call fcn.0066de6f
cmp eax, 2
jne 0x66e707
push ecx
mov esi, esp
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 0x830]
add eax, 0xfffffff0
push eax
call fcn.0045207b
add eax, 0x10
pop ecx
mov dword [esi], eax
call fcn.0066de6f
cmp eax, 1
jne 0x66e707
push 8
call fcn.00474bfc
mov esi, eax
pop ecx
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 0xb
test esi, esi
je 0x66e6fc
push ecx
mov ecx, esp
push str.Wrong_operation
call fcn.004514db
mov ecx, esi
call fcn.0066f11f
jmp 0x66e6fe
xor eax, eax
mov byte [ebp - 4], 1
jmp 0x66ebe0
push ecx
mov esi, esp
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 0x82c]
add eax, 0xfffffff0
push eax
call fcn.0045207b
add eax, 0x10
pop ecx
mov dword [esi], eax
call fcn.0066de6f
xor edi, edi
cmp eax, 2
jne 0x66e953
push ecx
mov esi, esp
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 0x830]
add eax, 0xfffffff0
push eax
call fcn.0045207b
add eax, 0x10
pop ecx
mov dword [esi], eax
call fcn.0066de6f
cmp eax, 2
jne 0x66e953
lea ecx, [ebp - 0x40]
call fcn.00475526
push str._not_found
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xc
call fcn.004514db
push eax
lea eax, [ebp + 0x82c]
mov byte [ebp - 4], 0xd
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.004512d9
add esp, 0xc
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.0044ec01
lea eax, [ebp + 0x82c]
push eax
call fcn.0066de2a
lea eax, [ebp + 0x830]
push eax
call fcn.0066de2a
push 3
push 0x760704
lea ecx, [ebp + 0x82c]
call fcn.0045234c
push edi
push dword [ebp + 0x82c]
lea ecx, [ebp - 0x40]
call fcn.004757a5
lea ecx, [ebp - 0x40]
test eax, eax
jne 0x66e81e
call fcn.0047574b
push 8
call fcn.00474bfc
mov esi, eax
pop ecx
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 0x10
test esi, esi
je 0x66e80a
push ecx
lea eax, [ebp - 0x20]
mov ecx, esp
push eax
call fcn.0045151f
mov ecx, esi
call fcn.0066f11f
mov edi, eax
mov byte [ebp - 4], 0xf
mov dword [ebp - 0x18], edi
lea eax, [ebp - 0x18]
push 0x790648
jmp 0x66ebeb
call fcn.00475952
test eax, eax
jne 0x66e842
lea ecx, [ebp - 0x40]
call fcn.0047574b
push 8
call fcn.00474bfc
mov esi, eax
pop ecx
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 0x11
jmp 0x66e7f1
push ecx
mov esi, esp
mov dword [ebp - 0x14], esi
mov eax, dword [ebp + 0x82c]
add eax, 0xfffffff0
push eax
call fcn.0045207b
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x24]
pop ecx
push eax
call fcn.0066dbcf
mov byte [ebp - 4], 0x12
mov eax, dword [ebp - 0x24]
cmp dword [eax - 0xc], 0
je 0x66e8dd
push dword [eax - 0xc]
lea ecx, [ebp + 0x830]
push eax
call fcn.0045234c
lea eax, [ebp + 0x830]
push eax
call fcn.0066de2a
push edi
push dword [ebp + 0x830]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x66e8dd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 0xb7
je 0x66e8dd
lea ecx, [ebp - 0x40]
call fcn.0047574b
push 8
call fcn.00474bfc
pop ecx
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0x13
test eax, eax
je 0x66e8d4
push esi
mov ecx, eax
call fcn.0066f169
mov edi, eax
mov byte [ebp - 4], 0x12
jmp 0x66e80e
lea ecx, [ebp - 0x40]
call fcn.0047574b
push dword [ebp + 0x834]
push ecx
mov esi, esp
mov dword [ebp - 0x14], esp
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 0x830]
add eax, 0xfffffff0
push eax
call fcn.0045207b
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x14
mov esi, esp
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 0x82c]
add eax, 0xfffffff0
push eax
call fcn.0045207b
pop ecx
add eax, 0x10
mov ecx, ebx
mov dword [esi], eax
mov byte [ebp - 4], 0x12
call fcn.0066ebf2
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.0044ec01
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.0044ec01
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.004756d2
push ecx
mov esi, esp
mov dword [ebp - 0x14], esi
mov eax, dword [ebp + 0x82c]
add eax, 0xfffffff0
push eax
call fcn.0045207b
add eax, 0x10
pop ecx
mov dword [esi], eax
call fcn.0066de6f
cmp eax, 1
jne 0x66e9e4
push ecx
mov esi, esp
mov dword [ebp - 0x14], esi
mov eax, dword [ebp + 0x830]
add eax, 0xfffffff0
push eax
call fcn.0045207b
add eax, 0x10
pop ecx
mov dword [esi], eax
call fcn.0066de6f
cmp eax, 1
jne 0x66e9e4
push edi
push ecx
mov esi, esp
mov dword [ebp - 0x14], esp
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 0x830]
add eax, 0xfffffff0
push eax
call fcn.0045207b
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x15
mov esi, esp
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 0x82c]
add eax, 0xfffffff0
push eax
call fcn.0045207b
pop ecx
add eax, 0x10
mov ecx, ebx
mov dword [esi], eax
mov byte [ebp - 4], 1
call fcn.0066e422
push ecx
mov esi, esp
mov dword [ebp - 0x14], esi
mov eax, dword [ebp + 0x82c]
add eax, 0xfffffff0
push eax
call fcn.0045207b
add eax, 0x10
pop ecx
mov dword [esi], eax
call fcn.0066de6f
cmp eax, 1
jne 0x66eb3b
push ecx
mov esi, esp
mov dword [ebp - 0x14], esi
mov eax, dword [ebp + 0x830]
add eax, 0xfffffff0
push eax
call fcn.0045207b
add eax, 0x10
pop ecx
mov dword [esi], eax
call fcn.0066de6f
cmp eax, 2
jne 0x66eb3b
lea eax, [ebp + 0x830]
push eax
call fcn.0066de2a
lea eax, [ebp + 0x618]
push eax
lea eax, [ebp + 0x410]
push eax
lea eax, [ebp + 0x208]
push eax
lea eax, [ebp]
push eax
push dword [ebp + 0x82c]
call fcn.00515164
add esp, 0x14
lea eax, [ebp + 0x618]
lea ecx, [ebp - 0x20]
push eax
call fcn.004514db
mov esi, eax
lea eax, [ebp + 0x410]
mov byte [ebp - 4], 0x16
push eax
lea ecx, [ebp - 0x24]
call fcn.004514db
push eax
lea eax, [ebp + 0x830]
mov byte [ebp - 4], 0x17
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004512d9
push esi
push eax
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 0x18
push eax
call fcn.004512d9
add esp, 0x18
push eax
lea ecx, [ebp + 0x830]
mov byte [ebp - 4], 0x19
call fcn.00451d78
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.0044ec01
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.0044ec01
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.0044ec01
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.0044ec01
push edi
push ecx
mov esi, esp
mov dword [ebp - 0x14], esp
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 0x830]
add eax, 0xfffffff0
push eax
call fcn.0045207b
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x1a
mov esi, esp
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 0x82c]
add eax, 0xfffffff0
push eax
call fcn.0045207b
add eax, 0x10
pop ecx
mov dword [esi], eax
mov ecx, ebx
mov byte [ebp - 4], 1
call fcn.0066e422
mov ecx, dword [ebp + 0x82c]
lea ecx, [ecx - 0x10]
call fcn.0044ec01
mov ecx, dword [ebp + 0x830]
lea ecx, [ecx - 0x10]
call fcn.0044ec01
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x820]
xor ecx, ebp
call fcn.0049b511
add ebp, 0x824
leave
ret 0xc
push str._not_found
lea ecx, [ebp - 0x24]
call fcn.004514db
push eax
lea eax, [ebp + 0x82c]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.004512d9
add esp, 0xc
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.0044ec01
push 8
call fcn.00474bfc
mov esi, eax
pop ecx
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 6
test esi, esi
je 0x66ebda
push ecx
lea eax, [ebp - 0x20]
mov ecx, esp
push eax
call fcn.0045151f
mov ecx, esi
call fcn.0066f11f
jmp 0x66ebdc
xor eax, eax
mov byte [ebp - 4], 5
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push 0x790648
push eax
call fcn.00506dca
int3