Function at 0x1008eb5
Capabilities:
Reference sql statements

Disassembly:
push 0x71c
mov eax, 0x101a472
call fcn.01014600
mov dword [ebp - 0x6f4], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x6fc], eax
xor ebx, ebx
mov dword [ebp - 0x6d0], ebx
mov dword [ebp - 0x6d4], ebx
mov dword [ebp - 0x724], ebx
mov dword [ebp - 0x6e4], ebx
lea ecx, [ebp - 0x6cc]
call sub.framedynos.dll_public:_void___thiscall_CHString::constructor_void_
mov dword [ebp - 4], ebx
mov dword [ebp - 0x728], ebx
push 0x30
pop ecx
mov esi, 0x1001d80
lea edi, [ebp - 0xd4]
rep movsd dword es:[edi], dword [esi]
push 0x1001d74
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
mov dword [ebp - 0x6dc], ebx
mov dword [ebp - 0x6e0], ebx
push 8
pop ecx
lea eax, [ebp - 0x71c]
mov byte [eax], bl
inc eax
dec ecx
jne 0x1008f33
push 8
pop ecx
lea eax, [ebp - 0x714]
mov byte [eax], bl
inc eax
dec ecx
jne 0x1008f42
push 0x10
pop ecx
lea eax, [ebp - 0x70c]
mov byte [eax], bl
inc eax
dec ecx
jne 0x1008f51
mov byte [ebp - 4], 1
cmp esi, ebx
jne 0x1008f69
mov dword [ebp - 0x6d0], 0x8007000e
cmp dword [ebp - 0x6d0], ebx
jge 0x1008f7c
push dword [ebp - 0x6d0]
call fcn.01014187
lea eax, [ebp - 0xd4]
push eax
lea ecx, [ebp - 0x6d8]
call fcn.01004986
mov byte [ebp - 4], 2
cmp dword [eax], ebx
je 0x1008f9c
mov eax, dword [eax]
mov ecx, dword [eax]
jmp 0x1008f9e
xor ecx, ecx
mov eax, dword [ebp - 0x6fc]
mov edx, dword [eax]
lea edi, [ebp - 0x6dc]
push edi
push ebx
push 0x30
push ecx
push esi
push eax
call dword [edx + 0x50]
mov dword [ebp - 0x6d0], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x6d8]
cmp ecx, ebx
je 0x1008fd5
call fcn.0100506e
mov dword [ebp - 0x6d8], ebx
cmp dword [ebp - 0x6d0], ebx
jge 0x1008fe8
push dword [ebp - 0x6d0]
call fcn.01014187
mov edi, dword [ebp - 0x6f4]
push dword [edi + 0x14]
push dword [ebp - 0x6dc]
call fcn.0100481d
mov dword [ebp - 0x6d0], eax
cmp eax, ebx
jge 0x100900c
push eax
call fcn.01014187
mov dword [ebp - 0x6f0], ebx
mov eax, dword [ebp - 0x6dc]
mov ecx, dword [eax]
lea edx, [ebp - 0x6f0]
push edx
lea edx, [ebp - 0x6e0]
push edx
push 1
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
mov dword [ebp - 0x6d0], eax
cmp eax, ebx
jge 0x1009040
push eax
call fcn.01014187
cmp dword [ebp - 0x6f0], ebx
je 0x100916c
cmp dword [ebp - 0x6e0], ebx
je 0x100916c
lea eax, [ebp - 0x70c]
push eax
push 0x1001d60
push dword [ebp - 0x6e0]
call fcn.01005c2d
cmp eax, ebx
jne 0x100907d
push 0x800300fd
call fcn.01014187
lea eax, [ebp - 0x71c]
push eax
lea eax, [ebp - 0x70c]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea eax, [ebp - 0x714]
push eax
lea eax, [ebp - 0x71c]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
lea eax, [ebp - 0x70c]
push eax
lea eax, [ebp - 0x714]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
lea eax, [ebp - 0x6e4]
push eax
call fcn.01014ec9
mov esi, 0xfe
push esi
lea ecx, [ebp - 0x4cc]
push ecx
mov ecx, dword [ebp - 0x6e4]
dec ecx
neg ecx
sbb ecx, ecx
not ecx
and ecx, 0x1001644
push ecx
lea ecx, [ebp - 0x70c]
push ecx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetDateFormatW]
push esi
lea eax, [ebp - 0x6c8]
push eax
mov eax, dword [ebp - 0x6e4]
dec eax
neg eax
sbb eax, eax
not eax
and eax, 0x1001630
push eax
lea eax, [ebp - 0x70c]
push eax
push ebx
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTimeFormatW]
lea eax, [ebp - 0x6c8]
push eax
lea eax, [ebp - 0x4cc]
push eax
push 0x179
call fcn.01017157
push eax
push esi
lea eax, [ebp - 0x2d0]
push eax
call fcn.01006d3f
add esp, 0x14
lea eax, [ebp - 0x2d0]
push eax
lea ecx, [ebp - 0x6cc]
call sub.framedynos.dll_public:_class_CHString_const____thiscall_CHString::operator_unsigned_short_int_const__
mov eax, dword [ebp - 0x6e0]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x1009182
push 0x138d
call fcn.01017157
push eax
lea ecx, [ebp - 0x6cc]
call sub.framedynos.dll_public:_class_CHString_const____thiscall_CHString::operator_unsigned_short_int_const__
mov eax, dword [ebp - 0x6dc]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 0xbc
call fcn.01017157
push eax
mov esi, dword [sym.imp.msvcrt.dll___iob_func]
call esi
add eax, 0x20
push eax
call fcn.01016d99
push dword [ebp - 0x6cc]
call esi
add eax, 0x20
push eax
call fcn.01016d99
push 0x37
call fcn.01017157
push eax
call esi
add eax, 0x20
push eax
call fcn.01016d99
push 0x1001714
lea ecx, [ebp - 0x6e8]
call fcn.01004986
mov byte [ebp - 4], 3
cmp dword [eax], ebx
je 0x10091f2
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebp - 0x6d8], eax
jmp 0x10091f8
mov dword [ebp - 0x6d8], ebx
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x24]
push ebx
lea edx, [ebp - 0x6d0]
push edx
push dword [ebp - 0x6d8]
push ebx
lea edx, [edi + 0x14]
push edx
push dword [edi + 0x30]
push eax
push ecx
lea eax, [ebp - 0x6d4]
push eax
push dword [edi]
call fcn.01005276
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x6e8]
cmp ecx, ebx
je 0x100923d
call fcn.0100506e
mov dword [ebp - 0x6e8], ebx
cmp dword [ebp - 0x6d0], ebx
jge 0x1009250
push dword [ebp - 0x6d0]
call fcn.01014187
mov edi, dword [ebp + 0xc]
dec edi
neg edi
sbb edi, edi
add edi, 0x80000002
push 0x138d
call fcn.01017157
push eax
lea eax, [ebp - 0x6cc]
push eax
push 0x1001d50
push 0x1001cd0
push edi
push dword [ebp - 0x6d4]
call fcn.01006335
push dword [ebp - 0x6cc]
call fcn.0101844a
cmp eax, 1
jne 0x10092c9
push 2
lea eax, [ebp - 0x6f8]
push eax
lea ecx, [ebp - 0x6cc]
call sub.framedynos.dll_public:_class_CHString___thiscall_CHString::Mid_int_
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x6cc]
call sub.framedynos.dll_public:_class_CHString_const____thiscall_CHString::operator_class_CHString_const__
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x6f8]
call sub.framedynos.dll_public:_void___thiscall_CHString::destructor_void_
push 0xbd
call fcn.01017157
push eax
call esi
add eax, 0x20
push eax
call fcn.01016d99
push dword [ebp - 0x6cc]
call esi
add eax, 0x20
push eax
call fcn.01016d99
push 0x37
call fcn.01017157
push eax
call esi
add eax, 0x20
push eax
call fcn.01016d99
push 0xffffffffffffffff
lea eax, [ebp - 0x6ec]
push eax
push 0x1001c98
push 0x1001c40
push edi
push dword [ebp - 0x6d4]
call fcn.01006438
cmp dword [ebp - 0x6ec], 0xffffffff
jne 0x1009332
push 0x1001c2c
jmp 0x1009358
push dword [ebp - 0x6ec]
push 0x1001c1c
push 0xfe
lea eax, [ebp - 0x2d0]
push eax
call fcn.01006d3f
add esp, 0x10
lea eax, [ebp - 0x2d0]
push eax
lea ecx, [ebp - 0x6cc]
call sub.framedynos.dll_public:_class_CHString_const____thiscall_CHString::operator_unsigned_short_int_const__
push 0xbb
call fcn.01017157
push eax
call esi
add eax, 0x20
push eax
call fcn.01016d99
push dword [ebp - 0x6cc]
call esi
add eax, 0x20
push eax
call fcn.01016d99
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x6d4]
cmp eax, ebx
je 0x10093a3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x6d4], ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6cc]
call sub.framedynos.dll_public:_void___thiscall_CHString::destructor_void_
xor eax, eax
inc eax
jmp 0x100947f
call fcn.0101466b
ret 8