Function at 0x140028a80
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 [0x140183fc0]
xor rax, rsp
mov qword [rbp + 0x2e8], rax
xor r14d, r14d
mov dword [rsp + 0x60], r14d
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea edx, [r14 + 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, [0x14013b898]
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 r13, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x1c0], r13
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], r14b
mov byte [rbp + 0x241], r14b
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], r14
mov rax, qword [0x140188b88]
mov qword [rbp + 0x244], rax
mov qword [rbp + 0x238], r14
lea r9d, [r14 + 0x40]
lea r8d, [r14 + 0x25]
lea rdx, str.items.dat
lea rcx, [rbp + 0x1d0]
call fcn.14004ea80
test rax, rax
jne 0x140028bf5
mov rax, qword [rbp + 0x1c0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x1c0]
add rcx, rax
xor r8d, r8d
lea edx, [r14 + 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 0x140028c32
lea edx, [rcx + 0xb]
lea rcx, str.Didnt_find_items.dat._Is_it_at_right_place__n
call fcn.14006fe70
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.14011c7cc
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 0x140029f4d
xorps xmm0, xmm0
movups xmmword [rbp + 0x1a0], xmm0
mov qword [rbp + 0x1b0], r14
mov qword [rbp + 0x1b8], r14
mov r8d, reloc.WS2_32.dll_recv
lea rdx, str.PBG892FXX982ABC
lea rcx, [rbp + 0x1a0]
call fcn.1400126b0
nop
mov dword [rsp + 0x58], r14d
movzx eax, word [r15]
mov word [rsp + 0x58], ax
movsxd rax, dword [r15 + 2]
mov dword [0x140187b8c], eax
mov ebx, 6
mov rdi, rax
mov qword [rsp + 0x60], rax
mov eax, 0x220
mul rdi
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
add rax, 8
cmovb rax, rcx
mov rcx, rax
call fcn.14011c7cc
mov qword [rsp + 0x70], rax
test rax, rax
je 0x140028d32
mov qword [rax], rdi
lea rsi, [rax + 8]
lea rax, [fcn.14001f290]
mov qword [rsp + 0x20], rax
lea r9, [fcn.14001d470]
mov r8, rdi
mov edx, 0x220
mov rcx, rsi
call fcn.14011c68c
jmp 0x140028d35
mov rsi, r14
mov qword [0x140187b90], rsi
mov dword [rsp + 0x60], r14d
mov rdi, qword [rbp + 0x1a0]
cmp dword [0x140187b8c], 0
jle 0x140029e52
mov r13d, dword [rsp + 0x58]
nop word [rax + rax]
lea rcx, [rbp - 0x80]
call fcn.14001d470
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 0x140028e58
movsxd rsi, ebx
add rsi, r15
add ebx, r14d
mov r13, qword [rbp + 0x1a0]
mov r15, qword [rbp + 0x1b8]
nop dword [rax + 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 [rdx + r8]
xor r9b, byte [rsi]
mov rcx, qword [rbp - 0x40]
mov rdx, qword [rbp - 0x38]
cmp rcx, rdx
jae 0x140028e34
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 0x140028e44
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rbp - 0x50]
call fcn.140016220
inc rsi
inc edi
cmp edi, r14d
jl 0x140028de0
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 0x140028ebb
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 0x140028ea2
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 0x140028eb2
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rbp - 0x30]
call fcn.140016220
inc rdi
sub rsi, 1
jne 0x140028e71
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 0x140028fca
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 0x140028fb1
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 0x140028fc1
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rbp + 0x10]
call fcn.140016220
inc rdi
sub rsi, 1
jne 0x140028f80
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 0x14002904a
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 0x140029031
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 0x140029041
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rbp + 0x40]
call fcn.140016220
inc rdi
sub rsi, 1
jne 0x140029000
movsxd rax, ebx
add ebx, 2
movsx ecx, word [rax + r15]
test ecx, ecx
jle 0x1400290ba
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 0x1400290a1
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 0x1400290b1
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rbp + 0x60]
call fcn.140016220
inc rdi
sub rsi, 1
jne 0x140029070
movsxd rax, ebx
add ebx, 2
movsx ecx, word [rax + r15]
test ecx, ecx
jle 0x14002912f
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 0x140029113
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 0x140029126
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rbp + 0x80]
call fcn.140016220
inc rdi
sub rsi, 1
jne 0x1400290d3
movsxd rax, ebx
add ebx, 2
movsx ecx, word [rax + r15]
test ecx, ecx
jle 0x1400291ac
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 0x140029190
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 0x1400291a3
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rbp + 0xa0]
call fcn.140016220
inc rdi
sub rsi, 1
jne 0x140029150
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 0x1400292bc
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 0x1400292a0
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 0x1400292b3
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rbp + 0xd8]
call fcn.140016220
inc rdi
sub rsi, 1
jne 0x140029260
movsxd rax, ebx
add ebx, 2
movsx ecx, word [rax + r15]
test ecx, ecx
jle 0x140029331
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 0x140029315
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 0x140029328
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rbp + 0xf8]
call fcn.140016220
inc rdi
sub rsi, 1
jne 0x1400292d5
movsxd rax, ebx
add ebx, 2
movsx ecx, word [rax + r15]
test ecx, ecx
jle 0x1400293ac
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 0x140029390
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 0x1400293a3
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rbp + 0x118]
call fcn.140016220
inc rdi
sub rsi, 1
jne 0x140029350
movsxd rax, ebx
add ebx, 2
movsx ecx, word [rax + r15]
test ecx, ecx
jle 0x140029421
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 0x140029405
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 0x140029418
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rbp + 0x158]
call fcn.140016220
inc rdi
sub rsi, 1
jne 0x1400293c5
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 0x1400294ed
movsxd rax, ebx
add ebx, 2
movsx ecx, word [rax + r15]
test ecx, ecx
jle 0x1400294ed
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 0x1400294d1
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 0x1400294e4
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rbp + 0x138]
call fcn.140016220
inc rdi
sub rsi, 1
jne 0x140029491
cmp r13d, 0xc
jl 0x140029597
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 0x1400295ad
movsxd rax, ebx
mov ecx, dword [rax + r15]
mov dword [rbp + 0x190], ecx
add ebx, 4
cmp r13d, 0xe
jl 0x1400295c3
movsxd rax, ebx
mov ecx, dword [rax + r15]
mov dword [rbp + 0x194], ecx
add ebx, 4
cmp r13d, 0xf
jl 0x1400295dd
add ebx, 0x19
movsxd rax, ebx
add ebx, 2
movsx ecx, word [rax + r15]
test ecx, ecx
jle 0x1400295dd
add ebx, ecx
cmp r13d, 0x10
jl 0x140029698
movsxd rax, ebx
add ebx, 2
movsx r14d, word [rax + r15]
xor edi, edi
test r14d, r14d
jle 0x140029698
movsxd rsi, ebx
add rsi, r15
add ebx, r14d
mov r13, qword [rbp + 0x1a0]
mov r15, qword [rbp + 0x1b8]
nop dword [rax]
nop dword [rax + 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 [rdx + r8]
xor r9b, byte [rsi]
mov rcx, qword [rbp - 0x40]
mov rdx, qword [rbp - 0x38]
cmp rcx, rdx
jae 0x140029674
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 0x140029684
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rbp - 0x50]
call fcn.140016220
inc rsi
inc edi
cmp edi, r14d
jl 0x140029620
mov r15, qword [rsp + 0x68]
mov r13d, dword [rsp + 0x58]
cmp r13d, 0x11
jl 0x1400296a1
add ebx, 4
cmp r13d, 0x12
jl 0x1400296aa
add ebx, 4
movsxd rsi, dword [rsp + 0x60]
cmp esi, dword [rbp - 0x58]
jne 0x140029ea4
mov rax, qword [0x14018ba88]
cmp rax, qword [0x14018ba90]
je 0x1400296de
lea rdx, [rbp - 0x50]
mov rcx, rax
call fcn.14001b7b0
add qword [0x14018ba88], 0x20
jmp 0x1400296f1
lea r8, [rbp - 0x50]
mov rdx, rax
lea rcx, [0x14018ba80]
call fcn.140014410
mov r8d, dword [rbp - 0x58]
lea r10, [rbp + 0x2e5]
test r8d, r8d
jns 0x140029750
neg r8d
nop dword [rax]
nop dword [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 0x140029710
dec r10
mov byte [r10], reloc.WLDAP32.dll_Ordinal_45
jmp 0x14002977a
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 0x140029750
lea r9, [rsp + 0x30]
lea r8, [rbp + 0x2e5]
mov rdx, r10
lea rcx, [rsp + 0x38]
call fcn.1400071c0
or r12d, 3
mov rdx, qword [0x14018bf50]
cmp rdx, qword [0x14018bf58]
je 0x1400297cc
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 [0x14018bf50], 0x20
jmp 0x1400297e2
lea r8, [rsp + 0x38]
lea rcx, [0x14018bf48]
call fcn.140015150
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x14002981a
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140029815
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140029e9d
call fcn.14011c524
movsx r8d, word [rbp + 0xa]
lea r10, [rbp + 0x2e5]
test r8d, r8d
jns 0x140029870
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 0x140029830
dec r10
mov byte [r10], reloc.WLDAP32.dll_Ordinal_45
jmp 0x14002989a
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 0x140029870
lea r9, [rsp + 0x30]
lea r8, [rbp + 0x2e5]
mov rdx, r10
lea rcx, [rsp + 0x38]
call fcn.1400071c0
or r12d, 0xc
mov rdx, qword [0x14018be20]
cmp rdx, qword [0x14018be28]
je 0x1400298ec
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 [0x14018be20], 0x20
jmp 0x140029902
lea r8, [rsp + 0x38]
lea rcx, [0x14018be18]
call fcn.140015150
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x14002993a
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140029935
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140029e9d
call fcn.14011c524
mov rax, qword [0x14018baa0]
cmp rax, qword [0x14018baa8]
je 0x140029960
lea rdx, [rbp - 0x30]
mov rcx, rax
call fcn.14001b7b0
add qword [0x14018baa0], 0x20
jmp 0x140029973
lea r8, [rbp - 0x30]
mov rdx, rax
lea rcx, [0x14018ba98]
call fcn.140014410
movsx r8d, byte [rbp - 4]
lea r10, [rbp + 0x2e5]
test r8d, r8d
jns 0x1400299d0
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 0x140029990
dec r10
mov byte [r10], reloc.WLDAP32.dll_Ordinal_45
jmp 0x1400299fa
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 0x1400299d0
lea r9, [rsp + 0x30]
lea r8, [rbp + 0x2e5]
mov rdx, r10
lea rcx, [rsp + 0x38]
call fcn.1400071c0
or r12d, 0x30
mov rdx, qword [0x14018b7b0]
cmp rdx, qword [0x14018b7b8]
je 0x140029a4c
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 [0x14018b7b0], 0x20
jmp 0x140029a62
lea r8, [rsp + 0x38]
lea rcx, [0x14018b7a8]
call fcn.140015150
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x140029a9a
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140029a95
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140029e9d
call fcn.14011c524
movsx r8d, byte [rbp - 3]
lea r10, [rbp + 0x2e5]
test r8d, r8d
jns 0x140029af0
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 0x140029ab0
dec r10
mov byte [r10], reloc.WLDAP32.dll_Ordinal_45
jmp 0x140029b1a
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 0x140029af0
lea r9, [rsp + 0x30]
lea r8, [rbp + 0x2e5]
mov rdx, r10
lea rcx, [rsp + 0x38]
call fcn.1400071c0
or r12d, 0xc0
mov rdx, qword [0x14018bd70]
cmp rdx, qword [0x14018bd78]
je 0x140029b6f
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 [0x14018bd70], 0x20
jmp 0x140029b85
lea r8, [rsp + 0x38]
lea rcx, [0x14018bd68]
call fcn.140015150
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x140029bbd
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140029bb8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140029e9d
call fcn.14011c524
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 0x140029bd0
lea r9, [rsp + 0x30]
lea r8, [rbp + 0x2e5]
mov rdx, r10
lea rcx, [rsp + 0x38]
call fcn.1400071c0
or r12d, 0x300
mov rdx, qword [0x14018bb50]
cmp rdx, qword [0x14018bb58]
je 0x140029c4f
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 [0x14018bb50], 0x20
jmp 0x140029c65
lea r8, [rsp + 0x38]
lea rcx, [0x14018bb48]
call fcn.140015150
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x140029c9d
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140029c98
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140029e9d
call fcn.14011c524
mov r8d, dword [rbp + 0xd0]
lea r10, [rbp + 0x2e5]
test r8d, r8d
jns 0x140029d00
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 0x140029cc0
dec r10
mov byte [r10], reloc.WLDAP32.dll_Ordinal_45
jmp 0x140029d2a
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 0x140029d00
lea r9, [rsp + 0x30]
lea r8, [rbp + 0x2e5]
mov rdx, r10
lea rcx, [rsp + 0x38]
call fcn.1400071c0
or r12d, 0xc00
mov rdx, qword [0x14018bed8]
cmp rdx, qword [0x14018bee0]
je 0x140029d7f
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 [0x14018bed8], 0x20
jmp 0x140029d95
lea r8, [rsp + 0x38]
lea rcx, [0x14018bed0]
call fcn.140015150
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x140029dcd
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140029dc8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140029e9d
call fcn.14011c524
mov rax, qword [0x1401882e0]
cmp rax, qword [0x1401882e8]
je 0x140029df6
lea rdx, [rbp - 0x80]
mov rcx, rax
call fcn.14001d120
add qword [0x1401882e0], 0x220
jmp 0x140029e09
lea r8, [rbp - 0x80]
mov rdx, rax
lea rcx, [0x1401882d8]
call fcn.140014150
imul rcx, rsi, 0x220
add rcx, qword [0x140187b90]
lea rdx, [rbp - 0x80]
call fcn.14001fb30
mov eax, dword [rbp - 0x58]
mov dword [0x140187b98], eax
lea rcx, [rbp - 0x80]
call fcn.14001f290
inc esi
mov dword [rsp + 0x60], esi
cmp esi, dword [0x140187b8c]
jl 0x140028d60
mov rdi, qword [rbp + 0x1a0]
lea r13, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov edx, 0xa
lea rcx, str.Sucessfully_Decoded_Items.dat_n
call fcn.14006fe70
nop
mov rax, qword [rbp + 0x1b8]
cmp rax, 0xf
jbe 0x140029ecc
lea rdx, [rax + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140029ec3
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140029ec3
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.14006fe70
mov rcx, 0xffffffffffffffff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
mov rcx, rdi
call fcn.14011c524
nop
mov rax, qword [rbp + 0x1c0]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x1c0], r13
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.14001e150
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.14011c640
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.14006fe70
mov rcx, 0xffffffffffffffff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3