Function at 0x1000ee20
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a101b
mov eax, dword fs:[0]
push eax
sub esp, 0x2fc
mov eax, dword [0x100d10d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2f8], ecx
xor eax, eax
mov dword [ebp - 0x244], eax
lea eax, [ebp - 0x23c]
push eax
call fcn.1003c060
add esp, 4
mov dword [ebp - 4], 0
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov byte [ebp - 0x231], al
mov dword [ebp - 4], 0xffffffff
or ebx, 0xffffffff
mov esi, dword [ebp - 0x238]
test esi, esi
je 0x1000eeb4
mov ecx, ebx
lock xadd dword [esi + 4], ecx
jne 0x1000eeb4
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x1000eeb4
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
cmp byte [ebp - 0x231], 0
je 0x1000ef3b
lea eax, [ebp - 0x23c]
push eax
call fcn.1003c060
add esp, 4
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x2f4]
mov edi, dword [eax]
call fcn.1000aa80
mov esi, eax
mov byte [ebp - 4], 2
push str.LoadData
push esi
call fcn.1000ca10
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 8]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2f4]
call fcn.1000cc10
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x238]
test esi, esi
je 0x1000ef3b
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x1000ef3b
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x1000ef3b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 0x250], 0
push 0
push eax
call fcn.1006e460
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [0x100d352c]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x300]
mov byte [ebp - 0x23d], 0
push eax
call fcn.10042189
mov dword [ebp - 4], 4
lea eax, [ebp - 0x300]
mov dword [ebp - 0x308], eax
lea eax, [ebp - 0x23d]
mov dword [ebp - 0x304], eax
lea eax, [ebp - 0x308]
push eax
push 0x10009040
push 0x100d24dc
call fcn.10042e51
add esp, 0x10
test eax, eax
je 0x1000fda8
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x300]
push eax
call fcn.100421c3
mov ecx, dword [0x100d24d8]
lea eax, [ebp - 0x254]
add esp, 4
push eax
call fcn.1001c300
mov dword [ebp - 4], 6
mov eax, dword [0x100d24f4]
test al, 1
jne 0x1000f025
or eax, 1
mov dword [0x100d24f4], eax
mov byte [ebp - 4], 7
mov dword [0x100d24f0], 0
mov byte [ebp - 4], 6
lea eax, [ebp - 0x24c]
mov byte [ebp - 0x231], 0
push eax
call fcn.10042189
mov byte [ebp - 4], 8
lea eax, [ebp - 0x24c]
mov dword [ebp - 0x23c], eax
lea eax, [ebp - 0x231]
mov dword [ebp - 0x238], eax
lea eax, [ebp - 0x23c]
push eax
push 0x10008f00
push 0x100d24f0
call fcn.10042e51
add esp, 0x10
test eax, eax
je 0x1000fd93
mov byte [ebp - 4], 6
lea eax, [ebp - 0x24c]
push eax
call fcn.100421c3
mov eax, dword [ebp - 0x254]
add esp, 4
mov ecx, 0x100d24f8
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1000f0b9
test dx, dx
je 0x1000f0b5
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1000f0b9
add eax, 4
add ecx, 4
test dx, dx
jne 0x1000f093
xor eax, eax
jmp 0x1000f0be
sbb eax, eax
or eax, 1
test eax, eax
je 0x1000f1a5
mov eax, dword [0x100d2510]
test al, 1
jne 0x1000f0e9
or eax, 1
mov dword [0x100d2510], eax
mov byte [ebp - 4], 0xa
mov dword [0x100d250c], 0
mov byte [ebp - 4], 6
lea eax, [ebp - 0x25c]
mov byte [ebp - 0x231], 0
push eax
call fcn.10042189
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x25c]
mov dword [ebp - 0x23c], eax
lea eax, [ebp - 0x231]
mov dword [ebp - 0x238], eax
lea eax, [ebp - 0x23c]
push eax
push 0x10008d00
push 0x100d250c
call fcn.10042e51
add esp, 0x10
test eax, eax
je 0x1000f189
mov byte [ebp - 4], 6
lea eax, [ebp - 0x25c]
push eax
call fcn.100421c3
mov eax, dword [ebp - 0x254]
add esp, 4
mov ecx, 0x100d2514
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1000f179
test dx, dx
je 0x1000f175
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1000f179
add eax, 4
add ecx, 4
test dx, dx
jne 0x1000f153
xor eax, eax
jmp 0x1000f17e
sbb eax, eax
or eax, 1
test eax, eax
je 0x1000f1a5
push str.svc.dat
jmp 0x1000f1aa
lea eax, [ebp - 0x25c]
push eax
call fcn.100421e4
add esp, 4
test al, al
je 0x1000fe03
jmp 0x1000fddf
push str.theme.bin
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x23c]
push eax
call fcn.1003c060
add esp, 4
mov byte [ebp - 4], 0xd
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov byte [ebp - 0x231], al
mov byte [ebp - 4], 6
mov esi, dword [ebp - 0x238]
test esi, esi
je 0x1000f20c
mov ecx, ebx
lock xadd dword [esi + 4], ecx
jne 0x1000f20c
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x1000f206
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov al, byte [ebp - 0x231]
test al, al
je 0x1000f3fd
lea eax, [ebp - 0x23c]
push eax
call fcn.1003c060
add esp, 4
mov byte [ebp - 4], 0xe
mov edi, dword [eax]
lea eax, [ebp - 0x2f4]
mov dword [ebp - 0x248], eax
lea eax, [ebp - 0x2a4]
mov dword [ebp - 0x2f4], 0x100ada9c
mov dword [ebp - 0x258], eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
mov byte [ebp - 4], 0xf
mov dword [ebp - method.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
mov byte [ebp - 4], 0x10
mov eax, 1
push 0
mov dword [ebp - 0x244], eax
lea ecx, [ebp - 0x2f4]
push 0
lea eax, [ebp - 0x2f0]
push eax
call fcn.1000a300
mov dword [ebp - 4], 0x11
mov eax, dword [ebp - 0x2f4]
push 8
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0x2f4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x2f8], eax
lea eax, [ebp - 0x2f0]
mov dword [ebp - 0x258], eax
mov dword [ebp - method.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.10061b12
mov esi, eax
add esp, 4
test esi, esi
je 0x1000f2eb
push 1
call fcn.10042928
add esp, 4
mov dword [esi + 4], eax
jmp 0x1000f2ed
xor esi, esi
lea eax, [ebp - 0x2ec]
mov dword [ebp - 0x2bc], esi
mov dword [ebp - 0x2e4], eax
lea eax, [ebp - 0x2e8]
mov dword [ebp - 0x2e0], eax
lea eax, [ebp - 0x2dc]
mov dword [ebp - 0x2d4], eax
lea eax, [ebp - 0x2d8]
mov dword [ebp - 0x2d0], eax
lea eax, [ebp - 0x2cc]
mov dword [ebp - 0x2c4], eax
lea eax, [ebp - 0x2c8]
mov dword [ebp - 0x2c0], eax
mov dword [ebp - 0x2e8], 0
mov dword [ebp - 0x2d8], 0
mov dword [ebp - 0x2c8], 0
mov dword [ebp - 0x2ec], 0
mov dword [ebp - 0x2dc], 0
mov dword [ebp - 0x2cc], 0
mov byte [ebp - 4], 0x12
mov dword [ebp - method.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov dword [ebp - 0x2b8], 0
mov dword [ebp - 0x2b4], 4
mov byte [ebp - 4], 0x15
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x2f4]
push eax
call fcn.10008960
mov eax, dword [edi]
lea ecx, [ebp - 0x2f4]
add esp, 8
push ecx
mov ecx, edi
call dword [eax + 8]
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x2f4]
call fcn.1000cc10
mov byte [ebp - 4], 6
mov esi, dword [ebp - 0x238]
test esi, esi
je 0x1000f3fd
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x1000f3fd
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x1000f3fd
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1000f413
jmp 0x1000fc6d
lea eax, [ebp - 0x23c]
push eax
call fcn.1003c060
add esp, 4
mov byte [ebp - 4], 0x18
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov byte [ebp - 0x231], al
mov byte [ebp - 4], 6
mov esi, dword [ebp - 0x238]
test esi, esi
je 0x1000f468
mov ecx, ebx
lock xadd dword [esi + 4], ecx
jne 0x1000f468
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x1000f462
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov al, byte [ebp - 0x231]
test al, al
je 0x1000f653
lea eax, [ebp - 0x23c]
push eax
call fcn.1003c060
add esp, 4
mov byte [ebp - 4], 0x19
mov edi, dword [eax]
lea eax, [ebp - 0x2f4]
mov dword [ebp - 0x258], eax
lea eax, [ebp - 0x2a4]
mov dword [ebp - 0x2f4], 0x100ada9c
mov dword [ebp - 0x248], eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
mov byte [ebp - 4], 0x1a
mov dword [ebp - method.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
mov byte [ebp - 4], 0x1b
lea eax, [ebp - 0x2f0]
or dword [ebp - 0x244], 2
lea ecx, [ebp - 0x2f4]
push 0
push 0
push eax
call fcn.1000a300
mov dword [ebp - 4], 0x1c
mov eax, dword [ebp - 0x2f4]
push 8
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0x2f4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x2f8], eax
lea eax, [ebp - 0x2f0]
mov dword [ebp - 0x248], eax
mov dword [ebp - method.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.10061b12
mov esi, eax
add esp, 4
test esi, esi
je 0x1000f543
push 1
call fcn.10042928
add esp, 4
mov dword [esi + 4], eax
jmp 0x1000f545
xor esi, esi
lea eax, [ebp - 0x2ec]
mov dword [ebp - 0x2bc], esi
mov dword [ebp - 0x2e4], eax
lea eax, [ebp - 0x2e8]
mov dword [ebp - 0x2e0], eax
lea eax, [ebp - 0x2dc]
mov dword [ebp - 0x2d4], eax
lea eax, [ebp - 0x2d8]
mov dword [ebp - 0x2d0], eax
lea eax, [ebp - 0x2cc]
mov dword [ebp - 0x2c4], eax
lea eax, [ebp - 0x2c8]
mov dword [ebp - 0x2c0], eax
mov dword [ebp - 0x2e8], 0
mov dword [ebp - 0x2d8], 0
mov dword [ebp - 0x2c8], 0
mov dword [ebp - 0x2ec], 0
mov dword [ebp - 0x2dc], 0
mov dword [ebp - 0x2cc], 0
mov byte [ebp - 4], 0x1d
mov dword [ebp - method.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov dword [ebp - 0x2b8], 0
mov dword [ebp - 0x2b4], 4
mov byte [ebp - 4], 0x20
lea eax, [ebp - 0x2f4]
push str.LoadData1
push eax
call fcn.1000ca10
mov eax, dword [edi]
lea ecx, [ebp - 0x2f4]
add esp, 8
push ecx
mov ecx, edi
call dword [eax + 8]
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x2f4]
call fcn.1000cc10
mov byte [ebp - 4], 6
mov esi, dword [ebp - 0x238]
test esi, esi
je 0x1000f653
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x1000f653
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x1000f653
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
mov byte [ebp - 4], 0x22
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.1003f610
add esp, 8
test eax, eax
jne 0x1000f6b4
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x230]
call fcn.1000b880
jmp 0x1000fc6d
lea eax, [ebp - 0x23c]
push eax
call fcn.1003c060
add esp, 4
mov byte [ebp - 4], 0x24
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov byte [ebp - 0x231], al
mov byte [ebp - 4], 0x22
mov esi, dword [ebp - 0x238]
test esi, esi
je 0x1000f709
mov ecx, ebx
lock xadd dword [esi + 4], ecx
jne 0x1000f709
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x1000f703
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov al, byte [ebp - 0x231]
test al, al
je 0x1000f8f4
lea eax, [ebp - 0x23c]
push eax
call fcn.1003c060
add esp, 4
mov byte [ebp - 4], 0x25
mov edi, dword [eax]
lea eax, [ebp - 0x2f4]
mov dword [ebp - 0x258], eax
lea eax, [ebp - 0x2a4]
mov dword [ebp - 0x2f4], 0x100ada9c
mov dword [ebp - 0x248], eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
mov byte [ebp - 4], 0x26
mov dword [ebp - method.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
mov byte [ebp - 4], 0x27
lea eax, [ebp - 0x2f0]
or dword [ebp - 0x244], 4
lea ecx, [ebp - 0x2f4]
push 0
push 0
push eax
call fcn.1000a300
mov dword [ebp - 4], 0x28
mov eax, dword [ebp - 0x2f4]
push 8
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0x2f4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x2f8], eax
lea eax, [ebp - 0x2f0]
mov dword [ebp - 0x248], eax
mov dword [ebp - method.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.10061b12
mov esi, eax
add esp, 4
test esi, esi
je 0x1000f7e4
push 1
call fcn.10042928
add esp, 4
mov dword [esi + 4], eax
jmp 0x1000f7e6
xor esi, esi
lea eax, [ebp - 0x2ec]
mov dword [ebp - 0x2bc], esi
mov dword [ebp - 0x2e4], eax
lea eax, [ebp - 0x2e8]
mov dword [ebp - 0x2e0], eax
lea eax, [ebp - 0x2dc]
mov dword [ebp - 0x2d4], eax
lea eax, [ebp - 0x2d8]
mov dword [ebp - 0x2d0], eax
lea eax, [ebp - 0x2cc]
mov dword [ebp - 0x2c4], eax
lea eax, [ebp - 0x2c8]
mov dword [ebp - 0x2c0], eax
mov dword [ebp - 0x2e8], 0
mov dword [ebp - 0x2d8], 0
mov dword [ebp - 0x2c8], 0
mov dword [ebp - 0x2ec], 0
mov dword [ebp - 0x2dc], 0
mov dword [ebp - 0x2cc], 0
mov byte [ebp - 4], 0x29
mov dword [ebp - method.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov dword [ebp - 0x2b8], 0
mov dword [ebp - 0x2b4], 4
mov byte [ebp - 4], 0x2c
lea eax, [ebp - 0x2f4]
push str.LoadData2
push eax
call fcn.1000ca10
mov eax, dword [edi]
lea ecx, [ebp - 0x2f4]
add esp, 8
push ecx
mov ecx, edi
call dword [eax + 8]
mov byte [ebp - 4], 0x25
lea ecx, [ebp - 0x2f4]
call fcn.1000cc10
mov byte [ebp - 4], 0x22
mov esi, dword [ebp - 0x238]
test esi, esi
je 0x1000f8f4
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x1000f8f4
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x1000f8f4
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
cmp dword [ebp - 0x21c], 0x10
lea eax, [ebp - 0x230]
mov esi, dword [ebp - 0x2f8]
mov ecx, esi
cmovae eax, dword [ebp - 0x230]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.10013eb0
mov byte [ebp - 4], 0x2e
lea edx, [esi + 0x14]
mov ecx, dword [eax]
mov esi, dword [edx]
sub esi, 0x10
lea eax, [ecx - 0x10]
mov dword [ebp - 0x250], eax
cmp eax, esi
je 0x1000f98d
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x1000f982
mov eax, dword [eax]
cmp eax, dword [esi]
jne 0x1000f982
push dword [ebp - 0x250]
call fcn.1000d6d0
add esp, 4
mov dword [ebp - 0x250], eax
mov ecx, ebx
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x1000f974
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x250]
mov ecx, dword [ebp - 0x2f8]
add eax, 0x10
mov dword [ecx + 0x14], eax
jmp 0x1000f98d
push dword [ecx - 0xc]
push ecx
mov ecx, edx
call fcn.10014ae0
mov byte [ebp - 4], 0x22
mov eax, ebx
mov edx, dword [ebp - 0x248]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000f9ae
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x23c]
push eax
call fcn.1003c060
add esp, 4
mov byte [ebp - 4], 0x31
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov byte [ebp - 0x231], al
mov byte [ebp - 4], 0x22
mov esi, dword [ebp - 0x238]
test esi, esi
je 0x1000fa03
mov ecx, ebx
lock xadd dword [esi + 4], ecx
jne 0x1000fa03
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x1000f9fd
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov al, byte [ebp - 0x231]
test al, al
je 0x1000fbee
lea eax, [ebp - 0x23c]
push eax
call fcn.1003c060
add esp, 4
mov byte [ebp - 4], 0x32
mov edi, dword [eax]
lea eax, [ebp - 0x2f4]
mov dword [ebp - 0x258], eax
lea eax, [ebp - 0x2a4]
mov dword [ebp - 0x2f4], 0x100ada9c
mov dword [ebp - 0x248], eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
mov byte [ebp - 4], 0x33
mov dword [ebp - method.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
mov byte [ebp - 4], 0x34
lea eax, [ebp - 0x2f0]
or dword [ebp - 0x244], 8
lea ecx, [ebp - 0x2f4]
push 0
push 0
push eax
call fcn.1000a300
mov dword [ebp - 4], 0x35
mov eax, dword [ebp - 0x2f4]
push 8
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0x2f4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x2f8], eax
lea eax, [ebp - 0x2f0]
mov dword [ebp - 0x248], eax
mov dword [ebp - method.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.10061b12
mov esi, eax
add esp, 4
test esi, esi
je 0x1000fade
push 1
call fcn.10042928
add esp, 4
mov dword [esi + 4], eax
jmp 0x1000fae0
xor esi, esi
lea eax, [ebp - 0x2ec]
mov dword [ebp - 0x2bc], esi
mov dword [ebp - 0x2e4], eax
lea eax, [ebp - 0x2e8]
mov dword [ebp - 0x2e0], eax
lea eax, [ebp - 0x2dc]
mov dword [ebp - 0x2d4], eax
lea eax, [ebp - 0x2d8]
mov dword [ebp - 0x2d0], eax
lea eax, [ebp - 0x2cc]
mov dword [ebp - 0x2c4], eax
lea eax, [ebp - 0x2c8]
mov dword [ebp - 0x2c0], eax
mov dword [ebp - 0x2e8], 0
mov dword [ebp - 0x2d8], 0
mov dword [ebp - 0x2c8], 0
mov dword [ebp - 0x2ec], 0
mov dword [ebp - 0x2dc], 0
mov dword [ebp - 0x2cc], 0
mov byte [ebp - 4], 0x36
mov dword [ebp - method.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov dword [ebp - 0x2b8], 0
mov dword [ebp - 0x2b4], 4
mov byte [ebp - 4], 0x39
lea eax, [ebp - 0x2f4]
push str.LoadData3
push eax
call fcn.1000ca10
mov eax, dword [edi]
lea ecx, [ebp - 0x2f4]
add esp, 8
push ecx
mov ecx, edi
call dword [eax + 8]
mov byte [ebp - 4], 0x32
lea ecx, [ebp - 0x2f4]
call fcn.1000cc10
mov byte [ebp - 4], 0x22
mov esi, dword [ebp - 0x238]
test esi, esi
je 0x1000fbee
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x1000fbee
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x1000fbee
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
cmp dword [ebp - 0x21c], 0x10
lea eax, [ebp - 0x230]
mov ecx, dword [ebp - 0x2f8]
cmovae eax, dword [ebp - 0x230]
push eax
call fcn.10010520
mov dword [ebp - 0x250], eax
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x21c]
cmp edx, 0x10
jb 0x1000fc52
mov ecx, dword [ebp - 0x230]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000fc48
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000fe08
push edx
push ecx
call fcn.10061b42
add esp, 8
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
mov dword [ebp - 4], 0xffffffff
mov eax, ebx
mov edx, dword [ebp - 0x254]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000fc91
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x23c]
push eax
call fcn.1003c060
add esp, 4
mov dword [ebp - 4], 0x3c
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov byte [ebp - 0x231], al
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x238]
test esi, esi
je 0x1000fcec
mov ecx, ebx
lock xadd dword [esi + 4], ecx
jne 0x1000fcec
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x1000fce6
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov al, byte [ebp - 0x231]
test al, al
je 0x1000fd71
lea eax, [ebp - 0x23c]
push eax
call fcn.1003c060
add esp, 4
mov dword [ebp - 4], 0x3d
lea ecx, [ebp - 0x2f4]
mov edi, dword [eax]
call fcn.1000aa80
mov esi, eax
mov byte [ebp - 4], 0x3e
push str.LoadData4
push esi
call fcn.1000ca10
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 8]
mov byte [ebp - 4], 0x3d
lea ecx, [ebp - 0x2f4]
call fcn.1000cc10
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x238]
test esi, esi
je 0x1000fd71
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x1000fd71
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x1000fd71
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [ebp - 0x250]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10061eb3
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x24c]
push eax
call fcn.100421e4
add esp, 4
test al, al
jne 0x1000fe0d
jmp 0x1000fe03
lea eax, [ebp - 0x300]
push eax
call fcn.100421e4
add esp, 4
test al, al
je 0x1000fe03
sub esp, 8
lea eax, [ebp - 0x300]
mov ecx, esp
mov dword [ebp - 0x258], esp
push eax
call fcn.1000afd0
mov byte [ebp - 4], 5
mov byte [ebp - 4], 4
call fcn.10017ed0
sub esp, 8
lea eax, [ebp - 0x25c]
mov ecx, esp
mov dword [ebp - 0x248], esp
push eax
call fcn.1000afd0
mov byte [ebp - 4], 0xc
mov byte [ebp - 4], 0xb
call fcn.10017ed0
call fcn.10042e69
call fcn.10071549
sub esp, 8
lea eax, [ebp - 0x24c]
mov ecx, esp
mov dword [ebp - 0x258], esp
push eax
call fcn.1000afd0
mov byte [ebp - 4], 9
mov byte [ebp - 4], 8
call fcn.10017ed0
int3