Function at 0x414450
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 0x4145d3
mov ebp, dword [esp + 0x7c]
test ebp, ebp
jne 0x4145e7
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 0x4145d3
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 0x4145d3
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 0x4145d3
mov ebp, dword [esp + 0x3c]
cmp ebp, 0x454e4f44
sete byte [esp + 0x24]
je 0x41451d
cmp ebp, 0x41544144
jne 0x414660
mov eax, dword [esp + 0x78]
mov dword [esp], eax
call sub.msvcrt.dll__unlink
cmp eax, 0xffffffff
je 0x414890
mov eax, dword [esp + 0x78]
mov dword [esp + 0x70], ebx
lea edi, [eax + 1]
mov esi, eax
jmp 0x414567
test eax, eax
je 0x414593
test edi, edi
je 0x4146e6
mov byte [edi], 0
mov dword [esp], esi
call dword [sym.imp.msvcrt.dll__mkdir]
mov byte [edi], 0x5c
test eax, eax
js 0x4146d7
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 0x414545
cmp ebx, eax
jb 0x414541
mov edi, ebx
jmp 0x41454d
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.00413990
mov dword [esp], esi
call fcn.00419a30
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 0x4145d3
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 0x4145d3
mov dword [esp + 8], 0x10
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.00407390
test eax, eax
jne 0x4145d3
cmp dword [esp + 0x3c], 0x54415453
jne 0x4145d3
mov eax, dword [esp + 0x44]
xor edx, edx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x28], eax
jmp 0x414498
mov esi, 0xffffffff
mov dword [esp], esi
call fcn.00419a30
mov eax, dword [esp + 0x78]
mov dword [esp], eax
call sub.msvcrt.dll__unlink
cmp eax, 0xffffffff
je 0x414850
cmp ebp, 0x4c494146
je 0x414810
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.00413990
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 0x414564
mov eax, dword [esp + 0x78]
mov dword [esp + 4], 0x1a4
mov ebx, dword [esp + 0x70]
mov dword [esp], eax
call fcn.00419440
test eax, eax
mov esi, eax
js 0x414911
cmp byte [esp + 0x24], 0
mov edi, dword [esp + 0x40]
jne 0x4148d0
cmp ebp, 0x41544144
jne 0x414665
cmp edi, 0x10000
jg 0x4148dd
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
mov ecx, edx
or ecx, eax
mov dword [esp + 0x24], ecx
jmp 0x41478b
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 0x4145d3
mov eax, dword [esp + 0x3c]
mov edi, dword [esp + 0x40]
cmp eax, 0x454e4f44
je 0x4148d0
cmp eax, 0x41544144
jne 0x41490a
cmp edi, 0x10000
jg 0x4148dd
mov dword [esp + 8], edi
mov dword [esp + 4], 0x4ef3c8
mov dword [esp], ebx
call fcn.00407390
test eax, eax
jne 0x4145cb
mov dword [esp + 8], edi
mov dword [esp + 4], 0x4ef3c8
mov dword [esp], esi
call fcn.004076c0
test eax, eax
jne 0x414597
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 0x414741
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x414741
mov edi, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
mov dword [esp], edi
mov dword [esp + 4], ebp
call fcn.00413c10
jmp 0x414741
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 0x4145d3
mov byte [edi + 0x4ef3c8], 0
jmp 0x41469b
call dword [sym.imp.msvcrt.dll__errno]
cmp dword [eax], 0xd
jne 0x414682
mov eax, dword [esp + 0x78]
mov dword [esp + 4], 0x180
mov dword [esp], eax
call sub.msvcrt.dll__chmod
test eax, eax
jne 0x414682
mov eax, dword [esp + 0x78]
mov dword [esp], eax
call sub.msvcrt.dll__unlink
jmp 0x414682
call dword [sym.imp.msvcrt.dll__errno]
cmp dword [eax], 0xd
jne 0x414532
mov eax, dword [esp + 0x78]
mov dword [esp + 4], 0x180
mov dword [esp], eax
call sub.msvcrt.dll__chmod
test eax, eax
jne 0x414532
mov eax, dword [esp + 0x78]
mov dword [esp], eax
call sub.msvcrt.dll__unlink
jmp 0x414532
mov dword [esp], esi
call fcn.00419a30
jmp 0x4145db
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.00413990
mov dword [esp], esi
call fcn.00419a30
mov dword [esp + 0x20], 0xffffffff
jmp 0x4145db
mov ebp, eax
jmp 0x414665
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.00413990
jmp 0x4145d3