Function at 0x402610
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x426230
mov eax, dword fs:[0]
push eax
sub esp, 0xfc
mov eax, dword [0x436050]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xe0], edx
mov esi, ecx
xor eax, eax
mov dword [ebp - 0xe4], eax
mov edi, dword [esi + 0x14]
mov dword [ebp - 0xdc], eax
cmp edi, 0x10
jb 0x40265e
mov ecx, dword [esi]
push dword [ebp - 0xe0]
mov ebx, dword [esi + 0x10]
mov edx, ebx
push 2
sub esp, 8
call fcn.00407bd0
add esp, 0x10
cmp eax, 0xffffffff
je 0x402702
cmp ebx, eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov ecx, esi
cmovb eax, ebx
mov dword [ebp - 0x14], 0xf
cmp edi, 0x10
jb 0x4026a2
mov ecx, dword [esi]
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.00405fc0
cmp dword [ebp - 0x14], 0x10
mov eax, 1
mov dword [ebp - 0xdc], eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.0040ff71
mov edx, dword [ebp - 0x14]
add esp, 4
cmp edx, 0x10
jb 0x4026ff
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4026f5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4028a5
push edx
push ecx
call fcn.00409639
add esp, 8
mov edi, dword [esi + 0x14]
push 0xb0
lea eax, [ebp - 0xd8]
push 0
push eax
call fcn.0040afe0
add esp, 0xc
mov ebx, esi
cmp edi, 0x10
jb 0x402721
mov ebx, dword [esi]
mov dword [ebp - 0xd8], 0x432c84
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x70]
mov eax, dword [ebp - 0xdc]
or eax, 2
mov dword [ebp - 0x70], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov dword [ebp - 0xe4], eax
lea eax, [ebp - 0xd4]
push 0
push eax
mov dword [ebp - 0x74], 0x60
call fcn.00407310
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0xd8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xd8], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xd8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xdc], eax
lea ecx, [ebp - 0xd4]
call fcn.00406f50
push ecx
push 0x22
push ebx
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 3
call fcn.00406e20
test eax, eax
jne 0x4027f7
mov eax, dword [ebp - 0xd8]
lea ecx, [ebp - 0xd8]
push 0
mov eax, dword [eax + 4]
add ecx, eax
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.00401d50
mov eax, dword [ebp - 0xd8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xd8], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xd8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xdc], eax
mov dword [ebp - 4], 4
cmp dword [ebp - 0x88], 0
je 0x4028aa
push 0
push dword [ebp + 8]
lea ecx, [ebp - 0xd8]
push dword [ebp - 0xe0]
call fcn.004036d0
lea ecx, [ebp - 0xd4]
call fcn.00405d20
test eax, eax
jne 0x40287e
mov eax, dword [ebp - 0xd8]
lea ecx, [ebp - 0xd8]
push 0
mov eax, dword [eax + 4]
add ecx, eax
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.00401d50
lea ecx, [ebp - 0xd8]
call fcn.004028e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004095f6
mov esp, ebp
pop ebp
ret
call fcn.004107aa
push esi
mov edx, str.Could_not_open_file_for_writing:
lea ecx, [ebp - 0x108]
call fcn.004075e0
add esp, 4
push eax
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 5
call fcn.00401370
push 0x434f44
lea eax, [ebp - 0xf0]
push eax
call fcn.0040a9f3
int3