Function at 0x44cbc0
Capabilities:
Reference sql statements
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x130
mov eax, dword [ecx + 0x68]
mov edx, dword [ecx + 0x58]
cmp dword [ecx + 0x9c], 0
mov dword [esp + 0x10], ecx
mov dword [esp + 0x4c], eax
mov eax, dword [ecx]
mov dword [esp + 0x20], edx
mov dword [esp + 0x18], eax
mov al, byte [eax + 0x4e]
mov byte [esp + 0x2b], al
je 0x44cc3d
mov eax, dword [esp + 0x18]
mov esi, dword [eax + 0x14]
test esi, esi
jle 0x44cc3d
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edi, dword [eax + 0x10]
test byte [ecx + 0x9c], 1
je 0x44cc31
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x44cc31
cmp byte [ecx + 9], 0
je 0x44cc31
inc dword [ecx + 0xc]
cmp byte [ecx + 0xa], 0
jne 0x44cc31
call fcn.004442e0
lea eax, [esi - 1]
cmp eax, 2
jae 0x44cd75
mov esi, dword [esp + 0x18]
cmp dword [esi + 0x158], 0
je 0x44cc62
mov ebx, dword [esp + 0x10]
mov edi, dword [esi + 0x160]
xor edx, edx
mov eax, dword [ebx + 0xb0]
div edi
sub edi, edx
jmp 0x44cc6b
mov ebx, dword [esp + 0x10]
mov edi, 0xffffffff
cmp dword [ebx + 0x28], 7
mov dword [esp + 0xac], 0
jne 0x44ccf0
mov eax, dword [esp + 0x4c]
mov dword [esp + 0xb4], 0
mov dword [esp + 8], eax
cmp byte [esi + 0x51], 0
jne 0x44ccd2
cmp byte [esi + 0x52], 0
jne 0x44ccd2
mov byte [esi + 0x51], 1
cmp dword [esi + 0xb8], 0
jle 0x44ccb2
mov dword [esi + 0x110], 1
inc dword [esi + 0x118]
mov word [esi + 0x11c], 0
mov eax, dword [esi + 0xf0]
test eax, eax
je 0x44ccd2
mov dword [eax + 0xc], 7
mov dword [esp + 0xc], edi
push str.out_of_memory
push ebx
call fcn.0044ac40
add esp, 8
mov edx, 7
mov edi, ebx
jmp 0x454731
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x3c], 0
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x78], 0
mov dword [esi + 0x1ac], 0
mov dword [esp + 0xac], 0
cmp dword [esi + 0x110], 0
je 0x44cdb7
mov eax, dword [esp + 0x4c]
mov dword [esp + 0xc], edi
mov dword [esp + 0xb4], 0
mov dword [esp + 8], eax
xor eax, eax
cmp byte [esi + 0x51], 0
sete al
lea edi, [eax + eax + 7]
add eax, eax
mov dword [ebx + 0x28], edi
push dword [eax*4 + 0x516e3c]
push 0x50cf7b
push ebx
call fcn.0044ac40
mov edx, edi
add esp, 0xc
mov edi, ebx
jmp 0x454731
add edi, 0x24
mov ebx, 2
jmp 0x44cd8c
inc ebx
add edi, 0x10
cmp esi, ebx
je 0x44cc3d
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x9c]
bt eax, ebx
jae 0x44cd80
mov ecx, dword [edi]
test ecx, ecx
je 0x44cd80
cmp byte [ecx + 9], 0
je 0x44cd80
inc dword [ecx + 0xc]
cmp byte [ecx + 0xa], 0
jne 0x44cd80
call fcn.004442e0
jmp 0x44cd80
lea eax, [ebx + 0x58]
mov ecx, dword [esp + 0x4c]
lea edx, [ebx + 0x60]
mov dword [esp + 0xac], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x7c], eax
mov eax, dword [ebx + 0x24]
mov dword [esp + 0x38], edx
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
lea ecx, [ebx + 0xd8]
mov dword [esp + 0xcc], ecx
lea ecx, [ebx + 0x7c]
mov dword [esp + 8], eax
mov dword [esp + 0x8c], ecx
jmp 0x44ce35
add dword [esp + 8], 0x14
mov eax, dword [esp + 8]
inc dword [esp + 0xac]
xor ecx, ecx
mov dl, byte [eax]
mov eax, edx
add al, 0x80
test cl, cl
movzx eax, al
jne 0x44ce30
jmp dword [eax*4 + 0x50a1c0]
mov edi, dword [esp + 0x10]
mov edx, 9
mov dword [esp + 0xc], 0xffffffff
cmp byte [esi + 0x51], 0
mov ebx, 7
cmove ebx, edx
cmp dword [edi + 0x7c], 0
jne 0x4547a2
cmp ebx, 0xc0a
je 0x4547a2
cmp ebx, 0x204
je 0x454764
cmp ebx, 0x65
je 0x45476b
cmp ebx, 0x64
jne 0x454772
mov eax, str.another_row_available
jmp 0x454790
mov eax, str.abort_due_to_ROLLBACK
jmp 0x454790
mov eax, str.no_more_rows_available
jmp 0x454790
movzx ecx, bl
mov eax, str.unknown_error
cmp ecx, 0x1c
ja 0x454790
mov edx, 0x1410004
bt edx, ecx
jb 0x454790
mov eax, dword [ecx*4 + 0x516e20]
push eax
push 0x50cf7b
push dword [esp + 0x18]
call fcn.0044ac40
add esp, 0xc
mov eax, dword [esp + 0x10]
cmp ebx, 0xc0a
mov dword [eax + 0x28], ebx
je 0x4547d7
mov eax, ebx
and eax, 0xfb
cmp eax, 0xa
jne 0x4547d7
mov eax, dword [esi]
mov ecx, dword [eax + 0x44]
test ecx, ecx
je 0x4547d2
push 0
push 0
push eax
call ecx
add esp, 0xc
jmp 0x4547d4
xor eax, eax
mov dword [esi + 0x48], eax
mov eax, dword [esp + 8]
mov edi, dword [esp + 0x10]
sub eax, dword [esp + 0x4c]
sar eax, 2
imul eax, eax, 0xcccccccd
push dword [edi + 0x7c]
push dword [edi + 0xbc]
push eax
push str.statement_aborts_at__d:___s___s
push ebx
call fcn.0041f100
add esp, 0x14
mov ecx, edi
call fcn.00448e30
mov edi, dword [esp + 0xc]
cmp ebx, 0xc0a
jne 0x45485a
cmp byte [esi + 0x51], 0
jne 0x45485a
cmp byte [esi + 0x52], 0
jne 0x45485a
mov byte [esi + 0x51], 1
cmp dword [esi + 0xb8], 0
jle 0x45483a
mov dword [esi + 0x110], 1
inc dword [esi + 0x118]
mov word [esi + 0x11c], 0
mov eax, dword [esi + 0xf0]
test eax, eax
je 0x45485a
mov dword [eax + 0xc], 7
mov eax, dword [esp + 0xb4]
mov ebx, 1
test al, al
jne 0x45487a
mov dword [esp + 0xb4], 0
jmp 0x454900
mov ecx, dword [esi + 0x10]
movzx eax, al
shl eax, 4
mov eax, dword [eax + ecx - 4]
or word [eax + 0x4e], 8
mov eax, dword [esi + 0x10]
mov eax, dword [eax + 0x1c]
or word [eax + 0x4e], 8
and byte [esi + 0x18], 0xef
cmp dword [esi + 0x38], 0
jne 0x454900
mov eax, dword [esi + 0x14]
test eax, eax
jle 0x454900
xor esi, esi
mov edi, 0xc
jmp 0x4548c8
inc esi
add edi, 0x10
cmp esi, eax
jge 0x4548ea
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx + 0x10]
mov ecx, dword [ecx + edi]
test byte [ecx + 0x4e], 8
je 0x4548c0
push ecx
call fcn.0045c070
add esp, 4
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x14]
jmp 0x4548c0
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0xc]
nop word cs:[eax + eax]
nop dword [eax]
cmp dword [esp + 0xac], edi
jb 0x45492d
mov eax, dword [esi + 0x158]
test eax, eax
je 0x45492d
add edi, dword [esi + 0x160]
push dword [esi + 0x15c]
call eax
add esp, 4
test eax, eax
je 0x454900
jmp 0x454720
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0x10]
add dword [ecx + 0xb0], eax
cmp dword [ecx + 0x9c], 0
je 0x45494c
call fcn.0044ad70
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret