Function at 0x140030d00
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2f0]
sub rsp, 0x3f0
mov rax, qword [0x14011e600]
xor rax, rsp
mov qword [rbp + 0x2e8], rax
xor esi, esi
mov dword [rsp + 0x60], esi
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea edx, [rsi + 2]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp + 0x1c0]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x1400ec178]
mov qword [rbp + 0x1c0], rax
lea rcx, [rbp + 0x270]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov r12d, 0x1000
mov dword [rsp + 0x60], r12d
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x1d0]
lea rcx, [rbp + 0x1c0]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [rbp + 0x1c0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x1c0], rax
mov rax, qword [rbp + 0x1c0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x1bc], edx
lea rcx, [rbp + 0x1d0]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rbp + 0x1d0], rax
mov byte [rbp + 0x24c], sil
mov byte [rbp + 0x241], sil
lea rcx, [rbp + 0x1d0]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp + 0x250], rsi
mov rax, qword [0x140122630]
mov qword [rbp + 0x244], rax
mov qword [rbp + 0x238], rsi
lea r9d, [rsi + 0x40]
lea r8d, [rsi + 0x25]
lea rdx, str.C:items.dat
lea rcx, [rbp + 0x1d0]
call fcn.140048b20
test rax, rax
jne 0x140030e71
mov rax, qword [rbp + 0x1c0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x1c0]
add rcx, rax
xor r8d, r8d
lea edx, [rsi + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
lea rdx, [rbp + 0x2d0]
lea rcx, [rbp + 0x1c0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::fpos_struct__Mbstatet____cdecl_std::basic_istream_char__struct_std::char_traits_char__::tellg_void____ptr64]
mov rcx, qword [rax + 8]
add rcx, qword [rax]
cmp ecx, 0xffffffff
jne 0x140030eae
lea edx, [rcx + 0xb]
lea rcx, str.Cant_find_items.dat_put_it_on_root.__n
call fcn.140063240
mov rcx, 0xffffffffffffffff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
movsxd rbx, ecx
mov rcx, rbx
call fcn.1400db44c
mov r15, rax
mov qword [rsp + 0x68], rax
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x1c0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::seekg_long_long___int64___int____ptr64]
mov r8, rbx
mov rdx, r15
lea rcx, [rbp + 0x1c0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::read_char____ptr64__long_long___int64_____ptr64]
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator_bool_void_const___ptr64]
test al, al
je 0x1400320fd
xorps xmm0, xmm0
movups xmmword [rbp + 0x1a0], xmm0
mov qword [rbp + 0x1b0], rsi
mov qword [rbp + 0x1b8], rsi
mov r8d, reloc.WS2_32.dll_recv
lea rdx, str.PBG892FXX982ABC
lea rcx, [rbp + 0x1a0]
call fcn.14000df10
nop
mov dword [rsp + 0x58], esi
movzx eax, word [r15]
mov word [rsp + 0x58], ax
movsxd rax, dword [r15 + 2]
mov dword [0x140121cd0], eax
mov ebx, 6
mov rdi, rax
mov qword [rsp + 0x60], rax
mov eax, 0x218
mul rdi
mov r14, 0xffffffffffffffff
cmovo rax, r14
add rax, 8
cmovb rax, r14
mov rcx, rax
call fcn.1400db44c
mov qword [rsp + 0x70], rax
test rax, rax
je 0x140030fac
mov qword [rax], rdi
lea rsi, [rax + 8]
lea rax, [fcn.14001fa40]
mov qword [rsp + 0x20], rax
lea r9, [fcn.14001cf50]
mov r8, rdi
mov edx, 0x218
mov rcx, rsi
call fcn.1400db30c
nop
mov qword [0x140121cc8], rsi
mov r13d, dword [rsp + 0x58]
cmp r13d, 0xe
jle 0x140030fd9
mov edx, 0xa
lea rcx, str.Unsupported_items.dat__Version:_n
call fcn.140063240
mov ecx, r14d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov dword [rsp + 0x60], 0
mov rdi, qword [rbp + 0x1a0]
cmp dword [0x140121cd0], 0
jle 0x140031ffb
lea rcx, [rbp - 0x80]
call fcn.14001cf50
nop
movsxd rax, ebx
mov ecx, dword [rax + r15]
mov dword [rbp - 0x58], ecx
add ebx, 4
movsxd rax, ebx
movzx ecx, byte [rax + r15]
mov byte [rbp - 0x54], cl
inc ebx
movsxd rax, ebx
movzx ecx, byte [rax + r15]
mov byte [rbp - 0x53], cl
inc ebx
movsxd rax, ebx
movzx ecx, byte [rax + r15]
mov byte [rbp - 0x52], cl
inc ebx
movsxd rax, ebx
movzx ecx, byte [rax + r15]
mov byte [rbp - 0x51], cl
inc ebx
movsxd rax, ebx
add ebx, 2
movsx r14d, word [rax + r15]
xor edi, edi
test r14d, r14d
jle 0x1400310e8
movsxd rsi, ebx
add rsi, r15
add ebx, r14d
mov r13, qword [rbp + 0x1a0]
mov r15, qword [rbp + 0x1b8]
nop dword [rax]
lea r8, [rbp + 0x1a0]
cmp r15, 0xf
cmova r8, r13
mov eax, dword [rbp - 0x58]
add eax, edi
cdqe
xor edx, edx
div qword [rbp + 0x1b0]
movzx r9d, byte [rsi]
xor r9b, byte [rdx + r8]
mov rcx, qword [rbp - 0x40]
mov rdx, qword [rbp - 0x38]
cmp rcx, rdx
jae 0x1400310c4
lea rax, [rcx + 1]
mov qword [rbp - 0x40], rax
lea rax, [rbp - 0x50]
cmp rdx, 0xf
cmova rax, qword [rbp - 0x50]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1400310d4
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rbp - 0x50]
call fcn.140012150
inc rsi
inc edi
cmp edi, r14d
jl 0x140031070
mov r15, qword [rsp + 0x68]
mov r13d, dword [rsp + 0x58]
movsxd rax, ebx
add ebx, 2
movsx ecx, word [rax + r15]
test ecx, ecx
jle 0x14003114b
movsxd rdi, ebx
add rdi, r15
mov esi, ecx
add ebx, ecx
movzx r9d, byte [rdi]
mov rcx, qword [rbp - 0x20]
mov rdx, qword [rbp - 0x18]
cmp rcx, rdx
jae 0x140031132
lea rax, [rcx + 1]
mov qword [rbp - 0x20], rax
lea rax, [rbp - 0x30]
cmp rdx, 0xf
cmova rax, qword [rbp - 0x30]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140031142
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rbp - 0x30]
call fcn.140012150
inc rdi
sub rsi, 1
jne 0x140031101
movsxd rax, ebx
mov ecx, dword [rax + r15]
mov dword [rbp - 0x10], ecx
add ebx, 4
movsxd rax, ebx
movzx ecx, byte [rax + r15]
mov byte [rbp - 0xc], cl
inc ebx
movsxd rax, ebx
mov ecx, dword [rax + r15]
mov dword [rbp - 8], ecx
add ebx, 4
movsxd rax, ebx
movzx ecx, byte [rax + r15]
mov byte [rbp - 4], cl
inc ebx
movsxd rax, ebx
movzx ecx, byte [rax + r15]
mov byte [rbp - 3], cl
inc ebx
movsxd rax, ebx
movzx ecx, byte [rax + r15]
mov byte [rbp - 2], cl
inc ebx
movsxd rax, ebx
movzx ecx, byte [rax + r15]
mov byte [rbp - 1], cl
inc ebx
movsxd rax, ebx
movzx ecx, byte [rax + r15]
mov byte [rbp], cl
inc ebx
movsxd rax, ebx
movzx ecx, byte [rax + r15]
mov byte [rbp + 1], cl
inc ebx
movsxd rax, ebx
mov ecx, dword [rax + r15]
mov dword [rbp + 4], ecx
add ebx, 4
movsxd rax, ebx
movzx ecx, byte [rax + r15]
mov byte [rbp + 8], cl
inc ebx
movsxd rax, ebx
movzx ecx, word [rax + r15]
mov word [rbp + 0xa], cx
add ebx, 2
movsxd rax, ebx
movzx ecx, byte [rax + r15]
mov byte [rbp + 0xc], cl
inc ebx
movsxd rax, ebx
add ebx, 2
movsx ecx, word [rax + r15]
test ecx, ecx
jle 0x14003125a
movsxd rdi, ebx
add rdi, r15
mov esi, ecx
add ebx, ecx
nop
movzx r9d, byte [rdi]
mov rcx, qword [rbp + 0x20]
mov rdx, qword [rbp + 0x28]
cmp rcx, rdx
jae 0x140031241
lea rax, [rcx + 1]
mov qword [rbp + 0x20], rax
lea rax, [rbp + 0x10]
cmp rdx, 0xf
cmova rax, qword [rbp + 0x10]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140031251
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rbp + 0x10]
call fcn.140012150
inc rdi
sub rsi, 1
jne 0x140031210
movsxd rax, ebx
mov ecx, dword [rax + r15]
mov dword [rbp + 0x30], ecx
add ebx, 4
movsxd rax, ebx
mov ecx, dword [rax + r15]
mov dword [rbp + 0x38], ecx
add ebx, 4
movsxd rax, ebx
add ebx, 2
movsx ecx, word [rax + r15]
test ecx, ecx
jle 0x1400312da
movsxd rdi, ebx
add rdi, r15
mov esi, ecx
add ebx, ecx
nop dword [rax]
movzx r9d, byte [rdi]
mov rcx, qword [rbp + 0x50]
mov rdx, qword [rbp + 0x58]
cmp rcx, rdx
jae 0x1400312c1
lea rax, [rcx + 1]
mov qword [rbp + 0x50], rax
lea rax, [rbp + 0x40]
cmp rdx, 0xf
cmova rax, qword [rbp + 0x40]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1400312d1
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rbp + 0x40]
call fcn.140012150
inc rdi
sub rsi, 1
jne 0x140031290
movsxd rax, ebx
add ebx, 2
movsx ecx, word [rax + r15]
test ecx, ecx
jle 0x14003134a
movsxd rdi, ebx
add rdi, r15
mov esi, ecx
add ebx, ecx
nop dword [rax]
nop word [rax + rax]
movzx r9d, byte [rdi]
mov rcx, qword [rbp + 0x70]
mov rdx, qword [rbp + 0x78]
cmp rcx, rdx
jae 0x140031331
lea rax, [rcx + 1]
mov qword [rbp + 0x70], rax
lea rax, [rbp + 0x60]
cmp rdx, 0xf
cmova rax, qword [rbp + 0x60]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140031341
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rbp + 0x60]
call fcn.140012150
inc rdi
sub rsi, 1
jne 0x140031300
movsxd rax, ebx
add ebx, 2
movsx ecx, word [rax + r15]
test ecx, ecx
jle 0x1400313bf
movsxd rdi, ebx
add rdi, r15
mov esi, ecx
add ebx, ecx
movzx r9d, byte [rdi]
mov rcx, qword [rbp + 0x90]
mov rdx, qword [rbp + 0x98]
cmp rcx, rdx
jae 0x1400313a3
lea rax, [rcx + 1]
mov qword [rbp + 0x90], rax
lea rax, [rbp + 0x80]
cmp rdx, 0xf
cmova rax, qword [rbp + 0x80]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1400313b6
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rbp + 0x80]
call fcn.140012150
inc rdi
sub rsi, 1
jne 0x140031363
movsxd rax, ebx
add ebx, 2
movsx ecx, word [rax + r15]
test ecx, ecx
jle 0x14003143c
movsxd rdi, ebx
add rdi, r15
mov esi, ecx
add ebx, ecx
nop dword [rax + rax]
movzx r9d, byte [rdi]
mov rcx, qword [rbp + 0xb0]
mov rdx, qword [rbp + 0xb8]
cmp rcx, rdx
jae 0x140031420
lea rax, [rcx + 1]
mov qword [rbp + 0xb0], rax
lea rax, [rbp + 0xa0]
cmp rdx, 0xf
cmova rax, qword [rbp + 0xa0]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140031433
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rbp + 0xa0]
call fcn.140012150
inc rdi
sub rsi, 1
jne 0x1400313e0
movsxd rax, ebx
movzx ecx, byte [rax + r15]
mov byte [rbp + 0xc0], cl
inc ebx
movsxd rax, ebx
movzx ecx, byte [rax + r15]
mov byte [rbp + 0xc1], cl
inc ebx
movsxd rax, ebx
movzx ecx, byte [rax + r15]
mov byte [rbp + 0xc2], cl
inc ebx
movsxd rax, ebx
movzx ecx, byte [rax + r15]
mov byte [rbp + 0xc3], cl
inc ebx
movsxd rax, ebx
mov ecx, dword [rax + r15]
mov dword [rbp + 0xc8], ecx
add ebx, 4
movsxd rax, ebx
mov ecx, dword [rax + r15]
mov dword [rbp + 0xcc], ecx
add ebx, 8
movsxd rax, ebx
mov ecx, dword [rax + r15]
mov dword [rbp + 0xd0], ecx
add ebx, 4
movsxd rax, ebx
movzx ecx, word [rax + r15]
mov word [rbp + 0xd4], cx
add ebx, 2
movsxd rax, ebx
movzx ecx, word [rax + r15]
mov word [rbp + 0xd6], cx
add ebx, 2
movsxd rax, ebx
add ebx, 2
movsx ecx, word [rax + r15]
test ecx, ecx
jle 0x14003154c
movsxd rdi, ebx
add rdi, r15
mov esi, ecx
add ebx, ecx
nop dword [rax]
movzx r9d, byte [rdi]
mov rcx, qword [rbp + 0xe8]
mov rdx, qword [rbp + 0xf0]
cmp rcx, rdx
jae 0x140031530
lea rax, [rcx + 1]
mov qword [rbp + 0xe8], rax
lea rax, [rbp + 0xd8]
cmp rdx, 0xf
cmova rax, qword [rbp + 0xd8]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140031543
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rbp + 0xd8]
call fcn.140012150
inc rdi
sub rsi, 1
jne 0x1400314f0
movsxd rax, ebx
add ebx, 2
movsx ecx, word [rax + r15]
test ecx, ecx
jle 0x1400315c1
movsxd rdi, ebx
add rdi, r15
mov esi, ecx
add ebx, ecx
movzx r9d, byte [rdi]
mov rcx, qword [rbp + 0x108]
mov rdx, qword [rbp + 0x110]
cmp rcx, rdx
jae 0x1400315a5
lea rax, [rcx + 1]
mov qword [rbp + 0x108], rax
lea rax, [rbp + 0xf8]
cmp rdx, 0xf
cmova rax, qword [rbp + 0xf8]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1400315b8
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rbp + 0xf8]
call fcn.140012150
inc rdi
sub rsi, 1
jne 0x140031565
movsxd rax, ebx
add ebx, 2
movsx ecx, word [rax + r15]
test ecx, ecx
jle 0x14003163c
movsxd rdi, ebx
add rdi, r15
mov esi, ecx
add ebx, ecx
nop word [rax + rax]
movzx r9d, byte [rdi]
mov rcx, qword [rbp + 0x128]
mov rdx, qword [rbp + 0x130]
cmp rcx, rdx
jae 0x140031620
lea rax, [rcx + 1]
mov qword [rbp + 0x128], rax
lea rax, [rbp + 0x118]
cmp rdx, 0xf
cmova rax, qword [rbp + 0x118]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140031633
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rbp + 0x118]
call fcn.140012150
inc rdi
sub rsi, 1
jne 0x1400315e0
movsxd rax, ebx
add ebx, 2
movsx ecx, word [rax + r15]
test ecx, ecx
jle 0x1400316b1
movsxd rdi, ebx
add rdi, r15
mov esi, ecx
add ebx, ecx
movzx r9d, byte [rdi]
mov rcx, qword [rbp + 0x168]
mov rdx, qword [rbp + 0x170]
cmp rcx, rdx
jae 0x140031695
lea rax, [rcx + 1]
mov qword [rbp + 0x168], rax
lea rax, [rbp + 0x158]
cmp rdx, 0xf
cmova rax, qword [rbp + 0x158]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1400316a8
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rbp + 0x158]
call fcn.140012150
inc rdi
sub rsi, 1
jne 0x140031655
add ebx, 4
movsxd rax, ebx
movsx edx, word [rax + r15]
mov word [rbp + 0x178], dx
add ebx, 2
movsxd rax, ebx
movzx ecx, word [rax + r15]
mov word [rbp + 0x17a], cx
add ebx, 2
movsxd rax, ebx
movzx ecx, word [rax + r15]
mov word [rbp + 0x17c], cx
mov ecx, reloc.WS2_32.dll_select
sub ecx, edx
add ebx, ecx
movsxd rax, ebx
movzx ecx, word [rax + r15]
mov word [rbp + 0x17e], cx
add ebx, 0x34
cmp r13d, 0xb
jl 0x14003177d
movsxd rax, ebx
add ebx, 2
movsx ecx, word [rax + r15]
test ecx, ecx
jle 0x14003177d
movsxd rdi, ebx
add rdi, r15
mov esi, ecx
add ebx, ecx
movzx r9d, byte [rdi]
mov rcx, qword [rbp + 0x148]
mov rdx, qword [rbp + 0x150]
cmp rcx, rdx
jae 0x140031761
lea rax, [rcx + 1]
mov qword [rbp + 0x148], rax
lea rax, [rbp + 0x138]
cmp rdx, 0xf
cmova rax, qword [rbp + 0x138]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140031774
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rbp + 0x138]
call fcn.140012150
inc rdi
sub rsi, 1
jne 0x140031721
cmp r13d, 0xc
jl 0x140031827
movsxd rax, ebx
mov ecx, dword [rax + r15]
mov dword [rbp + 0x180], ecx
add ebx, 4
movsxd rax, ebx
movzx ecx, byte [rax + r15]
mov byte [rbp + 0x184], cl
inc ebx
movsxd rax, ebx
movzx ecx, byte [rax + r15]
mov byte [rbp + 0x185], cl
inc ebx
movsxd rax, ebx
movzx ecx, byte [rax + r15]
mov byte [rbp + 0x186], cl
inc ebx
movsxd rax, ebx
movzx ecx, byte [rax + r15]
mov byte [rbp + 0x187], cl
inc ebx
movsxd rax, ebx
movzx ecx, byte [rax + r15]
mov byte [rbp + 0x188], cl
inc ebx
movsxd rax, ebx
movzx ecx, byte [rax + r15]
mov byte [rbp + 0x189], cl
inc ebx
movsxd rax, ebx
movzx ecx, byte [rax + r15]
mov byte [rbp + 0x18a], cl
inc ebx
movsxd rax, ebx
movzx ecx, byte [rax + r15]
mov byte [rbp + 0x18b], cl
inc ebx
movsxd rax, ebx
movzx ecx, byte [rax + r15]
mov byte [rbp + 0x18c], cl
inc ebx
cmp r13d, 0xd
jl 0x14003183d
movsxd rax, ebx
mov ecx, dword [rax + r15]
mov dword [rbp + 0x190], ecx
add ebx, 4
cmp r13d, 0xe
jl 0x140031853
movsxd rax, ebx
mov ecx, dword [rax + r15]
mov dword [rbp + 0x194], ecx
add ebx, 4
cmp r13d, 0xf
jl 0x140031867
movsxd rax, ebx
movzx ecx, word [rax + r15 + 0x19]
add ebx, 0x1b
add ebx, ecx
movsxd rsi, dword [rsp + 0x60]
cmp esi, dword [rbp - 0x58]
jne 0x14003204d
mov rax, qword [0x140123798]
cmp rax, qword [0x1401237a0]
je 0x14003189b
lea rdx, [rbp - 0x50]
mov rcx, rax
call fcn.14001a380
add qword [0x140123798], 0x20
jmp 0x1400318ae
lea r8, [rbp - 0x50]
mov rdx, rax
lea rcx, [0x140123790]
call fcn.14000fda0
mov r8d, dword [rbp - 0x58]
lea r10, [rbp + 0x2e5]
test r8d, r8d
jns 0x140031900
neg r8d
dec r10
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r10], r8b
mov r8d, edx
test edx, edx
jne 0x1400318c1
dec r10
mov byte [r10], reloc.WLDAP32.dll_Ordinal_45
jmp 0x14003192a
dec r10
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r10], r8b
mov r8d, edx
test edx, edx
jne 0x140031900
lea r9, [rsp + 0x30]
lea r8, [rbp + 0x2e5]
mov rdx, r10
lea rcx, [rsp + 0x38]
call fcn.1400035e0
or r12d, 3
mov rdx, qword [0x140123a38]
cmp rdx, qword [0x140123a40]
je 0x14003197c
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x48]
movups xmmword [rdx + 0x10], xmm1
mov edx, reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x38], 0
add qword [0x140123a38], 0x20
jmp 0x140031992
lea r8, [rsp + 0x38]
lea rcx, [0x140123a30]
call fcn.1400107b0
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x1400319ca
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400319c5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140032046
call fcn.1400db1a8
movsx r8d, word [rbp + 0xa]
lea r10, [rbp + 0x2e5]
test r8d, r8d
jns 0x140031a20
neg r8d
nop
dec r10
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r10], r8b
mov r8d, edx
test edx, edx
jne 0x1400319e0
dec r10
mov byte [r10], reloc.WLDAP32.dll_Ordinal_45
jmp 0x140031a4a
dec r10
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r10], r8b
mov r8d, edx
test edx, edx
jne 0x140031a20
lea r9, [rsp + 0x30]
lea r8, [rbp + 0x2e5]
mov rdx, r10
lea rcx, [rsp + 0x38]
call fcn.1400035e0
or r12d, 0xc
mov rdx, qword [0x1401239a8]
cmp rdx, qword [0x1401239b0]
je 0x140031a9c
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x48]
movups xmmword [rdx + 0x10], xmm1
mov edx, reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x38], 0
add qword [0x1401239a8], 0x20
jmp 0x140031ab2
lea r8, [rsp + 0x38]
lea rcx, [0x1401239a0]
call fcn.1400107b0
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x140031aea
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140031ae5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140032046
call fcn.1400db1a8
mov rax, qword [0x1401237b0]
cmp rax, qword [0x1401237b8]
je 0x140031b10
lea rdx, [rbp - 0x30]
mov rcx, rax
call fcn.14001a380
add qword [0x1401237b0], 0x20
jmp 0x140031b23
lea r8, [rbp - 0x30]
mov rdx, rax
lea rcx, [0x1401237a8]
call fcn.14000fda0
movsx r8d, byte [rbp - 4]
lea r10, [rbp + 0x2e5]
test r8d, r8d
jns 0x140031b80
neg r8d
nop word [rax + rax]
dec r10
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r10], r8b
mov r8d, edx
test edx, edx
jne 0x140031b40
dec r10
mov byte [r10], reloc.WLDAP32.dll_Ordinal_45
jmp 0x140031baa
dec r10
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r10], r8b
mov r8d, edx
test edx, edx
jne 0x140031b80
lea r9, [rsp + 0x30]
lea r8, [rbp + 0x2e5]
mov rdx, r10
lea rcx, [rsp + 0x38]
call fcn.1400035e0
or r12d, 0x30
mov rdx, qword [0x140123680]
cmp rdx, qword [0x140123688]
je 0x140031bfc
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x48]
movups xmmword [rdx + 0x10], xmm1
mov edx, reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x38], 0
add qword [0x140123680], 0x20
jmp 0x140031c12
lea r8, [rsp + 0x38]
lea rcx, [0x140123678]
call fcn.1400107b0
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x140031c4a
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140031c45
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140032046
call fcn.1400db1a8
movsx r8d, byte [rbp - 3]
lea r10, [rbp + 0x2e5]
test r8d, r8d
jns 0x140031ca0
neg r8d
nop
dec r10
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r10], r8b
mov r8d, edx
test edx, edx
jne 0x140031c60
dec r10
mov byte [r10], reloc.WLDAP32.dll_Ordinal_45
jmp 0x140031cca
dec r10
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r10], r8b
mov r8d, edx
test edx, edx
jne 0x140031ca0
lea r9, [rsp + 0x30]
lea r8, [rbp + 0x2e5]
mov rdx, r10
lea rcx, [rsp + 0x38]
call fcn.1400035e0
or r12d, 0xc0
mov rdx, qword [0x140123938]
cmp rdx, qword [0x140123940]
je 0x140031d1f
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x48]
movups xmmword [rdx + 0x10], xmm1
mov edx, reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x38], 0
add qword [0x140123938], 0x20
jmp 0x140031d35
lea r8, [rsp + 0x38]
lea rcx, [0x140123930]
call fcn.1400107b0
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x140031d6d
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140031d68
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140032046
call fcn.1400db1a8
movzx r8d, byte [rbp - 0x52]
lea r10, [rbp + 0x2e5]
nop dword [rax]
dec r10
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r10], r8b
mov r8d, edx
test edx, edx
jne 0x140031d80
lea r9, [rsp + 0x30]
lea r8, [rbp + 0x2e5]
mov rdx, r10
lea rcx, [rsp + 0x38]
call fcn.1400035e0
or r12d, 0x300
mov rdx, qword [0x140123840]
cmp rdx, qword [0x140123848]
je 0x140031dff
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x48]
movups xmmword [rdx + 0x10], xmm1
mov edx, reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x38], 0
add qword [0x140123840], 0x20
jmp 0x140031e15
lea r8, [rsp + 0x38]
lea rcx, [0x140123838]
call fcn.1400107b0
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x140031e4d
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140031e48
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140032046
call fcn.1400db1a8
mov r8d, dword [rbp + 0xd0]
lea r10, [rbp + 0x2e5]
test r8d, r8d
jns 0x140031eb0
neg r8d
nop dword [rax]
nop word [rax + rax]
dec r10
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r10], r8b
mov r8d, edx
test edx, edx
jne 0x140031e70
dec r10
mov byte [r10], reloc.WLDAP32.dll_Ordinal_45
jmp 0x140031eda
dec r10
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r10], r8b
mov r8d, edx
test edx, edx
jne 0x140031eb0
lea r9, [rsp + 0x30]
lea r8, [rbp + 0x2e5]
mov rdx, r10
lea rcx, [rsp + 0x38]
call fcn.1400035e0
or r12d, 0xc00
mov rdx, qword [0x140123a00]
cmp rdx, qword [0x140123a08]
je 0x140031f2f
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x48]
movups xmmword [rdx + 0x10], xmm1
mov edx, reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x38], 0
add qword [0x140123a00], 0x20
jmp 0x140031f45
lea r8, [rsp + 0x38]
lea rcx, [0x1401239f8]
call fcn.1400107b0
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x140031f7d
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140031f78
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140032046
call fcn.1400db1a8
mov rax, qword [0x140122188]
cmp rax, qword [0x140122190]
je 0x140031fa6
lea rdx, [rbp - 0x80]
mov rcx, rax
call fcn.14001cc10
add qword [0x140122188], 0x218
jmp 0x140031fb9
lea r8, [rbp - 0x80]
mov rdx, rax
lea rcx, [0x140122180]
call fcn.14000fae0
imul rcx, rsi, 0x218
add rcx, qword [0x140121cc8]
lea rdx, [rbp - 0x80]
call fcn.140020be0
mov eax, dword [rbp - 0x58]
mov dword [0x140121cd4], eax
lea rcx, [rbp - 0x80]
call fcn.14001fa40
inc esi
mov dword [rsp + 0x60], esi
cmp esi, dword [0x140121cd0]
jl 0x140030ff5
mov rdi, qword [rbp + 0x1a0]
mov edx, 0xa
lea rcx, str.___Decoded_Items.dat_n
call fcn.140063240
nop
mov rax, qword [rbp + 0x1b8]
cmp rax, 0xf
jbe 0x140032075
lea rdx, [rax + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14003206c
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003206c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov edx, 0xa
lea rcx, str.Unordered_item__Something_gone_wrong__n
call fcn.140063240
mov rcx, 0xffffffffffffffff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
mov rcx, rdi
call fcn.1400db1a8
nop
mov rax, qword [rbp + 0x1c0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x1c0], rax
mov rax, qword [rbp + 0x1c0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x1bc], edx
lea rcx, [rbp + 0x1d0]
call fcn.14001dea0
lea rcx, [rbp + 0x1d8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x270]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov rcx, qword [rbp + 0x2e8]
xor rcx, rsp
call fcn.1400db2c0
lea r11, [rsp + 0x3f0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov edx, 0xa
lea rcx, str.Something_gone_wrong_while_decoding_.dat_file__n
call fcn.140063240
mov rcx, 0xffffffffffffffff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3