Function at 0x469990
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e7d3c
mov eax, dword fs:[0]
push eax
sub esp, 0x148
mov eax, dword [0x66c488]
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
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x138]
push 0x128
push 0
push eax
call fcn.005b41e0
add esp, 0xc
lea eax, [ebp - 0x138]
xorps xmm0, xmm0
movlpd qword [ebp - 0x138], xmm0
movlpd qword [ebp - 0x130], xmm0
push 0
push eax
push edi
movlpd qword [ebp - 0x128], xmm0
call fcn.0047dabf
test eax, eax
je 0x469a0f
mov eax, 1
jmp 0x469dc9
call fcn.0046d771
mov ecx, eax
test ecx, ecx
jne 0x469a24
push 0x80004005
call fcn.0040aa40
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x148], esi
push edi
lea ecx, [ebp - 0x13c]
mov dword [ebp - 4], 0
call fcn.0040abc0
push 0x5c
push 0x2f
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 1
call fcn.0040be00
push 0x63e7b0
push dword [ebp - 0x13c]
call fcn.005c2614
add esp, 8
test eax, eax
sete al
or ebx, 0xffffffff
test al, al
je 0x469a85
mov eax, dword [ebp - 0x13c]
lea edi, [ebx + 2]
jmp 0x469d90
push 1
lea eax, [ebp - 0x144]
push eax
lea ecx, [ebp - 0x13c]
call fcn.00409c80
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
cmp ecx, 1
jne 0x469abb
test ecx, ecx
jns 0x469ab1
push 0x80070057
call fcn.0040aa40
mov al, byte [eax]
cmp al, 0x5c
jne 0x469abb
xor bl, bl
jmp 0x469abd
mov bl, 1
mov edx, dword [ebp - 0x144]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x469adb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test bl, bl
je 0x469aec
push 0x5c
lea ecx, [ebp - 0x13c]
call fcn.0040a110
push 2
lea eax, [ebp - 0x144]
push eax
lea ecx, [ebp - 0x13c]
call fcn.00409c00
push 0x607ffc
push dword [eax]
call fcn.005c2614
mov edx, dword [ebp - 0x144]
add esp, 8
test eax, eax
sete byte [ebp - 0x13d]
or ebx, 0xffffffff
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x469b38
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x13d], 0
je 0x469c5e
push 2
push 0x607ffc
lea ecx, [ebp - 0x148]
call fcn.0040aa90
mov eax, dword [ebp - 0x13c]
cmp dword [eax - 4], 1
jle 0x469b77
push dword [eax - 0xc]
lea ecx, [ebp - 0x13c]
call fcn.0040a780
mov eax, dword [ebp - 0x13c]
lea edx, [eax + 2]
test edx, edx
jne 0x469b82
xor ecx, ecx
jmp 0x469b90
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x469b87
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x13c]
call fcn.0040aa90
mov eax, dword [ebp - 0x13c]
cmp dword [eax - 0xc], 0
jg 0x469bae
or esi, 0xffffffff
jmp 0x469bc6
push 0x5c
push eax
call fcn.005c579e
mov esi, eax
add esp, 8
sub esi, dword [ebp - 0x13c]
test eax, eax
cmove esi, ebx
lea eax, [esi + 1]
push eax
lea eax, [ebp - 0x144]
push eax
lea ecx, [ebp - 0x13c]
call fcn.00409c00
mov eax, dword [eax]
lea ecx, [ebp - 0x148]
mov byte [ebp - 4], 2
push dword [eax - 0xc]
push eax
call fcn.00409f40
mov edx, dword [ebp - 0x144]
mov eax, ebx
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x469c12
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x13c]
cmp dword [eax - 4], 1
jle 0x469c32
push dword [eax - 0xc]
lea ecx, [ebp - 0x13c]
call fcn.0040a780
mov eax, dword [ebp - 0x13c]
lea edx, [eax + 1]
add edx, esi
jne 0x469c3d
xor ecx, ecx
jmp 0x469c4b
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x469c42
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x13c]
call fcn.0040aa90
mov esi, dword [ebp - 0x148]
mov eax, dword [ebp - 0x13c]
cmp dword [eax - 0xc], 0
je 0x469d8b
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
jg 0x469c7b
or esi, 0xffffffff
jmp 0x469c93
push 0x5c
push eax
call fcn.005c579e
mov esi, eax
add esp, 8
sub esi, dword [ebp - 0x13c]
test eax, eax
cmove esi, ebx
lea eax, [esi + 1]
push eax
lea eax, [ebp - 0x144]
push eax
lea ecx, [ebp - 0x13c]
call fcn.00409c00
mov eax, dword [eax]
lea ecx, [ebp - 0x148]
mov byte [ebp - 4], 3
push dword [eax - 0xc]
push eax
call fcn.00409f40
mov edx, dword [ebp - 0x144]
mov eax, ebx
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x469cdf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x13c]
cmp dword [eax - 4], 1
jle 0x469cff
push dword [eax - 0xc]
lea ecx, [ebp - 0x13c]
call fcn.0040a780
mov eax, dword [ebp - 0x13c]
lea edx, [eax + 1]
add edx, esi
jne 0x469d0a
xor ecx, ecx
jmp 0x469d19
mov ecx, edx
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x469d10
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x13c]
call fcn.0040aa90
mov esi, dword [ebp - 0x148]
cmp dword [esi - 0xc], 0
jl 0x469d4b
push 0x5fe140
push esi
call fcn.005c1cdc
add esp, 8
test eax, eax
je 0x469d4b
sub eax, esi
cmp eax, 0xffffffff
jg 0x469d7b
lea eax, [ebp - 0x154]
mov dword [ebp - 0x14c], 0
push eax
xorps xmm0, xmm0
push esi
movq qword [ebp - 0x154], xmm0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x469d7b
call edi
cmp eax, 0xb7
jne 0x469de5
mov eax, dword [ebp - 0x13c]
cmp dword [eax - 0xc], 0
jne 0x469c74
mov edi, 1
lea edx, [eax - 0x10]
mov byte [ebp - 4], 0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x469dab
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x469dc7
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
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.005b07f1
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x13c]
xor edi, edi
jmp 0x469d90