Function at 0x1008e5b0
Capabilities:
Create directory

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c67c8
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x468
mov eax, dword [0x102a100c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
xorps xmm0, xmm0
movq qword [ebp - 0x25c], xmm0
mov dword [ebp - 0x46c], edi
mov dword [ebp - 0x25c], edi
mov dword [ebp - 0x258], edi
mov dword [ebp - 0x254], edi
push ecx
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], edi
call fcn.1000ea60
push 4
mov byte [ebp - 4], 1
call fcn.1001f0e8
push eax
lea ecx, [ebp - 0x420]
mov dword [eax], edi
call fcn.1000ef60
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x418]
call fcn.1000d9d0
movaps xmm0, xmmword [0x10295400]
xor eax, eax
mov dword [ebp - 0x400], edi
mov dword [ebp - 0x3f0], edi
mov dword [ebp - 0x3ec], 7
mov word [ebp - 0x400], ax
movups xmmword [ebp - 0x3e8], xmm0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24c]
cmp dword [ebp - 0x234], 8
push ecx
mov dword [ebp - 0x22c], eax
lea ecx, [ebp - 0x22c]
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
push ecx
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.10020610
mov esi, dword [ebp - 0x420]
add esp, 0x10
mov dword [esi], eax
test eax, eax
je 0x1008e6ed
push dword [ebp - 0x224]
lea eax, [ebp - 0x220]
push dword [ebp - 0x24c]
lea ecx, [ebp - 0x420]
push eax
call fcn.1000e0a0
mov esi, dword [ebp - 0x420]
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x234]
cmp edx, 8
jb 0x1008e731
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1008e727
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008f5d3
push edx
push ecx
call fcn.1001ee69
add esp, 8
push 0x48
lea eax, [ebp - 0x3d8]
push 0
push eax
call fcn.10021e30
mov eax, dword [ebp - 0x41c]
add esp, 0xc
mov dword [ebp - 0x3d8], 0
mov dword [ebp - 0x3d4], 0
test eax, eax
je 0x1008e766
lock inc dword [eax + 4]
mov dword [ebp - 0x3d8], esi
mov dword [ebp - 0x3d4], eax
lea eax, [ebp - 0x418]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x3d0]
call fcn.1000d9d0
lea eax, [ebp - 0x400]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x3b8]
call fcn.1000d9d0
mov eax, dword [ebp - 0x3e8]
mov ecx, dword [ebp - 0x3e4]
mov dword [ebp - 0x3a0], eax
mov eax, dword [ebp - 0x3e0]
mov dword [ebp - 0x39c], ecx
mov ecx, dword [ebp - 0x3dc]
mov dword [ebp - 0x398], eax
mov dword [ebp - 0x394], ecx
push 0x48
lea eax, [ebp - 0x468]
push 0
push eax
call fcn.10021e30
add esp, 0xc
push 4
mov byte [ebp - 4], 0xa
call fcn.1001f0e8
push eax
lea ecx, [ebp - 0x468]
mov dword [eax], 0
call fcn.1000ef60
movaps xmm0, xmmword [0x10295400]
xor eax, eax
mov dword [ebp - 0x460], 0
mov dword [ebp - 0x448], eax
mov dword [ebp - 0x450], 0
mov dword [ebp - 0x44c], 7
mov word [ebp - 0x460], ax
mov dword [ebp - 0x438], eax
mov dword [ebp - 0x434], 7
mov word [ebp - 0x448], ax
movups xmmword [ebp - 0x430], xmm0
mov eax, dword [ebp - 0x3d8]
test eax, eax
je 0x1008e86a
mov ecx, dword [ebp - 0x468]
test ecx, ecx
je 0x1008e877
mov eax, dword [eax]
cmp eax, dword [ecx]
jmp 0x1008e871
cmp dword [ebp - 0x468], 0
je 0x1008f110
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x120]
cmp dword [ebp - 0x3a4], 8
lea eax, [ebp - 0x3b8]
push ecx
cmovae eax, dword [ebp - 0x3b8]
push eax
call fcn.100207ca
add esp, 8
test eax, eax
je 0x1008f5d8
lea ecx, [ebp - 0x120]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1008e8d5
sub ecx, edx
lea eax, [ebp - 0x120]
push ecx
push eax
lea ecx, [ebp - 0x248]
call fcn.1000bc50
mov dword [ebp - 0x274], 0
or edi, 1
mov dword [ebp - 0x264], 0
mov dword [ebp - 0x260], 0
movups xmm0, xmmword [eax]
mov dword [ebp - 0x46c], edi
movups xmmword [ebp - 0x274], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x264], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x234]
cmp edx, 0x10
jb 0x1008e97e
mov ecx, dword [ebp - 0x248]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1008e974
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008f5d3
push edx
push ecx
call fcn.1001ee69
add esp, 8
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x288]
xorps xmm0, xmm0
mov dword [ebp - 0x27c], 0
movups xmmword [ebp - 0x28c], xmm0
mov dword [ebp - 0x28c], 0
call fcn.1000e3a0
mov byte [ebp - 4], 0xe
push dword [ebp - 0x224]
push ecx
push 0x102440ee
push 0x102440dc
lea ecx, [ebp - 0x28c]
call fcn.1000ec50
push 0x38
lea eax, [ebp - 0x2c8]
push 0
push eax
call fcn.10021e30
xorps xmm0, xmm0
mov dword [ebp - 0x2c8], 0
add esp, 0xc
mov byte [ebp - 0x2c4], 0
movups xmmword [ebp - 0x2c0], xmm0
mov dword [ebp - 0x2b0], 0
mov byte [ebp - 0x2ac], 0
mov dword [ebp - 0x2a8], 0
mov dword [ebp - 0x2a4], 0
mov byte [ebp - 0x2a0], 0
mov dword [ebp - 0x29c], 0
mov dword [ebp - 0x298], 0
mov byte [ebp - 0x294], 0
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x274]
cmp dword [ebp - 0x260], 0x10
mov dword [ebp - 0x22c], ecx
jb 0x1008ea8a
mov esi, dword [ebp - 0x274]
mov edi, dword [ebp - 0x264]
add edi, esi
mov dword [ebp - 0x22c], esi
jmp 0x1008ea9c
lea edi, [ebp - 0x274]
add edi, dword [ebp - 0x264]
lea esi, [ebp - 0x274]
cmp dword [ebp - 0x28c], 0
mov dword [ebp - 0x24c], esi
je 0x1008ed18
push 0x80
lea eax, [ebp - 0x360]
push 0
push eax
call fcn.10021e30
mov edx, dword [ebp - 0x28c]
xorps xmm0, xmm0
add esp, 0xc
mov eax, dword [edx + 0x14]
mov ecx, dword [edx + 0x1c]
movups xmmword [ebp - 0x360], xmm0
mov dword [ebp - 0x350], 0
mov dword [ebp - 0x34c], 0
mov dword [ebp - 0x348], 0
mov dword [ebp - 0x344], 0
movups xmmword [ebp - 0x340], xmm0
mov dword [ebp - 0x330], 0
mov dword [ebp - 0x32c], 0
mov dword [ebp - 0x328], 0
mov dword [ebp - 0x324], 0
mov dword [ebp - 0x320], 0
mov dword [ebp - 0x31c], 0
mov dword [ebp - 0x318], 0
mov byte [ebp - 4], 0x13
mov dword [ebp - 0x304], eax
mov dword [ebp - 0x314], 0
mov dword [ebp - 0x310], edi
mov dword [ebp - 0x30c], esi
mov dword [ebp - 0x308], edx
mov dword [ebp - 0x300], 0
mov byte [ebp - 0x2fc], 0
mov dword [ebp - 0x2f8], ecx
mov al, byte [edx + 8]
shr al, 3
and al, 1
mov byte [ebp - 0x2f4], al
lea eax, [ebp - 0x288]
mov dword [ebp - 0x2f0], eax
mov eax, dword [edx + 0x18]
test eax, eax
je 0x1008ebc0
push ecx
push eax
lea ecx, [ebp - 0x320]
call fcn.100118f0
nop dword [eax + eax]
push ecx
lea eax, [ebp - 0x2c8]
mov byte [ebp - 4], 0x14
push eax
lea ecx, [ebp - 0x360]
call fcn.100101c0
test al, al
jne 0x1008ec7d
cmp esi, edi
je 0x1008ec9c
mov eax, dword [ebp - 0x300]
lea ecx, [ebp - 0x360]
and eax, 0xffffdfff
or eax, 0x100
push 0
mov dword [ebp - 0x300], eax
lea eax, [esi + 1]
push edi
push eax
lea eax, [ebp - 0x474]
push eax
call fcn.1000ff40
mov esi, dword [eax]
cmp esi, edi
je 0x1008ec5a
nop dword [eax]
push ecx
lea eax, [ebp - 0x2c8]
mov dword [ebp - 0x30c], esi
push eax
lea ecx, [ebp - 0x360]
call fcn.100101c0
test al, al
jne 0x1008ec77
push 0
push edi
inc esi
lea eax, [ebp - 0x474]
push esi
push eax
lea ecx, [ebp - 0x360]
call fcn.1000ff40
mov esi, dword [eax]
cmp esi, edi
jne 0x1008ec20
push ecx
lea eax, [ebp - 0x2c8]
mov dword [ebp - 0x30c], edi
push eax
lea ecx, [ebp - 0x360]
call fcn.100101c0
test al, al
je 0x1008ec9c
mov esi, dword [ebp - 0x24c]
cmp esi, dword [ebp - 0x2b0]
mov eax, dword [ebp - 0x22c]
mov dword [ebp - 0x2c8], eax
setne byte [ebp - 0x2ac]
mov dword [ebp - 0x2b4], esi
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x320]
test ecx, ecx
je 0x1008ed02
mov eax, dword [ebp - 0x318]
sub eax, ecx
sar eax, 3
lea edx, [eax*8]
mov eax, ecx
cmp edx, 0x1000
jb 0x1008ecda
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008f5d3
push edx
push ecx
call fcn.1001ee69
add esp, 8
mov dword [ebp - 0x320], 0
mov dword [ebp - 0x31c], 0
mov dword [ebp - 0x318], 0
lea ecx, [ebp - 0x340]
call fcn.1000f650
lea ecx, [ebp - 0x360]
call fcn.1000f650
mov eax, dword [ebp - 0x2bc]
lea ecx, [ebp - 0x29c]
mov edi, dword [ebp - 0x2c0]
sub eax, edi
sar eax, 2
imul eax, eax, 0xaaaaaaab
cmp eax, 1
jbe 0x1008ed3d
lea ecx, [edi + 0xc]
cmp byte [ecx + 8], 0
je 0x1008ed5e
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov edx, ecx
mov dword [ebp - 0x22c], ecx
mov dword [ebp - 0x250], eax
mov dword [ebp - 0x24c], ecx
jmp 0x1008ed68
xor eax, eax
xor edx, edx
mov dword [ebp - 0x22c], eax
xor esi, esi
mov ecx, 0xf
mov dword [ebp - 0x248], esi
mov dword [ebp - 0x238], esi
mov dword [ebp - 0x234], ecx
cmp eax, dword [ebp - 0x22c]
je 0x1008edaa
sub edx, eax
lea ecx, [ebp - 0x248]
push edx
push eax
call fcn.10007eb0
mov edi, dword [ebp - 0x2c0]
mov esi, dword [ebp - 0x248]
mov ecx, dword [ebp - 0x234]
or dword [ebp - 0x46c], 2
lea eax, [ebp - 0x248]
mov edx, dword [ebp - 0x238]
push 0
push 0x100d8b12
cmp ecx, 0x10
jb 0x1008ee18
mov ecx, esi
call fcn.100081d0
mov ecx, dword [ebp - 0x234]
xor al, 1
inc ecx
mov byte [ebp - 0x46d], al
add esp, 8
mov eax, esi
cmp ecx, 0x1000
jb 0x1008ee00
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008f5d3
push ecx
push esi
call fcn.1001ee69
mov edi, dword [ebp - 0x2c0]
add esp, 8
mov al, byte [ebp - 0x46d]
jmp 0x1008ee24
mov ecx, eax
call fcn.100081d0
add esp, 8
xor al, 1
test al, al
je 0x1008eff4
mov eax, dword [ebp - 0x2bc]
sub eax, edi
sar eax, 2
imul eax, eax, 0xaaaaaaab
cmp eax, 1
ja 0x1008ee4a
lea edi, [ebp - 0x29c]
jmp 0x1008ee4d
add edi, 0xc
cmp byte [edi + 8], 0
je 0x1008ee68
mov edx, dword [edi + 4]
mov ecx, edx
mov eax, dword [edi]
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x22c], edx
jmp 0x1008ee6e
xor eax, eax
xor edx, edx
xor ecx, ecx
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
cmp eax, edx
je 0x1008eea6
sub ecx, eax
push ecx
push eax
lea ecx, [ebp - 0x248]
call fcn.10007eb0
mov byte [ebp - 4], 0x15
mov eax, dword [ebp - 0x258]
cmp eax, dword [ebp - 0x254]
je 0x1008eeea
movups xmm0, xmmword [ebp - 0x248]
mov dword [eax], 0
mov edx, 0xf
mov byte [ebp - 0x248], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x238]
movq qword [eax + 0x10], xmm0
add dword [ebp - 0x258], 0x18
jmp 0x1008ef03
lea ecx, [ebp - 0x248]
push ecx
push eax
lea ecx, [ebp - 0x25c]
call fcn.1000ee50
mov edx, dword [ebp - 0x234]
mov byte [ebp - 4], 0x10
cmp edx, 0x10
jb 0x1008ef3b
mov ecx, dword [ebp - 0x248]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1008ef31
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008f5d3
push edx
push ecx
call fcn.1001ee69
add esp, 8
mov eax, dword [ebp - 0x2bc]
mov ecx, dword [ebp - 0x2c0]
sub eax, ecx
sar eax, 2
imul eax, eax, 0xaaaaaaab
cmp eax, 1
ja 0x1008ef5f
lea ecx, [ebp - 0x29c]
jmp 0x1008ef62
add ecx, 0xc
cmp byte [ecx + 8], 0
je 0x1008ef7d
mov edi, dword [ecx + 4]
mov esi, edi
mov eax, dword [ecx]
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x22c], edi
jmp 0x1008ef83
xor eax, eax
xor edi, edi
xor esi, esi
xor ecx, ecx
mov edx, 0xf
mov dword [ebp - 0x2e0], ecx
mov dword [ebp - 0x2d0], ecx
mov dword [ebp - 0x2cc], edx
cmp eax, edi
je 0x1008efbb
sub esi, eax
lea ecx, [ebp - 0x2e0]
push esi
push eax
call fcn.10007eb0
mov edx, dword [ebp - 0x2cc]
mov ecx, dword [ebp - 0x2e0]
mov edi, dword [ebp - 0x46c]
or edi, 0xc
cmp edx, 0x10
jb 0x1008effa
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1008efe8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008f5d3
push edx
push ecx
call fcn.1001ee69
add esp, 8
jmp 0x1008effa
mov edi, dword [ebp - 0x46c]
lea ecx, [ebp - 0x2c0]
call fcn.1000dbb0
mov ecx, dword [ebp - 0x28c]
test ecx, ecx
je 0x1008f03a
or eax, 0xffffffff
lock xadd dword [ecx + 0x20], eax
jne 0x1008f03a
mov esi, dword [ebp - 0x28c]
test esi, esi
je 0x1008f03a
mov ecx, esi
lea eax, [esi + 0xc]
mov esi, dword [eax]
mov dword [eax], 0
push 1
mov eax, dword [ecx]
call dword [eax]
test esi, esi
jne 0x1008f023
mov ecx, dword [ebp - 0x27c]
mov dword [ebp - 0x28c], 0
test ecx, ecx
je 0x1008f061
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x1008f061
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x260]
cmp edx, 0x10
jb 0x1008f09f
mov ecx, dword [ebp - 0x274]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1008f095
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008f5d3
push edx
push ecx
call fcn.1001ee69
add esp, 8
mov eax, dword [ebp - 0x3d8]
mov eax, dword [eax]
test eax, eax
je 0x1008e850
lea ecx, [ebp - 0x224]
push ecx
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.1002071a
add esp, 0xc
cmp word [eax], 0
jne 0x1008f0ed
mov eax, dword [ebp - 0x3d8]
push dword [eax]
call fcn.10020602
mov eax, dword [ebp - 0x3d8]
add esp, 4
mov dword [eax], 0
jmp 0x1008e850
push dword [ebp - 0x224]
lea eax, [ebp - 0x220]
push dword [ebp - 0x224]
lea ecx, [ebp - 0x3d8]
push eax
call fcn.1000e0a0
jmp 0x1008e850
lea ecx, [ebp - 0x468]
call fcn.1000da70
lea ecx, [ebp - 0x3d8]
call fcn.1000da70
lea ecx, [ebp - 0x420]
mov byte [ebp - 4], 0
call fcn.1000da70
push 0x16
mov dword [ebp - 0x248], 0
lea ecx, [ebp - 0x248]
push 0x102440f0
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.10007eb0
push 0
push str.._Save_Replay_archive_
mov byte [ebp - 4], 0x16
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 0x258]
mov eax, dword [ebp - 0x25c]
cmp eax, ecx
mov dword [ebp - 0x474], ecx
mov dword [ebp - 0x46c], eax
je 0x1008f59f
cmp dword [eax + 0x14], 0x10
mov edx, 0x7fffffff
mov esi, dword [eax + 0x10]
mov ecx, eax
mov dword [ebp - 0x274], 0
mov dword [ebp - 0x264], 0
mov dword [ebp - 0x260], 0
mov dword [ebp - 0x24c], esi
mov dword [ebp - 0x22c], eax
jb 0x1008f1df
mov ecx, dword [eax]
mov dword [ebp - 0x22c], ecx
cmp esi, 0x10
jae 0x1008f204
movups xmm0, xmmword [ecx]
mov dword [ebp - 0x264], esi
mov edi, 0xf
movups xmmword [ebp - 0x274], xmm0
mov esi, dword [ebp - 0x274]
jmp 0x1008f284
mov edi, esi
or edi, 0xf
cmp edi, 0x7fffffff
cmova edi, edx
lea eax, [edi + 1]
cmp eax, 0x1000
jb 0x1008f243
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x1008f5e2
push ecx
call fcn.1001f0e8
add esp, 4
test eax, eax
je 0x1008f5d3
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x1008f256
test eax, eax
je 0x1008f254
push eax
call fcn.1001f0e8
add esp, 4
mov esi, eax
jmp 0x1008f256
xor esi, esi
mov eax, dword [ebp - 0x24c]
inc eax
mov dword [ebp - 0x274], esi
push eax
push dword [ebp - 0x22c]
push esi
call fcn.10022000
mov eax, dword [ebp - 0x24c]
add esp, 0xc
mov dword [ebp - 0x264], eax
mov edx, 0x7fffffff
mov dword [ebp - 0x260], edi
sub esp, 0x18
mov byte [ebp - 4], 0x17
mov ecx, esp
lea eax, [ebp - 0x274]
cmp edi, 0x10
mov dword [ebp - 0x22c], ecx
cmovae eax, esi
mov esi, dword [ebp - 0x24c]
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ebp - 0x224], eax
cmp esi, 0x10
jae 0x1008f2d7
movups xmm0, xmmword [eax]
mov edi, 0xf
movups xmmword [ecx], xmm0
jmp 0x1008f34a
mov edi, esi
or edi, 0xf
cmp edi, 0x7fffffff
cmova edi, edx
lea eax, [edi + 1]
cmp eax, 0x1000
jb 0x1008f316
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x1008f5e2
push ecx
call fcn.1001f0e8
add esp, 4
test eax, eax
je 0x1008f5d3
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
mov dword [ecx - 4], eax
jmp 0x1008f329
test eax, eax
je 0x1008f327
push eax
call fcn.1001f0e8
add esp, 4
mov ecx, eax
jmp 0x1008f329
xor ecx, ecx
mov eax, dword [ebp - 0x22c]
mov dword [eax], ecx
lea eax, [esi + 1]
push eax
push dword [ebp - 0x224]
push ecx
call fcn.10022000
mov ecx, dword [ebp - 0x22c]
add esp, 0xc
mov dword [ecx + 0x10], esi
mov dword [ecx + 0x14], edi
call fcn.10090c90
lea eax, [ebp - 0x2e0]
push eax
call fcn.1008f5f0
mov byte [ebp - 4], 0x18
mov eax, 0x7fffffff
mov edx, dword [ebp - 0x238]
sub eax, edx
mov esi, dword [ebp - 0x2d0]
cmp eax, esi
jb 0x1008f5e7
cmp dword [ebp - 0x234], 0x10
lea ecx, [ebp - 0x248]
push esi
cmovae ecx, dword [ebp - 0x248]
lea eax, [ebp - 0x2e0]
cmp dword [ebp - 0x2cc], 0x10
cmovae eax, dword [ebp - 0x2e0]
push eax
push edx
push ecx
push ecx
push dword [ebp - 0x224]
lea ecx, [ebp - 0x290]
call fcn.1000f3a0
mov byte [ebp - 4], 0x19
cmp byte [0x102c725c], 0
je 0x1008f4d1
push 0xb0
lea eax, [ebp - 0x390]
push 0
push eax
call fcn.10021e30
add esp, 4
lea eax, [ebp - 0x290]
lea ecx, [ebp - 0x390]
push 0x20
push eax
call fcn.1000afd0
mov byte [ebp - 4], 0x1a
cmp dword [ebp - 0x340], 0
je 0x1008f53d
push 0
push 0x10000
push 0x102b7238
lea ecx, [ebp - 0x390]
call fcn.1000dc40
lea ecx, [ebp - 0x38c]
call fcn.1000b950
test eax, eax
jne 0x1008f45b
mov eax, dword [ebp - 0x390]
lea ecx, [ebp - 0x390]
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.100099b0
mov eax, dword [ebp - 0x390]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x390]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x394], eax
lea ecx, [ebp - 0x38c]
call fcn.1000ac30
mov eax, dword [ebp - 0x390]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x390]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x394], eax
mov byte [ebp - 4], 0x1b
lea eax, [ebp - 0x328]
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
push eax
call fcn.1002010a
add esp, 4
mov byte [ebp - 4], 0x18
mov edx, dword [ebp - 0x27c]
cmp edx, 0x10
jb 0x1008f50f
mov ecx, dword [ebp - 0x290]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1008f505
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008f5d3
push edx
push ecx
call fcn.1001ee69
add esp, 8
lea ecx, [ebp - 0x2e0]
call fcn.10007c80
lea ecx, [ebp - 0x274]
mov byte [ebp - 4], 0x16
call fcn.10007c80
mov eax, dword [ebp - 0x46c]
add eax, 0x18
cmp eax, dword [ebp - 0x474]
jmp 0x1008f191
mov eax, dword [ebp - 0x390]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x390]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x394], eax
lea ecx, [ebp - 0x38c]
call fcn.1000ac30
mov eax, dword [ebp - 0x390]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x390]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x394], eax
mov byte [ebp - 4], 0x1c
jmp 0x1008f4b8
lea ecx, [ebp - 0x248]
call fcn.10007c80
lea ecx, [ebp - 0x25c]
call fcn.10007e40
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1001e823
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.1002d424
push str.invalid_wchar_t_filename_argument
call fcn.1001fbba
call fcn.10007ac0
call fcn.10007b60
int3