Function at 0x401bf0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x45c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x458], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [esp + 0x18], ecx
mov ecx, dword [ebp + 0xc]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
push edi
test esi, esi
je 0x401ef8
test ecx, ecx
je 0x401ef8
push ecx
call dword [sym.imp.MSVCR120.dll__mkdir]
push 0x103
lea eax, [esp + 0x361]
mov byte [esp + 0x360], 0
push 0
push eax
call sub.MSVCR120.dll_memset
push 0x103
lea eax, [esp + 0x15d]
mov byte [esp + 0x15c], 0
push 0
push eax
call sub.MSVCR120.dll_memset
push 0x103
lea eax, [esp + 0x271]
mov byte [esp + 0x270], 0
push 0
push eax
call sub.MSVCR120.dll_memset
lea edx, [esp + 0x380]
add esp, 0x28
mov ecx, esi
sub edx, esi
jmp 0x401ca0
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x401ca0
lea ecx, [esp + 0x358]
dec ecx
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x401cb5
mov eax, dword [str..]
mov dword [ecx], eax
mov al, byte [0x404810]
mov byte [ecx + 4], al
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x35c]
push eax
call dword [sym.imp.MSVCR120.dll__findfirst64i32]
mov edi, eax
add esp, 8
mov dword [esp + 0x14], edi
cmp edi, 0xffffffff
je 0x401edc
lea ebx, [esp + 0x148]
lea eax, [esp + 0x250]
sub ebx, esi
sub eax, dword [esp + 0xc]
mov dword [esp + 0x18], eax
jmp 0x401d10
mov eax, esi
mov cl, byte [eax]
mov byte [ebx + eax], cl
inc eax
test cl, cl
jne 0x401d12
lea edi, [esp + 0x148]
dec edi
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x401d24
mov ax, word [0x404814]
lea edx, [esp + 0x44]
mov word [edi], ax
mov esi, edx
lea ecx, [ecx]
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x401d40
lea edi, [esp + 0x148]
sub edx, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x401d51
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [esp + 0xc]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x18]
nop
mov cl, byte [edx]
lea edx, [edx + 1]
mov byte [esi + edx - 1], cl
test cl, cl
jne 0x401d70
lea edi, [esp + 0x250]
dec edi
mov cl, byte [edi + 1]
lea edi, [edi + 1]
test cl, cl
jne 0x401d85
lea edx, [esp + 0x44]
mov word [edi], ax
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x401d98
lea edi, [esp + 0x250]
sub edx, esi
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x401db0
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
test byte [esp + 0x20], 0x10
rep movsb byte es:[edi], byte [esi]
jne 0x401e13
lea eax, [esp + 0x148]
push 0x4047e8
push eax
call dword [sym.imp.MSVCR120.dll_fopen]
add esp, 8
test eax, eax
jne 0x401dfd
lea eax, [esp + 0x148]
push eax
call dword [sym.imp.MSVCR120.dll_perror]
add esp, 4
jmp 0x401e98
push eax
push dword [esp + 0x14]
lea ecx, [esp + 0x258]
call fcn.00401a50
jmp 0x401e98
mov ecx, 0x404818
lea eax, [esp + 0x44]
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x401e40
test dl, dl
je 0x401e3c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x401e40
add eax, 2
add ecx, 2
test dl, dl
jne 0x401e20
xor eax, eax
jmp 0x401e45
sbb eax, eax
or eax, 1
test eax, eax
je 0x401e98
mov ecx, 0x40481c
lea eax, [esp + 0x44]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x401e72
test dl, dl
je 0x401e6e
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x401e72
add eax, 2
add ecx, 2
test dl, dl
jne 0x401e52
xor eax, eax
jmp 0x401e77
sbb eax, eax
or eax, 1
test eax, eax
je 0x401e98
push dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x254]
push eax
lea eax, [esp + 0x150]
push eax
call fcn.00401bf0
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x20]
push eax
push edi
call dword [sym.imp.MSVCR120.dll__findnext64i32]
mov esi, dword [ebp + 8]
add esp, 8
test eax, eax
je 0x401d10
push edi
call dword [sym.imp.MSVCR120.dll__findclose]
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x458]
xor ecx, esp
call fcn.00402eb0
mov esp, ebp
pop ebp
ret 0xc
mov eax, 0xfffffffd
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x458]
xor ecx, esp
call fcn.00402eb0
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [esp + 0x464]
or eax, 0xffffffff
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00402eb0
mov esp, ebp
pop ebp
ret 0xc