Function at 0x1800395f0
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 - 0x2b0]
sub rsp, 0x3b0
mov rax, qword [0x1800f9b98]
xor rax, rsp
mov qword [rbp + 0x2a0], rax
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp + 0x190]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x20], 1
mov r9d, 0x40
lea r8d, [r9 - 0x1c]
lea rdx, str.items.dat
lea rcx, [rbp + 0x190]
call fcn.180009cf0
nop
lea rdx, [rbp + 0x170]
lea rcx, [rbp + 0x190]
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 rbx, qword [rax + 8]
add rbx, qword [rax]
cmp ebx, 0xffffffff
jne 0x18003968e
lea rcx, str.Didnt_find_items.dat._Is_it_at_right_place__n
call fcn.180001af0
movsxd rbx, ebx
mov rcx, rbx
call fcn.1800c7940
mov rdi, rax
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x190]
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, rdi
lea rcx, [rbp + 0x190]
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
jne 0x1800396e1
lea rcx, str.Something_gone_wrong_while_decoding_.dat_file__n
call fcn.180001af0
xorps xmm0, xmm0
movups xmmword [rbp + 0x170], xmm0
mov edx, reloc.WLDAP32.dll_Ordinal_32
lea rcx, [rbp + 0x170]
call fcn.1800019a0
mov r15, rax
mov qword [rbp + 0x170], rax
mov qword [rbp + 0x180], reloc.WS2_32.dll_recv
mov qword [rbp + 0x188], Ordinal_35
movups xmm0, xmmword [str.PBG892FXX982ABC]
movups xmmword [rax], xmm0
mov byte [rax + 0x10], 0
mov dword [rsp + 0x30], 0
movzx eax, word [rdi]
mov word [rsp + 0x30], ax
movsxd rax, dword [rdi + 2]
mov dword [0x1801012d8], eax
mov ebx, 6
mov r14, rax
mov qword [rsp + 0x38], rax
mov eax, 0x218
mul r14
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
add rax, 8
cmovb rax, rcx
mov rcx, rax
call fcn.1800c7940
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1800397aa
mov qword [rax], r14
lea rsi, [rax + 8]
lea rax, [fcn.180036e50]
mov qword [rsp + 0x20], rax
lea r9, [fcn.180036bc0]
mov r8, r14
mov edx, 0x218
mov rcx, rsi
call fcn.1800c778c
jmp 0x1800397ac
xor esi, esi
mov qword [0x1801012d0], rsi
mov r13d, dword [rsp + 0x30]
cmp r13d, 0xe
jle 0x1800397ca
lea rcx, str.Unsupported_items.dat__Version:_n
call fcn.180001af0
xor r12d, r12d
cmp dword [0x1801012d8], r12d
jle 0x18003a06c
nop word [rax + rax]
lea rcx, [rsp + 0x50]
call fcn.180036bc0
nop
movsxd rax, ebx
mov ecx, dword [rax + rdi]
mov dword [rsp + 0x78], ecx
add ebx, 4
movsxd rax, ebx
movzx ecx, byte [rax + rdi]
mov byte [rsp + 0x7c], cl
inc ebx
movsxd rax, ebx
movzx ecx, byte [rax + rdi]
mov byte [rsp + 0x7d], cl
inc ebx
movsxd rax, ebx
movzx ecx, byte [rax + rdi]
mov byte [rsp + 0x7e], cl
inc ebx
movsxd rax, ebx
movzx ecx, byte [rax + rdi]
mov byte [rsp + 0x7f], cl
inc ebx
movsxd rax, ebx
add ebx, 2
movsx ecx, word [rax + rdi]
test ecx, ecx
jle 0x1800398b1
movsxd rsi, ebx
add rsi, rdi
xor r14d, r14d
mov r15d, ecx
add ebx, ecx
mov r13, qword [rbp + 0x170]
nop
mov rcx, qword [rsp + 0x78]
add rcx, r14
and ecx, 0xf
movzx r9d, byte [rsi]
xor r9b, byte [rcx + r13]
mov rcx, qword [rbp - 0x70]
mov rdx, qword [rbp - 0x68]
cmp rcx, rdx
jae 0x180039890
lea rax, [rcx + 1]
mov qword [rbp - 0x70], rax
lea rax, [rbp - 0x80]
cmp rdx, 0x10
cmovae rax, qword [rbp - 0x80]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1800398a0
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rbp - 0x80]
call fcn.1800053c0
inc rsi
inc r14
sub r15, 1
jne 0x180039850
mov r13d, dword [rsp + 0x30]
movsxd rax, ebx
add ebx, 2
movsx ecx, word [rax + rdi]
test ecx, ecx
jle 0x18003991a
movsxd rsi, ebx
add rsi, rdi
mov r14d, ecx
add ebx, ecx
nop word [rax + rax]
movzx r9d, byte [rsi]
mov rcx, qword [rbp - 0x50]
mov rdx, qword [rbp - 0x48]
cmp rcx, rdx
jae 0x180039901
lea rax, [rcx + 1]
mov qword [rbp - 0x50], rax
lea rax, [rbp - 0x60]
cmp rdx, 0x10
cmovae rax, qword [rbp - 0x60]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x180039911
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rbp - 0x60]
call fcn.1800053c0
inc rsi
sub r14, 1
jne 0x1800398d0
movsxd rax, ebx
mov ecx, dword [rax + rdi]
mov dword [rbp - 0x40], ecx
add ebx, 4
movsxd rax, ebx
movzx ecx, byte [rax + rdi]
mov byte [rbp - 0x3c], cl
inc ebx
movsxd rax, ebx
mov ecx, dword [rax + rdi]
mov dword [rbp - 0x38], ecx
add ebx, 4
movsxd rax, ebx
movzx ecx, byte [rax + rdi]
mov byte [rbp - 0x34], cl
inc ebx
movsxd rax, ebx
movzx ecx, byte [rax + rdi]
mov byte [rbp - 0x33], cl
inc ebx
movsxd rax, ebx
movzx ecx, byte [rax + rdi]
mov byte [rbp - 0x32], cl
inc ebx
movsxd rax, ebx
movzx ecx, byte [rax + rdi]
mov byte [rbp - 0x31], cl
inc ebx
movsxd rax, ebx
movzx ecx, byte [rax + rdi]
mov byte [rbp - 0x30], cl
inc ebx
movsxd rax, ebx
movzx ecx, byte [rax + rdi]
mov byte [rbp - 0x2f], cl
inc ebx
movsxd rax, ebx
mov ecx, dword [rax + rdi]
mov dword [rbp - 0x2c], ecx
add ebx, 4
movsxd rax, ebx
movzx ecx, byte [rax + rdi]
mov byte [rbp - 0x28], cl
inc ebx
movsxd rax, ebx
movzx ecx, word [rax + rdi]
mov word [rbp - 0x26], cx
add ebx, 2
movsxd rax, ebx
movzx ecx, byte [rax + rdi]
mov byte [rbp - 0x24], cl
inc ebx
movsxd rax, ebx
add ebx, 2
movsx ecx, word [rax + rdi]
test ecx, ecx
jle 0x180039a1b
movsxd rsi, ebx
add rsi, rdi
mov r14d, ecx
add ebx, ecx
movzx r9d, byte [rsi]
mov rcx, qword [rbp - 0x10]
mov rdx, qword [rbp - 8]
cmp rcx, rdx
jae 0x180039a02
lea rax, [rcx + 1]
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x20]
cmp rdx, 0x10
cmovae rax, qword [rbp - 0x20]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x180039a12
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rbp - 0x20]
call fcn.1800053c0
inc rsi
sub r14, 1
jne 0x1800399d1
movsxd rax, ebx
mov ecx, dword [rax + rdi]
mov dword [rbp], ecx
add ebx, 4
movsxd rax, ebx
mov ecx, dword [rax + rdi]
mov dword [rbp + 8], ecx
add ebx, 4
movsxd rax, ebx
add ebx, 2
movsx ecx, word [rax + rdi]
test ecx, ecx
jle 0x180039a9a
movsxd rsi, ebx
add rsi, rdi
mov r14d, ecx
add ebx, ecx
nop dword [rax]
movzx r9d, byte [rsi]
mov rcx, qword [rbp + 0x20]
mov rdx, qword [rbp + 0x28]
cmp rcx, rdx
jae 0x180039a81
lea rax, [rcx + 1]
mov qword [rbp + 0x20], rax
lea rax, [rbp + 0x10]
cmp rdx, 0x10
cmovae rax, qword [rbp + 0x10]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x180039a91
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rbp + 0x10]
call fcn.1800053c0
inc rsi
sub r14, 1
jne 0x180039a50
movsxd rax, ebx
add ebx, 2
movsx ecx, word [rax + rdi]
test ecx, ecx
jle 0x180039b0a
movsxd rsi, ebx
add rsi, rdi
mov r14d, ecx
add ebx, ecx
nop dword [rax]
nop word [rax + rax]
movzx r9d, byte [rsi]
mov rcx, qword [rbp + 0x40]
mov rdx, qword [rbp + 0x48]
cmp rcx, rdx
jae 0x180039af1
lea rax, [rcx + 1]
mov qword [rbp + 0x40], rax
lea rax, [rbp + 0x30]
cmp rdx, 0x10
cmovae rax, qword [rbp + 0x30]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x180039b01
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rbp + 0x30]
call fcn.1800053c0
inc rsi
sub r14, 1
jne 0x180039ac0
movsxd rax, ebx
add ebx, 2
movsx ecx, word [rax + rdi]
test ecx, ecx
jle 0x180039b7a
movsxd rsi, ebx
add rsi, rdi
mov r14d, ecx
add ebx, ecx
nop dword [rax]
nop word [rax + rax]
movzx r9d, byte [rsi]
mov rcx, qword [rbp + 0x60]
mov rdx, qword [rbp + 0x68]
cmp rcx, rdx
jae 0x180039b61
lea rax, [rcx + 1]
mov qword [rbp + 0x60], rax
lea rax, [rbp + 0x50]
cmp rdx, 0x10
cmovae rax, qword [rbp + 0x50]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x180039b71
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rbp + 0x50]
call fcn.1800053c0
inc rsi
sub r14, 1
jne 0x180039b30
movsxd rax, ebx
add ebx, 2
movsx ecx, word [rax + rdi]
test ecx, ecx
jle 0x180039be6
movsxd rsi, ebx
add rsi, rdi
mov r14d, ecx
add ebx, ecx
movzx r9d, byte [rsi]
mov rcx, qword [rbp + 0x80]
mov rdx, qword [rbp + 0x88]
cmp rcx, rdx
jae 0x180039bcd
lea rax, [rcx + 1]
mov qword [rbp + 0x80], rax
lea rax, [rbp + 0x70]
cmp rdx, 0x10
cmovae rax, qword [rbp + 0x70]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x180039bdd
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rbp + 0x70]
call fcn.1800053c0
inc rsi
sub r14, 1
jne 0x180039b93
movsxd rax, ebx
movzx ecx, byte [rax + rdi]
mov byte [rbp + 0x90], cl
inc ebx
movsxd rax, ebx
movzx ecx, byte [rax + rdi]
mov byte [rbp + 0x91], cl
inc ebx
movsxd rax, ebx
movzx ecx, byte [rax + rdi]
mov byte [rbp + 0x92], cl
inc ebx
movsxd rax, ebx
movzx ecx, byte [rax + rdi]
mov byte [rbp + 0x93], cl
inc ebx
movsxd rax, ebx
mov ecx, dword [rax + rdi]
mov dword [rbp + 0x98], ecx
add ebx, 4
movsxd rax, ebx
mov ecx, dword [rax + rdi]
mov dword [rbp + 0x9c], ecx
add ebx, 8
movsxd rax, ebx
mov ecx, dword [rax + rdi]
mov dword [rbp + 0xa0], ecx
add ebx, 4
movsxd rax, ebx
movzx ecx, word [rax + rdi]
mov word [rbp + 0xa4], cx
add ebx, 2
movsxd rax, ebx
movzx ecx, word [rax + rdi]
mov word [rbp + 0xa6], cx
add ebx, 2
movsxd rax, ebx
add ebx, 2
movsx ecx, word [rax + rdi]
test ecx, ecx
jle 0x180039cec
movsxd rsi, ebx
add rsi, rdi
mov r14d, ecx
add ebx, ecx
nop word [rax + rax]
movzx r9d, byte [rsi]
mov rcx, qword [rbp + 0xb8]
mov rdx, qword [rbp + 0xc0]
cmp rcx, rdx
jae 0x180039cd0
lea rax, [rcx + 1]
mov qword [rbp + 0xb8], rax
lea rax, [rbp + 0xa8]
cmp rdx, 0x10
cmovae rax, qword [rbp + 0xa8]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x180039ce3
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rbp + 0xa8]
call fcn.1800053c0
inc rsi
sub r14, 1
jne 0x180039c90
movsxd rax, ebx
add ebx, 2
movsx ecx, word [rax + rdi]
test ecx, ecx
jle 0x180039d61
movsxd rsi, ebx
add rsi, rdi
mov r14d, ecx
add ebx, ecx
movzx r9d, byte [rsi]
mov rcx, qword [rbp + 0xd8]
mov rdx, qword [rbp + 0xe0]
cmp rcx, rdx
jae 0x180039d45
lea rax, [rcx + 1]
mov qword [rbp + 0xd8], rax
lea rax, [rbp + 0xc8]
cmp rdx, 0x10
cmovae rax, qword [rbp + 0xc8]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x180039d58
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rbp + 0xc8]
call fcn.1800053c0
inc rsi
sub r14, 1
jne 0x180039d05
movsxd rax, ebx
add ebx, 2
movsx ecx, word [rax + rdi]
test ecx, ecx
jle 0x180039ddc
movsxd rsi, ebx
add rsi, rdi
mov r14d, ecx
add ebx, ecx
nop word [rax + rax]
movzx r9d, byte [rsi]
mov rcx, qword [rbp + 0xf8]
mov rdx, qword [rbp + 0x100]
cmp rcx, rdx
jae 0x180039dc0
lea rax, [rcx + 1]
mov qword [rbp + 0xf8], rax
lea rax, [rbp + 0xe8]
cmp rdx, 0x10
cmovae rax, qword [rbp + 0xe8]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x180039dd3
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rbp + 0xe8]
call fcn.1800053c0
inc rsi
sub r14, 1
jne 0x180039d80
movsxd rax, ebx
add ebx, 2
movsx ecx, word [rax + rdi]
test ecx, ecx
jle 0x180039e51
movsxd rsi, ebx
add rsi, rdi
mov r14d, ecx
add ebx, ecx
movzx r9d, byte [rsi]
mov rcx, qword [rbp + 0x138]
mov rdx, qword [rbp + 0x140]
cmp rcx, rdx
jae 0x180039e35
lea rax, [rcx + 1]
mov qword [rbp + 0x138], rax
lea rax, [rbp + 0x128]
cmp rdx, 0x10
cmovae rax, qword [rbp + 0x128]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x180039e48
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rbp + 0x128]
call fcn.1800053c0
inc rsi
sub r14, 1
jne 0x180039df5
add ebx, 4
movsxd rax, ebx
movsx edx, word [rax + rdi]
mov word [rbp + 0x148], dx
add ebx, 2
movsxd rax, ebx
movzx ecx, word [rax + rdi]
mov word [rbp + 0x14a], cx
add ebx, 2
movsxd rax, ebx
movzx ecx, word [rax + rdi]
mov word [rbp + 0x14c], cx
mov ecx, reloc.WS2_32.dll_select
sub ecx, edx
add ebx, ecx
movsxd rax, ebx
movzx ecx, word [rax + rdi]
mov word [rbp + 0x14e], cx
add ebx, 0x34
cmp r13d, 0xb
jl 0x180039f1c
movsxd rax, ebx
add ebx, 2
movsx ecx, word [rax + rdi]
test ecx, ecx
jle 0x180039f1c
movsxd rsi, ebx
add rsi, rdi
mov r14d, ecx
add ebx, ecx
nop dword [rax]
movzx r9d, byte [rsi]
mov rcx, qword [rbp + 0x118]
mov rdx, qword [rbp + 0x120]
cmp rcx, rdx
jae 0x180039f00
lea rax, [rcx + 1]
mov qword [rbp + 0x118], rax
lea rax, [rbp + 0x108]
cmp rdx, 0x10
cmovae rax, qword [rbp + 0x108]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x180039f13
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rbp + 0x108]
call fcn.1800053c0
inc rsi
sub r14, 1
jne 0x180039ec0
cmp r13d, 0xc
jl 0x180039fbc
movsxd rax, ebx
mov ecx, dword [rax + rdi]
mov dword [rbp + 0x150], ecx
add ebx, 4
movsxd rax, ebx
movzx ecx, byte [rax + rdi]
mov byte [rbp + 0x154], cl
inc ebx
movsxd rax, ebx
movzx ecx, byte [rax + rdi]
mov byte [rbp + 0x155], cl
inc ebx
movsxd rax, ebx
movzx ecx, byte [rax + rdi]
mov byte [rbp + 0x156], cl
inc ebx
movsxd rax, ebx
movzx ecx, byte [rax + rdi]
mov byte [rbp + 0x157], cl
inc ebx
movsxd rax, ebx
movzx ecx, byte [rax + rdi]
mov byte [rbp + 0x158], cl
inc ebx
movsxd rax, ebx
movzx ecx, byte [rax + rdi]
mov byte [rbp + 0x159], cl
inc ebx
movsxd rax, ebx
movzx ecx, byte [rax + rdi]
mov byte [rbp + 0x15a], cl
inc ebx
movsxd rax, ebx
movzx ecx, byte [rax + rdi]
mov byte [rbp + 0x15b], cl
inc ebx
movsxd rax, ebx
movzx ecx, byte [rax + rdi]
mov byte [rbp + 0x15c], cl
inc ebx
cmp r13d, 0xd
jl 0x180039fd1
movsxd rax, ebx
mov ecx, dword [rax + rdi]
mov dword [rbp + 0x160], ecx
add ebx, 4
cmp r13d, 0xe
jl 0x180039fe6
movsxd rax, ebx
mov ecx, dword [rax + rdi]
mov dword [rbp + 0x164], ecx
add ebx, 4
cmp r12d, dword [rsp + 0x78]
jne 0x18003a102
mov rax, qword [0x1801012f0]
cmp rax, qword [0x1801012f8]
je 0x18003a01b
lea rdx, [rsp + 0x50]
mov rcx, rax
call fcn.180036880
add qword [0x1801012f0], 0x218
jmp 0x18003a02f
lea r8, [rsp + 0x50]
mov rdx, rax
lea rcx, [0x1801012e8]
call fcn.180035f70
movsxd rax, r12d
imul rcx, rax, 0x218
add rcx, qword [0x1801012d0]
lea rdx, [rsp + 0x50]
call fcn.1800372d0
nop
lea rcx, [rsp + 0x50]
call fcn.180036e50
inc r12d
cmp r12d, dword [0x1801012d8]
jl 0x1800397e0
mov r15, qword [rbp + 0x170]
mov edx, reloc.WLDAP32.dll_Ordinal_32
mov rcx, r15
call fcn.1800c72a0
nop
mov rax, qword [rbp + 0x190]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x190], rax
mov rax, qword [rbp + 0x190]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x18c], edx
lea rcx, [rbp + 0x1a0]
call fcn.18000bf00
lea rcx, [rbp + 0x1a8]
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 + 0x240]
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 + 0x2a0]
xor rcx, rsp
call fcn.1800c73c0
lea r11, [rsp + 0x3b0]
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
lea rcx, str.Unordered_item__Something_gone_wrong__n
call fcn.180001af0
mov ecx, 0xffffffff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3