Function at 0x1401685c0
Capabilities:
Reference sql statements

Disassembly:
jmp 0x14018a7f0
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0x508
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0xd2
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x528]
mov rax, qword [0x1404ee780]
xor rax, rbp
mov qword [rbp + 0x4b8], rax
mov byte [rbp + 0x444], 0
mov byte [rbp + 0x3c4], 0
mov byte [rbp + 0x404], 0
lea rcx, reloc.WS2_32.dll_accept
call fcn.14016a9fb
xor eax, eax
mov word [rbp + 0x134], ax
mov r8d, 0x2148
xor edx, edx
mov rcx, qword [rbp + 0x4e8]
call fcn.140167e40
cmp dword [0x1404f4e28], 0
je 0x14018a88e
mov edx, dword [rbp + 0x4e0]
lea rcx, str.Char_load_request___d__n
call fcn.140168c9b
mov rcx, qword [0x1404f6de0]
call fcn.140162f67
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0
jne 0x14018a8c8
mov eax, dword [0x1404ed040]
add eax, 0x19
mov r8d, eax
lea rdx, str.C:GAMES_ro_offline_2022_20231219T050943Z_00201_emulator4cram_4th_jobs_srccharchar.cpp
mov rcx, qword [rbp + 0x48]
call fcn.14016608b
xor eax, eax
jmp 0x14018c90c
lea r8, [0x1404f20d4]
lea rdx, str.SELECT__char_id___account_id___char_num___name___class___base_level___job_level___base_exp___job_exp___zeny___str___agi___vit___int___dex___luk___pow___sta___wis___spl___con___crt___max_hp___hp___max_sp___sp___max_ap___ap___status_point___trait_point___skill_point___option___karma___manner___party_id___guild_id___pet_id___homun_id___elemental_id___hair___hair_color___clothes_color___body___weapon___shield___head_top___head_mid___head_bottom___last_map___last_x___last_y___save_map___save_x___save_y___partner_id___father___mother___child___fame___rename___delete_date___robe____moves___unban_time___font___uniqueitem_counter___sex___hotkey_rowshift___clan_id___title_id___show_equip___hotkey_rowshift2__FROM___s__WHERE__char_id___LIMIT_1
mov rcx, qword [rbp + 0x48]
call fcn.140163142
cmp eax, 0xffffffff
je 0x14018bcf7
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x4e0]
mov r8d, reloc.WS2_32.dll_inet_addr
xor edx, edx
mov rcx, qword [rbp + 0x48]
call fcn.14016acfd
cmp eax, 0xffffffff
je 0x14018bcf7
mov rcx, qword [rbp + 0x48]
call fcn.14016069f
cmp eax, 0xffffffff
je 0x14018bcf7
mov rax, qword [rbp + 0x4e8]
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, rax
mov r8d, reloc.WS2_32.dll_inet_addr
xor edx, edx
mov rcx, qword [rbp + 0x48]
call fcn.14016a127
cmp eax, 0xffffffff
je 0x14018bcf7
mov rax, qword [rbp + 0x4e8]
add rax, 4
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, rax
mov r8d, reloc.WS2_32.dll_inet_addr
mov edx, 1
mov rcx, qword [rbp + 0x48]
call fcn.14016a127
cmp eax, 0xffffffff
je 0x14018bcf7
mov rax, qword [rbp + 0x4e8]
add rax, 0xe0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, rax
mov r8d, reloc.WS2_32.dll_ntohl
mov edx, 2
mov rcx, qword [rbp + 0x48]
call fcn.14016a127
cmp eax, 0xffffffff
je 0x14018bcf7
mov rax, qword [rbp + 0x4e8]
add rax, 0xa8
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0x18
mov r9, rax
mov r8d, reloc.WS2_32.dll_setsockopt
mov edx, 3
mov rcx, qword [rbp + 0x48]
call fcn.14016a127
cmp eax, 0xffffffff
je 0x14018bcf7
mov rax, qword [rbp + 0x4e8]
add rax, 0x2c
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, rax
mov r8d, 0xa
mov edx, 4
mov rcx, qword [rbp + 0x48]
call fcn.14016a127
cmp eax, 0xffffffff
je 0x14018bcf7
mov rax, qword [rbp + 0x4e8]
add rax, 0xc0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, rax
mov r8d, reloc.WS2_32.dll_recv
mov edx, 5
mov rcx, qword [rbp + 0x48]
call fcn.14016a127
cmp eax, 0xffffffff
je 0x14018bcf7
mov rax, qword [rbp + 0x4e8]
add rax, 0xc4
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, rax
mov r8d, reloc.WS2_32.dll_recv
mov edx, 6
mov rcx, qword [rbp + 0x48]
call fcn.14016a127
cmp eax, 0xffffffff
je 0x14018bcf7
mov rax, qword [rbp + 0x4e8]
add rax, 0x18
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, rax
mov r8d, 8
mov edx, 7
mov rcx, qword [rbp + 0x48]
call fcn.14016a127
cmp eax, 0xffffffff
je 0x14018bcf7
mov rax, qword [rbp + 0x4e8]
add rax, 0x20
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, rax
mov r8d, 8
mov edx, 8
mov rcx, qword [rbp + 0x48]
call fcn.14016a127
cmp eax, 0xffffffff
je 0x14018bcf7
mov rax, qword [rbp + 0x4e8]
add rax, 0x28
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, rax
mov r8d, reloc.WS2_32.dll_inet_addr
mov edx, 9
mov rcx, qword [rbp + 0x48]
call fcn.14016a127
cmp eax, 0xffffffff
je 0x14018bcf7
mov rax, qword [rbp + 0x4e8]
add rax, 0xc8
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, rax
mov r8d, 0xa
mov edx, 0xa
mov rcx, qword [rbp + 0x48]
call fcn.14016a127
cmp eax, 0xffffffff
je 0x14018bcf7
mov rax, qword [rbp + 0x4e8]
add rax, 0xca
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, rax
mov r8d, 0xa
mov edx, reloc.WS2_32.dll_inet_addr
mov rcx, qword [rbp + 0x48]
call fcn.14016a127
cmp eax, 0xffffffff
je 0x14018bcf7
mov rax, qword [rbp + 0x4e8]
add rax, 0xcc
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, rax
mov r8d, 0xa
mov edx, reloc.WS2_32.dll_inet_ntoa
mov rcx, qword [rbp + 0x48]
call fcn.14016a127
cmp eax, 0xffffffff
je 0x14018bcf7
mov rax, qword [rbp + 0x4e8]
add rax, 0xce
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, rax
mov r8d, 0xa
mov edx, reloc.WS2_32.dll_listen
mov rcx, qword [rbp + 0x48]
call fcn.14016a127
cmp eax, 0xffffffff
je 0x14018bcf7
mov rax, qword [rbp + 0x4e8]
add rax, 0xd0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, rax
mov r8d, 0xa
mov edx, reloc.WS2_32.dll_ntohl
mov rcx, qword [rbp + 0x48]
call fcn.14016a127
cmp eax, 0xffffffff
je 0x14018bcf7
mov rax, qword [rbp + 0x4e8]
add rax, 0xd2
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, rax
mov r8d, 0xa
mov edx, reloc.WS2_32.dll_ntohs
mov rcx, qword [rbp + 0x48]
call fcn.14016a127
cmp eax, 0xffffffff
je 0x14018bcf7
mov rax, qword [rbp + 0x4e8]
add rax, 0xd4
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, rax
mov r8d, 0xa
mov edx, reloc.WS2_32.dll_recv
mov rcx, qword [rbp + 0x48]
call fcn.14016a127
cmp eax, 0xffffffff
je 0x14018bcf7
mov rax, qword [rbp + 0x4e8]
add rax, 0xd6
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, rax
mov r8d, 0xa
mov edx, setsockopt
mov rcx, qword [rbp + 0x48]
call fcn.14016a127
cmp eax, 0xffffffff
je 0x14018bcf7
mov rax, qword [rbp + 0x4e8]
add rax, 0xd8
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, rax
mov r8d, 0xa
mov edx, reloc.WS2_32.dll_select
mov rcx, qword [rbp + 0x48]
call fcn.14016a127
cmp eax, 0xffffffff
je 0x14018bcf7
mov rax, qword [rbp + 0x4e8]
add rax, 0xda
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, rax
mov r8d, 0xa
mov edx, reloc.WS2_32.dll_send
mov rcx, qword [rbp + 0x48]
call fcn.14016a127
cmp eax, 0xffffffff
je 0x14018bcf7
mov rax, qword [rbp + 0x4e8]
add rax, 0xdc
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, rax
mov r8d, 0xa
mov edx, setsockopt
mov rcx, qword [rbp + 0x48]
call fcn.14016a127
cmp eax, 0xffffffff
je 0x14018bcf7
mov rax, qword [rbp + 0x4e8]
add rax, 0xde
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, rax
mov r8d, 0xa
mov edx, reloc.WS2_32.dll_setsockopt
mov rcx, qword [rbp + 0x48]
call fcn.14016a127
cmp eax, 0xffffffff
je 0x14018bcf7
mov rax, qword [rbp + 0x4e8]
add rax, 0x40
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, rax
mov r8d, reloc.WS2_32.dll_recv
mov edx, reloc.WS2_32.dll_shutdown
mov rcx, qword [rbp + 0x48]
call fcn.14016a127
cmp eax, 0xffffffff
je 0x14018bcf7
mov rax, qword [rbp + 0x4e8]
add rax, 0x3c
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, rax
mov r8d, reloc.WS2_32.dll_recv
mov edx, reloc.WS2_32.dll_socket
mov rcx, qword [rbp + 0x48]
call fcn.14016a127
cmp eax, 0xffffffff
je 0x14018bcf7
mov rax, qword [rbp + 0x4e8]
add rax, 0x48
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, rax
mov r8d, reloc.WS2_32.dll_recv
mov edx, 0x18
mov rcx, qword [rbp + 0x48]
call fcn.14016a127
cmp eax, 0xffffffff
je 0x14018bcf7
mov rax, qword [rbp + 0x4e8]
add rax, 0x44
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, rax
mov r8d, reloc.WS2_32.dll_recv
mov edx, 0x19
mov rcx, qword [rbp + 0x48]
call fcn.14016a127
cmp eax, 0xffffffff
je 0x14018bcf7
mov rax, qword [rbp + 0x4e8]
add rax, 0x50
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, rax
mov r8d, reloc.WS2_32.dll_recv
mov edx, 0x1a
mov rcx, qword [rbp + 0x48]
call fcn.14016a127
cmp eax, 0xffffffff
je 0x14018bcf7
mov rax, qword [rbp + 0x4e8]
add rax, 0x4c
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, rax
mov r8d, reloc.WS2_32.dll_recv
mov edx, 0x1b
mov rcx, qword [rbp + 0x48]
call fcn.14016a127
cmp eax, 0xffffffff
je 0x14018bcf7
mov rax, qword [rbp + 0x4e8]
add rax, 0x30
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, rax
mov r8d, reloc.WS2_32.dll_recv
mov edx, 0x1c
mov rcx, qword [rbp + 0x48]
call fcn.14016a127
cmp eax, 0xffffffff
je 0x14018bcf7
mov rax, qword [rbp + 0x4e8]
add rax, 0x38
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, rax
mov r8d, reloc.WS2_32.dll_recv
mov edx, 0x1d
mov rcx, qword [rbp + 0x48]
call fcn.14016a127
cmp eax, 0xffffffff
je 0x14018bcf7
mov rax, qword [rbp + 0x4e8]
add rax, 0x34
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, rax
mov r8d, reloc.WS2_32.dll_recv
mov edx, 0x1e
mov rcx, qword [rbp + 0x48]
call fcn.14016a127
cmp eax, 0xffffffff
je 0x14018bcf7
mov rax, qword [rbp + 0x4e8]
add rax, 0x54
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, rax
mov r8d, reloc.WS2_32.dll_recv
mov edx, 0x1f
mov rcx, qword [rbp + 0x48]
call fcn.14016a127
cmp eax, 0xffffffff
je 0x14018bcf7
mov rax, qword [rbp + 0x4e8]
add rax, 0x5a
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, rax
mov r8d, reloc.WS2_32.dll_ntohl
mov edx, 0x20
mov rcx, qword [rbp + 0x48]
call fcn.14016a127
cmp eax, 0xffffffff
je 0x14018bcf7
mov rax, qword [rbp + 0x4e8]
add rax, 0x58
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, rax
mov r8d, 0xa
mov edx, 0x21
mov rcx, qword [rbp + 0x48]
call fcn.14016a127
cmp eax, 0xffffffff
je 0x14018bcf7
mov rax, qword [rbp + 0x4e8]
add rax, 0x64
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, rax
mov r8d, reloc.WS2_32.dll_inet_addr
mov edx, 0x22
mov rcx, qword [rbp + 0x48]
call fcn.14016a127
cmp eax, 0xffffffff
je 0x14018bcf7
mov rax, qword [rbp + 0x4e8]
add rax, 0x68
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, rax
mov r8d, reloc.WS2_32.dll_inet_addr
mov edx, 0x23
mov rcx, qword [rbp + 0x48]
call fcn.14016a127
cmp eax, 0xffffffff
je 0x14018bcf7
mov rax, qword [rbp + 0x4e8]
add rax, 0x6c
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, rax
mov r8d, reloc.WS2_32.dll_inet_addr
mov edx, 0x24
mov rcx, qword [rbp + 0x48]
call fcn.14016a127
cmp eax, 0xffffffff
je 0x14018bcf7
mov rax, qword [rbp + 0x4e8]
add rax, 0x70
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, rax
mov r8d, reloc.WS2_32.dll_inet_addr
mov edx, 0x25
mov rcx, qword [rbp + 0x48]
call fcn.14016a127
cmp eax, 0xffffffff
je 0x14018bcf7
mov rax, qword [rbp + 0x4e8]
add rax, 0x78
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, rax
mov r8d, reloc.WS2_32.dll_inet_addr
mov edx, 0x26
mov rcx, qword [rbp + 0x48]
call fcn.14016a127
cmp eax, 0xffffffff
je 0x14018bcf7
mov rax, qword [rbp + 0x4e8]
add rax, 0x5c
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, rax
mov r8d, 0xa
mov edx, 0x27
mov rcx, qword [rbp + 0x48]
call fcn.14016a127
cmp eax, 0xffffffff
je 0x14018bcf7
mov rax, qword [rbp + 0x4e8]
add rax, 0x5e
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, rax
mov r8d, 0xa
mov edx, 0x28
mov rcx, qword [rbp + 0x48]
call fcn.14016a127
cmp eax, 0xffffffff
je 0x14018bcf7
mov rax, qword [rbp + 0x4e8]
add rax, 0x60
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, rax
mov r8d, 0xa
mov edx, 0x29
mov rcx, qword [rbp + 0x48]
call fcn.14016a127
cmp eax, 0xffffffff
je 0x14018bcf7
mov rax, qword [rbp + 0x4e8]
add rax, 0x62
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, rax
mov r8d, 0xa
mov edx, 0x2a
mov rcx, qword [rbp + 0x48]
call fcn.14016a127
cmp eax, 0xffffffff
je 0x14018bcf7
mov rax, qword [rbp + 0x4e8]
add rax, 0x9c
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, rax
mov r8d, 0xa
mov edx, 0x2b
mov rcx, qword [rbp + 0x48]
call fcn.14016a127
cmp eax, 0xffffffff
je 0x14018bcf7
mov rax, qword [rbp + 0x4e8]
add rax, 0x9e
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, rax
mov r8d, 0xa
mov edx, 0x2c
mov rcx, qword [rbp + 0x48]
call fcn.14016a127
cmp eax, 0xffffffff
je 0x14018bcf7
mov rax, qword [rbp + 0x4e8]
add rax, 0xa0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, rax
mov r8d, 0xa
mov edx, 0x2d
mov rcx, qword [rbp + 0x48]
call fcn.14016a127
cmp eax, 0xffffffff
je 0x14018bcf7
mov rax, qword [rbp + 0x4e8]
add rax, 0xa2
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, rax
mov r8d, 0xa
mov edx, 0x2e
mov rcx, qword [rbp + 0x48]
call fcn.14016a127
cmp eax, 0xffffffff
je 0x14018bcf7
mov rax, qword [rbp + 0x4e8]
add rax, 0xa4
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, rax
mov r8d, 0xa
mov edx, 0x2f
mov rcx, qword [rbp + 0x48]
call fcn.14016a127
cmp eax, 0xffffffff
je 0x14018bcf7
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], reloc.WS2_32.dll_recv
lea r9, [rbp + 0x68]
mov r8d, reloc.WS2_32.dll_setsockopt
mov edx, gethostbyname
mov rcx, qword [rbp + 0x48]
call fcn.14016a127
cmp eax, 0xffffffff
je 0x14018bcf7
mov rax, qword [rbp + 0x4e8]
add rax, 0xec
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, rax
mov r8d, 0xa
mov edx, gethostbyname
mov rcx, qword [rbp + 0x48]
call fcn.14016a127
cmp eax, 0xffffffff
je 0x14018bcf7
mov rax, qword [rbp + 0x4e8]
add rax, 0xee
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, rax
mov r8d, 0xa
mov edx, gethostbyname
mov rcx, qword [rbp + 0x48]
call fcn.14016a127
cmp eax, 0xffffffff
je 0x14018bcf7
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], reloc.WS2_32.dll_recv
lea r9, [rbp + 0x98]
mov r8d, reloc.WS2_32.dll_setsockopt
mov edx, gethostbyname
mov rcx, qword [rbp + 0x48]
call fcn.14016a127
cmp eax, 0xffffffff
je 0x14018bcf7
mov rax, qword [rbp + 0x4e8]
add rax, 0xf2
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, rax
mov r8d, 0xa
mov edx, reloc.WS2_32.dll_gethostbyname
mov rcx, qword [rbp + 0x48]
call fcn.14016a127
cmp eax, 0xffffffff
je 0x14018bcf7
mov rax, qword [rbp + 0x4e8]
add rax, 0xf4
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, rax
mov r8d, 0xa
mov edx, gethostname
mov rcx, qword [rbp + 0x48]
call fcn.14016a127
cmp eax, 0xffffffff
je 0x14018bcf7
mov rax, qword [rbp + 0x4e8]
add rax, 8
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, rax
mov r8d, 7
mov edx, gethostname
mov rcx, qword [rbp + 0x48]
call fcn.14016a127
cmp eax, 0xffffffff
je 0x14018bcf7
mov rax, qword [rbp + 0x4e8]
add rax, 0xc
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, rax
mov r8d, 7
mov edx, gethostname
mov rcx, qword [rbp + 0x48]
call fcn.14016a127
cmp eax, 0xffffffff
je 0x14018bcf7
mov rax, qword [rbp + 0x4e8]
add rax, 0x10
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, rax
mov r8d, 7
mov edx, gethostname
mov rcx, qword [rbp + 0x48]
call fcn.14016a127
cmp eax, 0xffffffff
je 0x14018bcf7
mov rax, qword [rbp + 0x4e8]
add rax, 0x14
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, rax
mov r8d, 7
mov edx, reloc.WS2_32.dll_gethostname
mov rcx, qword [rbp + 0x48]
call fcn.14016a127
cmp eax, 0xffffffff
je 0x14018bcf7
mov rax, qword [rbp + 0x4e8]
add rax, 0x80
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, rax
mov r8d, reloc.WS2_32.dll_inet_addr
mov edx, 0x3a
mov rcx, qword [rbp + 0x48]
call fcn.14016a127
cmp eax, 0xffffffff
je 0x14018bcf7
mov rax, qword [rbp + 0x4e8]
add rax, 0x211a
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, rax
mov r8d, 0xa
mov edx, 0x3b
mov rcx, qword [rbp + 0x48]
call fcn.14016a127
cmp eax, 0xffffffff
je 0x14018bcf7
mov rax, qword [rbp + 0x4e8]
add rax, 0x2120
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, rax
mov r8d, 7
mov edx, 0x3c
mov rcx, qword [rbp + 0x48]
call fcn.14016a127
cmp eax, 0xffffffff
je 0x14018bcf7
mov rax, qword [rbp + 0x4e8]
add rax, 0xa6
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, rax
mov r8d, 0xa
mov edx, 0x3d
mov rcx, qword [rbp + 0x48]
call fcn.14016a127
cmp eax, 0xffffffff
je 0x14018bcf7
mov rax, qword [rbp + 0x4e8]
add rax, 0x2130
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, rax
mov r8d, 7
mov edx, 0x3e
mov rcx, qword [rbp + 0x48]
call fcn.14016a127
cmp eax, 0xffffffff
je 0x14018bcf7
mov rax, qword [rbp + 0x4e8]
add rax, 0x2128
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, rax
mov r8d, reloc.WS2_32.dll_inet_ntoa
mov edx, 0x3f
mov rcx, qword [rbp + 0x48]
call fcn.14016a127
cmp eax, 0xffffffff
je 0x14018bcf7
mov rax, qword [rbp + 0x4e8]
add rax, 0x2134
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, rax
mov r8d, reloc.WS2_32.dll_ntohl
mov edx, 0x40
mov rcx, qword [rbp + 0x48]
call fcn.14016a127
cmp eax, 0xffffffff
je 0x14018bcf7
mov rax, qword [rbp + 0x4e8]
add rax, 0x2138
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, rax
mov r8d, reloc.WS2_32.dll_recv
mov edx, 0x41
mov rcx, qword [rbp + 0x48]
call fcn.14016a127
cmp eax, 0xffffffff
je 0x14018bcf7
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 2
lea r9, [rbp + 0x204]
mov r8d, reloc.WS2_32.dll_shutdown
mov edx, 0x42
mov rcx, qword [rbp + 0x48]
call fcn.14016a127
cmp eax, 0xffffffff
je 0x14018bcf7
mov rax, qword [rbp + 0x4e8]
add rax, 0x213c
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, rax
mov r8d, reloc.WS2_32.dll_ntohl
mov edx, 0x43
mov rcx, qword [rbp + 0x48]
call fcn.14016a127
cmp eax, 0xffffffff
je 0x14018bcf7
mov rax, qword [rbp + 0x4e8]
add rax, 0x7c
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, rax
mov r8d, reloc.WS2_32.dll_inet_addr
mov edx, 0x44
mov rcx, qword [rbp + 0x48]
call fcn.14016a127
cmp eax, 0xffffffff
je 0x14018bcf7
mov rax, qword [rbp + 0x4e8]
add rax, 0x2140
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, rax
mov r8d, setsockopt
mov edx, 0x45
mov rcx, qword [rbp + 0x48]
call fcn.14016a127
cmp eax, 0xffffffff
je 0x14018bcf7
mov rax, qword [rbp + 0x4e8]
add rax, 0x2118
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, rax
mov r8d, 6
mov edx, 0x46
mov rcx, qword [rbp + 0x48]
call fcn.14016a127
cmp eax, 0xffffffff
je 0x14018bcf7
mov rax, qword [rbp + 0x4e8]
add rax, 0x213d
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, rax
mov r8d, reloc.WS2_32.dll_ntohl
mov edx, 0x47
mov rcx, qword [rbp + 0x48]
call fcn.14016a127
cmp eax, 0xffffffff
jne 0x14018bd23
mov eax, dword [0x1404ed040]
add eax, 0x72
mov r8d, eax
lea rdx, str.C:GAMES_ro_offline_2022_20231219T050943Z_00201_emulator4cram_4th_jobs_srccharchar.cpp
mov rcx, qword [rbp + 0x48]
call fcn.14016608b
mov rcx, qword [rbp + 0x48]
call fcn.14016ac8f
xor eax, eax
jmp 0x14018c90c
mov rcx, qword [rbp + 0x48]
call fcn.14016ac7b
cmp eax, 0xffffffff
jne 0x14018bd53
mov edx, dword [rbp + 0x4e0]
lea rcx, str.Requested_non_existant_character_id:__d__n
call fcn.140164be6
mov rcx, qword [rbp + 0x48]
call fcn.14016ac8f
xor eax, eax
jmp 0x14018c90c
mov eax, 1
imul rax, rax, 0
movzx r8d, byte [rbp + rax + 0x204]
mov rdx, qword [rbp + 0x4e8]
xor ecx, ecx
call fcn.1401622fb
mov rcx, qword [rbp + 0x4e8]
mov byte [rcx + 0xe1], al
lea rdx, str.char_mmo_char_fromsql
lea rcx, [rbp + 0x68]
call fcn.140162940
mov rcx, qword [rbp + 0x4e8]
mov word [rcx + 0xea], ax
lea rdx, str.char_mmo_char_fromsql
lea rcx, [rbp + 0x98]
call fcn.140162940
mov rcx, qword [rbp + 0x4e8]
mov word [rcx + 0xf0], ax
mov rax, qword [rbp + 0x4e8]
movzx eax, word [rax + 0xea]
test eax, eax
jne 0x14018be1c
lea rdx, str.char_mmo_char_fromsql
lea rcx, [0x1404f5194]
call fcn.140162940
mov rcx, qword [rbp + 0x4e8]
mov word [rcx + 0xea], ax
mov rax, qword [rbp + 0x4e8]
movzx ecx, word [0x1404f51a0]
mov word [rax + 0xec], cx
mov rax, qword [rbp + 0x4e8]
movzx ecx, word [0x1404f51a2]
mov word [rax + 0xee], cx
mov rax, qword [rbp + 0x4e8]
movzx eax, word [rax + 0xf0]
test eax, eax
jne 0x14018be79
lea rdx, str.char_mmo_char_fromsql
lea rcx, [0x1404f5194]
call fcn.140162940
mov rcx, qword [rbp + 0x4e8]
mov word [rcx + 0xf0], ax
mov rax, qword [rbp + 0x4e8]
movzx ecx, word [0x1404f51a0]
mov word [rax + 0xf2], cx
mov rax, qword [rbp + 0x4e8]
movzx ecx, word [0x1404f51a2]
mov word [rax + 0xf4], cx
mov eax, dword [0x1404ed040]
add eax, 0x8c
lea r9, [rbp + 0x1d8]
lea r8, str.char_mmo_char_fromsql
mov edx, eax
lea rcx, str.C:GAMES_ro_offline_2022_20231219T050943Z_00201_emulator4cram_4th_jobs_srccharchar.cpp
call fcn.14016609f
mov eax, dword [0x1404ed040]
add eax, 0x8d
lea rcx, str._status
mov qword [rsp + 0x20], rcx
lea r9, [rbp + 0x1d8]
lea r8, str.char_mmo_char_fromsql
mov edx, eax
lea rcx, str.C:GAMES_ro_offline_2022_20231219T050943Z_00201_emulator4cram_4th_jobs_srccharchar.cpp
call fcn.1401602e4
movzx eax, byte [rbp + 0x4f0]
test eax, eax
jne 0x14018befd
mov rcx, qword [rbp + 0x48]
call fcn.14016ac8f
lea rcx, [rbp + 0x1d8]
call fcn.14016170c
mov eax, 1
jmp 0x14018c90c
mov r9d, 3
lea r8, [0x1404f29d4]
lea rdx, str.SELECT__map___x___y__FROM___s__WHERE__char_id___ORDER_by__memo_id__LIMIT__d
mov rcx, qword [rbp + 0x48]
call fcn.140163142
cmp eax, 0xffffffff
je 0x14018c00d
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x4e0]
mov r8d, reloc.WS2_32.dll_inet_addr
xor edx, edx
mov rcx, qword [rbp + 0x48]
call fcn.14016acfd
cmp eax, 0xffffffff
je 0x14018c00d
mov rcx, qword [rbp + 0x48]
call fcn.14016069f
cmp eax, 0xffffffff
je 0x14018c00d
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], reloc.WS2_32.dll_recv
lea r9, [rbp + 0xc8]
mov r8d, reloc.WS2_32.dll_setsockopt
xor edx, edx
mov rcx, qword [rbp + 0x48]
call fcn.14016a127
cmp eax, 0xffffffff
je 0x14018c00d
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0xf6]
mov r8d, 0xa
mov edx, 1
mov rcx, qword [rbp + 0x48]
call fcn.14016a127
cmp eax, 0xffffffff
je 0x14018c00d
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0xf8]
mov r8d, 0xa
mov edx, 2
mov rcx, qword [rbp + 0x48]
call fcn.14016a127
cmp eax, 0xffffffff
jne 0x14018c02b
mov eax, dword [0x1404ed040]
add eax, 0x9e
mov r8d, eax
lea rdx, str.C:GAMES_ro_offline_2022_20231219T050943Z_00201_emulator4cram_4th_jobs_srccharchar.cpp
mov rcx, qword [rbp + 0x48]
call fcn.14016608b
mov dword [rbp + 4], 0
jmp 0x14018c03c
mov eax, dword [rbp + 4]
inc eax
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 3
jge 0x14018c097
mov rcx, qword [rbp + 0x48]
call fcn.14016ac7b
test eax, eax
jne 0x14018c097
lea rdx, str.char_mmo_char_fromsql
lea rcx, [rbp + 0xc8]
call fcn.140162940
mov word [rbp + 0xf4], ax
movsxd rax, dword [rbp + 4]
imul rax, rax, 6
mov rcx, qword [rbp + 0x4e8]
lea rax, [rcx + rax + 0xf6]
mov r8d, 6
lea rdx, [rbp + 0xf4]
mov rcx, rax
call fcn.14016526c
jmp 0x14018c034
mov eax, dword [0x1404ed040]
add eax, 0xa5
lea rcx, str._memo
mov qword [rsp + 0x20], rcx
lea r9, [rbp + 0x1d8]
lea r8, str.char_mmo_char_fromsql
mov edx, eax
lea rcx, str.C:GAMES_ro_offline_2022_20231219T050943Z_00201_emulator4cram_4th_jobs_srccharchar.cpp
call fcn.1401602e4
mov r9d, 0x62c
lea r8, [0x1404f28d4]
lea rdx, str.SELECT__id____lv___flag__FROM___s__WHERE__char_id___LIMIT__d
mov rcx, qword [rbp + 0x48]
call fcn.140163142
cmp eax, 0xffffffff
je 0x14018c1f3
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x4e0]
mov r8d, reloc.WS2_32.dll_inet_addr
xor edx, edx
mov rcx, qword [rbp + 0x48]
call fcn.14016acfd
cmp eax, 0xffffffff
je 0x14018c1f3
mov rcx, qword [rbp + 0x48]
call fcn.14016069f
cmp eax, 0xffffffff
je 0x14018c1f3
mov byte [rbp + 0x3c4], 1
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x114]
mov r8d, 6
xor edx, edx
mov rcx, qword [rbp + 0x48]
call fcn.14016a127
cmp eax, 0xffffffff
je 0x14018c1f3
mov byte [rbp + 0x3c4], 1
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x116]
mov r8d, 5
mov edx, 1
mov rcx, qword [rbp + 0x48]
call fcn.14016a127
cmp eax, 0xffffffff
je 0x14018c1f3
mov byte [rbp + 0x3c4], 1
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x117]
mov r8d, 5
mov edx, 2
mov rcx, qword [rbp + 0x48]
call fcn.14016a127
cmp eax, 0xffffffff
jne 0x14018c211
mov eax, dword [0x1404ed040]
add eax, 0xaf
mov r8d, eax
lea rdx, str.C:GAMES_ro_offline_2022_20231219T050943Z_00201_emulator4cram_4th_jobs_srccharchar.cpp
mov rcx, qword [rbp + 0x48]
call fcn.14016608b
movzx eax, byte [rbp + 0x117]
cmp eax, 3
je 0x14018c224
mov byte [rbp + 0x117], 0
mov dword [rbp + 4], 0
jmp 0x14018c235
mov eax, dword [rbp + 4]
inc eax
mov dword [rbp + 4], eax
movzx eax, word [rbp + 0x134]
cmp eax, 0x62c
jge 0x14018c343
mov rcx, qword [rbp + 0x48]
call fcn.14016ac7b
test eax, eax
jne 0x14018c343
cmp byte [rbp + 0x3c4], 0
jne 0x14018c26d
lea rcx, str.tmp_skill
call fcn.140161b2b
movzx eax, word [rbp + 0x114]
test eax, eax
jle 0x14018c2dd
cmp byte [rbp + 0x3c4], 0
jne 0x14018c28d
lea rcx, str.tmp_skill
call fcn.140161b2b
movzx eax, word [rbp + 0x114]
cmp eax, 0x2724
jge 0x14018c2dd
mov byte [rbp + 0x3c4], 1
movsxd rax, dword [rbp + 4]
mov rcx, qword [rbp + 0x4e8]
lea rax, [rcx + rax*4 + 0x108]
mov r8d, 4
lea rdx, [rbp + 0x114]
mov rcx, rax
call fcn.14016526c
movzx eax, word [rbp + 0x134]
inc ax
mov word [rbp + 0x134], ax
jmp 0x14018c33e
cmp byte [rbp + 0x3c4], 0
jne 0x14018c2f2
lea rcx, str.tmp_skill
call fcn.140161b2b
mov rax, qword [rbp + 0x4e8]
add rax, 0xa8
movzx ecx, byte [rbp + 0x116]
movzx edx, word [rbp + 0x114]
mov r8, qword [rbp + 0x4e8]
mov r8d, dword [r8]
mov dword [rsp + 0x28], r8d
mov r8, qword [rbp + 0x4e8]
mov r8d, dword [r8 + 4]
mov dword [rsp + 0x20], r8d
mov r9, rax
mov r8d, ecx
lea rcx, str.mmo_char_fromsql:_ignoring_invalid_skill__id_u_lv_u__of_character__s__AID_d_CID_d__n
call fcn.140160af5
jmp 0x14018c22d
movzx eax, word [rbp + 0x134]
mov ecx, dword [0x1404ed040]
add ecx, 0xbc
mov dword [rsp + 0x28], eax
lea rax, str.__d_skills
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x1d8]
lea r8, str.char_mmo_char_fromsql
mov edx, ecx
lea rcx, str.C:GAMES_ro_offline_2022_20231219T050943Z_00201_emulator4cram_4th_jobs_srccharchar.cpp
call fcn.140167fe9
mov dword [rsp + 0x20], 0x28
lea r9, [0x1404f37d4]
lea r8, [0x1404f20d4]
lea rdx, str.SELECT_c._account_id___c._char_id___c._name__FROM___s__c_LEFT_JOIN___s__f_ON_f._friend_id___c._char_id__WHERE_f._char_id___LIMIT__d
mov rcx, qword [rbp + 0x48]
call fcn.140163142
cmp eax, 0xffffffff
je 0x14018c49b
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x4e0]
mov r8d, reloc.WS2_32.dll_inet_addr
xor edx, edx
mov rcx, qword [rbp + 0x48]
call fcn.14016acfd
cmp eax, 0xffffffff
je 0x14018c49b
mov rcx, qword [rbp + 0x48]
call fcn.14016069f
cmp eax, 0xffffffff
je 0x14018c49b
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x158]
mov r8d, reloc.WS2_32.dll_inet_addr
xor edx, edx
mov rcx, qword [rbp + 0x48]
call fcn.14016a127
cmp eax, 0xffffffff
je 0x14018c49b
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x15c]
mov r8d, reloc.WS2_32.dll_inet_addr
mov edx, 1
mov rcx, qword [rbp + 0x48]
call fcn.14016a127
cmp eax, 0xffffffff
je 0x14018c49b
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0x18
lea r9, [rbp + 0x160]
mov r8d, reloc.WS2_32.dll_setsockopt
mov edx, 2
mov rcx, qword [rbp + 0x48]
call fcn.14016a127
cmp eax, 0xffffffff
jne 0x14018c4b9
mov eax, dword [0x1404ed040]
add eax, 0xc6
mov r8d, eax
lea rdx, str.C:GAMES_ro_offline_2022_20231219T050943Z_00201_emulator4cram_4th_jobs_srccharchar.cpp
mov rcx, qword [rbp + 0x48]
call fcn.14016608b
mov dword [rbp + 4], 0
jmp 0x14018c4ca
mov eax, dword [rbp + 4]
inc eax
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0x28
jge 0x14018c50b
mov rcx, qword [rbp + 0x48]
call fcn.14016ac7b
test eax, eax
jne 0x14018c50b
movsxd rax, dword [rbp + 4]
imul rax, rax, 0x20
mov rcx, qword [rbp + 0x4e8]
lea rax, [rcx + rax + 0x19b8]
mov r8d, 0x20
lea rdx, [rbp + 0x158]
mov rcx, rax
call fcn.14016526c
jmp 0x14018c4c2
mov eax, dword [0x1404ed040]
add eax, 0xca
lea rcx, str._friends
mov qword [rsp + 0x20], rcx
lea r9, [rbp + 0x1d8]
lea r8, str.char_mmo_char_fromsql
mov edx, eax
lea rcx, str.C:GAMES_ro_offline_2022_20231219T050943Z_00201_emulator4cram_4th_jobs_srccharchar.cpp
call fcn.1401602e4
lea r8, [0x1404f38d4]
lea rdx, str.SELECT__hotkey____type____itemskill_id____skill_lvl__FROM___s__WHERE__char_id__
mov rcx, qword [rbp + 0x48]
call fcn.140163142
cmp eax, 0xffffffff
je 0x14018c6a7
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x4e0]
mov r8d, reloc.WS2_32.dll_inet_addr
xor edx, edx
mov rcx, qword [rbp + 0x48]
call fcn.14016acfd
cmp eax, 0xffffffff
je 0x14018c6a7
mov rcx, qword [rbp + 0x48]
call fcn.14016069f
cmp eax, 0xffffffff
je 0x14018c6a7
mov byte [rbp + 0x404], 1
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x1b4]
mov r8d, reloc.WS2_32.dll_inet_addr
xor edx, edx
mov rcx, qword [rbp + 0x48]
call fcn.14016a127
cmp eax, 0xffffffff
je 0x14018c6a7
mov byte [rbp + 0x444], 1
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x19e]
mov r8d, reloc.WS2_32.dll_ntohl
mov edx, 1
mov rcx, qword [rbp + 0x48]
call fcn.14016a127
cmp eax, 0xffffffff
je 0x14018c6a7
mov byte [rbp + 0x444], 1
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x198]
mov r8d, reloc.WS2_32.dll_recv
mov edx, 2
mov rcx, qword [rbp + 0x48]
call fcn.14016a127
cmp eax, 0xffffffff
je 0x14018c6a7
mov byte [rbp + 0x444], 1
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x19c]
mov r8d, reloc.WS2_32.dll_ntohs
mov edx, 3
mov rcx, qword [rbp + 0x48]
call fcn.14016a127
cmp eax, 0xffffffff
jne 0x14018c6c5
mov eax, dword [0x1404ed040]
add eax, 0xd6
mov r8d, eax
lea rdx, str.C:GAMES_ro_offline_2022_20231219T050943Z_00201_emulator4cram_4th_jobs_srccharchar.cpp
mov rcx, qword [rbp + 0x48]
call fcn.14016608b
mov rcx, qword [rbp + 0x48]
call fcn.14016ac7b
test eax, eax
jne 0x14018c7ec
cmp byte [rbp + 0x404], 0
jne 0x14018c6eb
lea rcx, str.hotkey_num
call fcn.140161b2b
cmp dword [rbp + 0x1b4], 0
jl 0x14018c75e
cmp byte [rbp + 0x404], 0
jne 0x14018c709
lea rcx, str.hotkey_num
call fcn.140161b2b
cmp dword [rbp + 0x1b4], 0x4c
jge 0x14018c75e
cmp byte [rbp + 0x404], 0
jne 0x14018c727
lea rcx, str.hotkey_num
call fcn.140161b2b
mov byte [rbp + 0x444], 1
movsxd rax, dword [rbp + 0x1b4]
mov rcx, qword [rbp + 0x4e8]
lea rax, [rcx + rax*8 + 0x1eb8]
mov r8d, 8
lea rdx, [rbp + 0x198]
mov rcx, rax
call fcn.14016526c
jmp 0x14018c7e7
cmp byte [rbp + 0x444], 0
jne 0x14018c773
lea rcx, str.tmp_hotkey
call fcn.140161b2b
cmp byte [rbp + 0x404], 0
jne 0x14018c788
lea rcx, str.hotkey_num
call fcn.140161b2b
mov rax, qword [rbp + 0x4e8]
add rax, 0xa8
movzx ecx, word [rbp + 0x19c]
movzx edx, byte [rbp + 0x19e]
mov r8, qword [rbp + 0x4e8]
mov r8d, dword [r8]
mov dword [rsp + 0x38], r8d
mov r8, qword [rbp + 0x4e8]
mov r8d, dword [r8 + 4]
mov dword [rsp + 0x30], r8d
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ecx
mov r9d, dword [rbp + 0x198]
mov r8d, edx
mov edx, dword [rbp + 0x1b4]
lea rcx, str.mmo_char_fromsql:_ignoring_invalid_hotkey__hotkey_d_type_u_id_u_lv_u__of_character__s__AID_d_CID_d__n
call fcn.140160af5
jmp 0x14018c6c5
mov eax, dword [0x1404ed040]
add eax, 0xdf
lea rcx, str._hotkeys
mov qword [rsp + 0x20], rcx
lea r9, [rbp + 0x1d8]
lea r8, str.char_mmo_char_fromsql
mov edx, eax
lea rcx, str.C:GAMES_ro_offline_2022_20231219T050943Z_00201_emulator4cram_4th_jobs_srccharchar.cpp
call fcn.1401602e4
mov rdx, qword [rbp + 0x4e8]
mov ecx, dword [rbp + 0x4e0]
call fcn.1401602df
mov eax, dword [0x1404ed040]
add eax, 0xe4
lea rcx, str._mercenary
mov qword [rsp + 0x20], rcx
lea r9, [rbp + 0x1d8]
lea r8, str.char_mmo_char_fromsql
mov edx, eax
lea rcx, str.C:GAMES_ro_offline_2022_20231219T050943Z_00201_emulator4cram_4th_jobs_srccharchar.cpp
call fcn.1401602e4
cmp dword [0x1404f4e28], 0
je 0x14018c89f
lea rcx, [rbp + 0x1d8]
call fcn.140161c0c
mov rcx, qword [rbp + 0x4e8]
add rcx, 0xa8
mov r9, rax
mov r8, rcx
mov edx, dword [rbp + 0x4e0]
lea rcx, str.Loaded_char___d____s_:__s_n
call fcn.140168c9b
mov rcx, qword [rbp + 0x48]
call fcn.14016ac8f
mov ecx, dword [rbp + 0x4e0]
call fcn.14016ab81
mov qword [rbp + 0x3a8], rax
lea r8, [0x140169dd5]
mov rdx, qword [rbp + 0x3a8]
mov rcx, qword [0x1404f5650]
mov rax, qword [0x1404f5650]
call qword [rax + 0x28]
mov rcx, rax
call fcn.140163331
mov qword [rbp + 0x28], rax
mov r8d, 0x2148
mov rdx, qword [rbp + 0x4e8]
mov rcx, qword [rbp + 0x28]
call fcn.14016526c
lea rcx, [rbp + 0x1d8]
call fcn.14016170c
mov eax, 1
mov rdi, rax
lea rcx, [rbp - 0x40]
lea rdx, reloc.WS2_32.dll_ioctlsocket
call fcn.140168bb0
mov rax, rdi
mov rcx, qword [rbp + 0x4b8]
xor rcx, rbp
call fcn.140165226
lea rsp, [rbp + 0x4c8]
pop rdi
pop rbp
ret