Function at 0x402cf0
Capabilities:
Create directory

Disassembly:
push ebp
push edi
push esi
mov esi, 0x1b
push ebx
sub esp, 0x2c
mov ebx, dword [esp + 0x40]
mov dword [esp], ebx
call sub.msvcrt.dll_strlen
mov dword [esp], ebx
mov edi, eax
mov dword [esp + 0x1c], eax
call sub.msvcrt.dll__strdup
test eax, eax
mov ebp, eax
je 0x402dea
mov eax, edi
add eax, 1
mov dword [esp], eax
call sub.msvcrt.dll_malloc
test eax, eax
mov ebx, eax
je 0x402de2
mov byte [eax], 0
mov dword [esp + 4], 0x452218
mov dword [esp], ebp
call sub.msvcrt.dll_strtok
test eax, eax
mov edi, eax
je 0x402dd8
mov dword [esp + 4], 0x452218
mov dword [esp], 0
call sub.msvcrt.dll_strtok
test eax, eax
mov esi, eax
je 0x402dd8
mov edx, ebx
mov ecx, dword [edx]
add edx, 4
lea eax, [ecx - 0x1010101]
not ecx
and eax, ecx
and eax, 0x80808080
je 0x402d70
mov ecx, eax
shr ecx, 0x10
test eax, 0x8080
cmove eax, ecx
lea ecx, [edx + 2]
cmove edx, ecx
add al, al
sbb edx, 3
sub edx, ebx
jne 0x402e47
cmp byte [ebp], 0x5c
je 0x402e74
mov dword [esp + 4], edi
mov dword [esp], ebx
call sub.msvcrt.dll_strcpy
mov dword [esp + 4], 0
mov dword [esp], ebx
call sub.msvcrt.dll__access
cmp eax, 0xffffffff
je 0x402df4
mov edi, esi
jmp 0x402d54
xor esi, esi
mov dword [esp], ebx
call sub.msvcrt.dll_free
mov dword [esp], ebp
call sub.msvcrt.dll_free
add esp, 0x2c
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], ebx
call sub.msvcrt.dll__mkdir
cmp eax, 0xffffffff
jne 0x402dd1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x1e
je 0x402ecb
jg 0x402e9d
cmp eax, 0xd
je 0x402f31
cmp eax, 0x1c
jne 0x402f0f
mov eax, dword [esp + 0x44]
mov esi, 0x17
mov dword [esp + 8], ebx
mov dword [esp + 4], str.No_space_left_on_the_file_system_that_will_contain_the_directory__s._n
mov dword [esp], eax
call sym.curl.exe_curl_mfprintf
jmp 0x402dda
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0x452218
mov dword [esp + 8], 0x45221a
sub eax, edx
add edx, ebx
mov dword [esp + 4], eax
mov dword [esp], edx
call sym.curl.exe_curl_msnprintf
jmp 0x402dbc
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0x452218
mov dword [esp + 8], 0x45221a
mov dword [esp + 4], eax
mov dword [esp], ebx
call sym.curl.exe_curl_msnprintf
jmp 0x402dbc
cmp eax, 0x26
je 0x402eed
cmp eax, 0x2755
jne 0x402f0f
mov eax, dword [esp + 0x44]
mov esi, 0x17
mov dword [esp + 8], ebx
mov dword [esp + 4], str.Cannot_create_directory__s_because_you_exceeded_your_quota._n
mov dword [esp], eax
call sym.curl.exe_curl_mfprintf
jmp 0x402dda
mov eax, dword [esp + 0x44]
mov esi, 0x17
mov dword [esp + 8], ebx
mov dword [esp + 4], str._s_resides_on_a_read_only_file_system._n
mov dword [esp], eax
call sym.curl.exe_curl_mfprintf
jmp 0x402dda
mov eax, dword [esp + 0x44]
mov esi, 0x17
mov dword [esp + 8], ebx
mov dword [esp + 4], str.The_directory_name__s_is_too_long._n
mov dword [esp], eax
call sym.curl.exe_curl_mfprintf
jmp 0x402dda
mov eax, dword [esp + 0x44]
mov esi, 0x17
mov dword [esp + 8], ebx
mov dword [esp + 4], str.Error_creating_directory__s._n
mov dword [esp], eax
call sym.curl.exe_curl_mfprintf
jmp 0x402dda
mov eax, dword [esp + 0x44]
mov esi, 0x17
mov dword [esp + 8], ebx
mov dword [esp + 4], str.You_dont_have_permission_to_create__s._n
mov dword [esp], eax
call sym.curl.exe_curl_mfprintf
jmp 0x402dda