Function at 0x10025e50
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b800e
mov eax, dword fs:[0]
push eax
sub esp, 0x104
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 0x10025ea9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x10025ea9
xor edi, edi
jmp 0x10026245
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 0x100262a6
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 - 0x110]
call fcn.10025250
push 4
push str..zbf
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 1
call fcn.10024610
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.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 - 0xf4]
call fcn.10001c40
mov eax, dword [ebp - 0xdc]
cmp eax, 0x10
jb 0x10025f90
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 0x10025ff0
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 0x100261d3
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 edi, eax
call fcn.1005dc50
add esp, 4
lea ecx, [ebp - 0xcc]
mov esi, eax
mov dword [ebp - 0xd4], esi
push 0
push 4
push esi
call fcn.100287d0
mov ecx, dword [esi]
push 0
push 4
mov dword [edi + 0x10], ecx
lea ecx, [ebp - 0xcc]
push esi
call fcn.100287d0
mov eax, dword [esi]
lea ecx, [ebp - 0xcc]
mov dword [edi + 0x30], eax
call fcn.10028690
cmp eax, 0xffffffff
je 0x10026134
nop
push 0
push 4
push esi
lea ecx, [ebp - 0xcc]
call fcn.100287d0
mov esi, dword [esi]
lea eax, [ebp - 0x14]
push 0
push 2
push eax
lea ecx, [ebp - 0xcc]
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
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.10028f50
lea ecx, [ebp - 0xcc]
call fcn.10028690
mov esi, dword [ebp - 0xd4]
cmp eax, 0xffffffff
jne 0x100260a0
mov eax, dword [edi + 8]
sub eax, dword [edi + 4]
sar eax, 2
test eax, eax
je 0x100261d3
lea ecx, [ebp - 0xbc]
call fcn.100241d0
test eax, eax
jne 0x1002617f
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.10028ff0
mov ecx, eax
cmp ecx, 0xffffffff
je 0x100261af
cmp dword [ebp + 0x1c], ecx
jb 0x100262ab
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 0x100261cd
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 0x100261d5
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.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 0x10026262
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.1005d6c0
mov esp, ebp
pop ebp
ret
call fcn.10001cb0
call fcn.10024ba0
int3