Function at 0x4143c0
Capabilities:
Create directory
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov eax, dword [esp + 0x74]
mov ebx, dword [esp + 0x70]
mov dword [esp], eax
call sub.msvcrt.dll_strlen
cmp eax, 0x400
mov edi, eax
jg 0x414543
mov ebp, dword [esp + 0x7c]
test ebp, ebp
jne 0x414557
lea eax, [esp + 0x3c]
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x1c], eax
mov esi, dword [esp + 0x1c]
mov dword [esp + 8], 8
mov dword [esp], ebx
mov dword [esp + 0x3c], 0x56434552
mov dword [esp + 4], esi
mov dword [esp + 0x40], edi
call fcn.004076c0
test eax, eax
jne 0x414543
mov eax, dword [esp + 0x74]
mov dword [esp + 8], edi
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.004076c0
test eax, eax
jne 0x414543
mov dword [esp + 8], 8
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.00407390
test eax, eax
mov dword [esp + 0x20], eax
jne 0x414543
mov ebp, dword [esp + 0x3c]
cmp ebp, 0x454e4f44
sete byte [esp + 0x24]
je 0x41448d
cmp ebp, 0x41544144
jne 0x4145d0
mov eax, dword [esp + 0x78]
mov dword [esp], eax
call sub.msvcrt.dll__unlink
cmp eax, 0xffffffff
je 0x414800
mov eax, dword [esp + 0x78]
mov dword [esp + 0x70], ebx
lea edi, [eax + 1]
mov esi, eax
jmp 0x4144d7
test eax, eax
je 0x414503
test edi, edi
je 0x414656
mov byte [edi], 0
mov dword [esp], esi
call dword [sym.imp.msvcrt.dll__mkdir]
mov byte [edi], 0x5c
test eax, eax
js 0x414647
add edi, 1
mov dword [esp], edi
mov dword [esp + 4], 0x2f
call sub.msvcrt.dll_strchr
mov dword [esp], edi
mov dword [esp + 4], 0x5c
mov ebx, eax
call sub.msvcrt.dll_strchr
test ebx, ebx
mov edi, eax
je 0x4144b5
cmp ebx, eax
jb 0x4144b1
mov edi, ebx
jmp 0x4144bd
call dword [sym.imp.msvcrt.dll__errno]
mov eax, dword [eax]
mov dword [esp], eax
call sub.msvcrt.dll_strerror
mov dword [esp + 4], str.cannot_write__s:__s_n
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 8], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call fcn.00413900
mov dword [esp], esi
call fcn.004199a0
mov dword [esp + 0x20], 0xffffffff
mov eax, dword [esp + 0x20]
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
lea esi, [esp + 0x3c]
mov dword [esp + 8], 8
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 0x3c], 0x54415453
mov dword [esp + 0x40], eax
mov dword [esp + 0x1c], esi
call fcn.004076c0
test eax, eax
jne 0x414543
mov eax, dword [esp + 0x74]
mov dword [esp + 8], edi
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.004076c0
test eax, eax
jne 0x414543
mov dword [esp + 8], 0x10
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.00407390
test eax, eax
jne 0x414543
cmp dword [esp + 0x3c], 0x54415453
jne 0x414543
mov eax, dword [esp + 0x44]
xor edx, edx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x28], eax
jmp 0x414408
mov esi, 0xffffffff
mov dword [esp], esi
call fcn.004199a0
mov eax, dword [esp + 0x78]
mov dword [esp], eax
call sub.msvcrt.dll__unlink
cmp eax, 0xffffffff
je 0x4147c0
cmp ebp, 0x4c494146
je 0x414780
mov dword [0x4ef3c8], ebp
mov byte [0x4ef3cc], 0
mov eax, dword [esp + 0x78]
mov dword [esp + 0x10], 0x4ef3c8
mov dword [esp + 4], str.failed_to_copy__s_to__s:__s_n
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 8], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call fcn.00413900
mov eax, dword [esp + 0x20]
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
call dword [sym.imp.msvcrt.dll__errno]
cmp dword [eax], 0x11
je 0x4144d4
mov eax, dword [esp + 0x78]
mov dword [esp + 4], 0x1a4
mov ebx, dword [esp + 0x70]
mov dword [esp], eax
call fcn.004193b0
test eax, eax
mov esi, eax
js 0x414881
cmp byte [esp + 0x24], 0
mov edi, dword [esp + 0x40]
jne 0x414840
cmp ebp, 0x41544144
jne 0x4145d5
cmp edi, 0x10000
jg 0x41484d
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
mov ecx, edx
or ecx, eax
mov dword [esp + 0x24], ecx
jmp 0x4146fb
mov eax, dword [esp + 0x1c]
mov dword [esp + 8], 8
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.00407390
test eax, eax
jne 0x414543
mov eax, dword [esp + 0x3c]
mov edi, dword [esp + 0x40]
cmp eax, 0x454e4f44
je 0x414840
cmp eax, 0x41544144
jne 0x41487a
cmp edi, 0x10000
jg 0x41484d
mov dword [esp + 8], edi
mov dword [esp + 4], 0x4ef3c8
mov dword [esp], ebx
call fcn.00407390
test eax, eax
jne 0x41453b
mov dword [esp + 8], edi
mov dword [esp + 4], 0x4ef3c8
mov dword [esp], esi
call fcn.004076c0
test eax, eax
jne 0x414507
mov eax, edi
mov edi, dword [esp + 0x7c]
cdq
add eax, dword [0x4ff3d0]
adc edx, dword [0x4ff3d4]
test edi, edi
mov dword [0x4ff3d0], eax
mov dword [0x4ff3d4], edx
je 0x4146b1
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x4146b1
mov edi, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
mov dword [esp], edi
mov dword [esp + 4], ebp
call fcn.00413b80
jmp 0x4146b1
mov eax, dword [esp + 0x40]
mov edi, 0x100
mov dword [esp + 4], 0x4ef3c8
mov dword [esp], ebx
cmp eax, 0x100
cmovle edi, eax
mov dword [esp + 8], edi
call fcn.00407390
test eax, eax
jne 0x414543
mov byte [edi + 0x4ef3c8], 0
jmp 0x41460b
call dword [sym.imp.msvcrt.dll__errno]
cmp dword [eax], 0xd
jne 0x4145f2
mov eax, dword [esp + 0x78]
mov dword [esp + 4], 0x180
mov dword [esp], eax
call sub.msvcrt.dll__chmod
test eax, eax
jne 0x4145f2
mov eax, dword [esp + 0x78]
mov dword [esp], eax
call sub.msvcrt.dll__unlink
jmp 0x4145f2
call dword [sym.imp.msvcrt.dll__errno]
cmp dword [eax], 0xd
jne 0x4144a2
mov eax, dword [esp + 0x78]
mov dword [esp + 4], 0x180
mov dword [esp], eax
call sub.msvcrt.dll__chmod
test eax, eax
jne 0x4144a2
mov eax, dword [esp + 0x78]
mov dword [esp], eax
call sub.msvcrt.dll__unlink
jmp 0x4144a2
mov dword [esp], esi
call fcn.004199a0
jmp 0x41454b
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 4], str.data_overrun_n
add eax, 0x40
mov dword [esp], eax
call fcn.00413900
mov dword [esp], esi
call fcn.004199a0
mov dword [esp + 0x20], 0xffffffff
jmp 0x41454b
mov ebp, eax
jmp 0x4145d5
call dword [sym.imp.msvcrt.dll__errno]
mov eax, dword [eax]
mov dword [esp], eax
call sub.msvcrt.dll_strerror
mov dword [esp + 4], str.cannot_create__s:__s_n
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 8], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call fcn.00413900
jmp 0x414543