Function at 0x140166635
Capabilities:
Reference sql statements

Disassembly:
jmp 0x1401bfff0
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0x3e8
lea rbp, [rsp + 0x50]
lea rdi, [rsp + 0x50]
mov ecx, 0x86
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x408]
mov rax, qword [0x1404ee780]
xor rax, rbp
mov qword [rbp + 0x380], rax
lea rcx, reloc.WS2_32.dll_accept
call fcn.14016a9fb
movsxd rax, dword [rbp + 0x3b0]
lea rcx, [0x14050db40]
mov rax, qword [rcx + rax*8]
movsxd rcx, dword [rbp + 0x3b0]
lea rdx, [0x14050db40]
mov rcx, qword [rdx + rcx*8]
mov rax, qword [rax + 8]
mov rcx, qword [rcx + 0x38]
mov eax, dword [rax + rcx + 2]
mov dword [rbp + 4], eax
movsxd rax, dword [rbp + 0x3b0]
lea rcx, [0x14050db40]
mov rax, qword [rcx + rax*8]
movsxd rcx, dword [rbp + 0x3b0]
lea rdx, [0x14050db40]
mov rcx, qword [rdx + rcx*8]
mov rax, qword [rax + 8]
mov rcx, qword [rcx + 0x38]
mov eax, dword [rax + rcx + 6]
mov dword [rbp + 0x24], eax
movsxd rax, dword [rbp + 0x3b0]
lea rcx, [0x14050db40]
mov rax, qword [rcx + rax*8]
movsxd rcx, dword [rbp + 0x3b0]
lea rdx, [0x14050db40]
mov rcx, qword [rdx + rcx*8]
mov rax, qword [rax + 8]
mov rcx, qword [rcx + 0x38]
mov eax, dword [rax + rcx + 0xa]
mov dword [rbp + 0x44], eax
movsxd rax, dword [rbp + 0x3b0]
lea rcx, [0x14050db40]
mov rax, qword [rcx + rax*8]
movsxd rcx, dword [rbp + 0x3b0]
lea rdx, [0x14050db40]
mov rcx, qword [rdx + rcx*8]
mov rax, qword [rax + 8]
mov rcx, qword [rcx + 0x38]
movzx eax, byte [rax + rcx + 0xe]
mov byte [rbp + 0x64], al
mov dword [rbp + 0x104], 0
movsxd rax, dword [rbp + 0x3b0]
lea rcx, [0x14050db40]
mov rax, qword [rcx + rax*8]
movsxd rcx, dword [rbp + 0x3b0]
lea rdx, [0x14050db40]
mov rcx, qword [rdx + rcx*8]
mov rax, qword [rax + 8]
mov rcx, qword [rcx + 0x38]
lea rax, [rax + rcx + 0xf]
mov r8d, 0x18
mov rdx, rax
lea rcx, [rbp + 0x88]
call fcn.14016b4b9
lea r8, [rbp + 0x88]
lea rdx, [rbp + 0xb8]
mov rcx, qword [0x1404f6de0]
call fcn.140165f37
lea rcx, [rbp + 0x88]
call fcn.140161abd
mov dword [rbp + 0x104], eax
cmp dword [rbp + 0x104], 0x1e8480
jae 0x1401c04e5
lea r9, [rbp + 0xb8]
lea r8, [0x1404f20d4]
lea rdx, str.SELECT__account_id___name___class___base_level___job_level___online__FROM___s__WHERE__name__LIKE__s_LIMIT_10
mov rcx, qword [0x1404f6de0]
call fcn.140164cae
cmp eax, 0xffffffff
je 0x1401c01cb
mov rcx, qword [0x1404f6de0]
call fcn.1401655e1
test rax, rax
jne 0x1401c025d
mov rcx, qword [0x1404f6de0]
call fcn.1401655e1
test rax, rax
jne 0x1401c0209
mov ecx, 0xd4
call fcn.1401615b8
lea rcx, [rbp + 0x88]
mov qword [rsp + 0x20], rcx
mov r9, rax
mov r8d, dword [rbp + 0x24]
mov edx, dword [rbp + 4]
mov ecx, dword [rbp + 0x3b0]
call fcn.1401699f2
jmp 0x1401c0247
mov eax, dword [0x1404ede5c]
add eax, 0x12
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 ecx, 0xd5
call fcn.1401615b8
mov r9, rax
mov r8d, dword [rbp + 0x24]
mov edx, dword [rbp + 4]
mov ecx, dword [rbp + 0x3b0]
call fcn.1401699f2
mov rcx, qword [0x1404f6de0]
call fcn.140160e74
jmp 0x1401c0533
mov rcx, qword [0x1404f6de0]
call fcn.1401655e1
cmp rax, 1
jne 0x1401c02b6
mov rcx, qword [0x1404f6de0]
call fcn.140161626
xor r9d, r9d
lea r8, [rbp + 0x128]
xor edx, edx
mov rcx, qword [0x1404f6de0]
call fcn.140162594
mov rcx, qword [rbp + 0x128]
call fcn.140161abd
mov dword [rbp + 0x104], eax
mov rcx, qword [0x1404f6de0]
call fcn.140160e74
jmp 0x1401c04e5
mov rcx, qword [0x1404f6de0]
call fcn.1401655e1
mov qword [rbp + 0x368], rax
mov ecx, 0xd6
call fcn.1401615b8
mov rcx, qword [rbp + 0x368]
mov dword [rsp + 0x20], ecx
mov r9, rax
mov r8d, dword [rbp + 0x24]
mov edx, dword [rbp + 4]
mov ecx, dword [rbp + 0x3b0]
call fcn.1401699f2
mov rcx, qword [0x1404f6de0]
call fcn.140161626
test eax, eax
jne 0x1401c04d7
xor r9d, r9d
lea r8, [rbp + 0x128]
xor edx, edx
mov rcx, qword [0x1404f6de0]
call fcn.140162594
mov rcx, qword [rbp + 0x128]
call fcn.140161abd
mov dword [rbp + 0x104], eax
xor r9d, r9d
lea r8, [rbp + 0x128]
mov edx, 1
mov rcx, qword [0x1404f6de0]
call fcn.140162594
mov r8d, 0x18
mov rdx, qword [rbp + 0x128]
lea rcx, [rbp + 0x1c8]
call fcn.14016b4b9
xor r9d, r9d
lea r8, [rbp + 0x128]
mov edx, 2
mov rcx, qword [0x1404f6de0]
call fcn.140162594
mov rcx, qword [rbp + 0x128]
call fcn.140161abd
mov dword [rbp + 0x144], eax
xor r9d, r9d
lea r8, [rbp + 0x128]
mov edx, 3
mov rcx, qword [0x1404f6de0]
call fcn.140162594
mov rcx, qword [rbp + 0x128]
call fcn.140161abd
mov word [rbp + 0x164], ax
xor r9d, r9d
lea r8, [rbp + 0x128]
mov edx, 4
mov rcx, qword [0x1404f6de0]
call fcn.140162594
mov rcx, qword [rbp + 0x128]
call fcn.140161abd
mov word [rbp + 0x184], ax
xor r9d, r9d
lea r8, [rbp + 0x128]
mov edx, 5
mov rcx, qword [0x1404f6de0]
call fcn.140162594
mov rcx, qword [rbp + 0x128]
call fcn.140161abd
mov word [rbp + 0x1a4], ax
movsx eax, word [rbp + 0x1a4]
test eax, eax
je 0x1401c0437
lea rax, str.Online
mov qword [rbp + 0x368], rax
jmp 0x1401c0445
lea rax, str.Offline
mov qword [rbp + 0x368], rax
movsx eax, word [rbp + 0x184]
mov dword [rbp + 0x370], eax
movsx ecx, word [rbp + 0x164]
mov dword [rbp + 0x374], ecx
mov ecx, dword [rbp + 0x144]
call fcn.1401610db
mov qword [rbp + 0x378], rax
mov ecx, 0xd7
call fcn.1401615b8
mov rcx, qword [rbp + 0x368]
mov qword [rsp + 0x48], rcx
mov ecx, dword [rbp + 0x370]
mov dword [rsp + 0x40], ecx
mov ecx, dword [rbp + 0x374]
mov dword [rsp + 0x38], ecx
mov rcx, qword [rbp + 0x378]
mov qword [rsp + 0x30], rcx
lea rcx, [rbp + 0x1c8]
mov qword [rsp + 0x28], rcx
mov ecx, dword [rbp + 0x104]
mov dword [rsp + 0x20], ecx
mov r9, rax
mov r8d, dword [rbp + 0x24]
mov edx, dword [rbp + 4]
mov ecx, dword [rbp + 0x3b0]
call fcn.1401699f2
jmp 0x1401c02f3
mov rcx, qword [0x1404f6de0]
call fcn.140160e74
jmp 0x1401c0533
cmp dword [rbp + 0x104], 0
je 0x1401c0514
movzx eax, byte [rbp + 0x64]
mov byte [rsp + 0x20], al
mov r9d, dword [rbp + 0x104]
mov r8d, dword [rbp + 0x24]
mov edx, dword [rbp + 4]
mov ecx, dword [rbp + 0x3b0]
call fcn.140160d1b
cmp eax, 1
je 0x1401c0533
mov ecx, 0xd5
call fcn.1401615b8
mov r9, rax
mov r8d, dword [rbp + 0x24]
mov edx, dword [rbp + 4]
mov ecx, dword [rbp + 0x3b0]
call fcn.1401699f2
lea rcx, [rbp - 0x50]
lea rdx, reloc.WS2_32.dll_connect
call fcn.140168bb0
mov rcx, qword [rbp + 0x380]
xor rcx, rbp
call fcn.140165226
lea rsp, [rbp + 0x398]
pop rdi
pop rbp
ret