Function at 0x1004ad8
Capabilities:
Reference sql statements

Disassembly:
push 0x64
mov eax, 0x10101e1
call fcn.010087c2
mov edi, ecx
mov dword [ebp - 0x40], edi
lea ecx, [ebp - 0x1c]
call sub.framedynos.dll_public:_void___thiscall_CHString::constructor_void_
xor ebx, ebx
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x18]
call sub.framedynos.dll_public:_void___thiscall_CHString::constructor_void_
mov byte [ebp - 4], 1
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x14], ebx
cmp dword [edi + 0x40], ebx
je 0x1004d51
call fcn.0100b7ae
mov dword [ebp - 0x28], eax
cmp eax, ebx
jne 0x1004b35
push 0x8007000e
call dword [sym.imp.KERNEL32.dll_SetLastError]
call fcn.010097db
jmp 0x1004d51
mov byte [ebp - 4], 2
cmp dword [edi + 0x98], ebx
je 0x1004b76
mov dword [ebp - 0x20], ebx
mov eax, dword [ebp - 0x20]
cmp eax, dword [edi + 0x94]
jae 0x1004d19
imul eax, eax, 0x2c
mov ecx, dword [edi + 0x98]
add eax, ecx
mov ecx, dword [edi + 0x70]
cmp ecx, dword [eax + 0x24]
jne 0x1004b71
push ebx
push dword [eax]
push dword [ebp - 0x28]
call fcn.0100bc2d
inc dword [ebp - 0x20]
jmp 0x1004b44
mov byte [ebp - 4], 3
mov dword [ebp - 0x24], ebx
cmp dword [ebp - 0x24], 0xa
jae 0x1004b8f
mov eax, dword [ebp - 0x24]
mov dword [ebp + eax*4 - 0x70], ebx
inc dword [ebp - 0x24]
jmp 0x1004b7d
push dword [edi + 0x70]
push 0x1001748
lea eax, [ebp - 0x1c]
push eax
call sub.framedynos.dll_public:_void___cdecl_CHString::Format_unsigned_short_int_const__
add esp, 0xc
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x34]
call fcn.01004748
mov esi, eax
mov byte [ebp - 4], 4
push 0x100173c
lea ecx, [ebp - 0x30]
call fcn.01004748
mov byte [ebp - 4], 5
cmp dword [esi], ebx
je 0x1004bd2
mov esi, dword [esi]
mov ecx, dword [esi]
mov dword [ebp - 0x2c], ecx
jmp 0x1004bd5
mov dword [ebp - 0x2c], ebx
cmp dword [eax], ebx
je 0x1004bdf
mov eax, dword [eax]
mov ecx, dword [eax]
jmp 0x1004be1
xor ecx, ecx
mov eax, dword [edi + 4]
mov edx, dword [eax]
lea esi, [ebp - 0x14]
push esi
push ebx
push 0x30
push dword [ebp - 0x2c]
push ecx
push eax
call dword [edx + 0x50]
mov esi, eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x30]
cmp ecx, ebx
je 0x1004c0a
call fcn.010047c0
mov dword [ebp - 0x30], ebx
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x34]
cmp ecx, ebx
je 0x1004c1d
call fcn.010047c0
mov dword [ebp - 0x34], ebx
cmp esi, ebx
jge 0x1004c27
push esi
call fcn.010083be
push dword [edi + 0xc]
push dword [ebp - 0x14]
call fcn.0100688a
cmp eax, ebx
jge 0x1004c3c
push eax
call fcn.010083be
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
lea edx, [ebp - 0x38]
push edx
lea edx, [ebp - 0x70]
push edx
push 0xa
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
xor ecx, ecx
inc ecx
cmp eax, ecx
jne 0x1004c5d
mov dword [ebp - 0x3c], ecx
jmp 0x1004c68
cmp eax, 0x40004
je 0x1004cb8
cmp eax, ebx
jl 0x1004cb8
xor edi, edi
mov dword [ebp - 0x44], edi
cmp edi, dword [ebp - 0x38]
jae 0x1004cb3
lea esi, [ebp + edi*4 - 0x70]
push 0x138d
call fcn.0100b775
push eax
lea eax, [ebp - 0x18]
push eax
push 0x1001730
push dword [esi]
call fcn.01007bfc
cmp eax, 1
jne 0x1004ca2
push ebx
push dword [ebp - 0x18]
push dword [ebp - 0x28]
call fcn.0100bc2d
mov eax, dword [esi]
cmp eax, ebx
je 0x1004cb0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esi], ebx
inc edi
jmp 0x1004c6a
cmp dword [ebp - 0x3c], ebx
je 0x1004c3c
mov dword [ebp - 4], 2
jmp 0x1004cea
xor edi, edi
cmp edi, 0xa
jae 0x1004d06
lea esi, [ebp + edi*4 - 0x70]
mov eax, dword [esi]
cmp eax, ebx
je 0x1004d03
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esi], ebx
inc edi
jmp 0x1004cec
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x1004d16
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x14], ebx
mov edi, dword [ebp - 0x40]
push dword [ebp - 0x28]
push 0xa
push dword [ebp + 8]
push dword [edi + 0x6c]
call fcn.0100c891
mov dword [ebp - 4], 1
jmp 0x1004d51
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x18]
call sub.framedynos.dll_public:_void___thiscall_CHString::destructor_void_
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call sub.framedynos.dll_public:_void___thiscall_CHString::destructor_void_
call fcn.0100883b
ret 4