Function at 0x636540
Capabilities:
Authenticate hmac
Encode data using xor
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7b64bb
mov eax, dword fs:[0]
push eax
sub esp, 0x4e8
mov eax, dword [0x831184]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x2d0], edi
xor esi, esi
mov dword [ebp - 0x2b8], esi
mov dword [ebp - 0x2b4], esi
cmp dword [edi + 0x8c], esi
jne 0x6367d7
push 0xb0
lea eax, [ebp - 0x160]
push esi
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x160], 0x7d6f90
lea ecx, [ebp - 0xf8]
mov dword [ebp - 0x150], 0x7d7228
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::constructor_void_]
push esi
lea eax, [ebp - 0x148]
mov dword [ebp - 4], esi
push eax
lea ecx, [ebp - 0x160]
mov dword [ebp - 0x2b8], 1
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::constructor_class_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t____]
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x160]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x160], 0x7c81a4
mov eax, dword [ebp - 0x160]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x164], eax
lea ecx, [ebp - 0x148]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::constructor_void_]
mov dword [ebp - 0x148], 0x7c8164
mov dword [ebp - 0x110], esi
mov dword [ebp - 0x10c], esi
mov dword [ebp - 4], 2
mov eax, 0x12
mov dword [ebp - 0x300], eax
xor ecx, ecx
mov dword [ebp - 0x2fc], 0xd800f9
mov dword [ebp - 0x2f8], 0xcf00c4
mov dword [ebp - 0x2f4], 0xdd00c8
mov dword [ebp - 0x2f0], 0xfc00dc
mov dword [ebp - 0x2ec], 0xc100d8
mov dword [ebp - 0x2e8], 0x9400c7
mov dword [ebp - 0x2e4], 0x960088
mov dword [ebp - 0x2e0], 0xed00f9
mov dword [ebp - 0x2dc], 0xf600f5
mov dword [ebp - 0x2d8], 0xbb
nop dword [eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x2fc], ax
inc ecx
mov eax, dword [ebp - 0x300]
cmp ecx, eax
jb 0x6366b0
xor ecx, ecx
mov word [ebp + eax*2 - 0x2fc], cx
lea eax, [ebp - 0x2fc]
push eax
lea eax, [ebp - 0x150]
push eax
call fcn.00404740
add esp, 8
call fcn.004345f0
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x460]
push eax
call fcn.00638cb0
mov esi, eax
xor ecx, ecx
mov edx, dword [esi]
lea edi, [esi + 4]
mov dword [ebp - 0x14], edi
test edx, edx
je 0x636721
nop dword [eax]
lea eax, [ecx + 0xa9]
xor word [edi + ecx*2], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x636710
xor eax, eax
mov word [edi + edx*2], ax
lea eax, [ebp - 0x4f4]
push eax
call fcn.00634ef0
mov esi, eax
xor ecx, ecx
mov edx, dword [esi]
lea eax, [esi + 4]
mov dword [ebp - 0x2bc], eax
test edx, edx
je 0x63676a
mov edi, eax
nop dword [eax + eax]
lea eax, [ecx + 0xa9]
xor word [edi + ecx*2], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x636750
mov edi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x2bc]
xor ecx, ecx
mov word [eax + edx*2], cx
lea ecx, [ebp - 0x160]
push ecx
mov ecx, dword [ebp - 0x50]
push edi
push 0x297
push eax
push 0
call fcn.00469f50
mov eax, dword [ebp - 0x160]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x160], 0x7c81a4
mov eax, dword [ebp - 0x160]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x164], eax
lea ecx, [ebp - 0x148]
call fcn.004073e0
lea ecx, [ebp - 0x140]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
lea ecx, [ebp - 0xf8]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
jmp 0x638c8d
cmp dword [edi + 4], 0xc
je 0x63680f
mov edx, dword [edi + 0x80]
push ecx
mov ecx, dword [edi + 0x7c]
call fcn.00413a10
mov eax, dword [edi + 0x7c]
add esp, 4
mov dword [edi + 0x80], eax
cmp dword [edi + 0x10], 0x17a
jne 0x636816
cmp byte [edi + 0x218], 0
je 0x63680f
call fcn.0065de60
mov al, 1
jmp 0x638c8f
xorps xmm0, xmm0
push ecx
lea ecx, [ebp - 0x8c]
movups xmmword [ebp - 0x8c], xmm0
call fcn.0061f270
mov dword [ebp - 4], 3
mov eax, dword [edi + 0xa0]
mov ecx, dword [edi + 0xa4]
mov dword [ebp - 0x2b8], eax
mov dword [ebp - 0x14], ecx
cmp eax, ecx
je 0x6369a5
xorps xmm0, xmm0
mov dword [ebp - 0x1ac], 0
push eax
lea ecx, [ebp - 0x1cc]
movups xmmword [ebp - 0x1cc], xmm0
movups xmmword [ebp - 0x1bc], xmm0
call fcn.00404120
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1b4]
mov eax, dword [ebp - 0x2b8]
add eax, 0x18
push eax
call fcn.00403f00
lea eax, [ebp - 0x1cc]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x8c]
call fcn.006230a0
lea ecx, [ebp - 0x1cc]
call fcn.0057cd50
cmp eax, 2
jne 0x63696d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea ecx, [ebp - 0x1cc]
lea eax, [ebp - 0x6c]
push eax
call fcn.004033d0
movups xmm0, xmmword [eax]
xor ecx, ecx
movups xmmword [ebp - 0x33c], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
movq qword [ebp - 0x32c], xmm0
mov word [eax], cx
lea eax, [ebp - 0x33c]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x36c]
push eax
call fcn.00426c50
or dword [ebp - 0x2b4], 2
lea eax, [ebp - 0x36c]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0xa4]
call fcn.00404120
push esi
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 9
push eax
push 2
mov ecx, edi
call fcn.005a1320
lea ecx, [ebp - 0xa4]
call fcn.00404490
lea ecx, [ebp - 0x36c]
call fcn.00404490
lea ecx, [ebp - 0x33c]
call fcn.00404490
lea ecx, [ebp - 0x6c]
call fcn.00404490
lea ecx, [ebp - 0x1b4]
mov byte [ebp - 4], 3
call fcn.00404220
lea ecx, [ebp - 0x1cc]
call fcn.00404490
mov eax, dword [ebp - 0x2b8]
add eax, 0x24
mov dword [ebp - 0x2b8], eax
cmp eax, dword [ebp - 0x14]
jne 0x636850
mov esi, dword [ebp - 0x2b4]
mov ecx, dword [edi + 0x164]
mov eax, dword [edi + 0x160]
mov dword [ebp - 0x2bc], eax
mov dword [ebp - 0x2b8], ecx
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x636ac0
mov eax, dword [ebp - 0x2b8]
cmp dword [ebp - 0x2bc], eax
je 0x636ac0
mov esi, dword [ebp - 0x2bc]
nop
push esi
lea ecx, [ebp - 0x220]
call fcn.00404120
lea eax, [esi + 0x18]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x208]
call fcn.00404120
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x210], 0
je 0x636a5b
cmp dword [ebp - 0x1f8], 0
jne 0x636a52
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x8c]
call fcn.00622e90
test al, al
jne 0x636a52
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x220]
mov ecx, edi
push eax
push 0
call fcn.005a1320
cmp dword [ebp - 0x210], 0
jne 0x636a91
cmp dword [ebp - 0x1f8], 0
je 0x636a91
lea eax, [ebp - 0x208]
push eax
lea ecx, [ebp - 0x8c]
call fcn.00622f60
test al, al
jne 0x636a91
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x220]
mov ecx, edi
push eax
push 0
call fcn.005a1320
lea ecx, [ebp - 0x208]
mov byte [ebp - 4], 3
call fcn.00404490
lea ecx, [ebp - 0x220]
call fcn.00404490
add esi, 0x30
cmp esi, dword [ebp - 0x2b8]
jne 0x6369f0
mov esi, dword [ebp - 0x2b4]
mov edx, dword [edi + 0x104]
mov eax, edx
mov ecx, dword [edi + 0x100]
sub eax, ecx
sar eax, 3
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x2bc], ecx
mov dword [ebp - 0x2cc], 2
mov dword [ebp - 0x2d4], 0xffffffff
test eax, eax
je 0x636d5f
cmp ecx, edx
je 0x636d5f
mov eax, dword [ecx + 4]
xorps xmm0, xmm0
movlpd qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x2c8], eax
test eax, eax
je 0x636b22
lock inc dword [eax + 4]
mov eax, dword [ecx + 4]
mov dword [ebp - 0x2c8], eax
mov ecx, dword [ecx]
mov dword [ebp - 0x2b8], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0xc
push dword [ecx]
mov ecx, dword [edi + 0x8c]
call fcn.004123d0
xor ecx, ecx
test al, al
cmove ecx, dword [ebp - 0x2cc]
cmp ecx, 2
jne 0x636d06
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x4c]
push 1
xor eax, eax
mov dword [ebp - 0x3c], 0
push 0x7cf384
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
call fcn.004044f0
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x4c]
mov edx, dword [ebp - 0x2b8]
lea ecx, [ebp - 0x384]
push eax
lea edx, [edx + 0x20]
call fcn.00405fb0
add esp, 4
lea ecx, [ebp - 0x4c]
or esi, 4
call fcn.00404490
movups xmm0, xmmword [ebp - 0x384]
xor eax, eax
mov word [ebp - 0x384], ax
movups xmmword [ebp - 0x34], xmm0
movq xmm0, qword [ebp - 0x374]
movq qword [ebp - 0x24], xmm0
mov dword [ebp - 0x374], 0
mov dword [ebp - 0x370], 7
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 0xf
push eax
lea eax, [ebp - 0x3b4]
push eax
call fcn.00426c50
push 1
push 0x7d75dc
lea ecx, [ebp - 0x3b4]
mov byte [ebp - 4], 0x10
call fcn.00407c50
mov dword [ebp - 0x32c], 0
xor ecx, ecx
mov dword [ebp - 0x328], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x33c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x32c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0x2b8]
add eax, 0x2c
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x636c60
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x33c]
call fcn.00407c50
xor ecx, ecx
or esi, 0x38
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x354], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
movq qword [ebp - 0x344], xmm0
mov word [eax], cx
lea eax, [ebp - 0x354]
mov byte [ebp - 4], 0x12
push eax
lea ecx, [ebp - 0xa4]
call fcn.00404120
mov byte [ebp - 4], 0x13
lea eax, [ebp - 0xa4]
push dword [ebp - 0x14]
mov ecx, edi
push eax
push 1
call fcn.005a1320
lea ecx, [ebp - 0xa4]
call fcn.00404490
lea ecx, [ebp - 0x354]
call fcn.00404490
lea ecx, [ebp - 0x33c]
call fcn.00404490
lea ecx, [ebp - 0x3b4]
call fcn.00404490
lea ecx, [ebp - 0x34]
call fcn.00404490
lea ecx, [ebp - 0x384]
call fcn.00404490
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0x2c8]
test ecx, ecx
je 0x636d3d
mov eax, dword [ebp - 0x2d4]
lock xadd dword [ecx + 4], eax
jne 0x636d3d
mov eax, dword [ecx]
call dword [eax]
mov eax, dword [ebp - 0x2d4]
mov ecx, dword [ebp - 0x2c8]
lock xadd dword [ecx + 8], eax
jne 0x636d3d
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x2bc]
add ecx, 8
mov dword [ebp - 0x2bc], ecx
cmp ecx, dword [ebp - 0x50]
jne 0x636b00
mov dword [ebp - 0x2b4], esi
mov edx, dword [edi + 0xec]
mov eax, edx
mov ecx, dword [edi + 0xe8]
sub eax, ecx
sar eax, 3
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x2c8], ecx
test eax, eax
je 0x6370b8
cmp ecx, edx
je 0x6370b8
nop dword [eax + eax]
mov eax, dword [ecx + 4]
xorps xmm0, xmm0
movlpd qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x2b8], eax
test eax, eax
je 0x636db2
lock inc dword [eax + 4]
mov eax, dword [ecx + 4]
mov dword [ebp - 0x2b8], eax
mov esi, dword [ecx]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], eax
lea eax, [esi + 8]
mov byte [ebp - 4], 0x15
push eax
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x2bc], eax
call fcn.006230a0
push dword [esi]
mov ecx, dword [edi + 0x8c]
call fcn.004123d0
xor ecx, ecx
test al, al
cmove ecx, dword [ebp - 0x2cc]
cmp ecx, 2
jne 0x636eef
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [ebp - 0x3c], 0
push 1
xor eax, eax
mov dword [ebp - 0x38], 7
push 0x7cf384
lea ecx, [ebp - 0x4c]
mov word [ebp - 0x4c], ax
call fcn.004044f0
mov byte [ebp - 4], 0x16
lea eax, [ebp - 0x4c]
mov edx, dword [ebp - 0x2bc]
lea ecx, [ebp - 0x34]
push eax
add edx, 0x18
call fcn.00405fb0
or dword [ebp - 0x2b4], 0x40
lea ecx, [ebp - 0x4c]
add esp, 4
call fcn.00404490
movups xmm0, xmmword [ebp - 0x34]
xor eax, eax
mov word [ebp - 0x34], ax
movups xmmword [ebp - 0x36c], xmm0
movq xmm0, qword [ebp - 0x24]
movq qword [ebp - 0x35c], xmm0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
lea eax, [ebp - 0x36c]
mov byte [ebp - 4], 0x18
push eax
lea eax, [ebp - 0x39c]
push eax
call fcn.00426c50
or dword [ebp - 0x2b4], 0x80
lea eax, [ebp - 0x39c]
mov byte [ebp - 4], 0x19
push eax
lea ecx, [ebp - 0x354]
call fcn.00404120
push esi
lea eax, [ebp - 0x354]
mov byte [ebp - 4], 0x1a
push eax
push 1
mov ecx, edi
call fcn.005a1320
lea ecx, [ebp - 0x354]
call fcn.00404490
lea ecx, [ebp - 0x39c]
call fcn.00404490
lea ecx, [ebp - 0x36c]
call fcn.00404490
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x15
call fcn.00404490
push 1
xor eax, eax
mov dword [ebp - 0x3c], 0
push 0x7cf384
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
call fcn.004044f0
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x4c]
mov eax, dword [ebp - 0x2bc]
add eax, 0x18
push ecx
mov edx, eax
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x39c]
call fcn.00405fb0
or dword [ebp - 0x2b4], 0x100
lea ecx, [ebp - 0x4c]
add esp, 4
call fcn.00404490
lea ecx, [ebp - 0x39c]
mov byte [ebp - 4], 0x1c
call fcn.005794a0
lea ecx, [ebp - 0x39c]
mov byte [ebp - 4], 0x15
mov esi, eax
call fcn.00404490
cmp esi, 2
jne 0x637067
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [ebp - 0x3c], 0
push 1
xor eax, eax
mov dword [ebp - 0x38], 7
push 0x7cf384
lea ecx, [ebp - 0x4c]
mov word [ebp - 0x4c], ax
call fcn.004044f0
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 0x1d
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x354]
push eax
call fcn.00405fb0
add esp, 4
lea ecx, [ebp - 0x4c]
call fcn.00404490
movups xmm0, xmmword [ebp - 0x354]
xor eax, eax
mov word [ebp - 0x354], ax
movups xmmword [ebp - 0xa4], xmm0
movq xmm0, qword [ebp - 0x344]
movq qword [ebp - 0x94], xmm0
mov dword [ebp - 0x344], 0
mov dword [ebp - 0x340], 7
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 0x1f
push eax
lea eax, [ebp - 0x3cc]
push eax
call fcn.00426c50
or dword [ebp - 0x2b4], 0x600
lea eax, [ebp - 0x3cc]
mov byte [ebp - 4], 0x20
push eax
lea ecx, [ebp - 0x34]
call fcn.00404120
push esi
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 0x21
push eax
push 5
mov ecx, edi
call fcn.005a1320
lea ecx, [ebp - 0x34]
call fcn.00404490
lea ecx, [ebp - 0x3cc]
call fcn.00404490
lea ecx, [ebp - 0xa4]
call fcn.00404490
lea ecx, [ebp - 0x354]
call fcn.00404490
mov byte [ebp - 4], 0x22
mov esi, dword [ebp - 0x2b8]
test esi, esi
je 0x63709c
mov eax, dword [ebp - 0x2d4]
lock xadd dword [esi + 4], eax
jne 0x63709c
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, dword [ebp - 0x2d4]
lock xadd dword [esi + 8], eax
jne 0x63709c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x2c8]
add ecx, 8
mov dword [ebp - 0x2c8], ecx
cmp ecx, dword [ebp - 0x50]
jne 0x636d90
mov eax, dword [edi + 0x2bc]
test eax, eax
je 0x6370d4
push eax
lea eax, [edi + 0x16c]
push eax
call fcn.00639ba0
jmp 0x637577
mov ecx, dword [edi + 0x16c]
mov eax, dword [edi + 0x170]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], eax
cmp ecx, eax
je 0x637577
nop
mov eax, dword [ecx + 4]
xorps xmm0, xmm0
movlpd qword [ebp - 0x24], xmm0
mov dword [ebp - 0x50], eax
test eax, eax
je 0x63710c
lock inc dword [eax + 4]
mov eax, dword [ecx + 4]
mov dword [ebp - 0x50], eax
mov ecx, dword [ecx]
mov dword [ebp - 0x2c8], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], eax
push 0xb0
lea eax, [ebp - 0x160]
mov byte [ebp - 4], 0x23
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x160], 0x7d6f90
lea ecx, [ebp - 0xf8]
mov dword [ebp - 0x150], 0x7d7228
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::constructor_void_]
mov byte [ebp - 4], 0x24
lea ecx, [ebp - 0x160]
mov eax, dword [ebp - 0x2b4]
or eax, 0x800
mov dword [ebp - 0x2b4], eax
mov dword [ebp - 0x2b8], eax
lea eax, [ebp - 0x148]
push 0
push eax
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::constructor_class_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t____]
mov dword [ebp - 4], 0x25
mov eax, dword [ebp - 0x160]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x160], 0x7c81a4
mov eax, dword [ebp - 0x160]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x164], eax
lea ecx, [ebp - 0x148]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::constructor_void_]
mov dword [ebp - 0x148], 0x7c8164
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x10c], 0
mov byte [ebp - 4], 0x26
mov eax, 0xa
mov dword [ebp - 0x70], eax
xor ecx, ecx
mov dword [ebp - 0x6c], 0xcf00fb
mov dword [ebp - 0x68], 0xc300c6
mov dword [ebp - 0x64], 0xc700db
mov dword [ebp - 0x60], 0xd700c1
mov dword [ebp - 0x5c], 0x92008b
mov dword [ebp - 0x58], 0xb3
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x6c], ax
inc ecx
mov eax, dword [ebp - 0x70]
cmp ecx, eax
jb 0x637214
xor ecx, ecx
mov word [ebp + eax*2 - 0x6c], cx
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x150]
push eax
call fcn.00404740
mov esi, eax
lea ecx, [ebp - 0x2f8]
mov eax, dword [ebp - 0x2c8]
add esp, 8
add eax, 0xc
push eax
call fcn.00404120
mov byte [ebp - 4], 0x27
lea ecx, [ebp - 0x2e0]
mov eax, dword [ebp - 0x2c8]
add eax, 0x24
push eax
call fcn.00403f00
or dword [ebp - 0x2b4], 0x1000
lea edx, [ebp - 0x2f8]
mov byte [ebp - 4], 0x28
mov ecx, esi
call fcn.00402db0
lea ecx, [ebp - 0x2e0]
mov byte [ebp - 4], 0x26
call fcn.00404220
lea ecx, [ebp - 0x2f8]
call fcn.00404490
mov esi, dword [0x83ff50]
mov dword [ebp - 0x2b8], esi
test esi, esi
jne 0x6372f7
push 0x20
call fcn.0076e8c3
mov esi, eax
xorps xmm0, xmm0
add esp, 4
mov dword [ebp - 0x2b8], esi
xor eax, eax
mov dword [ebp - 0x2c4], esi
movups xmmword [esi], xmm0
movups xmmword [esi + 0x10], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [0x83ff50], esi
lea eax, [ebp - 0x4f4]
push eax
call fcn.00638de0
mov dword [ebp - 0x2cc], eax
mov edx, dword [eax]
lea ecx, [eax + 4]
mov dword [ebp - 0x2bc], ecx
xor ecx, ecx
test edx, edx
je 0x63733f
mov esi, dword [ebp - 0x2bc]
mov edi, eax
lea eax, [ecx + 0xa9]
xor word [esi + ecx*2], ax
inc ecx
mov edx, dword [edi]
cmp ecx, edx
jb 0x637322
mov edi, dword [ebp - 0x2d0]
mov esi, dword [ebp - 0x2b8]
mov eax, dword [ebp - 0x2bc]
xor ecx, ecx
mov word [eax + edx*2], cx
lea eax, [ebp - 0x460]
push eax
call fcn.00634ef0
mov dword [ebp - 0x2c4], eax
mov edx, dword [eax]
lea ecx, [eax + 4]
mov dword [ebp - 0x2cc], ecx
xor ecx, ecx
test edx, edx
je 0x63739d
mov esi, dword [ebp - 0x2cc]
mov edi, eax
nop word [eax + eax]
lea eax, [ecx + 0xa9]
xor word [esi + ecx*2], ax
inc ecx
mov edx, dword [edi]
cmp ecx, edx
jb 0x637380
mov edi, dword [ebp - 0x2d0]
mov esi, dword [ebp - 0x2b8]
mov eax, dword [ebp - 0x2cc]
xor ecx, ecx
mov word [eax + edx*2], cx
lea ecx, [ebp - 0x160]
push ecx
push dword [ebp - 0x2bc]
mov ecx, esi
push 0x2fd
push eax
push 1
call fcn.00469f50
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0x148]
mov eax, dword [ebp - 0x160]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x160], 0x7c81a4
mov eax, dword [ebp - 0x160]
mov edx, dword [eax + 4]
lea eax, [edx - 0x68]
mov dword [ebp + edx - 0x164], eax
call fcn.004073e0
lea ecx, [ebp - 0x140]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
lea ecx, [ebp - 0xf8]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
mov ecx, dword [ebp - 0x2c8]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
test al, al
jne 0x63752f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea ecx, [ebp - 0x2f8]
mov eax, dword [ebp - 0x2c8]
add eax, 0xc
push eax
call fcn.00404120
mov byte [ebp - 4], 0x29
lea ecx, [ebp - 0x2e0]
mov eax, dword [ebp - 0x2c8]
add eax, 0x24
push eax
call fcn.00403f00
mov byte [ebp - 4], 0x2a
lea edx, [ebp - 0x2f8]
cmp dword [ebp - 0x2e4], 8
cmovae edx, dword [ebp - 0x2f8]
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x2c4], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x637481
sub ecx, dword [ebp - 0x2c4]
xor eax, eax
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
call fcn.004044f0
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 0x2b
push eax
lea eax, [ebp - 0x36c]
push eax
call fcn.00426c50
or dword [ebp - 0x2b4], 0x1e000
lea eax, [ebp - 0x36c]
mov byte [ebp - 4], 0x2c
push eax
lea ecx, [ebp - 0xa4]
call fcn.00404120
push esi
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 0x2d
push eax
push 3
mov ecx, edi
call fcn.005a1320
lea ecx, [ebp - 0xa4]
call fcn.00404490
lea ecx, [ebp - 0x36c]
call fcn.00404490
lea ecx, [ebp - 0x4c]
call fcn.00404490
lea ecx, [ebp - 0x2e0]
call fcn.00404220
lea ecx, [ebp - 0x2f8]
call fcn.00404490
mov byte [ebp - 4], 0x2e
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x637561
mov eax, dword [ebp - 0x2d4]
lock xadd dword [esi + 4], eax
jne 0x637561
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, dword [ebp - 0x2d4]
lock xadd dword [esi + 8], eax
jne 0x637561
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x14]
add ecx, 8
mov dword [ebp - 0x14], ecx
cmp ecx, dword [ebp - 0x18]
jne 0x6370f0
mov esi, dword [edi + 0xc4]
mov eax, dword [edi + 0xc8]
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x18], eax
cmp esi, eax
je 0x6377b9
xorps xmm0, xmm0
mov dword [ebp - 0x188], 0
push esi
lea ecx, [ebp - 0x1a8]
movups xmmword [ebp - 0x1a8], xmm0
movups xmmword [ebp - 0x198], xmm0
call fcn.00404120
lea eax, [esi + 0x18]
mov byte [ebp - 4], 0x2f
push eax
lea ecx, [ebp - 0x190]
call fcn.00403f00
mov byte [ebp - 4], 0x30
mov byte [ebp - 0x2bd], 0
mov dword [ebp - 0x14], 0
nop dword [eax]
push ecx
lea eax, [ebp - 0x1a8]
push eax
lea ecx, [ebp - 0x8c]
call fcn.006232a0
xor esi, esi
nop word [eax + eax]
mov edx, dword [edi + 0x8c]
lea ecx, [ebp - 0x1a8]
call fcn.00579240
test eax, eax
je 0x63761b
inc esi
cmp esi, 5
jl 0x637600
push 1
xor eax, eax
mov dword [ebp - 0x3c], 0
push 0x7cf384
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
call fcn.004044f0
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 0x31
push eax
lea edx, [ebp - 0x190]
lea ecx, [ebp - 0x34]
call fcn.00405fb0
add esp, 4
lea ecx, [ebp - 0x4c]
call fcn.00404490
or dword [ebp - 0x2b4], 0x60000
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x32
call fcn.00579380
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x30
mov esi, eax
call fcn.00404490
test esi, esi
je 0x63769f
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp eax, 5
jl 0x6375e0
mov al, byte [ebp - 0x2bd]
jmp 0x6376a1
mov al, 1
test al, al
jne 0x63778d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [ebp - 0x24], 0
push 1
xor eax, eax
mov dword [ebp - 0x20], 7
push 0x7cf384
lea ecx, [ebp - 0x34]
mov word [ebp - 0x34], ax
call fcn.004044f0
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 0x33
push eax
lea edx, [ebp - 0x190]
lea ecx, [ebp - 0x4c]
call fcn.00405fb0
add esp, 4
lea ecx, [ebp - 0x34]
call fcn.00404490
movups xmm0, xmmword [ebp - 0x4c]
xor eax, eax
mov word [ebp - 0x4c], ax
movups xmmword [ebp - 0xa4], xmm0
movq xmm0, qword [ebp - 0x3c]
movq qword [ebp - 0x94], xmm0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 7
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 0x35
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.00426c50
or dword [ebp - 0x2b4], 0x180000
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 0x36
push eax
lea ecx, [ebp - 0x318]
call fcn.00404120
push esi
lea eax, [ebp - 0x318]
mov byte [ebp - 4], 0x37
push eax
push 4
mov ecx, edi
call fcn.005a1320
lea ecx, [ebp - 0x318]
call fcn.00404490
lea ecx, [ebp - 0x6c]
call fcn.00404490
lea ecx, [ebp - 0xa4]
call fcn.00404490
lea ecx, [ebp - 0x4c]
call fcn.00404490
lea ecx, [ebp - 0x190]
mov byte [ebp - 4], 3
call fcn.00404220
lea ecx, [ebp - 0x1a8]
call fcn.00404490
mov esi, dword [ebp - 0x50]
add esi, 0x24
mov dword [ebp - 0x50], esi
cmp esi, dword [ebp - 0x18]
jne 0x637591
cmp byte [edi + 0x8a], 0
je 0x6378da
mov eax, dword [edi + 0xd4]
mov esi, dword [edi + 0xd0]
mov dword [ebp - 0x18], eax
cmp esi, eax
je 0x6378da
mov edi, dword [ebp - 0x2b4]
nop dword [eax]
nop word [eax + eax]
xorps xmm0, xmm0
mov dword [ebp - 0x1d0], 0
push esi
lea ecx, [ebp - 0x1f0]
movups xmmword [ebp - 0x1f0], xmm0
movups xmmword [ebp - 0x1e0], xmm0
call fcn.00404120
lea eax, [esi + 0x18]
mov byte [ebp - 4], 0x38
push eax
lea ecx, [ebp - 0x1d8]
call fcn.00403f00
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 0x39
push eax
lea ecx, [ebp - 0x1f0]
call fcn.00403460
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x637848
mov eax, dword [eax]
cmp ecx, 3
jne 0x637867
push ecx
push 0x7da2f8
push eax
call fcn.004090d0
add esp, 0xc
mov byte [ebp - 0x2bd], 1
test eax, eax
je 0x63786e
mov byte [ebp - 0x2bd], 0
lea ecx, [ebp - 0x6c]
call fcn.00404490
cmp byte [ebp - 0x2bd], 0
je 0x6378a8
lea eax, [ebp - 0x1f0]
push eax
lea ecx, [ebp - 0x6c]
call fcn.00404120
or edi, 0x200000
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x3a
call fcn.0057a7b0
lea ecx, [ebp - 0x6c]
call fcn.00404490
lea ecx, [ebp - 0x1d8]
mov byte [ebp - 4], 3
call fcn.00404220
lea ecx, [ebp - 0x1f0]
call fcn.00404490
add esi, 0x24
cmp esi, dword [ebp - 0x18]
jne 0x6377f0
mov dword [ebp - 0x2b4], edi
mov edi, dword [ebp - 0x2d0]
mov esi, dword [edi + 0xd0]
mov eax, dword [edi + 0xd4]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], eax
cmp esi, eax
je 0x637be7
nop dword [eax]
nop dword [eax + eax]
xorps xmm0, xmm0
mov dword [ebp - 0x164], 0
push esi
lea ecx, [ebp - 0x184]
movups xmmword [ebp - 0x184], xmm0
movups xmmword [ebp - 0x174], xmm0
call fcn.00404120
lea eax, [esi + 0x18]
mov byte [ebp - 4], 0x3b
push eax
lea ecx, [ebp - 0x16c]
call fcn.00403f00
lea eax, [ebp - 0x184]
mov byte [ebp - 4], 0x3c
push eax
lea ecx, [ebp - 0x8c]
call fcn.006230a0
mov edx, dword [edi + 0x8c]
lea ecx, [ebp - 0x184]
call fcn.00579340
lea eax, [ebp - 0x184]
push eax
call fcn.006399a0
test al, al
je 0x637a5e
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x184]
call fcn.00403540
mov esi, eax
mov byte [ebp - 4], 0x3d
xor ecx, ecx
mov dword [ebp - 0x34], 9
mov dword [ebp - 0x30], 0xcf00c7
mov dword [ebp - 0x2c], 0x8c00df
mov dword [ebp - 0x28], 0xda00de
mov dword [ebp - 0x24], 0xc000c0
mov dword [ebp - 0x20], 0xb20091
nop word [eax + eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x30], ax
inc ecx
mov eax, dword [ebp - 0x34]
cmp ecx, eax
jb 0x6379c0
xor ecx, ecx
mov word [ebp + eax*2 - 0x30], cx
lea ecx, [ebp - 0x30]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x6379e0
sub ecx, edx
lea eax, [ebp - 0x30]
sar ecx, 1
push ecx
push eax
push 0
mov ecx, esi
call fcn.00413a90
mov esi, dword [ebp - 0x2b4]
xor ecx, ecx
mov dword [ebp - 0x3c], 0
or esi, 0x400000
mov dword [ebp - 0x38], 0
movups xmm0, xmmword [eax]
push ecx
push ecx
movups xmmword [ebp - 0x4c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x3c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0x4c]
call fcn.004130e0
add esp, 8
lea ecx, [ebp - 0x4c]
call fcn.00404490
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x3c
call fcn.00404490
jmp 0x637a64
mov esi, dword [ebp - 0x2b4]
push 1
xor eax, eax
mov dword [ebp - 0x3c], 0
push 0x7cf384
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
call fcn.004044f0
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 0x3e
push eax
lea edx, [ebp - 0x16c]
lea ecx, [ebp - 0x6c]
call fcn.00405fb0
add esp, 4
lea ecx, [ebp - 0x4c]
call fcn.00404490
or esi, 0x1800000
mov dword [ebp - 0x2b4], esi
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x3f
call fcn.00579380
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x3c
mov esi, eax
call fcn.00404490
cmp esi, 2
jne 0x637bbb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [ebp - 0x24], 0
push 1
xor eax, eax
mov dword [ebp - 0x20], 7
push 0x7cf384
lea ecx, [ebp - 0x34]
mov word [ebp - 0x34], ax
call fcn.004044f0
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 0x40
push eax
lea edx, [ebp - 0x16c]
lea ecx, [ebp - 0x4c]
call fcn.00405fb0
add esp, 4
lea ecx, [ebp - 0x34]
call fcn.00404490
movups xmm0, xmmword [ebp - 0x4c]
xor eax, eax
mov word [ebp - 0x4c], ax
movups xmmword [ebp - 0xa4], xmm0
movq xmm0, qword [ebp - 0x3c]
movq qword [ebp - 0x94], xmm0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 7
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 0x42
push eax
lea eax, [ebp - 0x318]
push eax
call fcn.00426c50
or dword [ebp - 0x2b4], 0x6000000
lea eax, [ebp - 0x318]
mov byte [ebp - 4], 0x43
push eax
lea ecx, [ebp - 0x6c]
call fcn.00404120
push esi
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 0x44
push eax
push 5
mov ecx, edi
call fcn.005a1320
lea ecx, [ebp - 0x6c]
call fcn.00404490
lea ecx, [ebp - 0x318]
call fcn.00404490
lea ecx, [ebp - 0xa4]
call fcn.00404490
lea ecx, [ebp - 0x4c]
call fcn.00404490
lea ecx, [ebp - 0x16c]
mov byte [ebp - 4], 3
call fcn.00404220
lea ecx, [ebp - 0x184]
call fcn.00404490
mov esi, dword [ebp - 0x14]
add esi, 0x24
mov dword [ebp - 0x14], esi
cmp esi, dword [ebp - 0x18]
jne 0x637900
mov eax, dword [edi + 0xc8]
lea ecx, [edi + 0xc4]
mov esi, dword [ecx]
mov dword [ebp - 0x18], eax
cmp esi, eax
je 0x637cc5
xorps xmm0, xmm0
mov dword [ebp - 0x224], 0
push esi
lea ecx, [ebp - 0x244]
movups xmmword [ebp - 0x244], xmm0
movups xmmword [ebp - 0x234], xmm0
call fcn.00404120
lea eax, [esi + 0x18]
mov byte [ebp - 4], 0x45
push eax
lea ecx, [ebp - 0x22c]
call fcn.00403f00
mov byte [ebp - 4], 0x46
lea edx, [ebp - 0x244]
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x28]
movq qword [ebp - 0x28], xmm0
call fcn.00582a90
mov byte [ebp - 4], 0x47
mov eax, 0x92492493
mov ecx, dword [ebp - 0x24]
sub ecx, dword [ebp - 0x28]
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x637c91
push dword [ebp - 0x18]
lea ecx, [edi + 0x118]
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push dword [ecx + 4]
call fcn.0063ac80
lea ecx, [ebp - 0x28]
call fcn.0045c1a0
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 3
call fcn.00404220
lea ecx, [ebp - 0x244]
call fcn.00404490
add esi, 0x24
cmp esi, dword [ebp - 0x18]
jne 0x637c00
lea ecx, [edi + 0xc4]
mov eax, dword [ecx + 4]
mov esi, dword [ecx]
mov dword [ebp - 0x18], eax
cmp esi, eax
je 0x637d9f
nop word [eax + eax]
xorps xmm0, xmm0
mov dword [ebp - 0x248], 0
push esi
lea ecx, [ebp - 0x268]
movups xmmword [ebp - 0x268], xmm0
movups xmmword [ebp - 0x258], xmm0
call fcn.00404120
lea eax, [esi + 0x18]
mov byte [ebp - 4], 0x48
push eax
lea ecx, [ebp - 0x250]
call fcn.00403f00
mov byte [ebp - 4], 0x49
lea edx, [ebp - 0x268]
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x28]
movq qword [ebp - 0x28], xmm0
call fcn.005832d0
mov byte [ebp - 4], 0x4a
mov eax, 0x92492493
mov ecx, dword [ebp - 0x24]
sub ecx, dword [ebp - 0x28]
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x637d71
push dword [ebp - 0x18]
lea ecx, [edi + 0x130]
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push dword [ecx + 4]
call fcn.0063ac80
lea ecx, [ebp - 0x28]
call fcn.0045c1a0
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], 3
call fcn.00404220
lea ecx, [ebp - 0x268]
call fcn.00404490
add esi, 0x24
cmp esi, dword [ebp - 0x18]
jne 0x637ce0
mov eax, dword [edi + 0xd4]
mov esi, dword [edi + 0xd0]
mov dword [ebp - 0x18], eax
cmp esi, eax
je 0x637e7f
nop word [eax + eax]
xorps xmm0, xmm0
mov dword [ebp - 0x26c], 0
push esi
lea ecx, [ebp - 0x28c]
movups xmmword [ebp - 0x28c], xmm0
movups xmmword [ebp - 0x27c], xmm0
call fcn.00404120
lea eax, [esi + 0x18]
mov byte [ebp - 4], 0x4b
push eax
lea ecx, [ebp - 0x274]
call fcn.00403f00
mov byte [ebp - 4], 0x4c
lea edx, [ebp - 0x28c]
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x28]
movq qword [ebp - 0x28], xmm0
call fcn.005832d0
mov byte [ebp - 4], 0x4d
mov eax, 0x92492493
mov ecx, dword [ebp - 0x24]
sub ecx, dword [ebp - 0x28]
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x637e51
push dword [ebp - 0x18]
lea ecx, [edi + 0x130]
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push dword [ecx + 4]
call fcn.0063ac80
lea ecx, [ebp - 0x28]
call fcn.0045c1a0
lea ecx, [ebp - 0x274]
mov byte [ebp - 4], 3
call fcn.00404220
lea ecx, [ebp - 0x28c]
call fcn.00404490
add esi, 0x24
cmp esi, dword [ebp - 0x18]
jne 0x637dc0
mov eax, dword [edi + 0x11c]
mov ecx, eax
mov esi, dword [edi + 0x118]
sub ecx, esi
mov dword [ebp - 0x14], eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x637eff
cmp esi, dword [ebp - 0x14]
je 0x637eff
mov edi, dword [ebp - 0x14]
nop
mov eax, dword [esi]
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x70], eax
lea eax, [esi + 4]
push eax
call fcn.00404120
sub esp, 0x1c
mov byte [ebp - 4], 0x4e
mov ecx, esp
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x70]
mov dword [ecx], eax
lea eax, [ebp - 0x6c]
add ecx, 4
push eax
call fcn.00404120
call fcn.0057b390
add esp, 0x1c
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x6c]
call fcn.00404490
add esi, 0x1c
cmp esi, edi
jne 0x637eb0
mov edi, dword [ebp - 0x2d0]
mov eax, dword [edi + 0x134]
mov ecx, eax
mov esi, dword [edi + 0x130]
sub ecx, esi
mov dword [ebp - 0x14], eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x637f7f
cmp esi, dword [ebp - 0x14]
je 0x637f7f
mov edi, dword [ebp - 0x14]
nop
mov eax, dword [esi]
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x70], eax
lea eax, [esi + 4]
push eax
call fcn.00404120
sub esp, 0x1c
mov byte [ebp - 4], 0x4f
mov ecx, esp
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x70]
mov dword [ecx], eax
lea eax, [ebp - 0x6c]
add ecx, 4
push eax
call fcn.00404120
call fcn.0057c070
add esp, 0x1c
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x6c]
call fcn.00404490
add esi, 0x1c
cmp esi, edi
jne 0x637f30
mov edi, dword [ebp - 0x2d0]
mov esi, dword [edi + 0xc4]
mov eax, dword [edi + 0xc8]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], eax
cmp esi, eax
je 0x6380eb
nop dword [eax]
xorps xmm0, xmm0
mov dword [ebp - 0x290], 0
push esi
lea ecx, [ebp - 0x2b0]
movups xmmword [ebp - 0x2b0], xmm0
movups xmmword [ebp - 0x2a0], xmm0
call fcn.00404120
lea eax, [esi + 0x18]
mov byte [ebp - 4], 0x50
push eax
lea ecx, [ebp - 0x298]
call fcn.00403f00
mov byte [ebp - 4], 0x51
xorps xmm0, xmm0
movq qword [ebp - 0x28], xmm0
mov dword [ebp - 0x20], 0
call fcn.0058e850
mov esi, eax
lea ecx, [ebp - 0x6c]
lea eax, [ebp - 0x2b0]
push eax
call fcn.00404120
or dword [ebp - 0x2b4], 0x8000000
xor eax, eax
mov dword [ebp - 0x314], 0
mov dword [ebp - 0x310], 7
mov word [ebp - 0x324], ax
mov dword [ebp - 0x30c], eax
mov dword [ebp - 0x308], eax
mov dword [ebp - 0x304], eax
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 0x54
push eax
lea ecx, [ebp - 0x324]
call fcn.00403b80
lea eax, [ebp - 0x324]
mov byte [ebp - 4], 0x55
push eax
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.006455f0
lea ecx, [ebp - 0x30c]
call fcn.00404220
lea ecx, [ebp - 0x324]
call fcn.00404490
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x58
call fcn.00404490
mov esi, dword [ebp - 0x24]
mov eax, 0x2aaaaaab
mov ecx, esi
sub ecx, dword [ebp - 0x28]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x6380b7
push dword [ebp - 0x18]
lea ecx, [edi + 0x154]
push esi
push dword [ebp - 0x28]
push dword [ecx + 4]
call fcn.0063a830
lea ecx, [ebp - 0x28]
call fcn.00404220
lea ecx, [ebp - 0x298]
mov byte [ebp - 4], 3
call fcn.00404220
lea ecx, [ebp - 0x2b0]
call fcn.00404490
mov esi, dword [ebp - 0x14]
add esi, 0x24
mov dword [ebp - 0x14], esi
cmp esi, dword [ebp - 0x18]
jne 0x637fa0
mov esi, dword [edi + 0xd0]
mov eax, dword [edi + 0xd4]
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x2cc], eax
cmp esi, eax
je 0x6382b4
lea eax, [ebp - 0x78]
mov dword [ebp - 0x2bc], eax
xorps xmm0, xmm0
mov dword [ebp - 0x90], 0
push esi
lea ecx, [ebp - 0xb0]
movups xmmword [ebp - 0xb0], xmm0
movups xmmword [ebp - 0xa0], xmm0
call fcn.00404120
lea eax, [esi + 0x18]
mov byte [ebp - 4], 0x59
push eax
lea ecx, [ebp - 0x98]
call fcn.00403f00
mov byte [ebp - 4], 0x5a
call fcn.0058e850
mov esi, eax
mov dword [ebp - 0x58], 0
xorps xmm0, xmm0
mov dword [ebp - 0x2c4], esi
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ebp - 0x78]
movups xmmword [ebp - 0x78], xmm0
movups xmmword [ebp - 0x68], xmm0
call fcn.00404120
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 0x5b
push eax
lea ecx, [ebp - 0x60]
call fcn.00403f00
mov byte [ebp - 4], 0x5c
lea ecx, [ebp - 0x78]
mov edi, dword [esi + 0x14]
sub esp, 0x24
mov esi, dword [esi + 0x10]
mov eax, esp
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0
push ecx
mov ecx, eax
mov dword [ebp - 0x2b8], eax
call fcn.00404120
mov byte [ebp - 4], 0x5d
lea eax, [ebp - 0x60]
mov ecx, dword [ebp - 0x18]
add ecx, 0x18
push eax
call fcn.00403f00
push edi
push esi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x5c
call fcn.00645df0
mov ecx, dword [ebp - 0x2c4]
add esp, 0x2c
mov eax, dword [ebp - 0x14]
cmp eax, dword [ecx + 0x14]
je 0x638215
push dword [eax]
lea ecx, [ebp - 0x34]
call fcn.00404120
or dword [ebp - 0x2b4], 0x30000000
lea ecx, [ebp - 0x60]
call fcn.00404220
lea ecx, [ebp - 0x78]
call fcn.00404490
mov esi, dword [ebp - 0x24]
jmp 0x638241
or dword [ebp - 0x2b4], 0x10000000
lea ecx, [ebp - 0x60]
xor eax, eax
mov dword [ebp - 0x20], 7
xor esi, esi
mov word [ebp - 0x34], ax
mov dword [ebp - 0x24], esi
call fcn.00404220
lea ecx, [ebp - 0x78]
call fcn.00404490
mov byte [ebp - 4], 0x5e
mov edi, dword [ebp - 0x2d0]
test esi, esi
je 0x63827d
mov eax, dword [edi + 0x158]
lea ecx, [ebp - 0x34]
push ecx
cmp dword [edi + 0x15c], eax
je 0x638271
mov ecx, eax
call fcn.00404120
add dword [edi + 0x158], 0x18
jmp 0x63827d
push eax
lea ecx, [edi + 0x154]
call fcn.00404950
lea ecx, [ebp - 0x34]
call fcn.00404490
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 3
call fcn.00404220
lea ecx, [ebp - 0xb0]
call fcn.00404490
mov esi, dword [ebp - 0x50]
add esi, 0x24
mov dword [ebp - 0x50], esi
cmp esi, dword [ebp - 0x2cc]
jne 0x638111
mov ecx, dword [edi + 0x158]
lea esi, [edi + 0x154]
sub ecx, dword [esi]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x638373
call fcn.0058e850
push esi
mov ecx, eax
call fcn.00643f30
test al, al
jne 0x638373
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [ebp - 0x3c], 0
push 2
xor eax, eax
mov dword [ebp - 0x38], 7
push 0x7da2dc
lea ecx, [ebp - 0x4c]
mov word [ebp - 0x4c], ax
call fcn.004044f0
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 0x5f
push eax
lea edx, [edi + 0x154]
lea ecx, [ebp - 0x318]
call fcn.005760c0
add esp, 4
push eax
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x60
call fcn.00404120
push esi
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 0x61
push eax
push 8
mov ecx, edi
call fcn.005a1320
lea ecx, [ebp - 0x6c]
call fcn.00404490
lea ecx, [ebp - 0x318]
call fcn.00404490
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 3
call fcn.00404490
mov eax, dword [edi + 0x298]
mov ecx, dword [edi + 0x29c]
mov esi, dword [ebp - 0x2b4]
mov dword [ebp - 0x2cc], eax
mov dword [ebp - 0x2c4], ecx
cmp eax, ecx
je 0x638662
nop dword [eax]
push eax
lea ecx, [ebp - 0x4c]
call fcn.00404120
push 0xb0
lea eax, [ebp - 0x160]
mov byte [ebp - 4], 0x62
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x160], 0x7d6f90
lea ecx, [ebp - 0xf8]
mov dword [ebp - 0x150], 0x7d7228
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::constructor_void_]
push 0
lea eax, [ebp - 0x148]
mov byte [ebp - 4], 0x63
or esi, 0x40000000
lea ecx, [ebp - 0x160]
push eax
mov dword [ebp - 0x2b4], esi
mov dword [ebp - 0x2b8], esi
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::constructor_class_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t____]
mov dword [ebp - 4], 0x64
mov eax, dword [ebp - 0x160]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x160], 0x7c81a4
mov eax, dword [ebp - 0x160]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x164], eax
lea ecx, [ebp - 0x148]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::constructor_void_]
mov dword [ebp - 0x148], 0x7c8164
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x10c], 0
mov byte [ebp - 4], 0x65
xor ecx, ecx
mov dword [ebp - 0x7c], 0x11
mov dword [ebp - 0x78], 0xd200ec
mov dword [ebp - 0x74], 0xcf00ce
mov dword [ebp - 0x70], 0xda00d8
mov dword [ebp - 0x6c], 0x9000ca
mov dword [ebp - 0x68], 0xdd00d2
mov dword [ebp - 0x64], 0xd900de
mov dword [ebp - 0x60], 0xd800d4
mov dword [ebp - 0x5c], 0x8200d3
mov dword [ebp - 0x58], 0xba0099
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x78], ax
inc ecx
mov eax, dword [ebp - 0x7c]
cmp ecx, eax
jb 0x6384b2
xor ecx, ecx
mov word [ebp + eax*2 - 0x78], cx
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x150]
push eax
call fcn.00404740
cmp dword [ebp - 0x38], 8
lea ecx, [ebp - 0x4c]
push dword [ebp - 0x3c]
cmovae ecx, dword [ebp - 0x4c]
push ecx
push eax
call fcn.00404c80
mov eax, dword [0x83ff50]
add esp, 0x14
mov dword [ebp - 0x50], eax
test eax, eax
jne 0x638538
push 0x20
call fcn.0076e8c3
mov dword [ebp - 0x18], eax
xorps xmm0, xmm0
add esp, 4
mov dword [ebp - 0x50], eax
xor ecx, ecx
movups xmmword [eax], xmm0
movups xmmword [eax + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [0x83ff50], eax
lea eax, [ebp - 0x4f4]
push eax
call fcn.00638f10
mov dword [ebp - 0x18], eax
mov edx, dword [eax]
lea ecx, [eax + 4]
mov dword [ebp - 0x2bc], ecx
xor ecx, ecx
test edx, edx
je 0x638577
mov esi, dword [ebp - 0x2bc]
mov edi, eax
lea eax, [ecx + 0xa9]
xor word [esi + ecx*2], ax
inc ecx
mov edx, dword [edi]
cmp ecx, edx
jb 0x638560
mov esi, dword [ebp - 0x2b4]
mov eax, dword [ebp - 0x2bc]
xor ecx, ecx
mov word [eax + edx*2], cx
lea eax, [ebp - 0x460]
push eax
call fcn.00634ef0
mov edi, eax
mov edx, dword [edi]
lea eax, [edi + 4]
mov dword [ebp - 0x14], eax
test edx, edx
je 0x6385ba
mov esi, eax
nop
lea eax, [ecx + 0xa9]
xor word [esi + ecx*2], ax
inc ecx
mov edx, dword [edi]
cmp ecx, edx
jb 0x6385a0
mov esi, dword [ebp - 0x2b4]
mov eax, dword [ebp - 0x14]
xor ecx, ecx
mov word [eax + edx*2], cx
lea ecx, [ebp - 0x160]
push ecx
push dword [ebp - 0x2bc]
mov ecx, dword [ebp - 0x50]
push 0x38a
push eax
push 1
call fcn.00469f50
mov eax, dword [ebp - 0x160]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x160], 0x7c81a4
mov eax, dword [ebp - 0x160]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x164], eax
lea ecx, [ebp - 0x148]
call fcn.004073e0
lea ecx, [ebp - 0x140]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
lea ecx, [ebp - 0xf8]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
push ecx
push 0
lea ecx, [ebp - 0x4c]
call fcn.004130e0
add esp, 8
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4c]
call fcn.00404490
mov eax, dword [ebp - 0x2cc]
add eax, 0x18
mov dword [ebp - 0x2cc], eax
cmp eax, dword [ebp - 0x2c4]
jne 0x6383a0
mov edi, dword [ebp - 0x2d0]
mov eax, dword [0x83ff8c]
test eax, eax
jne 0x63869f
push 0xc
call fcn.0076e8c3
mov dword [ebp - 0x18], eax
xorps xmm0, xmm0
add esp, 4
mov dword [0x83ff8c], eax
movq qword [eax], xmm0
mov dword [eax + 8], 0
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
lea ecx, [edi + 0xd0]
push ecx
mov ecx, eax
call fcn.00640650
mov eax, dword [0x83ff8c]
test eax, eax
jne 0x6386ea
push 0xc
call fcn.0076e8c3
mov dword [ebp - 0x18], eax
xorps xmm0, xmm0
add esp, 4
mov dword [0x83ff8c], eax
movq qword [eax], xmm0
mov dword [eax + 8], 0
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
lea ecx, [edi + 0xc4]
push ecx
mov ecx, eax
call fcn.00640650
cmp dword [edi + 0x2b4], 0
je 0x638c15
push 0xb0
lea eax, [ebp - 0x160]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x160], 0x7d6f90
lea ecx, [ebp - 0xf8]
mov dword [ebp - 0x150], 0x7d7228
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::constructor_void_]
push 0
lea eax, [ebp - 0x148]
mov byte [ebp - 4], 0x66
or esi, 0x80000000
lea ecx, [ebp - 0x160]
push eax
mov dword [ebp - 0x2b8], esi
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::constructor_class_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t____]
mov dword [ebp - 4], 0x67
mov eax, dword [ebp - 0x160]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x160], 0x7c81a4
mov eax, dword [ebp - 0x160]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x164], eax
lea ecx, [ebp - 0x148]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::constructor_void_]
mov dword [ebp - 0x148], 0x7c8164
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x10c], 0
mov byte [ebp - 4], 0x68
mov eax, 0x10
mov dword [ebp - 0x2fc], eax
xor ecx, ecx
mov dword [ebp - 0x2f8], 0xd200ec
mov dword [ebp - 0x2f4], 0xcf00ce
mov dword [ebp - 0x2f0], 0xda00d8
mov dword [ebp - 0x2ec], 0x9000ca
mov dword [ebp - 0x2e8], 0xd100c2
mov dword [ebp - 0x2e4], 0xdd00c1
mov dword [ebp - 0x2e0], 0xc200c5
mov dword [ebp - 0x2dc], 0x98008d
mov dword [ebp - 0x2d8], 0xb9
nop dword [eax]
nop word [eax + eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x2f8], ax
inc ecx
mov eax, dword [ebp - 0x2fc]
cmp ecx, eax
jb 0x638830
xor ecx, ecx
mov word [ebp + eax*2 - 0x2f8], cx
lea eax, [ebp - 0x2f8]
push eax
lea eax, [ebp - 0x150]
push eax
call fcn.00404740
mov edx, dword [edi + 0x2b4]
mov ecx, eax
lea eax, [edi + 0x2a4]
add esp, 8
cmp dword [eax + 0x14], 8
jb 0x63887f
mov eax, dword [eax]
push edx
push eax
push ecx
call fcn.00404c80
mov edx, dword [0x83ff50]
add esp, 0xc
mov dword [ebp - 0x2bc], edx
test edx, edx
jne 0x6388d8
push 0x20
call fcn.0076e8c3
mov edx, eax
xorps xmm0, xmm0
mov dword [ebp - 0x18], edx
add esp, 4
xor eax, eax
mov dword [ebp - 0x2bc], edx
movups xmmword [edx], xmm0
movups xmmword [edx + 0x10], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], ax
mov dword [edx + 0x18], eax
mov dword [edx + 0x1c], eax
mov dword [0x83ff50], edx
lea eax, [ebp - 0x4f4]
push eax
call fcn.00639040
mov dword [ebp - 0x18], eax
mov esi, dword [eax]
lea ecx, [eax + 4]
mov dword [ebp - 0x2b8], ecx
xor ecx, ecx
test esi, esi
je 0x63891d
mov edx, dword [ebp - 0x2b8]
mov edi, eax
lea eax, [ecx + 0xa9]
xor word [edx + ecx*2], ax
inc ecx
mov esi, dword [edi]
cmp ecx, esi
jb 0x638900
mov edi, dword [ebp - 0x2d0]
mov edx, dword [ebp - 0x2bc]
mov eax, dword [ebp - 0x2b8]
xor ecx, ecx
mov word [eax + esi*2], cx
lea eax, [ebp - 0x460]
push eax
call fcn.00634ef0
mov dword [ebp - 0x18], eax
mov esi, dword [eax]
lea ecx, [eax + 4]
mov dword [ebp - 0x14], ecx
xor ecx, ecx
test esi, esi
je 0x63896d
mov edx, dword [ebp - 0x14]
mov edi, eax
nop dword [eax + eax]
lea eax, [ecx + 0xa9]
xor word [edx + ecx*2], ax
inc ecx
mov esi, dword [edi]
cmp ecx, esi
jb 0x638950
mov edi, dword [ebp - 0x2d0]
mov edx, dword [ebp - 0x2bc]
mov eax, dword [ebp - 0x14]
xor ecx, ecx
mov word [eax + esi*2], cx
lea ecx, [ebp - 0x160]
push ecx
push dword [ebp - 0x2b8]
mov ecx, edx
push 0x395
push eax
push 1
call fcn.00469f50
mov eax, dword [ebp - 0x160]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x160], 0x7c81a4
mov eax, dword [ebp - 0x160]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x164], eax
lea ecx, [ebp - 0x148]
call fcn.004073e0
lea ecx, [ebp - 0x140]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
lea ecx, [ebp - 0xf8]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
xor eax, eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
push 8
mov byte [ebp - 4], 0x69
call fcn.0076e8c3
mov esi, eax
add esp, 4
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x18], esi
mov dword [esi], eax
mov dword [esi + 4], edi
mov byte [ebp - 4], 0x6a
lea ecx, [ebp - 0x30]
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
movups xmmword [ebp - 0x30], xmm0
call fcn.0042fc60
mov dword [ebp - 0x30], 0x7dc220
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x20], esi
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 0x6b
push eax
lea ecx, [ebp - 0x30]
call fcn.0042fd30
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x638a58
push 8
push eax
call fcn.0076e8f3
add esp, 8
mov byte [ebp - 4], 0x6c
mov esi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
push esi
mov dword [ebp - 0x2c4], eax
call sub.MSVCP140.dll__Mtx_unlock
add esp, 4
test eax, eax
je 0x638a7e
push eax
call sub.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_
add esp, 4
push esi
call sub.MSVCP140.dll__Mtx_destroy
push dword [ebp - 0x2c4]
call sub.MSVCP140.dll__Cnd_destroy
add esp, 8
mov byte [ebp - 4], 0x6d
mov eax, dword [ebp - 0x50]
test eax, eax
jne 0x638ab8
push 1
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
mov eax, dword [ebp - 0x50]
add esp, 4
test eax, eax
jne 0x638ab8
push 1
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
add esp, 4
call sub.MSVCP140.dll__Thrd_id
mov ecx, dword [ebp - 0x50]
cmp ecx, eax
jne 0x638ad1
push 5
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
mov ecx, dword [ebp - 0x50]
add esp, 4
push 0
push ecx
push dword [ebp - 0x54]
call sub.MSVCP140.dll__Thrd_join
add esp, 0xc
test eax, eax
je 0x638aed
push 2
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
add esp, 4
mov dword [ebp - 0x54], 0
xor ecx, ecx
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x320], 0xd
mov dword [ebp - 0x31c], 0xd900de
mov dword [ebp - 0x318], 0xde00c8
mov dword [ebp - 0x314], 0xde00c4
mov dword [ebp - 0x310], 0x9e00db
mov dword [ebp - 0x30c], 0xca00d4
mov dword [ebp - 0x308], 0x9400d6
mov dword [ebp - 0x304], 0xb60097
nop dword [eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x31c], ax
inc ecx
mov eax, dword [ebp - 0x320]
cmp ecx, eax
jb 0x638b50
xor ecx, ecx
mov word [ebp + eax*2 - 0x31c], cx
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x31c]
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.0041ee30
add esp, 0xc
push 1
push 0x7d7290
mov ecx, eax
mov byte [ebp - 4], 0x6e
call fcn.00407c50
mov dword [ebp - 0x32c], 0
xor ecx, ecx
mov dword [ebp - 0x328], 0
push ecx
movups xmm0, xmmword [eax]
push ecx
movups xmmword [ebp - 0x33c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x32c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0x33c]
call fcn.004130e0
add esp, 8
lea ecx, [ebp - 0x33c]
call fcn.00404490
lea ecx, [ebp - 0x6c]
call fcn.00404490
mov byte [ebp - 4], 0x69
cmp dword [ebp - 0x50], 0
je 0x638c0d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
lea ecx, [ebp - 0x4c]
call fcn.00404490
mov dword [edi + 0x8c], 0
mov esi, dword [edi + 0x90]
mov dword [edi + 0x90], 0
mov byte [ebp - 4], 0x6f
test esi, esi
je 0x638c5b
mov edi, dword [ebp - 0x2d4]
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x638c5b
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x638c5b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [ebp - 0x88]
push eax
push dword [ebp - 0x84]
push dword [ebp - 0x88]
call fcn.00452610
mov eax, dword [ebp - 0x88]
lea ecx, [ebp - 0x88]
add esp, 0xc
mov dword [ebp - 0x84], eax
call fcn.00451eb0
xor al, al
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.0076eb7e
mov esp, ebp
pop ebp
ret