Function at 0x14016af73
Capabilities:
Reference sql statements

Disassembly:
jmp 0x1401f3600
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0xa18
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x1b6
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0xa38]
mov rax, qword [0x1404ee780]
xor rax, rbp
mov qword [rbp + 0x9c0], rax
lea rcx, reloc.WS2_32.dll_accept
call fcn.14016a9fb
mov eax, dword [rbp + 0x9f0]
mov dword [rsp + 0x20], eax
mov r9d, dword [rbp + 0x9f8]
lea r8, [0x1404f34d4]
lea rdx, str.DELETE_FROM___s_WHERE__type____d_AND__send_id___0_AND__time____UNIX_TIMESTAMP__NOW_____INTERVAL__d_DAY__
mov rcx, qword [0x1404f6de0]
call fcn.140164cae
cmp eax, 0xffffffff
jne 0x1401f36a1
mov eax, dword [0x1404edf24]
add eax, 3
mov r8d, eax
lea rdx, str.C:GAMES_ro_offline_2022_20231219T050943Z_00201_emulator4cram_4th_jobs_srccharint_mail.cpp
mov rcx, qword [0x1404f6de0]
call fcn.1401647b8
xor eax, eax
jmp 0x1401f395c
cmp dword [rbp + 0x9f0], 0
jg 0x1401f36b1
xor eax, eax
jmp 0x1401f395c
mov r8d, 0x640
xor edx, edx
lea rcx, [rbp + 0x10]
call fcn.140167e40
mov dword [rsp + 0x38], 0x65
mov eax, dword [rbp + 0x9f0]
mov dword [rsp + 0x30], eax
mov eax, dword [rbp + 0x9f8]
mov dword [rsp + 0x28], eax
lea rax, [0x1404f20d4]
mov qword [rsp + 0x20], rax
lea r9, [0x1404f20d4]
lea r8, [0x1404f34d4]
lea rdx, str.SELECT__m_._id____c_._char_id____c_._account_id____c2_._account_id__FROM___s___m__INNER_JOIN___s___c__ON__c_._char_id__m_._dest_id__INNER_JOIN___s___c2__ON__c2_._char_id__m_._send_id__WHERE__type____d_AND__time____UNIX_TIMESTAMP__NOW_____INTERVAL__d_DAY___ORDER_BY__id__LIMIT__d
mov rcx, qword [0x1404f6de0]
call fcn.140164cae
cmp eax, 0xffffffff
jne 0x1401f3736
mov eax, dword [0x1404edf24]
add eax, 0x1c
mov r8d, eax
lea rdx, str.C:GAMES_ro_offline_2022_20231219T050943Z_00201_emulator4cram_4th_jobs_srccharint_mail.cpp
mov rcx, qword [0x1404f6de0]
call fcn.1401647b8
xor eax, eax
jmp 0x1401f395c
mov rcx, qword [0x1404f6de0]
call fcn.1401655e1
test rax, rax
ja 0x1401f374e
xor eax, eax
jmp 0x1401f395c
mov dword [rbp + 0x664], 0
jmp 0x1401f3768
mov eax, dword [rbp + 0x664]
inc eax
mov dword [rbp + 0x664], eax
cmp dword [rbp + 0x664], 0x64
jge 0x1401f3863
mov rcx, qword [0x1404f6de0]
call fcn.140161626
test eax, eax
jne 0x1401f3863
xor r9d, r9d
lea r8, [rbp + 0x688]
xor edx, edx
mov rcx, qword [0x1404f6de0]
call fcn.140162594
mov rcx, qword [rbp + 0x688]
call fcn.140161abd
movsxd rcx, dword [rbp + 0x664]
imul rcx, rcx, 0x10
mov dword [rbp + rcx + 0x10], eax
xor r9d, r9d
lea r8, [rbp + 0x688]
mov edx, 1
mov rcx, qword [0x1404f6de0]
call fcn.140162594
mov rcx, qword [rbp + 0x688]
call fcn.140161abd
movsxd rcx, dword [rbp + 0x664]
imul rcx, rcx, 0x10
mov dword [rbp + rcx + 0x14], eax
xor r9d, r9d
lea r8, [rbp + 0x688]
mov edx, 2
mov rcx, qword [0x1404f6de0]
call fcn.140162594
mov rcx, qword [rbp + 0x688]
call fcn.140161abd
movsxd rcx, dword [rbp + 0x664]
imul rcx, rcx, 0x10
mov dword [rbp + rcx + 0x18], eax
xor r9d, r9d
lea r8, [rbp + 0x688]
mov edx, 3
mov rcx, qword [0x1404f6de0]
call fcn.140162594
mov rcx, qword [rbp + 0x688]
call fcn.140161abd
movsxd rcx, dword [rbp + 0x664]
imul rcx, rcx, 0x10
mov dword [rbp + rcx + 0x1c], eax
jmp 0x1401f375a
mov rcx, qword [0x1404f6de0]
call fcn.140160e74
mov dword [rbp + 0x6a4], 0
jmp 0x1401f3889
mov eax, dword [rbp + 0x6a4]
inc eax
mov dword [rbp + 0x6a4], eax
cmp dword [rbp + 0x6a4], 0x64
jge 0x1401f395a
movsxd rax, dword [rbp + 0x6a4]
imul rax, rax, 0x10
cmp dword [rbp + rax + 0x10], 0
jne 0x1401f38ad
jmp 0x1401f395a
cmp dword [rbp + 0x9f8], 0
jne 0x1401f390f
movsxd rax, dword [rbp + 0x6a4]
imul rax, rax, 0x10
movsxd rcx, dword [rbp + 0x6a4]
imul rcx, rcx, 0x10
movsxd rdx, dword [rbp + 0x6a4]
imul rdx, rdx, 0x10
movsxd r8, dword [rbp + 0x6a4]
imul r8, r8, 0x10
mov qword [rbp + 0x9b8], r8
mov eax, dword [rbp + rax + 0x1c]
mov dword [rsp + 0x20], eax
mov r9d, dword [rbp + rcx + 0x18]
mov r8d, dword [rbp + rdx + 0x10]
mov rax, qword [rbp + 0x9b8]
mov edx, dword [rbp + rax + 0x14]
xor ecx, ecx
call fcn.14016a776
jmp 0x1401f3955
cmp dword [rbp + 0x9f8], 2
jne 0x1401f3950
movsxd rax, dword [rbp + 0x6a4]
imul rax, rax, 0x10
movsxd rcx, dword [rbp + 0x6a4]
imul rcx, rcx, 0x10
movsxd rdx, dword [rbp + 0x6a4]
imul rdx, rdx, 0x10
mov r9d, dword [rbp + rax + 0x18]
mov r8d, dword [rbp + rcx + 0x10]
mov edx, dword [rbp + rdx + 0x14]
xor ecx, ecx
call fcn.140162cc4
jmp 0x1401f3955
jmp 0x1401f387b
jmp 0x1401f387b
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x40]
lea rdx, reloc.WS2_32.dll_bind
call fcn.140168bb0
mov rax, rdi
mov rcx, qword [rbp + 0x9c0]
xor rcx, rbp
call fcn.140165226
lea rsp, [rbp + 0x9d8]
pop rdi
pop rbp
ret