Function at 0x100262c0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b806e
mov eax, dword fs:[0]
push eax
sub esp, 0x100
mov eax, dword [0x10128014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push str.replays
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x10026319
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x10026319
xor esi, esi
jmp 0x100266c4
push 0xb8
lea eax, [ebp - 0xcc]
push 0
push eax
call fcn.10062fd0
mov ecx, dword [ebp + 0x1c]
mov eax, Ordinal_2
sub eax, ecx
add esp, 0xc
cmp eax, 8
jb 0x10026725
cmp dword [ebp + 0x20], 0x10
lea eax, [ebp + 0xc]
push ecx
cmovae eax, dword [ebp + 0xc]
push eax
push 8
push str.replays_
push ecx
push dword [ebp - 0xd4]
lea ecx, [ebp - 0x10c]
call fcn.10025250
push 5
push str..zbot
lea ecx, [ebp - 0x10c]
mov byte [ebp - 4], 1
call fcn.10024610
push eax
lea ecx, [ebp - 0xf0]
call fcn.1001a770
mov byte [ebp - 4], 2
lea eax, [ebp - 0xec]
cmp dword [ebp - 0xd8], 0x10
lea ecx, [ebp - 0xcc]
cmovae eax, dword [ebp - 0xec]
sub esp, 8
push 0x20
push eax
call fcn.10022a20
mov eax, dword [ebp - 0xcc]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xcc], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xcc]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0xd0], eax
lea ecx, [ebp - 0xf0]
call fcn.10001c40
mov eax, dword [ebp - 0xd8]
cmp eax, 0x10
jb 0x10026400
inc eax
push eax
push dword [ebp - 0xec]
call fcn.1001af10
add esp, 8
mov eax, dword [ebp - 0xf0]
push 8
push eax
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xd8], 0xf
mov byte [ebp - 0xec], 0
mov dword [ebp - 0xf0], 0
call fcn.1001af10
add esp, 8
lea ecx, [ebp - 0x10c]
mov byte [ebp - 4], 5
call fcn.10001c40
mov eax, dword [ebp - 0xf4]
cmp eax, 0x10
jb 0x10026460
inc eax
push eax
push dword [ebp - 0x108]
call fcn.1001af10
add esp, 8
mov eax, dword [ebp - 0x10c]
push 8
push eax
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xf4], 0xf
mov byte [ebp - 0x108], 0
mov dword [ebp - 0x10c], 0
call fcn.1001af10
add esp, 8
cmp dword [ebp - 0x70], 0
je 0x10026652
push 0x38
call fcn.1005da30
push 0x38
mov esi, eax
push 0
push esi
call fcn.10062fd0
add esp, 0x10
mov ecx, esi
call fcn.100267c0
push 5
mov esi, eax
call fcn.1005dc50
add esp, 4
lea ecx, [ebp - 0xcc]
mov edi, eax
push 0
push 4
push edi
call fcn.100287d0
mov ecx, dword [edi]
push 0
push 4
mov dword [esi + 0x10], ecx
lea ecx, [ebp - 0xcc]
push edi
call fcn.100287d0
mov eax, dword [edi]
lea ecx, [ebp - 0xcc]
mov dword [esi + 0x30], eax
call fcn.10028690
cmp eax, 0xffffffff
je 0x100265b3
nop dword [eax]
push 0
push 4
push edi
lea ecx, [ebp - 0xcc]
call fcn.100287d0
movss xmm0, dword [edi]
lea eax, [ebp - 0x14]
push 0
push 2
push eax
lea ecx, [ebp - 0xcc]
movss dword [ebp - 0xd4], xmm0
call fcn.100287d0
cmp byte [ebp - 0x14], 0x30
push 0x10
setne byte [ebp - 0xcd]
cmp byte [ebp - 0x13], 0x30
setne byte [ebp - 0xce]
call fcn.1005da30
mov cl, byte [ebp - 0xcd]
xorps xmm0, xmm0
add esp, 4
movups xmmword [eax], xmm0
mov byte [eax + 0xc], cl
movss xmm0, dword [ebp - 0xd4]
mov cl, byte [ebp - 0xce]
mov byte [eax + 0xd], cl
mov ecx, esi
movss dword [eax + 4], xmm0
mov dword [eax + 8], 1
mov dword [ebp - 0xd4], eax
lea eax, [ebp - 0xd4]
push eax
call fcn.10028f50
lea ecx, [ebp - 0xcc]
call fcn.10028690
cmp eax, 0xffffffff
jne 0x10026510
mov eax, dword [esi + 8]
sub eax, dword [esi + 4]
sar eax, 2
test eax, eax
je 0x10026652
lea ecx, [ebp - 0xbc]
call fcn.100241d0
test eax, eax
jne 0x100265fe
mov eax, dword [ebp - 0xcc]
lea ecx, [ebp - 0xcc]
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.10021de0
push ecx
push str..zbot
lea ecx, [ebp + 8]
call fcn.10028ff0
mov ecx, eax
cmp ecx, 0xffffffff
je 0x1002662e
cmp dword [ebp + 0x1c], ecx
jb 0x1002672a
cmp dword [ebp + 0x20], 0x10
lea eax, [ebp + 0xc]
mov dword [ebp + 0x1c], ecx
cmovae eax, dword [ebp + 0xc]
mov byte [eax + ecx], 0
lea ecx, [esi + 0x14]
lea eax, [ebp + 8]
cmp ecx, eax
je 0x1002664c
cmp dword [ebp + 0x20], 0x10
lea eax, [ebp + 0xc]
push dword [ebp + 0x1c]
cmovae eax, dword [ebp + 0xc]
push eax
call fcn.1001ab40
mov byte [esi + 0x34], 1
jmp 0x10026654
xor esi, esi
mov eax, dword [ebp - 0xcc]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xcc], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xcc]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0xd0], eax
lea ecx, [ebp - 0xbc]
call fcn.100236a0
mov eax, dword [ebp - 0xcc]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xcc], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xcc]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0xd0], eax
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 6
push eax
mov dword [ebp - 0x5c], vtable.std::ios_base.0
call fcn.10060140
add esp, 4
lea ecx, [ebp + 8]
call fcn.10001c40
mov eax, dword [ebp + 0x20]
cmp eax, 0x10
jb 0x100266e1
inc eax
push eax
push dword [ebp + 0xc]
call fcn.1001af10
add esp, 8
mov ecx, dword [ebp + 8]
push 8
push ecx
mov dword [ebp + 0x1c], 0
mov dword [ebp + 0x20], 0xf
mov byte [ebp + 0xc], 0
mov dword [ebp + 8], 0
call fcn.1001af10
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1005d6c0
mov esp, ebp
pop ebp
ret
call fcn.10001cb0
call fcn.10024ba0
int3