Function at 0x1008e6c0
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 0x100c6e98
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x468
mov eax, dword [0x102a000c]
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.1001f5e8
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 [0x10294e00]
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.10020b0f
mov esi, dword [ebp - 0x420]
add esp, 0x10
mov dword [esi], eax
test eax, eax
je 0x1008e7fd
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 0x1008e841
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1008e837
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008f6e3
push edx
push ecx
call fcn.1001f369
add esp, 8
push 0x48
lea eax, [ebp - 0x3d8]
push 0
push eax
call fcn.10022330
mov eax, dword [ebp - 0x41c]
add esp, 0xc
mov dword [ebp - 0x3d8], 0
mov dword [ebp - 0x3d4], 0
test eax, eax
je 0x1008e876
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.10022330
add esp, 0xc
push 4
mov byte [ebp - 4], 0xa
call fcn.1001f5e8
push eax
lea ecx, [ebp - 0x468]
mov dword [eax], 0
call fcn.1000ef60
movaps xmm0, xmmword [0x10294e00]
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 0x1008e97a
mov ecx, dword [ebp - 0x468]
test ecx, ecx
je 0x1008e987
mov eax, dword [eax]
cmp eax, dword [ecx]
jmp 0x1008e981
cmp dword [ebp - 0x468], 0
je 0x1008f220
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.10020cc9
add esp, 8
test eax, eax
je 0x1008f6e8
lea ecx, [ebp - 0x120]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1008e9e5
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 0x1008ea8e
mov ecx, dword [ebp - 0x248]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1008ea84
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008f6e3
push edx
push ecx
call fcn.1001f369
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 0x102440de
push 0x102440cc
lea ecx, [ebp - 0x28c]
call fcn.1000ec50
push 0x38
lea eax, [ebp - 0x2c8]
push 0
push eax
call fcn.10022330
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 0x1008eb9a
mov esi, dword [ebp - 0x274]
mov edi, dword [ebp - 0x264]
add edi, esi
mov dword [ebp - 0x22c], esi
jmp 0x1008ebac
lea edi, [ebp - 0x274]
add edi, dword [ebp - 0x264]
lea esi, [ebp - 0x274]
cmp dword [ebp - 0x28c], 0
mov dword [ebp - 0x24c], esi
je 0x1008ee28
push 0x80
lea eax, [ebp - 0x360]
push 0
push eax
call fcn.10022330
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 0x1008ecd0
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 0x1008ed8d
cmp esi, edi
je 0x1008edac
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 0x1008ed6a
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 0x1008ed87
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 0x1008ed30
push ecx
lea eax, [ebp - 0x2c8]
mov dword [ebp - 0x30c], edi
push eax
lea ecx, [ebp - 0x360]
call fcn.100101c0
test al, al
je 0x1008edac
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 0x1008ee12
mov eax, dword [ebp - 0x318]
sub eax, ecx
sar eax, 3
lea edx, [eax*8]
mov eax, ecx
cmp edx, 0x1000
jb 0x1008edea
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008f6e3
push edx
push ecx
call fcn.1001f369
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 0x1008ee4d
lea ecx, [edi + 0xc]
cmp byte [ecx + 8], 0
je 0x1008ee6e
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 0x1008ee78
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 0x1008eeba
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 0x1008ef28
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 0x1008ef10
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008f6e3
push ecx
push esi
call fcn.1001f369
mov edi, dword [ebp - 0x2c0]
add esp, 8
mov al, byte [ebp - 0x46d]
jmp 0x1008ef34
mov ecx, eax
call fcn.100081d0
add esp, 8
xor al, 1
test al, al
je 0x1008f104
mov eax, dword [ebp - 0x2bc]
sub eax, edi
sar eax, 2
imul eax, eax, 0xaaaaaaab
cmp eax, 1
ja 0x1008ef5a
lea edi, [ebp - 0x29c]
jmp 0x1008ef5d
add edi, 0xc
cmp byte [edi + 8], 0
je 0x1008ef78
mov edx, dword [edi + 4]
mov ecx, edx
mov eax, dword [edi]
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x22c], edx
jmp 0x1008ef7e
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 0x1008efb6
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 0x1008effa
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 0x1008f013
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 0x1008f04b
mov ecx, dword [ebp - 0x248]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1008f041
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008f6e3
push edx
push ecx
call fcn.1001f369
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 0x1008f06f
lea ecx, [ebp - 0x29c]
jmp 0x1008f072
add ecx, 0xc
cmp byte [ecx + 8], 0
je 0x1008f08d
mov edi, dword [ecx + 4]
mov esi, edi
mov eax, dword [ecx]
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x22c], edi
jmp 0x1008f093
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 0x1008f0cb
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 0x1008f10a
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1008f0f8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008f6e3
push edx
push ecx
call fcn.1001f369
add esp, 8
jmp 0x1008f10a
mov edi, dword [ebp - 0x46c]
lea ecx, [ebp - 0x2c0]
call fcn.1000dbb0
mov ecx, dword [ebp - 0x28c]
test ecx, ecx
je 0x1008f14a
or eax, 0xffffffff
lock xadd dword [ecx + 0x20], eax
jne 0x1008f14a
mov esi, dword [ebp - 0x28c]
test esi, esi
je 0x1008f14a
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 0x1008f133
mov ecx, dword [ebp - 0x27c]
mov dword [ebp - 0x28c], 0
test ecx, ecx
je 0x1008f171
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x1008f171
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 0x1008f1af
mov ecx, dword [ebp - 0x274]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1008f1a5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008f6e3
push edx
push ecx
call fcn.1001f369
add esp, 8
mov eax, dword [ebp - 0x3d8]
mov eax, dword [eax]
test eax, eax
je 0x1008e960
lea ecx, [ebp - 0x224]
push ecx
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.10020c19
add esp, 0xc
cmp word [eax], 0
jne 0x1008f1fd
mov eax, dword [ebp - 0x3d8]
push dword [eax]
call fcn.10020b01
mov eax, dword [ebp - 0x3d8]
add esp, 4
mov dword [eax], 0
jmp 0x1008e960
push dword [ebp - 0x224]
lea eax, [ebp - 0x220]
push dword [ebp - 0x224]
lea ecx, [ebp - 0x3d8]
push eax
call fcn.1000e0a0
jmp 0x1008e960
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 0x102440e0
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 0x1008f6af
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 0x1008f2ef
mov ecx, dword [eax]
mov dword [ebp - 0x22c], ecx
cmp esi, 0x10
jae 0x1008f314
movups xmm0, xmmword [ecx]
mov dword [ebp - 0x264], esi
mov edi, 0xf
movups xmmword [ebp - 0x274], xmm0
mov esi, dword [ebp - 0x274]
jmp 0x1008f394
mov edi, esi
or edi, 0xf
cmp edi, 0x7fffffff
cmova edi, edx
lea eax, [edi + 1]
cmp eax, 0x1000
jb 0x1008f353
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x1008f6f2
push ecx
call fcn.1001f5e8
add esp, 4
test eax, eax
je 0x1008f6e3
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x1008f366
test eax, eax
je 0x1008f364
push eax
call fcn.1001f5e8
add esp, 4
mov esi, eax
jmp 0x1008f366
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.10022500
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 0x1008f3e7
movups xmm0, xmmword [eax]
mov edi, 0xf
movups xmmword [ecx], xmm0
jmp 0x1008f45a
mov edi, esi
or edi, 0xf
cmp edi, 0x7fffffff
cmova edi, edx
lea eax, [edi + 1]
cmp eax, 0x1000
jb 0x1008f426
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x1008f6f2
push ecx
call fcn.1001f5e8
add esp, 4
test eax, eax
je 0x1008f6e3
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
mov dword [ecx - 4], eax
jmp 0x1008f439
test eax, eax
je 0x1008f437
push eax
call fcn.1001f5e8
add esp, 4
mov ecx, eax
jmp 0x1008f439
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.10022500
mov ecx, dword [ebp - 0x22c]
add esp, 0xc
mov dword [ecx + 0x10], esi
mov dword [ecx + 0x14], edi
call fcn.10090da0
lea eax, [ebp - 0x2e0]
push eax
call fcn.1008f700
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 0x1008f6f7
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 [0x10308ca4], 0
je 0x1008f5e1
push 0xb0
lea eax, [ebp - 0x390]
push 0
push eax
call fcn.10022330
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 0x1008f64d
push 0
push 0x10000
push 0x102f8c80
lea ecx, [ebp - 0x390]
call fcn.1000dc40
lea ecx, [ebp - 0x38c]
call fcn.1000b950
test eax, eax
jne 0x1008f56b
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.10020609
add esp, 4
mov byte [ebp - 4], 0x18
mov edx, dword [ebp - 0x27c]
cmp edx, 0x10
jb 0x1008f61f
mov ecx, dword [ebp - 0x290]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1008f615
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008f6e3
push edx
push ecx
call fcn.1001f369
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 0x1008f2a1
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 0x1008f5c8
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.1001ed23
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.1002d924
push str.invalid_wchar_t_filename_argument
call fcn.100200ba
call fcn.10007ac0
call fcn.10007b60
int3