Function at 0x140162d50
Capabilities:
Reference sql statements

Disassembly:
jmp 0x1401bf7b0
mov dword [rsp + 8], ecx
push rbp
push rsi
push rdi
sub rsp, 0x2b0
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, reloc.WS2_32.dll_WSASetLastError
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x2d8]
mov rax, qword [0x1404ee780]
xor rax, rbp
mov qword [rbp + 0x270], rax
lea rcx, reloc.WS2_32.dll_accept
call fcn.14016a9fb
mov dword [rbp + 0xe4], gethostname
cmp dword [rbp + 0x2a0], 0
jg 0x1401bf812
xor eax, eax
jmp 0x1401bfceb
movsxd rax, dword [rbp + 0x2a0]
lea rcx, [0x14050db40]
mov rax, qword [rcx + rax*8]
movsxd rcx, dword [rbp + 0x2a0]
lea rdx, [0x14050db40]
mov rcx, qword [rdx + rcx*8]
mov rax, qword [rax + 8]
mov rcx, qword [rcx + 0x38]
movzx eax, word [rax + rcx + 2]
sub eax, dword [rbp + 0xe4]
cdqe
cmp rax, 0x200
jb 0x1401bf868
lea rcx, str.inter:_Wis_message_size_too_long._n
call fcn.140160af5
xor eax, eax
jmp 0x1401bfceb
movsxd rax, dword [rbp + 0x2a0]
lea rcx, [0x14050db40]
mov rax, qword [rcx + rax*8]
movsxd rcx, dword [rbp + 0x2a0]
lea rdx, [0x14050db40]
mov rcx, qword [rdx + rcx*8]
mov rax, qword [rax + 8]
mov rcx, qword [rcx + 0x38]
movzx eax, word [rax + rcx + 2]
sub eax, dword [rbp + 0xe4]
test eax, eax
jg 0x1401bf8b6
lea rcx, str.inter:_Wis_message_doesnt_exist._n
call fcn.140164be6
xor eax, eax
jmp 0x1401bfceb
movsxd rax, dword [rbp + 0x2a0]
lea rcx, [0x14050db40]
mov rax, qword [rcx + rax*8]
movsxd rcx, dword [rbp + 0x2a0]
lea rdx, [0x14050db40]
mov rcx, qword [rdx + rcx*8]
mov rax, qword [rax + 8]
mov rcx, qword [rcx + 0x38]
lea rax, [rax + rcx + 0x20]
mov r8d, 0x18
mov rdx, rax
lea rcx, [rbp + 0x28]
call fcn.14016b4b9
mov edx, 0x18
lea rcx, [rbp + 0x28]
call fcn.1401612cf
mov r9, rax
lea r8, [rbp + 0x28]
lea rdx, [rbp + 0x58]
mov rcx, qword [0x1404f6de0]
call fcn.140167314
lea r9, [rbp + 0x58]
lea r8, [0x1404f20d4]
lea rdx, str.SELECT__name__FROM___s__WHERE__name__s
mov rcx, qword [0x1404f6de0]
call fcn.140164cae
cmp eax, 0xffffffff
jne 0x1401bf960
mov eax, dword [0x1404ede7c]
add eax, 0x17
mov r8d, eax
lea rdx, str.C:GAMES_ro_offline_2022_20231219T050943Z_00201_emulator4cram_4th_jobs_srccharinter.cpp
mov rcx, qword [0x1404f6de0]
call fcn.1401647b8
mov rcx, qword [0x1404f6de0]
call fcn.140161626
test eax, eax
je 0x1401bf9b7
movsxd rax, dword [rbp + 0x2a0]
lea rcx, [0x14050db40]
mov rax, qword [rcx + rax*8]
movsxd rcx, dword [rbp + 0x2a0]
lea rdx, [0x14050db40]
mov rcx, qword [rdx + rcx*8]
mov rax, qword [rax + 8]
mov rcx, qword [rcx + 0x38]
lea rax, [rax + rcx + 8]
mov r8b, 1
mov rdx, rax
mov ecx, dword [rbp + 0x2a0]
call fcn.14016adf7
jmp 0x1401bfcdd
lea r9, [rbp + 0xc8]
lea r8, [rbp + 0xa8]
xor edx, edx
mov rcx, qword [0x1404f6de0]
call fcn.140162594
mov r8d, 0x18
xor edx, edx
lea rcx, [rbp + 0x28]
call fcn.140167e40
mov edx, 0x18
mov rcx, qword [rbp + 0xc8]
call fcn.1401c1cb0
mov r8, rax
mov rdx, qword [rbp + 0xa8]
lea rcx, [rbp + 0x28]
call fcn.14016526c
movsxd rax, dword [rbp + 0x2a0]
lea rcx, [0x14050db40]
mov rax, qword [rcx + rax*8]
movsxd rcx, dword [rbp + 0x2a0]
lea rdx, [0x14050db40]
mov rcx, qword [rdx + rcx*8]
mov rax, qword [rax + 8]
mov rcx, qword [rcx + 0x38]
lea rax, [rax + rcx + 8]
mov r8d, 0x18
lea rdx, [rbp + 0x28]
mov rcx, rax
call fcn.140168a84
test eax, eax
jne 0x1401bfa96
movsxd rax, dword [rbp + 0x2a0]
lea rcx, [0x14050db40]
mov rax, qword [rcx + rax*8]
movsxd rcx, dword [rbp + 0x2a0]
lea rdx, [0x14050db40]
mov rcx, qword [rdx + rcx*8]
mov rax, qword [rax + 8]
mov rcx, qword [rcx + 0x38]
lea rax, [rax + rcx + 8]
mov r8b, 1
mov rdx, rax
mov ecx, dword [rbp + 0x2a0]
call fcn.14016adf7
jmp 0x1401bfcdd
mov eax, dword [0x1404ede7c]
add eax, 0x2d
lea rcx, str.mapif_parse_WisRequest
mov qword [rsp + 0x20], rcx
mov r9d, eax
lea r8, str.C:GAMES_ro_offline_2022_20231219T050943Z_00201_emulator4cram_4th_jobs_srccharinter.cpp
mov edx, 0x250
mov ecx, 1
call fcn.14016b11c
mov qword [rbp + 8], rax
call fcn.140164187
mov eax, dword [0x1404f6eec]
inc eax
mov dword [0x1404f6eec], eax
mov rax, qword [rbp + 8]
mov ecx, dword [0x1404f6eec]
mov dword [rax], ecx
mov rax, qword [rbp + 8]
mov ecx, dword [rbp + 0x2a0]
mov dword [rax + 4], ecx
movsxd rax, dword [rbp + 0x2a0]
lea rcx, [0x14050db40]
mov rax, qword [rcx + rax*8]
movsxd rcx, dword [rbp + 0x2a0]
lea rdx, [0x14050db40]
mov rcx, qword [rdx + rcx*8]
mov rax, qword [rax + 8]
mov rcx, qword [rcx + 0x38]
movzx eax, word [rax + rcx + 2]
sub eax, dword [rbp + 0xe4]
mov rcx, qword [rbp + 8]
mov dword [rcx + 0xc], eax
movsxd rax, dword [rbp + 0x2a0]
lea rcx, [0x14050db40]
mov rax, qword [rcx + rax*8]
movsxd rcx, dword [rbp + 0x2a0]
lea rdx, [0x14050db40]
mov rcx, qword [rdx + rcx*8]
mov rax, qword [rax + 8]
mov rcx, qword [rcx + 0x38]
mov rdx, qword [rbp + 8]
mov eax, dword [rax + rcx + 4]
mov dword [rdx + 0x10], eax
movsxd rax, dword [rbp + 0x2a0]
lea rcx, [0x14050db40]
mov rax, qword [rcx + rax*8]
movsxd rcx, dword [rbp + 0x2a0]
lea rdx, [0x14050db40]
mov rcx, qword [rdx + rcx*8]
mov rax, qword [rax + 8]
mov rcx, qword [rcx + 0x38]
lea rax, [rax + rcx + 8]
mov rcx, qword [rbp + 8]
add rcx, 0x20
mov r8d, 0x18
mov rdx, rax
call fcn.14016b4b9
movsxd rax, dword [rbp + 0x2a0]
lea rcx, [0x14050db40]
mov rax, qword [rcx + rax*8]
movsxd rcx, dword [rbp + 0x2a0]
lea rdx, [0x14050db40]
mov rcx, qword [rdx + rcx*8]
mov rax, qword [rax + 8]
mov rcx, qword [rcx + 0x38]
lea rax, [rax + rcx + 0x20]
mov rcx, qword [rbp + 8]
add rcx, 0x38
mov r8d, 0x18
mov rdx, rax
call fcn.14016b4b9
mov rax, qword [rbp + 8]
movsxd rax, dword [rax + 0xc]
movsxd rcx, dword [rbp + 0x2a0]
lea rdx, [0x14050db40]
mov rcx, qword [rdx + rcx*8]
movsxd rdx, dword [rbp + 0x2a0]
lea r8, [0x14050db40]
mov rdx, qword [r8 + rdx*8]
mov rcx, qword [rcx + 8]
mov rdx, qword [rdx + 0x38]
lea rcx, [rcx + rdx + 0x38]
mov rdx, qword [rbp + 8]
add rdx, 0x50
mov qword [rbp + 0x268], rdx
mov r8, rax
mov rdx, rcx
mov rax, qword [rbp + 0x268]
mov rcx, rax
call fcn.14016b4b9
call fcn.140169092
mov rcx, qword [rbp + 8]
mov qword [rcx + 0x18], rax
mov rdx, qword [rbp + 8]
lea rcx, [rbp + 0x1f8]
call fcn.140163183
lea rcx, [rbp + 0x1c8]
mov rdi, rcx
mov rsi, rax
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rbp + 8]
mov ecx, dword [rax]
call fcn.14016ab81
mov qword [rbp + 0x228], rax
lea rax, [rbp + 0x250]
lea rcx, [rbp + 0x1c8]
mov rdi, rax
mov rsi, rcx
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
xor r9d, r9d
lea r8, [rbp + 0x250]
mov rdx, qword [rbp + 0x228]
mov rcx, qword [0x1404f6ee0]
mov rax, qword [0x1404f6ee0]
call qword [rax + gethostname]
mov rcx, qword [rbp + 8]
call fcn.140163485
mov rcx, qword [0x1404f6de0]
call fcn.140160e74
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, reloc.WS2_32.dll_connect
call fcn.140168bb0
mov rax, rdi
mov rcx, qword [rbp + 0x270]
xor rcx, rbp
call fcn.140165226
lea rsp, [rbp + 0x280]
pop rdi
pop rsi
pop rbp
ret