Function at 0x415a00
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x43ca3c
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x4c3740]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c3740]
xor eax, esp
push eax
lea eax, [esp + 0x8c]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x28], ebx
xor ebp, ebp
mov dword [esp + 0x94], ebp
lea ecx, [esp + 0x68]
mov dword [ebx], ebp
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea ecx, [esp + 0x4c]
mov byte [esp + 0x94], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
lea eax, [esp + 0x9c]
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x98], 3
call dword [0x43e210]
jmp 0x415a90
mov ecx, dword [sym.imp.MSVCP80.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov edx, dword [ecx]
push edx
push 0x4b3df8
lea ecx, [esp + 0x54]
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_last_of_char_const___unsigned_int_const]
mov esi, eax
cmp esi, 0xffffffff
je 0x415b00
push esi
push ebp
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x58]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::substr_unsigned_int__unsigned_int_]
push eax
lea ecx, [esp + 0x6c]
mov byte [esp + 0x98], 4
call dword [0x43e210]
lea ecx, [esp + 0x30]
mov byte [esp + 0x94], 3
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
push esi
lea ecx, [esp + 0x50]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::resize_unsigned_int_]
lea ecx, [esp + 0x68]
push ecx
lea esi, [esp + 0x1c]
call fcn.00413c60
jmp 0x415a90
mov esi, dword [esp + 0x1c]
cmp esi, ebp
mov ecx, dword [esp + 0x20]
je 0x415b54
mov edi, ecx
sub edi, esi
mov eax, 0x92492493
imul edi
add edx, edi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x415b50
lea edi, [ecx - 0x1c]
cmp edi, ecx
mov ebp, ecx
je 0x415b47
mov edi, edi
mov ecx, edi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
add edi, 0x1c
cmp edi, ebp
jne 0x415b30
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
sub ecx, 0x1c
mov dword [esp + 0x20], ecx
xor ebp, ebp
cmp esi, ebp
jne 0x415b58
xor eax, eax
jmp 0x415b6f
mov edi, ecx
sub edi, esi
mov eax, 0x92492493
imul edi
add edx, edi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edi, [eax - 1]
cmp edi, 0xffffffff
je 0x415be6
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea ebp, [edi*8]
sub ebp, edi
add ebp, ebp
add ebp, ebp
jmp 0x415b98
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x415bb5
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x415bbf
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [esp + 0x1c]
cmp dword [esi + ebp + 0x18], 0x10
jb 0x415bcc
mov esi, dword [esi + ebp + 4]
jmp 0x415bd0
lea esi, [esi + ebp + 4]
push 0
push esi
call ebx
sub edi, 1
sub ebp, 0x1c
cmp edi, 0xffffffff
jne 0x415b90
mov ebx, dword [esp + 0x28]
xor ebp, ebp
cmp byte [esp + 0xb8], 0
mov eax, dword [esp + 0xa0]
je 0x415c3f
cmp byte [esp + 0xbc], 0
je 0x415c24
cmp dword [esp + 0xb4], 0x10
jae 0x415c12
lea eax, [esp + 0xa0]
push ebp
push 0x80
push 3
push ebp
push 1
push bind
jmp 0x415c8d
cmp dword [esp + 0xb4], 0x10
jae 0x415c35
lea eax, [esp + 0xa0]
push ebp
push 0x80
push 3
jmp 0x415c85
cmp byte [esp + 0xbc], 0
je 0x415c6c
cmp dword [esp + 0xb4], 0x10
jae 0x415c5a
lea eax, [esp + 0xa0]
push ebp
push 0x80
push 4
push ebp
push 1
push bind
jmp 0x415c8d
cmp dword [esp + 0xb4], 0x10
jae 0x415c7d
lea eax, [esp + 0xa0]
push ebp
push 0x80
push 4
push ebp
push 1
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov byte [esp + 0x94], 2
mov esi, dword [esp + 0x1c]
mov dword [ebx], eax
jne 0x415d1b
cmp esi, ebp
je 0x415ccf
mov edi, dword [esp + 0x20]
cmp esi, edi
je 0x415cc6
mov ecx, esi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
add esi, 0x1c
cmp esi, edi
jne 0x415cb3
mov esi, dword [esp + 0x1c]
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
lea ecx, [esp + 0x4c]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov byte [esp + 0x94], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x68]
mov byte [esp + 0x94], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x9c]
mov dword [esp + 0x94], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
xor al, al
jmp 0x415d8d
cmp esi, ebp
je 0x415d43
mov edi, dword [esp + 0x20]
cmp esi, edi
je 0x415d3a
mov ecx, esi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
add esi, 0x1c
cmp esi, edi
jne 0x415d27
mov esi, dword [esp + 0x1c]
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
lea ecx, [esp + 0x4c]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov byte [esp + 0x94], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x68]
mov byte [esp + 0x94], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x9c]
mov dword [esp + 0x94], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov al, 1
mov ecx, dword [esp + 0x8c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.00437634
add esp, 0x84
ret 0x24