Function at 0x4fa330
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x77d002
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x88bba0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
cmp dword [ebp + 0x18], 0
mov byte [ebp - 4], 1
jne 0x4fa3b3
cmp dword [ebp + 0x1c], 0x10
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
jb 0x4fa3a9
push dword [ebp + 8]
call fcn.00489b60
add esp, 4
mov eax, 3
jmp 0x4fa978
push 0
push 0x799e88
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
call fcn.0042fb60
push 0x4fedb0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0xe4]
push eax
call fcn.004f3cd0
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0xf4]
push eax
call fcn.004f3950
add esp, 0x14
push dword [edi + 4]
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 4
call fcn.005acee0
push str.SELECT_location_FROM__s_WHERE_uuid_
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 5
push ecx
mov ecx, eax
call fcn.004f2e50
push 0x87fc18
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.004f37a0
mov esi, eax
mov edx, dword [ebp - 0xf4]
sub esp, 8
mov ecx, esp
mov byte [ebp - 4], 9
mov dword [ecx], edx
mov eax, dword [ebp - 0xf0]
mov dword [ecx + 4], eax
mov eax, 1
lock xadd dword [edx], eax
mov ecx, esi
call fcn.005ac4a0
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 8
mov esi, eax
call fcn.004f4980
mov edx, dword [ebp - 0xe4]
sub esp, 8
mov ecx, esp
mov byte [ebp - 4], 0xc
mov dword [ecx], edx
mov eax, dword [ebp - 0xe0]
mov dword [ecx + 4], eax
mov eax, 1
lock xadd dword [edx], eax
mov ecx, esi
call fcn.005ac2e0
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], 0xb
mov esi, eax
call fcn.004f4980
mov ecx, esi
call fcn.005abef0
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 0xa
call fcn.005abe40
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 2
call fcn.005ad0e0
cmp dword [ebp - 0x18], 0x10
mov byte [ebp - 4], 1
jb 0x4fa4f3
push dword [ebp - 0x2c]
call fcn.00489b60
add esp, 4
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x78]
call fcn.00612210
cmp dword [ebp - 0x64], 0
mov byte [ebp - 4], 0xd
je 0x4fa729
lea ecx, [ebp - 0x78]
call fcn.00613090
test al, al
je 0x4fa729
push 0
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0xe
call fcn.00613b40
mov ecx, dword [edi + 8]
mov dword [ebp - 0xdc], ecx
call fcn.00620250
push 0x799e88
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xf
call fcn.00404f70
push 0x4fedb0
sub esp, 8
mov byte [ebp - 4], 0x10
mov eax, esp
mov dword [ebp - 0xf0], esp
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp + 8]
push ecx
push eax
call fcn.004f3cd0
add esp, 0xc
push dword [edi + 4]
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 0x11
call fcn.005acee0
push str.DELETE_FROM__s_where_uuid___
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 0x12
push ecx
mov ecx, eax
call fcn.004f2e50
push 0x87fc30
mov ecx, eax
mov byte [ebp - 4], 0x13
call fcn.004f37a0
mov ecx, eax
mov byte [ebp - 4], 0x15
call fcn.004f4ce0
mov ecx, eax
call fcn.005abef0
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 0x14
call fcn.005abe40
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 0x10
call fcn.005ad0e0
cmp dword [ebp - 0x18], 0x10
mov byte [ebp - 4], 0xf
jb 0x4fa5ed
push dword [ebp - 0x2c]
call fcn.00489b60
add esp, 4
push 0x799e88
lea ecx, [ebp - 0x2c]
call fcn.00404f70
push 0x4fedb0
sub esp, 8
mov byte [ebp - 4], 0x16
mov eax, esp
mov dword [ebp - 0xf0], esp
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp + 8]
push ecx
push eax
call fcn.004f3cd0
add esp, 0xc
push dword [edi + 4]
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 0x17
call fcn.005acee0
push str.DELETE_FROM__s_where_uuid___
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 0x18
push ecx
mov ecx, eax
call fcn.004f2e50
push 0x87fc18
mov ecx, eax
mov byte [ebp - 4], 0x19
call fcn.004f37a0
mov ecx, eax
mov byte [ebp - 4], 0x1b
call fcn.004f4ce0
mov ecx, eax
call fcn.005abef0
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 0x1a
call fcn.005abe40
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 0x16
call fcn.005ad0e0
cmp dword [ebp - 0x18], 0x10
mov byte [ebp - 4], 0xf
jb 0x4fa69d
push dword [ebp - 0x2c]
call fcn.00489b60
add esp, 4
mov ecx, edi
call fcn.004fc1d0
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 0xe
call fcn.004f4920
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 1
call fcn.006124a0
cmp dword [ebp - 0x30], 0x10
jb 0x4fa6d0
push dword [ebp - 0x44]
call fcn.00489b60
add esp, 4
cmp dword [ebp + 0x1c], 0x10
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
jb 0x4fa6f3
push dword [ebp + 8]
call fcn.00489b60
add esp, 4
xor eax, eax
jmp 0x4fa978
mov ecx, dword [edi + 8]
mov dword [ebp - 0xdc], ecx
call fcn.00620250
push 0
push 0x799e88
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x1d
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
call fcn.0042fb60
push 0x4fedb0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x1e
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0xe4]
push eax
call fcn.004f3cd0
add esp, 0xc
push dword [edi + 4]
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 0x1f
call fcn.005acee0
push str.DELETE_FROM__s_where_uuid___
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 0x20
push ecx
mov ecx, eax
call fcn.004f2e50
push 0x87fc30
mov ecx, eax
mov byte [ebp - 4], 0x21
call fcn.004f37a0
mov esi, eax
mov edx, dword [ebp - 0xe4]
sub esp, 8
mov ecx, esp
mov byte [ebp - 4], 0x24
mov dword [ecx], edx
mov eax, dword [ebp - 0xe0]
mov dword [ecx + 4], eax
mov eax, 1
lock xadd dword [edx], eax
mov ecx, esi
call fcn.005ac2e0
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], 0x23
mov esi, eax
call fcn.004f4980
mov ecx, esi
call fcn.005abef0
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 0x22
call fcn.005abe40
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 0x1e
call fcn.005ad0e0
cmp dword [ebp - 0x18], 0x10
mov byte [ebp - 4], 0x1d
jb 0x4fa82c
push dword [ebp - 0x2c]
call fcn.00489b60
add esp, 4
push 0
push 0x799e88
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
call fcn.0042fb60
push 0x4fedb0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x25
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0xe4]
push eax
call fcn.004f3cd0
add esp, 0xc
push dword [edi + 4]
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 0x26
call fcn.005acee0
push str.DELETE_FROM__s_where_uuid___
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 0x27
push ecx
mov ecx, eax
call fcn.004f2e50
push 0x87fc18
mov ecx, eax
mov byte [ebp - 4], 0x28
call fcn.004f37a0
mov esi, eax
mov edx, dword [ebp - 0xe4]
sub esp, 8
mov ecx, esp
mov byte [ebp - 4], 0x2b
mov dword [ecx], edx
mov eax, dword [ebp - 0xe0]
mov dword [ecx + 4], eax
mov eax, 1
lock xadd dword [edx], eax
mov ecx, esi
call fcn.005ac2e0
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], 0x2a
mov esi, eax
call fcn.004f4980
mov ecx, esi
call fcn.005abef0
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 0x29
call fcn.005abe40
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 0x25
call fcn.005ad0e0
cmp dword [ebp - 0x18], 0x10
mov byte [ebp - 4], 0x1d
jb 0x4fa91d
push dword [ebp - 0x2c]
call fcn.00489b60
add esp, 4
mov ecx, edi
call fcn.004fc1d0
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 0xd
call fcn.004f4920
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 1
call fcn.006124a0
cmp dword [ebp - 0x30], 0x10
jb 0x4fa950
push dword [ebp - 0x44]
call fcn.00489b60
add esp, 4
cmp dword [ebp + 0x1c], 0x10
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
jb 0x4fa973
push dword [ebp + 8]
call fcn.00489b60
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00722035
mov esp, ebp
pop ebp
ret 0x18