Function at 0x411c00
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x660
mov eax, dword [0x5a83f8]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
je 0x411d18
push 0x104
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x414]
push ecx
call fcn.004fcb5f
add esp, 0xc
lea edx, [ebp - 0x414]
mov dword [ebp - 0x628], edx
mov eax, dword [ebp - 0x628]
add eax, 2
mov dword [ebp - 0x654], eax
mov ecx, dword [ebp - 0x628]
mov dx, word [ecx]
mov word [ebp - 0x632], dx
add dword [ebp - 0x628], 2
cmp word [ebp - 0x632], 0
jne 0x411c50
mov eax, dword [ebp - 0x628]
sub eax, dword [ebp - 0x654]
sar eax, 1
mov dword [ebp - 0x658], eax
mov ecx, dword [ebp - 0x658]
mov dword [ebp - 0x630], ecx
cmp dword [ebp - 0x630], 0
jbe 0x411cf3
mov edx, dword [ebp - 0x630]
movzx eax, word [ebp + edx*2 - 0x416]
cmp eax, 0x2f
je 0x411cc0
mov ecx, dword [ebp - 0x630]
movzx edx, word [ebp + ecx*2 - 0x416]
cmp edx, 0x5c
jne 0x411cf3
mov eax, dword [ebp - 0x630]
lea ecx, [eax + eax - 2]
mov dword [ebp - 0x638], ecx
cmp dword [ebp - 0x638], 0x208
jae 0x411cde
jmp 0x411ce3
call fcn.0046ed8e
xor edx, edx
mov eax, dword [ebp - 0x638]
mov word [ebp + eax - 0x414], dx
lea ecx, [ebp - 0x414]
push ecx
call fcn.0040a2f0
add esp, 4
movzx edx, al
test edx, edx
jne 0x411d18
push 0
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp + 0xc]
movzx edx, word [ecx]
test edx, edx
jne 0x411d27
jmp 0x411f70
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x624], eax
mov ecx, dword [ebp - 0x624]
mov dword [ebp - 0x620], ecx
mov edx, dword [ebp - 0x620]
movzx eax, word [edx]
test eax, eax
je 0x411d82
mov ecx, dword [ebp - 0x620]
movzx edx, word [ecx]
cmp edx, 0x2f
je 0x411d65
mov eax, dword [ebp - 0x620]
movzx ecx, word [eax]
cmp ecx, 0x5c
jne 0x411d71
mov edx, dword [ebp - 0x620]
mov dword [ebp - 0x624], edx
mov eax, dword [ebp - 0x620]
add eax, 2
mov dword [ebp - 0x620], eax
jmp 0x411d3c
mov ecx, dword [ebp - 0x624]
mov dword [ebp - 0x640], ecx
mov edx, dword [ebp - 0x624]
cmp edx, dword [ebp + 0xc]
je 0x411e12
mov eax, dword [ebp - 0x624]
sub eax, dword [ebp + 0xc]
sar eax, 1
shl eax, 1
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x61c]
push edx
call fcn.004effe0
add esp, 0xc
mov eax, dword [ebp - 0x624]
sub eax, dword [ebp + 0xc]
sar eax, 1
shl eax, 1
mov dword [ebp - 0x63c], eax
cmp dword [ebp - 0x63c], 0x208
jae 0x411ddb
jmp 0x411de0
call fcn.0046ed8e
xor ecx, ecx
mov edx, dword [ebp - 0x63c]
mov word [ebp + edx - 0x61c], cx
lea eax, [ebp - 0x61c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00411c00
add esp, 8
mov edx, dword [ebp - 0x640]
add edx, 2
mov dword [ebp - 0x640], edx
mov eax, 2
imul ecx, eax, 0
mov dword [ebp - 0x644], ecx
cmp dword [ebp - 0x644], 0x208
jae 0x411e2e
jmp 0x411e33
call fcn.0046ed8e
xor edx, edx
mov eax, dword [ebp - 0x644]
mov word [ebp + eax - 0x20c], dx
cmp dword [ebp + 8], 0
je 0x411e61
push 0x104
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x20c]
push edx
call fcn.004fcb5f
add esp, 0xc
mov eax, 2
imul ecx, eax, 0x103
mov dword [ebp - 0x648], ecx
cmp dword [ebp - 0x648], 0x208
jae 0x411e80
jmp 0x411e85
call fcn.0046ed8e
xor edx, edx
mov eax, dword [ebp - 0x648]
mov word [ebp + eax - 0x20c], dx
lea ecx, [ebp - 0x20c]
mov dword [ebp - 0x62c], ecx
mov edx, dword [ebp - 0x62c]
add edx, 2
mov dword [ebp - 0x65c], edx
mov eax, dword [ebp - 0x62c]
mov cx, word [eax]
mov word [ebp - 0x634], cx
add dword [ebp - 0x62c], 2
cmp word [ebp - 0x634], 0
jne 0x411eb0
mov edx, dword [ebp - 0x62c]
sub edx, dword [ebp - 0x65c]
sar edx, 1
mov dword [ebp - 0x660], edx
mov eax, dword [ebp - 0x660]
mov dword [ebp - 0x64c], eax
mov ecx, 0x104
sub ecx, dword [ebp - 0x64c]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x64c]
lea ecx, [ebp + eax*2 - 0x20c]
push ecx
call fcn.004fcb5f
add esp, 0xc
mov edx, 2
imul eax, edx, 0x103
mov dword [ebp - 0x650], eax
cmp dword [ebp - 0x650], 0x208
jae 0x411f36
jmp 0x411f3b
call fcn.0046ed8e
xor ecx, ecx
mov edx, dword [ebp - 0x650]
mov word [ebp + edx - 0x20c], cx
lea eax, [ebp - 0x20c]
push eax
call fcn.0040a2f0
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x411f70
push 0
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046ec22
mov esp, ebp
pop ebp
ret