Function at 0x4096d0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x455138
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x46f940]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
push eax
call fcn.00405bc0
add esp, 4
lea esi, [eax + 0x10]
mov dword [ebp - 0x18], esi
push 1
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x18]
call fcn.0040a9a0
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
cmp ecx, 1
jne 0x40974b
test ecx, ecx
jns 0x409741
push 0x80070057
call fcn.00406610
cmp word [eax], 0x5c
mov byte [ebp - 0x11], 0
je 0x40974f
mov byte [ebp - 0x11], 1
mov edx, dword [ebp - 0x20]
or ebx, 0xffffffff
add edx, 0xfffffff0
mov eax, ebx
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x40976e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x11], 0
je 0x4097c6
mov eax, dword [esi - 0xc]
mov dword [ebp - 0x20], eax
lea edi, [eax + 1]
test edi, edi
jns 0x40978b
push 0x80070057
call fcn.00406610
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x4097a8
push edi
lea ecx, [ebp - 0x18]
call fcn.00405f30
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x20]
mov ecx, 0x5c
mov word [esi + eax*2], cx
cmp edi, dword [esi - 8]
jg 0x409737
xor eax, eax
mov dword [esi - 0xc], edi
mov word [esi + edi*2], ax
push 0x462cd8
lea ecx, [ebp - 0x1c]
call fcn.00406110
xor edi, edi
mov byte [ebp - 4], 3
xor ecx, ecx
jmp 0x4097e0
mov eax, dword [esi - 0xc]
test eax, eax
je 0x409945
jns 0x4097f2
or eax, 0xffffffff
jmp 0x40980d
push 0x462e68
push esi
call fcn.00420bd4
add esp, 8
test eax, eax
jne 0x409809
or eax, 0xffffffff
jmp 0x40980d
sub eax, esi
sar eax, 1
inc eax
lea ecx, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0040aa20
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.00402870
mov byte [ebp - 4], 3
mov ecx, ebx
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40984d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [esi - 0xc], 0
jge 0x409858
or eax, 0xffffffff
jmp 0x409873
push 0x462e68
push esi
call fcn.00420bd4
add esp, 8
test eax, eax
jne 0x40986f
or eax, 0xffffffff
jmp 0x409873
sub eax, esi
sar eax, 1
inc eax
lea ecx, [ebp - 0x18]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0040a970
mov byte [ebp - 4], 5
lea edi, [esi - 0x10]
mov ecx, dword [eax]
lea edx, [ecx - 0x10]
cmp edx, edi
je 0x4098d9
cmp dword [edi + 0xc], 0
lea esi, [edi + 0xc]
jl 0x4098ca
mov eax, dword [edx]
cmp eax, dword [edi]
jne 0x4098ca
push edx
call fcn.00405bc0
add esp, 4
mov dword [ebp - 0x24], eax
mov ecx, ebx
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x4098c2
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x24]
lea esi, [eax + 0x10]
mov dword [ebp - 0x18], esi
jmp 0x4098d9
push dword [ecx - 0xc]
push ecx
lea ecx, [ebp - 0x18]
call fcn.00406010
mov esi, dword [ebp - 0x18]
mov byte [ebp - 4], 3
mov ecx, ebx
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4098f9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
jmp 0x4097e0
mov dword [ebp - 4], 2
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
test edi, edi
jne 0x409a26
cmp ecx, 0xb7
mov ecx, ebx
jne 0x4099c3
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40997c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 0
mov ecx, ebx
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x409999
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp + 8]
add esi, 0xfffffff0
lea eax, [esi + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x409a77
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
jmp 0x409a77
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4099d4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 0
mov ecx, ebx
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4099f1
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x409a12
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x409a39
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 0
mov ecx, ebx
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x409a56
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x409a77
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret