Function at 0x10004810
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10169650
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x10438fc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x58], ecx
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x5c], eax
cmp dword [ecx], ebx
jne 0x1000485a
mov eax, 0x8000ffff
jmp 0x10004af8
cmp dword [eax + 0x14], 0x10
mov dword [eax + 0x10], ebx
jb 0x10004865
mov eax, dword [eax]
mov byte [eax], bl
cmp dword [edi + 0x14], 8
jb 0x1000486f
mov edi, dword [edi]
push ebx
lea eax, [ebp - 0x54]
call fcn.100164f0
lea eax, [ebp - 0x54]
mov dword [ebp - 4], ebx
call fcn.10016cf0
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
push 0x39
push str.SELECT_Documentation_FROM_GDB_Items_WHERE_UPPER_Path___
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.10008480
mov edi, dword [ebp - 0x54]
mov eax, edi
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x100048b0
sub eax, edx
sar eax, 1
push eax
mov eax, edi
lea ecx, [ebp - 0x2c]
call fcn.10006ca0
push 0x3c
mov eax, str._AND_Type_IN__SELECT_UUID_FROM_GDB_ItemTypes_WHERE_Name__
lea ecx, [ebp - 0x2c]
call fcn.10006ca0
push ebx
push esi
or eax, 0xffffffff
lea esi, [ebp - 0x2c]
call fcn.10008380
push 2
mov eax, 0x10198188
mov ecx, esi
call fcn.10006ca0
mov dword [ebp - 0x50], ebx
lea ecx, [ebp - 0x50]
push ecx
mov ecx, dword [ebp - 0x58]
push 1
mov edx, esi
push edx
mov byte [ebp - 4], 2
call sym.FileGDBAPI.dll_public:_int___thiscall_FileGDBAPI::Geodatabase::ExecuteSQL_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___bool__class_FileGDBAPI::EnumRows__const
mov esi, eax
cmp esi, ebx
jge 0x1000496c
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x50]
cmp ecx, ebx
je 0x10004925
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
cmp dword [ebp - 0x18], 8
jb 0x10004938
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], cx
cmp edi, ebx
je 0x10004965
lea edx, [edi - 0xc]
test edx, edx
je 0x10004965
dec dword [edi - 0xc]
lea eax, [edi - 0xc]
jne 0x10004965
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov eax, esi
jmp 0x10004af8
or esi, 0xffffffff
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], ebx
mov byte [ebp - 0x60], bl
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 3
call sym.FileGDBAPI.dll_public:_int___thiscall_FileGDBAPI::EnumRows::Next_class_FileGDBAPI::Row__
cmp eax, ebx
je 0x10004a06
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 2
call sym.FileGDBAPI.dll_public:_void___thiscall_FileGDBAPI::Row::destructor_void_
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x50]
cmp ecx, ebx
je 0x100049bd
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
cmp dword [ebp - 0x18], 8
jb 0x100049d0
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor edx, edx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], dx
cmp edi, ebx
je 0x100049fc
lea eax, [edi - 0xc]
test eax, eax
je 0x100049fc
add edi, 0xfffffff4
add dword [edi], esi
jne 0x100049fc
push edi
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov eax, 0x80042601
jmp 0x10004af8
push str.Documentation
lea ecx, [ebp - 0x48]
call fcn.10008580
mov ecx, dword [ebp - 0x5c]
push ecx
push eax
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 4
call sym.FileGDBAPI.dll_public:_int___thiscall_FileGDBAPI::Row::GetXML_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____const
mov byte [ebp - 4], 3
cmp dword [ebp - 0x34], 8
mov esi, eax
jb 0x10004a3d
mov edx, dword [ebp - 0x48]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
cmp esi, ebx
jge 0x10004a98
push str.Documentation
lea ecx, [ebp - 0x48]
call fcn.10008580
lea ecx, [ebp - 0x49]
push ecx
push eax
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 5
call sym.FileGDBAPI.dll_public:_int___thiscall_FileGDBAPI::Row::IsNull_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___bool__const
lea ecx, [ebp - 0x48]
call sym.FileGDBAPI.dll_public:_void___thiscall_FileGDBAPI::SpatialReference::destructor_void_
cmp byte [ebp - 0x49], bl
jne 0x10004a98
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 2
call sym.FileGDBAPI.dll_public:_void___thiscall_FileGDBAPI::Row::destructor_void_
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 1
call sym.FileGDBAPI.dll_public:_void___thiscall_FileGDBAPI::EnumRows::destructor_void_
lea ecx, [ebp - 0x2c]
call sym.FileGDBAPI.dll_public:_void___thiscall_FileGDBAPI::SpatialReference::destructor_void_
lea eax, [ebp - 0x54]
call fcn.100164d0
mov eax, esi
jmp 0x10004af8
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 2
call sym.FileGDBAPI.dll_public:_void___thiscall_FileGDBAPI::Row::destructor_void_
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x50]
cmp ecx, ebx
je 0x10004ab7
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
cmp dword [ebp - 0x18], 8
jb 0x10004aca
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor edx, edx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], dx
cmp edi, ebx
je 0x10004af6
lea eax, [edi - 0xc]
test eax, eax
je 0x10004af6
add edi, 0xfffffff4
dec dword [edi]
jne 0x10004af6
push edi
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10148524
mov esp, ebp
pop ebp
ret 0xc