Function at 0x140160a2d
Capabilities:
Reference sql statements

Disassembly:
jmp 0x1401bdca0
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov byte [rsp + 8], cl
push rbp
push rdi
sub rsp, 0x258
lea rbp, [rsp + 0x60]
lea rdi, [rsp + 0x60]
mov ecx, 0x4e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
movzx ecx, byte [rsp + 0x278]
mov rax, qword [0x1404ee780]
xor rax, rbp
mov qword [rbp + 0x1e8], rax
lea rcx, reloc.WS2_32.dll_accept
call fcn.14016a9fb
cmp dword [rbp + 0x218], 0
jle 0x1401bdd11
mov ecx, dword [rbp + 0x218]
call fcn.14016234b
movzx eax, al
test eax, eax
jne 0x1401bdd16
jmp 0x1401be1d4
movzx eax, byte [rbp + 0x210]
test eax, eax
jne 0x1401bdd55
mov ecx, 0xd8
call fcn.1401615b8
mov ecx, dword [rbp + 0x230]
mov dword [rsp + 0x20], ecx
mov r9, rax
mov r8d, dword [rbp + 0x228]
mov edx, dword [rbp + 0x220]
mov ecx, dword [rbp + 0x218]
call fcn.1401699f2
jmp 0x1401be1d4
movsx eax, byte [rbp + 0x238]
cmp eax, 1
jne 0x1401bdd85
mov r9, qword [rbp + 0x278]
mov r8d, dword [rbp + 0x230]
mov edx, dword [rbp + 0x220]
mov ecx, dword [rbp + 0x218]
call fcn.140160500
jmp 0x1401be1d4
mov ecx, 0xd9
call fcn.1401615b8
mov ecx, dword [rbp + 0x230]
mov dword [rsp + 0x20], ecx
mov r9, rax
mov r8d, dword [rbp + 0x228]
mov edx, dword [rbp + 0x220]
mov ecx, dword [rbp + 0x218]
call fcn.1401699f2
mov ecx, 0xda
call fcn.1401615b8
mov ecx, dword [rbp + 0x250]
mov dword [rsp + 0x30], ecx
mov ecx, dword [rbp + 0x240]
mov dword [rsp + 0x28], ecx
mov rcx, qword [rbp + 0x278]
mov qword [rsp + 0x20], rcx
mov r9, rax
mov r8d, dword [rbp + 0x228]
mov edx, dword [rbp + 0x220]
mov ecx, dword [rbp + 0x218]
call fcn.1401699f2
mov ecx, 0xdd
call fcn.1401615b8
mov rcx, qword [rbp + 0x270]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rbp + 0x258]
mov qword [rsp + 0x20], rcx
mov r9, rax
mov r8d, dword [rbp + 0x228]
mov edx, dword [rbp + 0x220]
mov ecx, dword [rbp + 0x218]
call fcn.1401699f2
mov rcx, qword [rbp + 0x260]
call fcn.140166aef
mov ecx, eax
call fcn.140168e80
mov qword [rbp + 0x1c8], rax
mov ecx, 0xde
call fcn.1401615b8
mov rcx, qword [rbp + 0x1c8]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rbp + 0x260]
mov qword [rsp + 0x20], rcx
mov r9, rax
mov r8d, dword [rbp + 0x228]
mov edx, dword [rbp + 0x220]
mov ecx, dword [rbp + 0x218]
call fcn.1401699f2
mov ecx, 0xdf
call fcn.1401615b8
mov rcx, qword [rbp + 0x268]
mov qword [rsp + 0x28], rcx
mov ecx, dword [rbp + 0x248]
mov dword [rsp + 0x20], ecx
mov r9, rax
mov r8d, dword [rbp + 0x228]
mov edx, dword [rbp + 0x220]
mov ecx, dword [rbp + 0x218]
call fcn.1401699f2
mov ecx, 0xe0
call fcn.1401615b8
mov r9, rax
mov r8d, dword [rbp + 0x228]
mov edx, dword [rbp + 0x220]
mov ecx, dword [rbp + 0x218]
call fcn.1401699f2
mov dword [rsp + 0x20], reloc.WS2_32.dll_ntohs
mov r9d, dword [rbp + 0x230]
lea r8, [0x1404f20d4]
lea rdx, str.SELECT__char_id____name____char_num____class____base_level____job_level____online__FROM___s__WHERE__account_id____d_ORDER_BY__char_num__LIMIT__d
mov rcx, qword [0x1404f6de0]
call fcn.140164cae
cmp eax, 0xffffffff
je 0x1401bdf30
mov rcx, qword [0x1404f6de0]
call fcn.1401655e1
test rax, rax
jne 0x1401bdfb1
mov rcx, qword [0x1404f6de0]
call fcn.1401655e1
test rax, rax
jne 0x1401bdf68
mov ecx, 0xe2
call fcn.1401615b8
mov r9, rax
mov r8d, dword [rbp + 0x228]
mov edx, dword [rbp + 0x220]
mov ecx, dword [rbp + 0x218]
call fcn.1401699f2
jmp 0x1401bdfac
mov ecx, 0xd5
call fcn.1401615b8
mov r9, rax
mov r8d, dword [rbp + 0x228]
mov edx, dword [rbp + 0x220]
mov ecx, dword [rbp + 0x218]
call fcn.1401699f2
mov eax, dword [0x1404ede60]
add eax, 0x1d
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
jmp 0x1401be1c8
mov rcx, qword [0x1404f6de0]
call fcn.140161626
test eax, eax
jne 0x1401be1c8
xor r9d, r9d
lea r8, [rbp + 0xf8]
xor edx, edx
mov rcx, qword [0x1404f6de0]
call fcn.140162594
mov rcx, qword [rbp + 0xf8]
call fcn.140161abd
mov dword [rbp + 4], eax
xor r9d, r9d
lea r8, [rbp + 0xf8]
mov edx, 1
mov rcx, qword [0x1404f6de0]
call fcn.140162594
mov r8d, 0x18
mov rdx, qword [rbp + 0xf8]
lea rcx, [rbp + 0xc8]
call fcn.14016b4b9
xor r9d, r9d
lea r8, [rbp + 0xf8]
mov edx, 2
mov rcx, qword [0x1404f6de0]
call fcn.140162594
mov rcx, qword [rbp + 0xf8]
call fcn.140161abd
mov word [rbp + 0x44], ax
xor r9d, r9d
lea r8, [rbp + 0xf8]
mov edx, 3
mov rcx, qword [0x1404f6de0]
call fcn.140162594
mov rcx, qword [rbp + 0xf8]
call fcn.140161abd
mov dword [rbp + 0x24], eax
xor r9d, r9d
lea r8, [rbp + 0xf8]
mov edx, 4
mov rcx, qword [0x1404f6de0]
call fcn.140162594
mov rcx, qword [rbp + 0xf8]
call fcn.140161abd
mov word [rbp + 0x64], ax
xor r9d, r9d
lea r8, [rbp + 0xf8]
mov edx, 5
mov rcx, qword [0x1404f6de0]
call fcn.140162594
mov rcx, qword [rbp + 0xf8]
call fcn.140161abd
mov word [rbp + 0x84], ax
xor r9d, r9d
lea r8, [rbp + 0xf8]
mov edx, 6
mov rcx, qword [0x1404f6de0]
call fcn.140162594
mov rcx, qword [rbp + 0xf8]
call fcn.140161abd
mov word [rbp + 0xa4], ax
movsx eax, word [rbp + 0xa4]
test eax, eax
je 0x1401be117
lea rax, str.Online
mov qword [rbp + 0x1c8], rax
jmp 0x1401be125
lea rax, str.Offline
mov qword [rbp + 0x1c8], rax
movsx eax, word [rbp + 0x84]
mov dword [rbp + 0x1d0], eax
movsx ecx, word [rbp + 0x64]
mov dword [rbp + 0x1d4], ecx
mov ecx, dword [rbp + 0x24]
call fcn.1401610db
mov qword [rbp + 0x1d8], rax
movsx ecx, word [rbp + 0x44]
mov dword [rbp + 0x1e0], ecx
mov ecx, 0xe1
call fcn.1401615b8
mov rcx, qword [rbp + 0x1c8]
mov qword [rsp + 0x50], rcx
mov ecx, dword [rbp + 0x1d0]
mov dword [rsp + 0x48], ecx
mov ecx, dword [rbp + 0x1d4]
mov dword [rsp + 0x40], ecx
mov rcx, qword [rbp + 0x1d8]
mov qword [rsp + 0x38], rcx
lea rcx, [rbp + 0xc8]
mov qword [rsp + 0x30], rcx
mov ecx, dword [rbp + 4]
mov dword [rsp + 0x28], ecx
mov ecx, dword [rbp + 0x1e0]
mov dword [rsp + 0x20], ecx
mov r9, rax
mov r8d, dword [rbp + 0x228]
mov edx, dword [rbp + 0x220]
mov ecx, dword [rbp + 0x218]
call fcn.1401699f2
jmp 0x1401bdfb1
mov rcx, qword [0x1404f6de0]
call fcn.140160e74
lea rcx, [rbp - 0x60]
lea rdx, reloc.WS2_32.dll_bind
call fcn.140168bb0
mov rcx, qword [rbp + 0x1e8]
xor rcx, rbp
call fcn.140165226
lea rsp, [rbp + 0x1f8]
pop rdi
pop rbp
ret