Function at 0x411840
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4341b6
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x45106c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x14], esi
mov ecx, dword [esi + 0x48]
test ecx, ecx
je 0x411884
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 0x48], 0
mov dword [ebp - 0x38], vtable.StringStorage.0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
lea eax, [ebp - 0x34]
mov dword [ebp - 4], 0
push eax
push 1
mov ecx, eax
call fcn.00409b70
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x44785c
push ecx
call fcn.00419ff0
add esp, 0xc
mov dword [ebp - 4], 1
lea eax, [ebp - 0x38]
push dword [esi + 0x38]
push dword [esi + 0x28]
push 0x447848
push eax
call fcn.00412e30
add esp, 0x10
cmp byte [esi + 0x45], 0
je 0x411a1e
push dword [esi + 0x28]
lea ecx, [ebp - 0x28]
call fcn.0040d680
push 0
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea ecx, [ebp - 0x28]
call fcn.00412c10
push ecx
mov ecx, esi
mov byte [esi + 0x45], 0
call fcn.00411b40
push 0x18
call fcn.00418d43
mov dword [ebp - 0x18], eax
push 1
push ecx
mov byte [ebp - 4], 2
mov ecx, eax
push dword [ebp - 0x34]
call fcn.00416d90
mov ecx, esi
mov dword [esi + 0x48], eax
mov byte [ebp - 4], 4
call fcn.00411ab0
mov eax, dword [esi + 0x4c]
lea ecx, [esi + 0x4c]
mov dword [ebp - 0x20], vtable.AutoLock.0
mov dword [ebp - 0x1c], ecx
call dword [eax + 4]
mov byte [ebp - 4], 5
mov eax, 0x66666667
mov ecx, dword [esi + 0x1c]
sub ecx, dword [esi + 0x18]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4119bd
xor edi, edi
nop dword [eax]
mov ecx, dword [esi + 0x1c]
mov eax, 0x66666667
mov ebx, dword [esi + 0x18]
sub ecx, ebx
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jae 0x411a02
mov edx, dword [esi]
lea eax, [edi + edi*4]
push dword [ebx + eax*8 + 0x18]
lea ecx, [ebx + eax*8]
push dword [ecx + 0x10]
lea eax, [ecx + 8]
push eax
push dword [ecx + 4]
push dword [ecx]
mov ecx, esi
call dword [edx + 4]
inc edi
jmp 0x411980
cmp byte [esi + 4], 0
je 0x411a02
xor edi, edi
mov ecx, dword [esi + 0xc]
mov eax, 0x66666667
mov ebx, dword [esi + 8]
sub ecx, ebx
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jae 0x411a02
mov edx, dword [esi]
lea eax, [edi + edi*4]
push dword [ebx + eax*8 + 0x18]
lea ecx, [ebx + eax*8]
push dword [ecx + 0x10]
lea eax, [ecx + 8]
push eax
push dword [ecx + 4]
push dword [ecx]
mov ecx, esi
call dword [edx + 4]
inc edi
jmp 0x4119c5
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx]
call dword [eax + 8]
jmp 0x411a3c
push 0x18
call fcn.00418d43
mov dword [ebp - 0x18], eax
push 0
push ecx
mov byte [ebp - 4], 3
mov ecx, eax
push dword [ebp - 0x34]
call fcn.00416d90
mov dword [esi + 0x48], eax
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x38], vtable.StringStorage.0
test edx, edx
je 0x411a76
mov ecx, dword [ebp - 0x2c]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x411a6c
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411a88
push ecx
push edx
call fcn.00418878
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00420563
int3