Function at 0x100092b0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1016a699
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0x10438fc0]
xor eax, esp
mov dword [esp + 0x130], eax
push ebx
push esi
push edi
mov eax, dword [0x10438fc0]
xor eax, esp
push eax
lea eax, [esp + 0x148]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov dword [esp + 0x20], ecx
cmp edi, ebx
jne 0x1000930a
mov eax, 0x80004003
jmp 0x100099b0
mov edx, dword [eax]
cmp dword [edx - 4], ebx
jne 0x1000931b
mov eax, 0x80070057
jmp 0x100099b0
mov byte [ecx], bl
mov eax, dword [eax]
inc dword [eax - 0xc]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
mov dword [esp + 0x150], ebx
call fcn.10016cf0
xor eax, eax
mov dword [esp + 0x80], 7
mov dword [esp + 0x7c], ebx
mov word [esp + 0x6c], ax
push 0x2d
push 0x101e8a20
lea ecx, [esp + 0x74]
mov byte [esp + 0x158], 1
call fcn.10008480
mov esi, dword [esp + 0x14]
mov eax, esi
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x10009370
sub eax, edx
sar eax, 1
push eax
mov eax, esi
lea ecx, [esp + 0x70]
call fcn.10006ca0
push 0xe0
mov eax, str._AND_Type_IN__CD06BC3B_789D_4C51_AAFA_A467912B8965__70737809_852C_4A03_9E22_2CECEA5B9BFA__5ED667A3_9CA9_44A2_8029_D95BF23704B9__35B601F7_45CE_4AFF_ADB7_7702D3839B12__DB1B697A_3BB6_426A_98A2_6EE7A4C6AED3_
lea ecx, [esp + 0x70]
call fcn.10006ca0
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0x10]
push ecx
push 1
lea edx, [esp + 0x74]
push edx
mov ecx, edi
mov byte [esp + 0x15c], 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 edi, eax
cmp edi, ebx
jge 0x1000942d
mov byte [esp + 0x150], 1
mov ecx, dword [esp + 0x10]
cmp ecx, ebx
je 0x100093db
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
cmp dword [esp + 0x80], 8
jb 0x100093f3
mov eax, dword [esp + 0x6c]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor ecx, ecx
mov dword [esp + 0x80], 7
mov dword [esp + 0x7c], ebx
mov word [esp + 0x6c], cx
cmp esi, ebx
je 0x10009426
lea edx, [esi - 0xc]
test edx, edx
je 0x10009426
dec dword [esi - 0xc]
lea eax, [esi - 0xc]
jne 0x10009426
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov eax, edi
jmp 0x100099b0
or edi, 0xffffffff
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov byte [esp + 0x44], bl
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x154], 3
call sym.FileGDBAPI.dll_public:_int___thiscall_FileGDBAPI::EnumRows::Next_class_FileGDBAPI::Row__
cmp eax, ebx
je 0x100094d5
mov ecx, dword [esp + 0x20]
mov byte [ecx], 1
lea ecx, [esp + 0x24]
mov byte [esp + 0x150], 2
call sym.FileGDBAPI.dll_public:_void___thiscall_FileGDBAPI::Row::destructor_void_
mov byte [esp + 0x150], 1
mov ecx, dword [esp + 0x10]
cmp ecx, ebx
je 0x1000949e
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
lea ecx, [esp + 0x6c]
call sym.FileGDBAPI.dll_public:_void___thiscall_FileGDBAPI::SpatialReference::destructor_void_
cmp esi, ebx
je 0x100099ae
lea ecx, [esi - 0xc]
test ecx, ecx
je 0x100099ae
add dword [esi - 0xc], edi
lea eax, [esi - 0xc]
jne 0x100099ae
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
jmp 0x100099ae
push 0x101e8c44
lea ecx, [esp + 0xc8]
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], ebx
call fcn.10008580
lea edx, [esp + 0x88]
push edx
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x158], 4
call sym.FileGDBAPI.dll_public:_int___thiscall_FileGDBAPI::Row::GetGUID_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___class_FileGDBAPI::Guid__const
lea ecx, [esp + 0xc4]
mov esi, eax
mov byte [esp + 0x150], 3
call sym.FileGDBAPI.dll_public:_void___thiscall_FileGDBAPI::SpatialReference::destructor_void_
cmp esi, ebx
jl 0x100096bf
mov ecx, 0x10410b00
lea edx, [esp + 0x88]
call fcn.10009f20
test al, al
je 0x100095e3
push str.DatasetSubtype1
lea ecx, [esp + 0xc8]
call fcn.10008580
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0xc8]
push ecx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x158], 5
call sym.FileGDBAPI.dll_public:_int___thiscall_FileGDBAPI::Row::GetInteger_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___int__const
lea ecx, [esp + 0xc4]
mov esi, eax
call sym.FileGDBAPI.dll_public:_void___thiscall_FileGDBAPI::SpatialReference::destructor_void_
cmp esi, ebx
jl 0x100096bf
cmp dword [esp + 0x18], 1
je 0x10009600
mov edx, dword [esp + 0x20]
mov byte [edx], bl
lea ecx, [esp + 0x24]
mov byte [esp + 0x150], 2
call sym.FileGDBAPI.dll_public:_void___thiscall_FileGDBAPI::Row::destructor_void_
lea ecx, [esp + 0x10]
mov byte [esp + 0x150], 1
call sym.FileGDBAPI.dll_public:_void___thiscall_FileGDBAPI::EnumRows::destructor_void_
lea ecx, [esp + 0x6c]
call sym.FileGDBAPI.dll_public:_void___thiscall_FileGDBAPI::SpatialReference::destructor_void_
lea eax, [esp + 0x14]
call fcn.100164d0
mov eax, 1
jmp 0x100099b0
mov ecx, 0x10410ad0
lea edx, [esp + 0x88]
call fcn.10009f20
test al, al
je 0x10009600
mov eax, dword [esp + 0x20]
mov byte [eax], bl
jmp 0x100095a5
mov dword [esp + 0xac], 0xf
mov dword [esp + 0xa8], ebx
mov byte [esp + 0x98], bl
push str.Definition
lea ecx, [esp + 0xc8]
mov byte [esp + 0x154], 6
call fcn.10008580
lea ecx, [esp + 0x98]
push ecx
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x158], 7
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
lea ecx, [esp + 0xc4]
mov esi, eax
mov byte [esp + 0x150], 6
call sym.FileGDBAPI.dll_public:_void___thiscall_FileGDBAPI::SpatialReference::destructor_void_
cmp esi, ebx
jge 0x100096fa
push str.Definition
lea ecx, [esp + 0xc8]
call fcn.10008580
lea edx, [esp + 0x1f]
push edx
lea eax, [esp + 0xc8]
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x158], 8
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, [esp + 0xc4]
mov byte [esp + 0x150], 6
call sym.FileGDBAPI.dll_public:_void___thiscall_FileGDBAPI::SpatialReference::destructor_void_
cmp byte [esp + 0x1f], bl
jne 0x100096fa
lea ecx, [esp + 0x98]
call fcn.100085d0
lea ecx, [esp + 0x24]
mov byte [esp + 0x150], 2
call sym.FileGDBAPI.dll_public:_void___thiscall_FileGDBAPI::Row::destructor_void_
lea ecx, [esp + 0x10]
mov byte [esp + 0x150], 1
call sym.FileGDBAPI.dll_public:_void___thiscall_FileGDBAPI::EnumRows::destructor_void_
lea ecx, [esp + 0x6c]
call sym.FileGDBAPI.dll_public:_void___thiscall_FileGDBAPI::SpatialReference::destructor_void_
lea eax, [esp + 0x14]
call fcn.100164d0
mov eax, esi
jmp 0x100099b0
lea ecx, [esp + 0xfc]
push ecx
call fcn.10009180
lea ecx, [esp + 0xfc]
lea edx, [esp + 0x98]
mov byte [esp + 0x150], 9
call fcn.10036ad0
cmp byte [esp + 0xfc], bl
je 0x10009734
cmp dword [esp + 0x110], ebx
jne 0x10009768
cmp byte [esp + 0x11c], bl
je 0x1000978b
cmp dword [esp + 0x134], 0x10
mov eax, dword [esp + 0x120]
jae 0x10009755
lea eax, [esp + 0x120]
push str.true
push eax
call dword [sym.imp.MSVCR100.dll__stricmp]
add esp, 8
test eax, eax
jne 0x1000978b
mov edx, dword [esp + 0x20]
mov byte [edx], bl
lea esi, [esp + 0xfc]
call fcn.100099e0
lea ecx, [esp + 0x98]
call fcn.100085d0
jmp 0x100095a5
lea eax, [esp + 0xb4]
push eax
lea ecx, [esp + 0x28]
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xc4], ebx
call sym.FileGDBAPI.dll_public:_int___thiscall_FileGDBAPI::Row::GetGlobalID_class_FileGDBAPI::Guid__const
mov edi, eax
cmp edi, ebx
jl 0x1000988a
xor ecx, ecx
mov dword [esp + 0xf4], 7
mov dword [esp + 0xf0], ebx
mov word [esp + 0xe0], cx
lea edx, [esp + 0xe0]
push edx
lea ecx, [esp + 0xb8]
mov byte [esp + 0x154], 0xa
call sym.FileGDBAPI.dll_public:_int___thiscall_FileGDBAPI::Guid::ToString_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t____
lea eax, [esp + 0x6c]
push eax
mov edx, str.SELECT_Type_FROM_GDB_ItemRelationships_WHERE__DestID__
call fcn.10005fc0
push ebx
lea ecx, [esp + 0xe4]
push ecx
or eax, 0xffffffff
lea esi, [esp + 0x74]
call fcn.10008380
mov edx, esi
push edx
mov eax, str._AND_Type_NOT_IN__DC78F1AB_34E4_43AC_BA47_1C4EABD0E7C7_A1633A59_46BA_4448_8706_D8ABE2B2B02E___OR__OriginID__
call fcn.10005ff0
push ebx
lea eax, [esp + 0xe4]
push eax
or eax, 0xffffffff
call fcn.10008380
mov ecx, esi
push ecx
mov eax, str._AND_Type_NOT_IN__17E08ADB_2B31_4DCD_8FDD_DF529E88F843__
call fcn.10005ff0
mov dword [esp + 0x18], ebx
mov ecx, dword [ebp + 8]
lea edx, [esp + 0x18]
push edx
push 1
mov eax, esi
push eax
mov byte [esp + 0x15c], 0xb
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 edi, eax
cmp edi, ebx
jge 0x100098dd
lea ecx, [esp + 0x18]
mov byte [esp + 0x150], 0xa
call sym.FileGDBAPI.dll_public:_void___thiscall_FileGDBAPI::EnumRows::destructor_void_
lea ecx, [esp + 0xe0]
call sym.FileGDBAPI.dll_public:_void___thiscall_FileGDBAPI::SpatialReference::destructor_void_
lea esi, [esp + 0xfc]
call fcn.100099e0
lea ecx, [esp + 0x98]
call fcn.100085d0
lea ecx, [esp + 0x24]
mov byte [esp + 0x150], 2
call sym.FileGDBAPI.dll_public:_void___thiscall_FileGDBAPI::Row::destructor_void_
lea ecx, [esp + 0x10]
mov byte [esp + 0x150], 1
call sym.FileGDBAPI.dll_public:_void___thiscall_FileGDBAPI::EnumRows::destructor_void_
lea ecx, [esp + 0x6c]
call sym.FileGDBAPI.dll_public:_void___thiscall_FileGDBAPI::SpatialReference::destructor_void_
lea eax, [esp + 0x14]
call fcn.100164d0
mov eax, edi
jmp 0x100099b0
lea ecx, [esp + 0x48]
call sym.FileGDBAPI.dll_public:_void___thiscall_FileGDBAPI::Row::constructor_void_
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x154], 0xc
call sym.FileGDBAPI.dll_public:_int___thiscall_FileGDBAPI::EnumRows::Next_class_FileGDBAPI::Row__
mov byte [esp + 0x150], 0xb
lea ecx, [esp + 0x48]
cmp eax, ebx
jne 0x10009939
mov edx, dword [esp + 0x20]
mov byte [edx], bl
call sym.FileGDBAPI.dll_public:_void___thiscall_FileGDBAPI::Row::destructor_void_
lea ecx, [esp + 0x18]
mov byte [esp + 0x150], 0xa
call sym.FileGDBAPI.dll_public:_void___thiscall_FileGDBAPI::EnumRows::destructor_void_
lea ecx, [esp + 0xe0]
call sym.FileGDBAPI.dll_public:_void___thiscall_FileGDBAPI::SpatialReference::destructor_void_
jmp 0x1000976e
mov eax, dword [esp + 0x20]
mov byte [eax], 1
call sym.FileGDBAPI.dll_public:_void___thiscall_FileGDBAPI::Row::destructor_void_
lea ecx, [esp + 0x18]
mov byte [esp + 0x150], 0xa
call sym.FileGDBAPI.dll_public:_void___thiscall_FileGDBAPI::EnumRows::destructor_void_
lea ecx, [esp + 0xe0]
call sym.FileGDBAPI.dll_public:_void___thiscall_FileGDBAPI::SpatialReference::destructor_void_
lea esi, [esp + 0xfc]
call fcn.100099e0
lea ecx, [esp + 0x98]
call fcn.100085d0
lea ecx, [esp + 0x24]
mov byte [esp + 0x150], 2
call sym.FileGDBAPI.dll_public:_void___thiscall_FileGDBAPI::Row::destructor_void_
lea ecx, [esp + 0x10]
mov byte [esp + 0x150], 1
call sym.FileGDBAPI.dll_public:_void___thiscall_FileGDBAPI::EnumRows::destructor_void_
lea ecx, [esp + 0x6c]
call sym.FileGDBAPI.dll_public:_void___thiscall_FileGDBAPI::SpatialReference::destructor_void_
lea eax, [esp + 0x14]
call fcn.100164d0
xor eax, eax
mov ecx, dword [esp + 0x148]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x130]
xor ecx, esp
call fcn.10148524
mov esp, ebp
pop ebp
ret