Function at 0x419c00
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x650
mov eax, dword [0x4ebfe0]
xor eax, ebp
mov dword [ebp - 8], eax
cmp dword [ebp + 8], 0
je 0x419cf5
push 0x104
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x428]
push ecx
call fcn.004a5357
add esp, 0xc
lea edx, [ebp - 0x428]
mov dword [ebp - 0x634], edx
mov eax, dword [ebp - 0x634]
add eax, 2
mov dword [ebp - 0x638], eax
mov ecx, dword [ebp - 0x634]
mov dx, word [ecx]
mov word [ebp - 0x63a], dx
add dword [ebp - 0x634], 2
cmp word [ebp - 0x63a], 0
jne 0x419c50
mov eax, dword [ebp - 0x634]
sub eax, dword [ebp - 0x638]
sar eax, 1
mov dword [ebp - 0x640], eax
mov ecx, dword [ebp - 0x640]
mov dword [ebp - 0x220], ecx
cmp dword [ebp - 0x220], 0
jbe 0x419cd0
mov edx, dword [ebp - 0x220]
movzx eax, word [ebp + edx*2 - 0x42a]
cmp eax, 0x2f
je 0x419cc0
mov ecx, dword [ebp - 0x220]
movzx edx, word [ebp + ecx*2 - 0x42a]
cmp edx, 0x5c
jne 0x419cd0
xor eax, eax
mov ecx, dword [ebp - 0x220]
mov word [ebp + ecx*2 - 0x42a], ax
lea edx, [ebp - 0x428]
push edx
call fcn.00412c90
add esp, 4
movzx eax, al
test eax, eax
jne 0x419cf5
push 0
lea ecx, [ebp - 0x428]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov edx, dword [ebp + 0xc]
movzx eax, word [edx]
test eax, eax
jne 0x419d04
jmp 0x419e93
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
mov dword [ebp - 0x21c], edx
mov eax, dword [ebp - 0x21c]
movzx ecx, word [eax]
test ecx, ecx
je 0x419d56
mov edx, dword [ebp - 0x21c]
movzx eax, word [edx]
cmp eax, 0x2f
je 0x419d3c
mov ecx, dword [ebp - 0x21c]
movzx edx, word [ecx]
cmp edx, 0x5c
jne 0x419d45
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x21c]
add ecx, 2
mov dword [ebp - 0x21c], ecx
jmp 0x419d13
mov edx, dword [ebp - 4]
mov dword [ebp - 0x218], edx
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0xc]
je 0x419db9
mov ecx, dword [ebp - 4]
sub ecx, dword [ebp + 0xc]
sar ecx, 1
shl ecx, 1
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x630]
push eax
call fcn.004a85b0
add esp, 0xc
mov ecx, dword [ebp - 4]
sub ecx, dword [ebp + 0xc]
sar ecx, 1
xor edx, edx
mov word [ebp + ecx*2 - 0x630], dx
lea eax, [ebp - 0x630]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00419c00
add esp, 8
mov edx, dword [ebp - 0x218]
add edx, 2
mov dword [ebp - 0x218], edx
xor eax, eax
mov word [ebp - 0x210], ax
cmp dword [ebp + 8], 0
je 0x419de0
push 0x104
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x210]
push edx
call fcn.004a5357
add esp, 0xc
xor eax, eax
mov word [ebp - 0xa], ax
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x644], ecx
mov edx, dword [ebp - 0x644]
add edx, 2
mov dword [ebp - 0x648], edx
mov eax, dword [ebp - 0x644]
mov cx, word [eax]
mov word [ebp - 0x64a], cx
add dword [ebp - 0x644], 2
cmp word [ebp - 0x64a], 0
jne 0x419e01
mov edx, dword [ebp - 0x644]
sub edx, dword [ebp - 0x648]
sar edx, 1
mov dword [ebp - 0x650], edx
mov eax, dword [ebp - 0x650]
mov dword [ebp - 0x214], eax
mov ecx, 0x104
sub ecx, dword [ebp - 0x214]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x214]
lea ecx, [ebp + eax*2 - 0x210]
push ecx
call fcn.004a5357
add esp, 0xc
xor edx, edx
mov word [ebp - 0xa], dx
lea eax, [ebp - 0x210]
push eax
call fcn.00412c90
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x419e93
push 0
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004a4ea6
mov esp, ebp
pop ebp
ret