Function at 0x4a4b4d
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x810
mov eax, dword [0x602c60]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x810], eax
mov eax, dword [ebp + 0xc]
xor ebx, ebx
push 0x7ff
mov dword [ebp - 0x80c], eax
lea eax, [ebp - 0x803]
push ebx
push eax
mov dword [ebp - 0x808], ebx
mov byte [ebp - 0x804], bl
call fcn.004fc1f0
push dword [ebp - 0x80c]
lea eax, [ebp - 0x804]
push str.SELECT_metahandle__base_version__server_version__local_external_id__transaction_version_mtime__server_mtime__ctime__server_ctime__id__parent_id__server_parent_id__is_unsynced__is_unapplied_update_is_del__is_dir__server_is_dir__server_is_del__non_unique_name__server_non_unique_name__unique_server_tag_unique_client_tag__unique_bookmark_tag__specifics__server_specifics__base_server_specifics__server_unique_position__unique_position_FROM_metas_WHERE_non_unique_name_s
push eax
call fcn.004a33cc
push ebx
lea eax, [ebp - 0x808]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x804]
push eax
push dword [ebp - 0x810]
call fcn.004826e2
add esp, 0x2c
test eax, eax
jne 0x4a4f6e
push dword [ebp - 0x808]
call fcn.0048b8cf
pop ecx
cmp eax, 0x64
jne 0x4a4f62
push edi
push ebx
push dword [ebp - 0x808]
call fcn.0047442e
inc ebx
push ebx
push dword [ebp - 0x808]
mov dword [esi], eax
mov dword [esi + 4], edx
call fcn.0047442e
push 2
push dword [ebp - 0x808]
mov dword [esi + 8], eax
mov dword [esi + 0xc], edx
call fcn.0047442e
push 3
push dword [ebp - 0x808]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
call fcn.0047442e
push 4
push dword [ebp - 0x808]
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], edx
call fcn.0047442e
push 5
push dword [ebp - 0x808]
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], edx
call fcn.0047442e
push 6
push dword [ebp - 0x808]
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], edx
call fcn.0047442e
push 7
push dword [ebp - 0x808]
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], edx
call fcn.0047442e
add esp, 0x40
push 8
push dword [ebp - 0x808]
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], edx
call fcn.0047442e
push 9
push dword [ebp - 0x808]
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], edx
call fcn.0047445a
push eax
mov edi, 0xff
lea eax, [esi + 0x48]
push edi
push eax
call fcn.005043a1
push 0xa
push dword [ebp - 0x808]
call fcn.0047445a
push eax
lea eax, [esi + 0x147]
push edi
push eax
call fcn.005043a1
push 0xb
push dword [ebp - 0x808]
call fcn.0047445a
push eax
lea eax, [esi + 0x246]
push edi
push eax
call fcn.005043a1
add esp, 0x44
push 0xc
push dword [ebp - 0x808]
call fcn.00474408
push 0xd
push dword [ebp - 0x808]
mov dword [esi + 0x348], eax
call fcn.00474408
push 0xe
push dword [ebp - 0x808]
mov dword [esi + 0x34c], eax
call fcn.00474408
push 0xf
push dword [ebp - 0x808]
mov dword [esi + 0x350], eax
call fcn.00474408
push 0x10
push dword [ebp - 0x808]
mov dword [esi + 0x354], eax
call fcn.00474408
push 0x11
push dword [ebp - 0x808]
mov dword [esi + 0x358], eax
call fcn.00474408
push 0x12
push dword [ebp - 0x808]
mov dword [esi + 0x35c], eax
call fcn.0047445a
push eax
mov edi, 0x800
lea eax, [esi + 0x360]
push edi
push eax
call fcn.005043a1
add esp, 0x44
push 0x13
push dword [ebp - 0x808]
call fcn.0047445a
push eax
lea eax, [esi + 0xb60]
push edi
push eax
call fcn.005043a1
push 0x14
push dword [ebp - 0x808]
call fcn.0047445a
push eax
lea eax, [esi + 0x1360]
push edi
push eax
call fcn.005043a1
push 0x15
push dword [ebp - 0x808]
call fcn.0047445a
push eax
lea eax, [esi + 0x1b60]
push edi
push eax
call fcn.005043a1
push 0x16
push dword [ebp - 0x808]
call fcn.0047445a
add esp, 0x44
push eax
lea eax, [esi + 0x2360]
push edi
push eax
call fcn.005043a1
push 0x17
push dword [ebp - 0x808]
call fcn.00474392
push eax
mov dword [esi + 0x2b74], eax
call fcn.004f8908
add esp, 0x18
push dword [esi + 0x2b74]
mov dword [esi + 0x2b60], eax
push 0x17
push dword [ebp - 0x808]
call fcn.0047436c
pop ecx
pop ecx
push eax
push dword [esi + 0x2b74]
push dword [esi + 0x2b60]
call fcn.004fa3ab
push 0x18
push dword [ebp - 0x808]
call fcn.00474392
push eax
mov dword [esi + 0x2b78], eax
call fcn.004f8908
add esp, 0x1c
push dword [esi + 0x2b78]
mov dword [esi + 0x2b64], eax
push 0x18
push dword [ebp - 0x808]
call fcn.0047436c
pop ecx
pop ecx
push eax
push dword [esi + 0x2b78]
push dword [esi + 0x2b64]
call fcn.004fa3ab
push 0x19
push dword [ebp - 0x808]
call fcn.00474392
push eax
mov dword [esi + 0x2b7c], eax
call fcn.004f8908
add esp, 0x1c
push dword [esi + 0x2b7c]
mov dword [esi + 0x2b68], eax
push 0x19
push dword [ebp - 0x808]
call fcn.0047436c
pop ecx
pop ecx
push eax
push dword [esi + 0x2b7c]
push dword [esi + 0x2b68]
call fcn.004fa3ab
push 0x1a
push dword [ebp - 0x808]
call fcn.00474392
push eax
mov dword [esi + 0x2b80], eax
call fcn.004f8908
add esp, 0x1c
push dword [esi + 0x2b80]
mov dword [esi + 0x2b6c], eax
push 0x1a
push dword [ebp - 0x808]
call fcn.0047436c
pop ecx
pop ecx
push eax
push dword [esi + 0x2b80]
push dword [esi + 0x2b6c]
call fcn.004fa3ab
push 0x1b
push dword [ebp - 0x808]
call fcn.00474392
push eax
mov dword [esi + 0x2b84], eax
call fcn.004f8908
add esp, 0x1c
push dword [esi + 0x2b84]
mov dword [esi + 0x2b70], eax
push 0x1b
push dword [ebp - 0x808]
call fcn.0047436c
pop ecx
pop ecx
push eax
push dword [esi + 0x2b84]
push dword [esi + 0x2b70]
call fcn.004fa3ab
add esp, 0x10
pop edi
push dword [ebp - 0x808]
call fcn.0048103b
pop ecx
mov ecx, dword [ebp - 4]
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.004fb958
leave
ret 0xc