Function at 0x1401cba52
Capabilities:
Reference sql statements

Disassembly:
jmp 0x1401e5580
mov byte [rsp + 0x10], dl
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x868
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x17e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x888]
mov rax, qword [0x140646600]
xor rax, rbp
mov qword [rbp + 0x828], rax
mov dword [rbp + 0x804], 0
lea rcx, reloc.WS2_32.dll_accept
call fcn.1401ca792
lea rdx, str.AuthToken
lea rcx, [rbp + 0x3c8]
call fcn.1401c3b45
nop
mov eax, dword [rbp + 0x804]
or eax, 1
mov dword [rbp + 0x804], eax
lea rdx, [rbp + 0x3c8]
mov rcx, qword [rbp + 0x850]
call fcn.1401c4d9c
movzx eax, al
test eax, eax
je 0x1401e565d
lea rdx, [0x140569df4]
lea rcx, [rbp + 0x408]
call fcn.1401c3b45
nop
mov eax, dword [rbp + 0x804]
or eax, 2
mov dword [rbp + 0x804], eax
lea rdx, [rbp + 0x408]
mov rcx, qword [rbp + 0x850]
call fcn.1401c4d9c
movzx eax, al
test eax, eax
je 0x1401e565d
mov dword [rbp + 0x814], 0
jmp 0x1401e5667
mov dword [rbp + 0x814], 1
movzx eax, byte [rbp + 0x814]
mov byte [rbp + 0x3a4], al
mov eax, dword [rbp + 0x804]
and eax, 2
test eax, eax
je 0x1401e5695
and dword [rbp + 0x804], 0xfffffffd
lea rcx, [rbp + 0x408]
call fcn.1401c0431
nop
mov eax, dword [rbp + 0x804]
and eax, 1
test eax, eax
je 0x1401e56b5
and dword [rbp + 0x804], 0xfffffffe
lea rcx, [rbp + 0x3c8]
call fcn.1401c0431
movzx eax, byte [rbp + 0x3a4]
test eax, eax
je 0x1401e56c7
xor al, al
jmp 0x1401e5cad
movzx eax, byte [rbp + 0x858]
test eax, eax
je 0x1401e571b
lea rdx, str.GDID
lea rcx, [rbp + 0x468]
call fcn.1401c3b45
nop
mov eax, dword [rbp + 0x804]
or eax, 4
mov dword [rbp + 0x804], eax
lea rdx, [rbp + 0x468]
mov rcx, qword [rbp + 0x850]
call fcn.1401c4d9c
movzx eax, al
test eax, eax
jne 0x1401e571b
mov dword [rbp + 0x814], 1
jmp 0x1401e5725
mov dword [rbp + 0x814], 0
movzx eax, byte [rbp + 0x814]
mov byte [rbp + 0x444], al
mov eax, dword [rbp + 0x804]
and eax, 4
test eax, eax
je 0x1401e5752
and dword [rbp + 0x804], 0xfffffffb
lea rcx, [rbp + 0x468]
call fcn.1401c0431
movzx eax, byte [rbp + 0x444]
test eax, eax
je 0x1401e5764
xor al, al
jmp 0x1401e5cad
lea rdx, str.AuthToken
lea rcx, [rbp + 0x4a8]
call fcn.1401c3b45
nop
lea r8, [rbp + 0x4a8]
lea rdx, [rbp + 0x4f0]
mov rcx, qword [rbp + 0x850]
call fcn.1401c4cde
mov qword [rbp + 0x818], rax
mov rax, qword [rbp + 0x818]
add rax, 0x20
mov rdx, rax
lea rcx, [rbp + 8]
call fcn.1401c9aa4
nop
lea rcx, [rbp + 0x4f0]
call fcn.1401c3a41
nop
lea rcx, [rbp + 0x4a8]
call fcn.1401c0431
lea rcx, [rbp + 8]
call fcn.1401bf13f
mov qword [rbp + 0x48], rax
lea rdx, [0x140569df4]
lea rcx, [rbp + 0x588]
call fcn.1401c3b45
nop
lea r8, [rbp + 0x588]
lea rdx, [rbp + 0x5d0]
mov rcx, qword [rbp + 0x850]
call fcn.1401c4cde
mov qword [rbp + 0x818], rax
mov rax, qword [rbp + 0x818]
mov qword [rbp + 0x820], rax
mov rax, qword [rbp + 0x820]
add rax, 0x20
mov r8d, 0xa
xor edx, edx
mov rcx, rax
call fcn.1401c20b0
mov dword [rbp + 0x64], eax
lea rcx, [rbp + 0x5d0]
call fcn.1401c3a41
nop
lea rcx, [rbp + 0x588]
call fcn.1401c0431
xor edx, edx
lea rcx, [rbp + 0x88]
call fcn.1401befd2
nop
lea rcx, [rbp + 0x88]
call fcn.1401caeb8
lea rcx, [rbp + 0x88]
call fcn.1401c3eb0
mov qword [rbp + 0xc8], rax
mov rcx, qword [rbp + 0xc8]
call fcn.1401c1791
mov qword [rbp + 0xe8], rax
lea r8, str.login
lea rdx, str.SELECT__account_id__FROM___s__WHERE___account_id_____AND__web_auth_token_____AND__web_auth_token_enabled___1_
mov rcx, qword [rbp + 0xe8]
call fcn.1401c19a3
test eax, eax
jne 0x1401e5912
mov qword [rsp + 0x20], 4
lea r9, [rbp + 0x64]
mov r8d, reloc.WS2_32.dll_inet_addr
xor edx, edx
mov rcx, qword [rbp + 0xe8]
call fcn.1401cab7a
test eax, eax
jne 0x1401e5912
mov rcx, qword [rbp + 0x48]
call fcn.1401c39ec
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x48]
mov r8d, reloc.WS2_32.dll_setsockopt
mov edx, 1
mov rcx, qword [rbp + 0xe8]
call fcn.1401cab7a
test eax, eax
jne 0x1401e5912
mov rcx, qword [rbp + 0xe8]
call fcn.1401be816
test eax, eax
je 0x1401e5972
mov eax, dword [reloc.WS2_32.dll_recv]
add eax, 0x1a
mov r8d, eax
lea rdx, str.C:Users_rolanOneDriveDesktopRagnarok_OnlineRO_FILES_rathena_srcweb_auth.cpp
mov rcx, qword [rbp + 0xe8]
call fcn.1401c522e
mov rcx, qword [rbp + 0xe8]
call fcn.1401caac6
lea rcx, [rbp + 0x88]
call fcn.1401c7a92
mov byte [rbp + 0x664], 0
lea rcx, [rbp + 0x88]
call fcn.1401c9031
nop
lea rcx, [rbp + 8]
call fcn.1401c0431
movzx eax, byte [rbp + 0x664]
jmp 0x1401e5cad
mov rcx, qword [rbp + 0xe8]
call fcn.1401c2150
test rax, rax
ja 0x1401e59d7
mov r8, qword [rbp + 0x48]
mov edx, dword [rbp + 0x64]
lea rcx, str.Request_with_AID__d_and_token__s_unverified_n
call fcn.1401becb7
mov rcx, qword [rbp + 0xe8]
call fcn.1401caac6
lea rcx, [rbp + 0x88]
call fcn.1401c7a92
mov byte [rbp + 0x684], 0
lea rcx, [rbp + 0x88]
call fcn.1401c9031
nop
lea rcx, [rbp + 8]
call fcn.1401c0431
movzx eax, byte [rbp + 0x684]
jmp 0x1401e5cad
mov rcx, qword [rbp + 0xe8]
call fcn.1401caac6
lea rcx, [rbp + 0x88]
call fcn.1401c7a92
movzx eax, byte [rbp + 0x858]
test eax, eax
jne 0x1401e5a23
mov byte [rbp + 0x6a4], 1
lea rcx, [rbp + 0x88]
call fcn.1401c9031
nop
lea rcx, [rbp + 8]
call fcn.1401c0431
movzx eax, byte [rbp + 0x6a4]
jmp 0x1401e5cad
lea rdx, str.GDID
lea rcx, [rbp + 0x6c8]
call fcn.1401c3b45
nop
lea r8, [rbp + 0x6c8]
lea rdx, [rbp + 0x710]
mov rcx, qword [rbp + 0x850]
call fcn.1401c4cde
mov qword [rbp + 0x818], rax
mov rax, qword [rbp + 0x818]
mov qword [rbp + 0x820], rax
mov rax, qword [rbp + 0x820]
add rax, 0x20
mov r8d, 0xa
xor edx, edx
mov rcx, rax
call fcn.1401c20b0
mov dword [rbp + 0x104], eax
lea rcx, [rbp + 0x710]
call fcn.1401c3a41
nop
lea rcx, [rbp + 0x6c8]
call fcn.1401c0431
mov edx, 1
lea rcx, [rbp + 0x128]
call fcn.1401befd2
nop
lea rcx, [rbp + 0x128]
call fcn.1401caeb8
lea rcx, [rbp + 0x128]
call fcn.1401c3eb0
mov qword [rbp + 0xc8], rax
mov rcx, qword [rbp + 0xc8]
call fcn.1401c1791
mov qword [rbp + 0xe8], rax
lea rax, str.guild
mov qword [rsp + 0x28], rax
lea rax, str.char
mov qword [rsp + 0x20], rax
lea r9, str.char
lea r8, str.guild
lea rdx, str.SELECT__account_id__FROM___s__LEFT_JOIN___s__using___char_id___WHERE____s_._account_id_____AND___s_._guild_id______LIMIT_1
mov rcx, qword [rbp + 0xe8]
call fcn.1401c19a3
test eax, eax
jne 0x1401e5b81
mov qword [rsp + 0x20], 4
lea r9, [rbp + 0x64]
mov r8d, reloc.WS2_32.dll_inet_addr
xor edx, edx
mov rcx, qword [rbp + 0xe8]
call fcn.1401cab7a
test eax, eax
jne 0x1401e5b81
mov qword [rsp + 0x20], 4
lea r9, [rbp + 0x104]
mov r8d, reloc.WS2_32.dll_inet_addr
mov edx, 1
mov rcx, qword [rbp + 0xe8]
call fcn.1401cab7a
test eax, eax
jne 0x1401e5b81
mov rcx, qword [rbp + 0xe8]
call fcn.1401be816
test eax, eax
je 0x1401e5bee
mov eax, dword [reloc.WS2_32.dll_recv]
add eax, 0x3c
mov r8d, eax
lea rdx, str.C:Users_rolanOneDriveDesktopRagnarok_OnlineRO_FILES_rathena_srcweb_auth.cpp
mov rcx, qword [rbp + 0xe8]
call fcn.1401c522e
mov rcx, qword [rbp + 0xe8]
call fcn.1401caac6
lea rcx, [rbp + 0x128]
call fcn.1401c7a92
mov byte [rbp + 0x7a4], 0
lea rcx, [rbp + 0x128]
call fcn.1401c9031
nop
lea rcx, [rbp + 0x88]
call fcn.1401c9031
nop
lea rcx, [rbp + 8]
call fcn.1401c0431
movzx eax, byte [rbp + 0x7a4]
jmp 0x1401e5cad
mov rcx, qword [rbp + 0xe8]
call fcn.1401c2150
test rax, rax
ja 0x1401e5c64
mov r9, qword [rbp + 0x48]
mov r8d, dword [rbp + 0x104]
mov edx, dword [rbp + 0x64]
lea rcx, str.Request_with_AID__d_GDID__d_and_token__s_unverified_n
call fcn.1401c1be2
mov rcx, qword [rbp + 0xe8]
call fcn.1401caac6
lea rcx, [rbp + 0x128]
call fcn.1401c7a92
mov byte [rbp + 0x7c4], 0
lea rcx, [rbp + 0x128]
call fcn.1401c9031
nop
lea rcx, [rbp + 0x88]
call fcn.1401c9031
nop
lea rcx, [rbp + 8]
call fcn.1401c0431
movzx eax, byte [rbp + 0x7c4]
jmp 0x1401e5cad
mov rcx, qword [rbp + 0xe8]
call fcn.1401caac6
lea rcx, [rbp + 0x128]
call fcn.1401c7a92
mov byte [rbp + 0x7e4], 1
lea rcx, [rbp + 0x128]
call fcn.1401c9031
nop
lea rcx, [rbp + 0x88]
call fcn.1401c9031
nop
lea rcx, [rbp + 8]
call fcn.1401c0431
movzx eax, byte [rbp + 0x7e4]
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, reloc.WS2_32.dll_getpeername
call fcn.1401c8505
mov rax, rdi
mov rcx, qword [rbp + 0x828]
xor rcx, rbp
call fcn.1401c40e5
lea rsp, [rbp + 0x838]
pop rdi
pop rbp
ret