Function at 0x608710
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6599b0
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x67206c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x64]
push eax
call fcn.0060f3a0
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x50]
test edx, edx
je 0x608798
mov esi, dword [ebp - 0x4c]
lea eax, [ebp - 0x60]
mov edi, dword [ebp - 0x60]
cmp esi, 8
cmovae eax, edi
movzx eax, word [eax + edx*2 - 2]
cmp eax, 0x5c
je 0x608770
cmp eax, 0x2f
jne 0x608798
lea ecx, [edx - 1]
cmp ecx, edx
ja 0x60878b
cmp esi, 8
mov dword [ebp - 0x50], ecx
lea eax, [ebp - 0x60]
cmovae eax, edi
xor edx, edx
mov word [eax + ecx*2], dx
jmp 0x608798
sub ecx, edx
push 0
push ecx
lea ecx, [ebp - 0x60]
call fcn.006114b0
xor eax, eax
mov dword [ebp - 0x48], 0x669c14
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], eax
xor bh, bh
mov dword [ebp - 0x2c], 0x669c14
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
push 2
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
add dword [0x674754], 2
push 0x669940
call fcn.00611370
push ecx
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x64]
call fcn.0060f950
mov ecx, dword [0x674754]
mov bl, al
mov edx, dword [ebp - 0x14]
dec ecx
mov dword [0x674754], ecx
cmp edx, 8
jb 0x60884d
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x60883d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x608cc9
push edx
push ecx
call fcn.006317bc
mov ecx, dword [0x674754]
add esp, 8
test bl, bl
je 0x608861
cmp dword [ebp - 0x50], 2
jne 0x60885f
or esi, 0xffffffff
jmp 0x608bf7
mov bh, 1
xor eax, eax
mov dword [ebp - 0x2c], 0x669c14
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
inc ecx
mov byte [ebp - 4], 5
push 2
mov dword [0x674754], ecx
lea ecx, [ebp - 0x28]
push 0x669948
call fcn.00611370
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x64]
call fcn.00610520
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.0060ed70
mov ecx, dword [ebp - 0x74]
mov eax, 0x92492493
sub ecx, dword [ebp - 0x78]
imul ecx
mov dword [ebp - 0x7c], 0
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x608bf5
xor esi, esi
mov dword [ebp - 0x68], esi
mov eax, dword [ebp - 0x78]
cmp dword [eax + esi + 0x14], 0
je 0x608bc6
cmp dword [ebp - 0x34], 0
je 0x60898c
xor eax, eax
mov dword [ebp - 0x2c], 0x669c14
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
push 1
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x28]
inc dword [0x674754]
push 0x669848
call fcn.00611370
mov byte [ebp - 4], 8
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x44]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00611030
mov byte [ebp - 4], 2
dec dword [0x674754]
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x60898c
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x608982
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x608cc9
push edx
push ecx
call fcn.006317bc
add esp, 8
test bh, bh
je 0x6089f1
cmp dword [ebp - 0x34], 0
jne 0x6089f1
xor eax, eax
mov dword [ebp - 0x2c], 0x669c14
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
push 2
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x28]
inc dword [0x674754]
push 0x669940
call fcn.00611370
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x44]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00611030
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.0060ed70
mov eax, dword [ebp - 0x78]
add eax, esi
cmp dword [eax + 0x18], 8
lea ecx, [eax + 4]
jb 0x608a02
mov ecx, dword [eax + 4]
push dword [eax + 0x14]
push ecx
lea ecx, [ebp - 0x44]
call fcn.00611030
xor eax, eax
mov dword [ebp - 0x2c], 0x669c14
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
push 1
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x28]
inc dword [0x674754]
push 0x669834
call fcn.00611370
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x14]
lea esi, [ebp - 0x44]
mov edi, dword [ebp - 0x28]
cmp eax, 8
mov edx, dword [ebp - 0x34]
cmovae ecx, edi
cmp dword [ebp - 0x30], 8
cmovae esi, dword [ebp - 0x44]
cmp edx, dword [ebp - 0x18]
jne 0x608a8b
test edx, edx
je 0x608a84
sub esi, ecx
nop
mov ax, word [ecx + esi]
cmp ax, word [ecx]
jne 0x608a88
add ecx, 2
sub edx, 1
jne 0x608a70
mov eax, dword [ebp - 0x14]
mov bl, 1
jmp 0x608a8d
mov eax, dword [ebp - 0x14]
xor bl, bl
dec dword [0x674754]
cmp eax, 8
jb 0x608ac7
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x608abd
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x608cc9
push ecx
push edi
call fcn.006317bc
add esp, 8
test bl, bl
jne 0x608bc6
xor eax, eax
mov dword [ebp - 0x2c], 0x669c14
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
push 2
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x28]
inc dword [0x674754]
push 0x669838
call fcn.00611370
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x14]
lea esi, [ebp - 0x44]
mov edi, dword [ebp - 0x28]
cmp eax, 8
mov edx, dword [ebp - 0x34]
cmovae ecx, edi
cmp dword [ebp - 0x30], 8
cmovae esi, dword [ebp - 0x44]
cmp edx, dword [ebp - 0x18]
jne 0x608b4b
test edx, edx
je 0x608b44
sub esi, ecx
nop
mov ax, word [ecx + esi]
cmp ax, word [ecx]
jne 0x608b48
add ecx, 2
sub edx, 1
jne 0x608b30
mov eax, dword [ebp - 0x14]
mov bl, 1
jmp 0x608b4d
mov eax, dword [ebp - 0x14]
xor bl, bl
dec dword [0x674754]
cmp eax, 8
jb 0x608b87
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x608b7d
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x608cc9
push ecx
push edi
call fcn.006317bc
add esp, 8
test bl, bl
jne 0x608bc6
cmp dword [ebp - 0x34], 2
jne 0x608ba3
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
cmp word [eax + 2], 0x3a
je 0x608bc6
lea edx, [ebp - 0x69]
lea ecx, [ebp - 0x48]
call fcn.00609020
test al, al
jne 0x608bc6
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
push 0
cmovae eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 0x74]
mov eax, 0x92492493
sub ecx, dword [ebp - 0x78]
mov esi, dword [ebp - 0x7c]
add dword [ebp - 0x68], 0x1c
inc esi
imul ecx
mov dword [ebp - 0x7c], esi
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
mov esi, dword [ebp - 0x68]
jb 0x6088e1
xor esi, esi
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0xd
call fcn.00603370
mov eax, dword [0x674754]
mov edx, dword [ebp - 0x30]
dec eax
mov dword [ebp - 0x48], 0x669c14
mov dword [0x674754], eax
cmp edx, 8
jb 0x608c54
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x608c45
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x608cc9
push edx
push ecx
call fcn.006317bc
mov eax, dword [0x674754]
add esp, 8
mov edx, dword [ebp - 0x4c]
xor ecx, ecx
dec eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], cx
mov dword [ebp - 0x64], 0x669c14
mov dword [0x674754], eax
cmp edx, 8
jb 0x608cab
mov ecx, dword [ebp - 0x60]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x608ca1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x608cc9
push edx
push ecx
call fcn.006317bc
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00631776
mov esp, ebp
pop ebp
ret
call fcn.006375a6
int3