Function at 0x413ab0
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x46d048
mov eax, dword fs:[0]
push eax
sub esp, 0x74
push ebx
push ebp
push esi
push edi
mov eax, dword [0x483390]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov ebx, ecx
lea eax, [esp + 0x1c]
call fcn.0040ea00
mov dword [esp + 0x90], 0
mov esi, dword [esp + 0x20]
mov ebp, dword [esp + 0x1c]
test esi, esi
je 0x413b47
cmp word [ebp + esi*2 - 2], 0x5c
lea eax, [ebp + esi*2 - 2]
je 0x413b15
cmp eax, ebp
je 0x413b47
sub eax, 2
cmp word [eax], 0x5c
jne 0x413b08
sub eax, ebp
sar eax, 1
test eax, eax
jle 0x413b47
lea ecx, [esi - 1]
cmp eax, ecx
jne 0x413b47
cmp esi, 3
jne 0x413b34
cmp word [ebp + 2], 0x3a
je 0x413cf6
mov ecx, eax
lea edi, [esp + 0x1c]
call fcn.004139f0
mov ebp, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
lea edi, [esp + 0x1c]
lea eax, [esp + 0x28]
call fcn.00404de0
mov byte [esp + 0x90], 1
mov dword [esp + 0x18], esi
cmp byte [0x5873c0], 0
jne 0x413b92
mov ebx, ebp
lea ecx, [esp + 0x34]
call fcn.004134a0
mov eax, dword [eax]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov edx, dword [esp + 0x34]
push edx
mov ebx, eax
call fcn.00443398
add esp, 4
test ebx, ebx
jmp 0x413b9d
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x413d3d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x413ca8
test esi, esi
je 0x413e3c
cmp word [ebp + esi*2 - 2], 0x5c
lea eax, [ebp + esi*2 - 2]
je 0x413bd9
cmp eax, ebp
je 0x413e3c
sub eax, 2
cmp word [eax], 0x5c
jne 0x413bc8
sub eax, ebp
sar eax, 1
mov dword [esp + 0x18], eax
js 0x413e3c
test eax, eax
je 0x413e3c
cmp word [ebp + eax*2 - 2], 0x3a
je 0x413e35
mov ecx, eax
lea esi, [esp + 0x40]
lea edx, [esp + 0x1c]
call fcn.00404ef0
mov edi, eax
lea eax, [esp + 0x1c]
mov byte [esp + 0x90], 3
cmp edi, eax
je 0x413c8a
xor ecx, ecx
mov word [ebp], cx
mov esi, dword [edi + 4]
inc esi
mov dword [esp + 0x20], 0
cmp esi, dword [esp + 0x24]
je 0x413c6e
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00441dab
add esp, 4
cmp dword [esp + 0x24], 0
mov ebx, eax
jle 0x413c5f
push ebp
call fcn.00443398
add esp, 4
mov ebp, ebx
xor eax, eax
mov dword [esp + 0x1c], ebp
mov word [ebx], ax
mov dword [esp + 0x24], esi
mov edx, dword [edi]
mov ecx, ebp
movzx eax, word [edx]
mov word [ecx], ax
add ecx, 2
add edx, 2
test ax, ax
jne 0x413c72
mov ecx, dword [edi + 4]
mov dword [esp + 0x20], ecx
mov byte [esp + 0x90], 1
mov edx, dword [esp + 0x40]
push edx
call fcn.00443398
mov esi, dword [esp + 0x24]
add esp, 4
jmp 0x413b60
xor eax, eax
push 4
lea esi, [esp + 0x78]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
call fcn.004051d0
lea eax, [esp + 0x4c]
push eax
mov ecx, ebp
mov byte [esp + 0x94], 2
call fcn.00414160
test al, al
jne 0x413d06
mov ecx, dword [esp + 0x74]
push ecx
call fcn.00443398
add esp, 4
mov edx, dword [esp + 0x28]
push edx
call fcn.00443398
add esp, 4
push ebp
call fcn.00443398
add esp, 4
mov al, 1
jmp 0x413e54
mov eax, dword [esp + 0x6c]
shr eax, 4
test al, 1
jne 0x413d28
mov ecx, dword [esp + 0x74]
push ecx
call fcn.00443398
mov edx, dword [esp + 0x2c]
add esp, 4
push edx
jmp 0x413e41
mov byte [esp + 0x90], 1
mov eax, dword [esp + 0x74]
push eax
call fcn.00443398
add esp, 4
lea edi, [esp + 0x28]
lea eax, [esp + 0x1c]
call fcn.00404ea0
mov esi, dword [esp + 0x18]
cmp esi, dword [esp + 0x20]
mov ebp, dword [esp + 0x1c]
jge 0x413ce9
jmp 0x413d64
mov esi, dword [esp + 0x18]
movzx ecx, word [ebp + esi*2 + 2]
lea edx, [ebp + esi*2 + 2]
mov eax, edx
cmp cx, 0x5c
je 0x413d8a
movzx ecx, cx
test cx, cx
je 0x413d9e
movzx ecx, word [eax + 2]
add eax, 2
cmp cx, 0x5c
jne 0x413d78
sub eax, edx
sar eax, 1
test eax, eax
jl 0x413d9e
lea edi, [eax + esi + 1]
mov dword [esp + 0x18], edi
test edi, edi
jge 0x413da8
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x18], ecx
mov edi, ecx
mov ecx, edi
lea esi, [esp + 0x34]
lea edx, [esp + 0x1c]
call fcn.00404ef0
mov byte [esp + 0x90], 4
cmp byte [0x5873c0], 0
mov ebx, dword [eax]
jne 0x413df5
lea ecx, [esp + 0x40]
call fcn.004134a0
mov eax, dword [eax]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov edx, dword [esp + 0x40]
push edx
mov esi, eax
call fcn.00443398
add esp, 4
test esi, esi
je 0x413e06
mov al, 1
jmp 0x413e08
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x413e06
mov al, 1
jmp 0x413e08
xor al, al
test al, al
mov byte [esp + 0x90], 1
mov eax, dword [esp + 0x34]
push eax
sete bl
call fcn.00443398
add esp, 4
test bl, bl
jne 0x413e3c
cmp edi, dword [esp + 0x20]
jl 0x413d60
jmp 0x413ce9
mov eax, dword [esp + 0x28]
push eax
jmp 0x413e41
mov ecx, dword [esp + 0x28]
push ecx
call fcn.00443398
add esp, 4
push ebp
call fcn.00443398
add esp, 4
xor al, al
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x80
ret