Function at 0x68bec0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x74ce06
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x810
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x14], edi
mov ecx, dword [edi + 8]
test ecx, ecx
jne 0x68bf20
push 0x7c
push 0x7d45fc
push str.m_pData
push str.CHECKF
push 0x793720
call fcn.00401080
add esp, 0x14
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
mov esi, dword [ebp + 8]
test esi, esi
jne 0x68bf35
push 0x7d
push 0x7d45fc
push 0x7999e8
jmp 0x68bef9
mov eax, dword [ecx]
push 0x13
call dword [eax + 8]
mov ebx, eax
test ebx, ebx
je 0x68c02d
push ebx
push 0x79a1d8
lea ecx, [ebp - 0x41c]
push str.SELECT__FROM__s_WHERE_id_u
push ecx
call fcn.0070258b
mov edx, dword [esi]
add esp, 0x10
lea eax, [ebp - 0x41c]
mov ecx, esi
push 1
push eax
call dword [edx]
mov esi, eax
mov dword [ebp - 0x10], esi
test esi, esi
mov dword [ebp - 4], 0
je 0x68c01b
push 0x24
call fcn.005d7e60
add esp, 4
mov dword [ebp - 0x18], eax
test eax, eax
mov byte [ebp - 4], 1
je 0x68bfa1
mov ecx, eax
call fcn.005d7f00
jmp 0x68bfa3
xor eax, eax
test eax, eax
mov byte [ebp - 4], 0
mov dword [edi + 0xc], eax
jne 0x68bfd1
push 0x88
push 0x7d45fc
push str.m_pResultItem
push str.CHECKF
push 0x793720
call fcn.00401080
add esp, 0x14
jmp 0x68bff8
mov edx, dword [eax]
push esi
mov ecx, eax
call dword [edx + 0x18]
test al, al
jne 0x68c01b
push ebx
push str.Mercenary_task_data_load_item_failed___idItem_u_
call fcn.0040a250
mov ecx, dword [edi + 0xc]
add esp, 8
test ecx, ecx
je 0x68bff8
mov eax, dword [ecx]
push 1
call dword [eax]
mov edx, dword [esi]
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
call dword [edx + 4]
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
test esi, esi
mov dword [ebp - 4], 0xffffffff
je 0x68c02d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea edx, [ebp - 0x10]
lea ecx, [edi + 0x10]
push edx
push 5
mov dword [ebp - 0x10], 0
call fcn.0068c5e0
xor edi, edi
mov dword [ebp - 0x10], edi
mov esi, dword [ebp - 0x14]
lea edx, [edi + 0xb]
push edx
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
call dword [eax + 8]
mov ebx, eax
test ebx, ebx
je 0x68c0f4
push ebx
push 0x79a1d8
lea eax, [ebp - 0x81c]
push str.SELECT__FROM__s_WHERE_id_u
push eax
call fcn.0070258b
mov ecx, dword [ebp + 8]
add esp, 0x10
lea eax, [ebp - 0x81c]
mov edx, dword [ecx]
push 1
push eax
call dword [edx]
mov esi, eax
mov dword [ebp - 0x18], esi
test esi, esi
mov dword [ebp - 4], 2
je 0x68c0e0
push 0x24
call fcn.005d7e60
add esp, 4
mov dword [ebp - 0x1c], eax
test eax, eax
mov byte [ebp - 4], 3
je 0x68c0ba
mov ecx, eax
call fcn.005d7f00
mov edi, eax
jmp 0x68c0bc
xor edi, edi
test edi, edi
mov byte [ebp - 4], 2
je 0x68c12f
mov edx, dword [edi]
push esi
mov ecx, edi
call dword [edx + 0x18]
test al, al
je 0x68c123
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
add eax, 0x10
mov eax, dword [eax]
mov dword [eax + ecx*4], edi
mov edi, ecx
test esi, esi
mov dword [ebp - 4], 0xffffffff
je 0x68c101
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
jmp 0x68c101
lea eax, [esi + 0x10]
mov eax, dword [esi + 0x10]
mov dword [eax + edi*4], 0
inc edi
cmp edi, 5
mov dword [ebp - 0x10], edi
jl 0x68c047
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
test edi, edi
je 0x68c12f
mov edx, dword [edi]
push 1
mov ecx, edi
call dword [edx]
push ebx
push str.Mercenary_task_data_load_item_failed___idItem_u_
call fcn.0040a250
add esp, 8
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x68c14f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor al, al
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4