Function at 0x10026340
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b853e
mov eax, dword fs:[0]
push eax
sub esp, 0x104
mov eax, dword [0x10129014]
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 0x10026399
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x10026399
xor edi, edi
jmp 0x1002673e
push 0xb8
lea eax, [ebp - 0xcc]
push 0
push eax
call fcn.10063460
mov ecx, dword [ebp + 0x1c]
mov eax, Ordinal_2
sub eax, ecx
add esp, 0xc
cmp eax, 8
jb 0x1002679f
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 - 0xd8]
lea ecx, [ebp - 0x110]
call fcn.100255d0
push 4
push str..zbf
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 1
call fcn.100246e0
push eax
lea ecx, [ebp - 0xf4]
call fcn.1001a770
mov byte [ebp - 4], 2
lea eax, [ebp - 0xf0]
cmp dword [ebp - 0xdc], 0x10
lea ecx, [ebp - 0xcc]
cmovae eax, dword [ebp - 0xf0]
sub esp, 8
push 0x20
push eax
call fcn.10022af0
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 - 0xf4]
call fcn.10001c40
mov eax, dword [ebp - 0xdc]
cmp eax, 0x10
jb 0x10026480
inc eax
push eax
push dword [ebp - 0xf0]
call fcn.1001af10
add esp, 8
mov eax, dword [ebp - 0xf4]
push 8
push eax
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xdc], 0xf
mov byte [ebp - 0xf0], 0
mov dword [ebp - 0xf4], 0
call fcn.1001af10
add esp, 8
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 5
call fcn.10001c40
mov eax, dword [ebp - 0xf8]
cmp eax, 0x10
jb 0x100264e0
inc eax
push eax
push dword [ebp - 0x10c]
call fcn.1001af10
add esp, 8
mov eax, dword [ebp - 0x110]
push 8
push eax
mov dword [ebp - 0xfc], 0
mov dword [ebp - 0xf8], 0xf
mov byte [ebp - 0x10c], 0
mov dword [ebp - 0x110], 0
call fcn.1001af10
add esp, 8
cmp dword [ebp - 0x70], 0
je 0x100266cc
push 0x38
call fcn.1005dec0
push 0x38
mov esi, eax
push 0
push esi
call fcn.10063460
add esp, 0x10
mov ecx, esi
call fcn.10026cc0
push 5
mov edi, eax
call fcn.1005e0e0
add esp, 4
lea ecx, [ebp - 0xcc]
mov esi, eax
mov dword [ebp - 0xd4], esi
push 0
push 4
push esi
call fcn.10028ac0
mov ecx, dword [esi]
push 0
push 4
mov dword [edi + 0x10], ecx
lea ecx, [ebp - 0xcc]
push esi
call fcn.10028ac0
mov eax, dword [esi]
lea ecx, [ebp - 0xcc]
mov dword [edi + 0x30], eax
call fcn.10028980
cmp eax, 0xffffffff
je 0x10026624
nop
push 0
push 4
push esi
lea ecx, [ebp - 0xcc]
call fcn.10028ac0
mov esi, dword [esi]
lea eax, [ebp - 0x14]
push 0
push 2
push eax
lea ecx, [ebp - 0xcc]
call fcn.10028ac0
cmp byte [ebp - 0x14], 0x30
push 0x10
setne byte [ebp - 0xcd]
cmp byte [ebp - 0x13], 0x30
setne byte [ebp - 0xce]
call fcn.1005dec0
mov cl, byte [ebp - 0xcd]
xorps xmm0, xmm0
add esp, 4
mov dword [ebp - 0xd8], eax
movups xmmword [eax], xmm0
mov byte [eax + 0xc], cl
mov cl, byte [ebp - 0xce]
mov byte [eax + 0xd], cl
mov ecx, edi
mov dword [eax], esi
mov dword [eax + 8], 1
lea eax, [ebp - 0xd8]
push eax
call fcn.10029240
lea ecx, [ebp - 0xcc]
call fcn.10028980
mov esi, dword [ebp - 0xd4]
cmp eax, 0xffffffff
jne 0x10026590
push esi
call fcn.1005db70
mov eax, dword [edi + 8]
add esp, 4
sub eax, dword [edi + 4]
sar eax, 2
test eax, eax
je 0x100266cc
lea ecx, [ebp - 0xbc]
call fcn.100242a0
test eax, eax
jne 0x10026678
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..zbf
lea ecx, [ebp + 8]
call fcn.100292e0
mov ecx, eax
cmp ecx, 0xffffffff
je 0x100266a8
cmp dword [ebp + 0x1c], ecx
jb 0x100267a4
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, [edi + 0x14]
lea eax, [ebp + 8]
cmp ecx, eax
je 0x100266c6
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 [edi + 0x34], 0
jmp 0x100266ce
xor edi, edi
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.10023770
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.100605d0
add esp, 4
lea ecx, [ebp + 8]
call fcn.10001c40
mov eax, dword [ebp + 0x20]
cmp eax, 0x10
jb 0x1002675b
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, edi
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.1005db50
mov esp, ebp
pop ebp
ret
call fcn.10001cb0
call fcn.10024c70
int3