Function at 0x1008d7a0
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 0x100c5bf8
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x460
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 - 0x254], xmm0
mov dword [ebp - 0x464], edi
mov dword [ebp - 0x254], edi
mov dword [ebp - 0x250], edi
mov dword [ebp - 0x24c], edi
push ecx
lea ecx, [ebp - 0x244]
mov dword [ebp - 4], edi
call fcn.1000e9f0
push 4
mov byte [ebp - 4], 1
call fcn.1001f148
push eax
lea ecx, [ebp - 0x418]
mov dword [eax], edi
call fcn.1000eef0
lea eax, [ebp - 0x244]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x410]
call fcn.1000d8e0
movaps xmm0, xmmword [0x102941e0]
xor eax, eax
mov dword [ebp - 0x3f8], edi
mov dword [ebp - 0x3e8], edi
mov dword [ebp - 0x3e4], 7
mov word [ebp - 0x3f8], ax
movups xmmword [ebp - 0x3e0], xmm0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x224]
cmp dword [ebp - 0x230], 8
push ecx
mov dword [ebp - 0x248], eax
lea ecx, [ebp - 0x248]
lea eax, [ebp - 0x244]
cmovae eax, dword [ebp - 0x244]
push ecx
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.1002066f
mov esi, dword [ebp - 0x418]
add esp, 0x10
mov dword [esi], eax
test eax, eax
je 0x1008d8dd
push dword [ebp - 0x22c]
lea eax, [ebp - 0x220]
push dword [ebp - 0x224]
lea ecx, [ebp - 0x418]
push eax
call fcn.1000e030
mov esi, dword [ebp - 0x418]
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x230]
cmp edx, 8
jb 0x1008d921
mov ecx, dword [ebp - 0x244]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1008d917
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008e7de
push edx
push ecx
call fcn.1001eec9
add esp, 8
push 0x48
lea eax, [ebp - 0x3d0]
push 0
push eax
call fcn.10021e70
mov eax, dword [ebp - 0x414]
add esp, 0xc
mov dword [ebp - 0x3d0], 0
mov dword [ebp - 0x3cc], 0
test eax, eax
je 0x1008d956
lock inc dword [eax + 4]
mov dword [ebp - 0x3d0], esi
mov dword [ebp - 0x3cc], eax
lea eax, [ebp - 0x410]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x3c8]
call fcn.1000d8e0
lea eax, [ebp - 0x3f8]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x3b0]
call fcn.1000d8e0
mov eax, dword [ebp - 0x3e0]
mov ecx, dword [ebp - 0x3dc]
mov dword [ebp - 0x398], eax
mov eax, dword [ebp - 0x3d8]
mov dword [ebp - 0x394], ecx
mov ecx, dword [ebp - 0x3d4]
mov dword [ebp - 0x390], eax
mov dword [ebp - 0x38c], ecx
push 0x48
lea eax, [ebp - 0x460]
push 0
push eax
call fcn.10021e70
add esp, 0xc
push 4
mov byte [ebp - 4], 0xa
call fcn.1001f148
push eax
lea ecx, [ebp - 0x460]
mov dword [eax], 0
call fcn.1000eef0
movaps xmm0, xmmword [0x102941e0]
xor eax, eax
mov dword [ebp - 0x458], 0
mov dword [ebp - 0x440], eax
mov dword [ebp - 0x448], 0
mov dword [ebp - 0x444], 7
mov word [ebp - 0x458], ax
mov dword [ebp - 0x430], eax
mov dword [ebp - 0x42c], 7
mov word [ebp - 0x440], ax
movups xmmword [ebp - 0x428], xmm0
mov eax, dword [ebp - 0x3d0]
test eax, eax
je 0x1008da5a
mov ecx, dword [ebp - 0x460]
test ecx, ecx
je 0x1008da67
mov eax, dword [eax]
cmp eax, dword [ecx]
jmp 0x1008da61
cmp dword [ebp - 0x460], 0
je 0x1008e300
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x230], 0xf
mov byte [ebp - 0x244], 0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x120]
cmp dword [ebp - 0x39c], 8
lea eax, [ebp - 0x3b0]
push ecx
cmovae eax, dword [ebp - 0x3b0]
push eax
call fcn.10020829
add esp, 8
test eax, eax
je 0x1008e7e3
lea ecx, [ebp - 0x120]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1008dac5
sub ecx, edx
lea eax, [ebp - 0x120]
push ecx
push eax
lea ecx, [ebp - 0x244]
call fcn.1000ba50
mov dword [ebp - 0x26c], 0
or edi, 1
mov dword [ebp - 0x25c], 0
mov dword [ebp - 0x258], 0
movups xmm0, xmmword [eax]
mov dword [ebp - 0x464], edi
movups xmmword [ebp - 0x26c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x25c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x230]
cmp edx, 0x10
jb 0x1008db6e
mov ecx, dword [ebp - 0x244]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1008db64
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008e7de
push edx
push ecx
call fcn.1001eec9
add esp, 8
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x230], 0xf
mov byte [ebp - 0x244], 0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x280]
xorps xmm0, xmm0
mov dword [ebp - 0x274], 0
movups xmmword [ebp - 0x284], xmm0
mov dword [ebp - 0x284], 0
call fcn.1000e330
mov byte [ebp - 4], 0xe
push dword [ebp - 0x22c]
push ecx
push 0x10242d0e
push 0x10242cfc
lea ecx, [ebp - 0x284]
call fcn.1000ebe0
push 0x38
lea eax, [ebp - 0x2c0]
push 0
push eax
call fcn.10021e70
xorps xmm0, xmm0
mov dword [ebp - 0x2c0], 0
add esp, 0xc
mov byte [ebp - 0x2bc], 0
movups xmmword [ebp - 0x2b8], xmm0
mov dword [ebp - 0x2a8], 0
mov byte [ebp - 0x2a4], 0
mov dword [ebp - 0x2a0], 0
mov dword [ebp - 0x29c], 0
mov byte [ebp - 0x298], 0
mov dword [ebp - 0x294], 0
mov dword [ebp - 0x290], 0
mov byte [ebp - 0x28c], 0
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x26c]
cmp dword [ebp - 0x258], 0x10
mov dword [ebp - 0x224], ecx
jb 0x1008dc7a
mov esi, dword [ebp - 0x26c]
mov edi, dword [ebp - 0x25c]
add edi, esi
mov dword [ebp - 0x224], esi
jmp 0x1008dc8c
lea edi, [ebp - 0x26c]
add edi, dword [ebp - 0x25c]
lea esi, [ebp - 0x26c]
cmp dword [ebp - 0x284], 0
mov dword [ebp - 0x46c], esi
je 0x1008df08
push 0x80
lea eax, [ebp - 0x358]
push 0
push eax
call fcn.10021e70
mov edx, dword [ebp - 0x284]
xorps xmm0, xmm0
add esp, 0xc
mov eax, dword [edx + 0x14]
mov ecx, dword [edx + 0x1c]
movups xmmword [ebp - 0x358], xmm0
mov dword [ebp - 0x348], 0
mov dword [ebp - 0x344], 0
mov dword [ebp - 0x340], 0
mov dword [ebp - 0x33c], 0
movups xmmword [ebp - 0x338], xmm0
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 dword [ebp - 0x314], 0
mov dword [ebp - 0x310], 0
mov byte [ebp - 4], 0x13
mov dword [ebp - 0x2fc], eax
mov dword [ebp - 0x30c], 0
mov dword [ebp - 0x308], edi
mov dword [ebp - 0x304], esi
mov dword [ebp - 0x300], edx
mov dword [ebp - 0x2f8], 0
mov byte [ebp - 0x2f4], 0
mov dword [ebp - 0x2f0], ecx
mov al, byte [edx + 8]
shr al, 3
and al, 1
mov byte [ebp - 0x2ec], al
lea eax, [ebp - 0x280]
mov dword [ebp - 0x2e8], eax
mov eax, dword [edx + 0x18]
test eax, eax
je 0x1008ddb0
push ecx
push eax
lea ecx, [ebp - 0x318]
call fcn.10011880
nop dword [eax + eax]
push ecx
lea eax, [ebp - 0x2c0]
mov byte [ebp - 4], 0x14
push eax
lea ecx, [ebp - 0x358]
call fcn.10010150
test al, al
jne 0x1008de6d
cmp esi, edi
je 0x1008de8c
mov eax, dword [ebp - 0x2f8]
lea ecx, [ebp - 0x358]
and eax, 0xffffdfff
or eax, 0x100
push 0
mov dword [ebp - 0x2f8], eax
lea eax, [esi + 1]
push edi
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.1000fed0
mov esi, dword [eax]
cmp esi, edi
je 0x1008de4a
nop dword [eax]
push ecx
lea eax, [ebp - 0x2c0]
mov dword [ebp - 0x304], esi
push eax
lea ecx, [ebp - 0x358]
call fcn.10010150
test al, al
jne 0x1008de67
push 0
push edi
inc esi
lea eax, [ebp - 0x248]
push esi
push eax
lea ecx, [ebp - 0x358]
call fcn.1000fed0
mov esi, dword [eax]
cmp esi, edi
jne 0x1008de10
push ecx
lea eax, [ebp - 0x2c0]
mov dword [ebp - 0x304], edi
push eax
lea ecx, [ebp - 0x358]
call fcn.10010150
test al, al
je 0x1008de8c
mov esi, dword [ebp - 0x46c]
cmp esi, dword [ebp - 0x2a8]
mov eax, dword [ebp - 0x224]
mov dword [ebp - 0x2c0], eax
setne byte [ebp - 0x2a4]
mov dword [ebp - 0x2ac], esi
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x318]
test ecx, ecx
je 0x1008def2
mov eax, dword [ebp - 0x310]
sub eax, ecx
sar eax, 3
lea edx, [eax*8]
mov eax, ecx
cmp edx, 0x1000
jb 0x1008deca
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008e7de
push edx
push ecx
call fcn.1001eec9
add esp, 8
mov dword [ebp - 0x318], 0
mov dword [ebp - 0x314], 0
mov dword [ebp - 0x310], 0
lea ecx, [ebp - 0x338]
call fcn.1000f5e0
lea ecx, [ebp - 0x358]
call fcn.1000f5e0
mov eax, dword [ebp - 0x2b4]
lea ecx, [ebp - 0x294]
mov edi, dword [ebp - 0x2b8]
sub eax, edi
sar eax, 2
imul eax, eax, 0xaaaaaaab
cmp eax, 1
jbe 0x1008df2d
lea ecx, [edi + 0xc]
cmp byte [ecx + 8], 0
je 0x1008df4e
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov edx, ecx
mov dword [ebp - 0x224], ecx
mov dword [ebp - 0x470], eax
mov dword [ebp - 0x46c], ecx
jmp 0x1008df58
xor eax, eax
xor edx, edx
mov dword [ebp - 0x224], eax
xor esi, esi
mov ecx, 0xf
mov dword [ebp - 0x244], esi
mov dword [ebp - 0x234], esi
mov dword [ebp - 0x230], ecx
cmp eax, dword [ebp - 0x224]
je 0x1008df9a
sub edx, eax
lea ecx, [ebp - 0x244]
push edx
push eax
call fcn.10007ee0
mov edi, dword [ebp - 0x2b8]
mov esi, dword [ebp - 0x244]
mov ecx, dword [ebp - 0x230]
or dword [ebp - 0x464], 2
lea eax, [ebp - 0x244]
mov edx, dword [ebp - 0x234]
push 0
push 0x100d7af2
cmp ecx, 0x10
jb 0x1008e008
mov ecx, esi
call fcn.100089e0
mov ecx, dword [ebp - 0x230]
xor al, 1
inc ecx
mov byte [ebp - 0x465], al
add esp, 8
mov eax, esi
cmp ecx, 0x1000
jb 0x1008dff0
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008e7de
push ecx
push esi
call fcn.1001eec9
mov edi, dword [ebp - 0x2b8]
add esp, 8
mov al, byte [ebp - 0x465]
jmp 0x1008e014
mov ecx, eax
call fcn.100089e0
add esp, 8
xor al, 1
test al, al
je 0x1008e1e4
mov eax, dword [ebp - 0x2b4]
sub eax, edi
sar eax, 2
imul eax, eax, 0xaaaaaaab
cmp eax, 1
ja 0x1008e03a
lea edi, [ebp - 0x294]
jmp 0x1008e03d
add edi, 0xc
cmp byte [edi + 8], 0
je 0x1008e058
mov edx, dword [edi + 4]
mov ecx, edx
mov eax, dword [edi]
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x224], edx
jmp 0x1008e05e
xor eax, eax
xor edx, edx
xor ecx, ecx
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x230], 0xf
mov byte [ebp - 0x244], 0
cmp eax, edx
je 0x1008e096
sub ecx, eax
push ecx
push eax
lea ecx, [ebp - 0x244]
call fcn.10007ee0
mov byte [ebp - 4], 0x15
mov eax, dword [ebp - 0x250]
cmp eax, dword [ebp - 0x24c]
je 0x1008e0da
movups xmm0, xmmword [ebp - 0x244]
mov dword [eax], 0
mov edx, 0xf
mov byte [ebp - 0x244], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x234]
movq qword [eax + 0x10], xmm0
add dword [ebp - 0x250], 0x18
jmp 0x1008e0f3
lea ecx, [ebp - 0x244]
push ecx
push eax
lea ecx, [ebp - 0x254]
call fcn.1000ede0
mov edx, dword [ebp - 0x230]
mov byte [ebp - 4], 0x10
cmp edx, 0x10
jb 0x1008e12b
mov ecx, dword [ebp - 0x244]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1008e121
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008e7de
push edx
push ecx
call fcn.1001eec9
add esp, 8
mov eax, dword [ebp - 0x2b4]
mov ecx, dword [ebp - 0x2b8]
sub eax, ecx
sar eax, 2
imul eax, eax, 0xaaaaaaab
cmp eax, 1
ja 0x1008e14f
lea ecx, [ebp - 0x294]
jmp 0x1008e152
add ecx, 0xc
cmp byte [ecx + 8], 0
je 0x1008e16d
mov edi, dword [ecx + 4]
mov esi, edi
mov eax, dword [ecx]
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x224], edi
jmp 0x1008e173
xor eax, eax
xor edi, edi
xor esi, esi
xor ecx, ecx
mov edx, 0xf
mov dword [ebp - 0x2d8], ecx
mov dword [ebp - 0x2c8], ecx
mov dword [ebp - 0x2c4], edx
cmp eax, edi
je 0x1008e1ab
sub esi, eax
lea ecx, [ebp - 0x2d8]
push esi
push eax
call fcn.10007ee0
mov edx, dword [ebp - 0x2c4]
mov ecx, dword [ebp - 0x2d8]
mov edi, dword [ebp - 0x464]
or edi, 0xc
cmp edx, 0x10
jb 0x1008e1ea
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1008e1d8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008e7de
push edx
push ecx
call fcn.1001eec9
add esp, 8
jmp 0x1008e1ea
mov edi, dword [ebp - 0x464]
lea ecx, [ebp - 0x2b8]
call fcn.1000dac0
mov ecx, dword [ebp - 0x284]
test ecx, ecx
je 0x1008e22a
or eax, 0xffffffff
lock xadd dword [ecx + 0x20], eax
jne 0x1008e22a
mov esi, dword [ebp - 0x284]
test esi, esi
je 0x1008e22a
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 0x1008e213
mov ecx, dword [ebp - 0x274]
mov dword [ebp - 0x284], 0
test ecx, ecx
je 0x1008e251
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x1008e251
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x258]
cmp edx, 0x10
jb 0x1008e28f
mov ecx, dword [ebp - 0x26c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1008e285
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008e7de
push edx
push ecx
call fcn.1001eec9
add esp, 8
mov eax, dword [ebp - 0x3d0]
mov eax, dword [eax]
test eax, eax
je 0x1008da40
lea ecx, [ebp - 0x22c]
push ecx
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.10020779
add esp, 0xc
cmp word [eax], 0
jne 0x1008e2dd
mov eax, dword [ebp - 0x3d0]
push dword [eax]
call fcn.10020661
mov eax, dword [ebp - 0x3d0]
add esp, 4
mov dword [eax], 0
jmp 0x1008da40
push dword [ebp - 0x22c]
lea eax, [ebp - 0x220]
push dword [ebp - 0x22c]
lea ecx, [ebp - 0x3d0]
push eax
call fcn.1000e030
jmp 0x1008da40
lea ecx, [ebp - 0x460]
call fcn.1000d980
lea ecx, [ebp - 0x3d0]
call fcn.1000d980
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 0
call fcn.1000d980
push 0x16
mov dword [ebp - 0x244], 0
lea ecx, [ebp - 0x244]
push 0x10242d10
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x230], 0xf
mov byte [ebp - 0x244], 0
call fcn.10007ee0
push 0
push str.._Save_Replay_archive_
mov byte [ebp - 4], 0x16
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov eax, dword [ebp - 0x250]
mov ecx, dword [ebp - 0x254]
cmp ecx, eax
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x248], ecx
je 0x1008e7aa
cmp dword [ecx + 0x14], 0x10
mov esi, 0x7fffffff
mov eax, dword [ecx + 0x10]
mov edx, ecx
mov dword [ebp - 0x26c], 0
mov dword [ebp - 0x25c], 0
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x464], eax
mov dword [ebp - 0x224], ecx
jb 0x1008e3cf
mov edx, dword [ecx]
mov dword [ebp - 0x224], edx
cmp eax, 0x10
jae 0x1008e3ee
movups xmm0, xmmword [edx]
mov edi, 0xf
movups xmmword [ebp - 0x26c], xmm0
mov esi, dword [ebp - 0x26c]
jmp 0x1008e46f
mov edi, eax
or edi, 0xf
cmp edi, 0x7fffffff
cmova edi, esi
xor ecx, ecx
mov eax, edi
add eax, 1
setb cl
neg ecx
or ecx, eax
cmp ecx, 0x1000
jb 0x1008e439
lea eax, [ecx + 0x23]
cmp eax, ecx
jbe 0x1008e7ed
push eax
call fcn.1001f148
add esp, 4
test eax, eax
je 0x1008e7de
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x1008e44c
test ecx, ecx
je 0x1008e44a
push ecx
call fcn.1001f148
add esp, 4
mov esi, eax
jmp 0x1008e44c
xor esi, esi
mov eax, dword [ebp - 0x464]
inc eax
mov dword [ebp - 0x26c], esi
push eax
push dword [ebp - 0x224]
push esi
call fcn.10022040
mov eax, dword [ebp - 0x464]
add esp, 0xc
mov dword [ebp - 0x258], edi
mov dword [ebp - 0x25c], eax
sub esp, 0x18
mov byte [ebp - 4], 0x17
mov ecx, esp
lea edx, [ebp - 0x26c]
cmp edi, 0x10
mov dword [ebp - 0x46c], ecx
mov edi, 0x7fffffff
cmovae edx, esi
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ebp - 0x224], edx
cmp eax, 0x10
jae 0x1008e4ca
movups xmm0, xmmword [edx]
mov esi, 0xf
movups xmmword [ecx], xmm0
jmp 0x1008e55a
mov esi, eax
or esi, 0xf
cmp esi, 0x7fffffff
cmova esi, edi
xor ecx, ecx
mov eax, esi
add eax, 1
setb cl
neg ecx
or ecx, eax
cmp ecx, 0x1000
jb 0x1008e51b
lea eax, [ecx + 0x23]
cmp eax, ecx
jbe 0x1008e7ed
push eax
call fcn.1001f148
add esp, 4
test eax, eax
je 0x1008e7de
mov edx, dword [ebp - 0x224]
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
mov dword [ecx - 4], eax
jmp 0x1008e534
test ecx, ecx
je 0x1008e532
push ecx
call fcn.1001f148
mov edx, dword [ebp - 0x224]
add esp, 4
mov ecx, eax
jmp 0x1008e534
xor ecx, ecx
mov eax, dword [ebp - 0x46c]
mov dword [eax], ecx
mov eax, dword [ebp - 0x464]
inc eax
push eax
push edx
push ecx
call fcn.10022040
mov eax, dword [ebp - 0x464]
add esp, 0xc
mov ecx, dword [ebp - 0x46c]
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], esi
call fcn.1008fea0
lea eax, [ebp - 0x2d8]
push eax
call fcn.1008e800
mov byte [ebp - 4], 0x18
mov edx, dword [ebp - 0x234]
sub edi, edx
mov esi, dword [ebp - 0x2c8]
cmp edi, esi
jb 0x1008e7f2
cmp dword [ebp - 0x230], 0x10
lea ecx, [ebp - 0x244]
push esi
cmovae ecx, dword [ebp - 0x244]
lea eax, [ebp - 0x2d8]
cmp dword [ebp - 0x2c4], 0x10
cmovae eax, dword [ebp - 0x2d8]
push eax
push edx
push ecx
push ecx
push dword [ebp - 0x22c]
lea ecx, [ebp - 0x288]
call fcn.1000f330
mov byte [ebp - 4], 0x19
cmp byte [0x10308c44], 0
je 0x1008e6dc
push 0xb0
lea eax, [ebp - 0x388]
push 0
push eax
call fcn.10021e70
add esp, 4
lea eax, [ebp - 0x288]
lea ecx, [ebp - 0x388]
push 0x20
push eax
call fcn.1000adb0
mov byte [ebp - 4], 0x1a
cmp dword [ebp - 0x338], 0
je 0x1008e748
push 0
push 0x10000
push 0x102f8c20
lea ecx, [ebp - 0x388]
call fcn.1000db50
lea ecx, [ebp - 0x384]
call fcn.1000b750
test eax, eax
jne 0x1008e666
mov eax, dword [ebp - 0x388]
lea ecx, [ebp - 0x388]
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.10009790
mov eax, dword [ebp - 0x388]
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 - 0x388]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x38c], eax
lea ecx, [ebp - 0x384]
call fcn.1000aa10
mov eax, dword [ebp - 0x388]
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 - 0x388]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x38c], eax
mov byte [ebp - 4], 0x1b
lea eax, [ebp - 0x320]
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
push eax
call fcn.10020169
add esp, 4
mov byte [ebp - 4], 0x18
mov edx, dword [ebp - 0x274]
cmp edx, 0x10
jb 0x1008e71a
mov ecx, dword [ebp - 0x288]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1008e710
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008e7de
push edx
push ecx
call fcn.1001eec9
add esp, 8
lea ecx, [ebp - 0x2d8]
call fcn.10007de0
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 0x16
call fcn.10007de0
mov ecx, dword [ebp - 0x248]
add ecx, 0x18
cmp ecx, dword [ebp - 0x22c]
jmp 0x1008e381
mov eax, dword [ebp - 0x388]
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 - 0x388]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x38c], eax
lea ecx, [ebp - 0x384]
call fcn.1000aa10
mov eax, dword [ebp - 0x388]
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 - 0x388]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x38c], eax
mov byte [ebp - 4], 0x1c
jmp 0x1008e6c3
lea ecx, [ebp - 0x244]
call fcn.10007de0
lea ecx, [ebp - 0x254]
call fcn.10007e70
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.1001e883
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.1002d464
push str.invalid_wchar_t_filename_argument
call fcn.1001fc1a
call fcn.10007b20
call fcn.10007bd0
int3