Function at 0x4114e0
Capabilities:
Reference sql statements

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4117a2
sub esp, 0x40
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
cmp ecx, edx
je 0x411565
test edx, edx
je 0x41179c
lea edi, [esp + 0x18]
xor eax, eax
call fcn.0045a176
mov eax, dword [esp + 0x5c]
mov ecx, edx
xor edx, edx
div ecx
mov edx, ecx
shr ecx, 2
mov ebx, dword [esp + 0x54]
mov ebp, ebx
shr ebx, 2
mov esi, ecx
sub ecx, ebx
test ecx, ecx
jbe 0x41155e
mov byte [esp + 0x18], 1
cmp ecx, 1
jbe 0x411554
mov byte [esp + 0x1a], 0x81
lea ebx, [ecx - 1]
mov ecx, 3
jmp 0x411766
mov ecx, 2
jmp 0x411640
xor ecx, ecx
jmp 0x411640
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov dword [esp + 4], 0
mov eax, dword [esp + 0x44]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
call fcn.00411890
mov eax, dword [esp + 0x10]
mov ecx, eax
shl eax, 2
mov edx, dword [esp + 0x54]
cmp edx, eax
jne 0x4115c3
lea eax, [ecx + 3]
shr eax, 2
mov ecx, dword [esp + 0x60]
shr ecx, 4
mov edx, dword [esp + 0x44]
add ecx, edx
add eax, edx
mov edx, eax
mov dword [esp], edx
sub ecx, eax
mov dword [esp + 4], ecx
call fcn.0045a6a0
add esp, 0x40
ret
mov dword [esp + 0x14], ecx
call fcn.00433670
lea eax, [0x4efb2c]
mov dword [esp], eax
mov dword [esp + 4], 0x2b
call fcn.00433f50
mov dword [esp + 4], 0
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call fcn.00433bf0
lea eax, [0x4e81f1]
mov dword [esp], eax
mov dword [esp + 4], 0xe
call fcn.00433f50
mov dword [esp + 4], 0
mov eax, dword [esp + 0x54]
mov dword [esp], eax
call fcn.00433bf0
call fcn.00433890
call fcn.004336e0
lea eax, [0x4ef97e]
mov dword [esp], eax
mov dword [esp + 4], 0x2b
call fcn.00432150
cmp ecx, 0x28
jae 0x411748
mov byte [esp + ecx + 0x18], pe_nt_image_headers32
lea ebx, [ecx + 1]
jmp 0x411667
mov edi, esi
or esi, 0x80
xchg esi, eax
mov byte [esp + ebx + 0x18], al
xchg esi, eax
shr edi, 7
inc ebx
mov esi, edi
cmp esi, 0x80
jb 0x411679
cmp ebx, 0x28
jb 0x411653
jmp 0x41173c
cmp ebx, 0x28
jae 0x411730
xchg esi, eax
mov byte [esp + ebx + 0x18], al
xchg esi, eax
inc ebx
lea esi, [eax - 1]
mov eax, esi
jmp 0x4116a4
mov edi, esi
or esi, 0x80
xchg esi, eax
mov byte [esp + ebx + 0x18], al
xchg esi, eax
shr edi, 7
inc ebx
mov esi, edi
cmp esi, 0x80
jb 0x4116b3
cmp ebx, 0x28
jb 0x411690
jmp 0x411724
cmp ebx, 0x28
jae 0x411718
xchg esi, eax
mov byte [esp + ebx + 0x18], al
xchg esi, eax
lea esi, [ebx + 1]
cmp esi, 0x28
jae 0x41170c
mov dword [esp + 0x14], eax
mov byte [esp + ebx + 0x19], 0
mov eax, dword [esp + 0x64]
mov dword [esp], eax
lea eax, [esp + 0x18]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
call fcn.00411890
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x14]
imul eax, ecx
mov ecx, dword [esp + 0x54]
add ecx, eax
shr ecx, 2
jmp 0x41159a
mov eax, esi
mov ecx, 0x28
call fcn.0045a030
mov eax, ebx
mov ecx, 0x28
call fcn.0045a030
mov eax, ebx
mov ecx, 0x28
call fcn.0045a030
mov eax, ebx
mov ecx, 0x28
call fcn.0045a030
mov eax, ebx
mov ecx, 0x28
call fcn.0045a030
mov eax, ecx
mov ecx, 0x28
call fcn.0045a030
mov edi, ebx
or ebx, 0x80
mov byte [esp + ecx + 0x18], bl
shr edi, 7
inc ecx
mov ebx, edi
cmp ebx, 0x80
jb 0x411775
cmp ecx, 0x28
jb 0x411754
jmp 0x411790
cmp ecx, 0x28
jae 0x411784
mov byte [esp + ecx + 0x18], bl
inc ecx
jmp 0x411640
mov eax, ecx
mov ecx, 0x28
call fcn.0045a030
mov eax, ecx
mov ecx, 0x28
call fcn.0045a030
call fcn.0042fdf0
nop
call fcn.00458b70
jmp fcn.004114e0