Function at 0x418d83
Capabilities:
Reference sql statements

Disassembly:
push ebx
mov ebx, esp
push ecx
push ecx
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x58
push esi
push edi
mov edi, ecx
mov esi, edx
xor ecx, ecx
mov dword [ebp - 0x10], edi
inc ecx
mov eax, ecx
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
movzx eax, byte [esi]
movzx eax, byte [eax + 0x49dfb0]
cmp eax, 0x6c
ja 0x4190a5
je 0x419060
cmp eax, 0x2b
je 0x418dde
cmp eax, 0x2d
je 0x418dde
add eax, 0xffffffd0
cmp eax, 9
ja 0x419052
mov al, byte [esi + 1]
mov edi, ecx
jmp 0x418df8
cmp al, 0x3a
je 0x418dfc
movzx eax, al
test byte [eax + 0x49d5b0], cl
jne 0x418dfc
inc edi
mov al, byte [esi + edi]
test al, al
jne 0x418de5
push ecx
push edi
lea edx, [ebp - 0x18]
mov ecx, esi
call fcn.0041c9fd
pop ecx
pop ecx
test eax, eax
jne 0x418e16
xor ecx, ecx
inc ecx
jmp 0x419055
add edi, esi
cmp byte [edi], 0x3a
jne 0x418ebe
push 0x30
lea eax, [ebp - 0x58]
push 0
push eax
call fcn.004722c0
movzx eax, byte [esi]
lea ecx, [esi + 1]
add esp, 0xc
lea edx, [ebp - 0x58]
test byte [eax + 0x49d5b0], 4
cmovne ecx, esi
call fcn.00418663
test eax, eax
jne 0x419052
lea ecx, [ebp - 0x58]
call fcn.00418789
mov eax, dword [ebp - 0x58]
mov edi, dword [ebp - 0x54]
add eax, 0xfd6cd200
push 0xffffffffffffffff
push 0xfad9a400
adc edi, 0xffffffff
mov dword [ebp - 0x10], eax
push edi
push eax
call fcn.0048dd00
push 0
push 0x5265c00
push edx
push eax
call fcn.0048da00
mov ecx, dword [ebp - 0x10]
add ecx, eax
mov dword [ebp - 0x10], ecx
adc edi, edx
cmp byte [esi], 0x2d
jne 0x418e9f
neg ecx
mov dword [ebp - 0x10], ecx
adc edi, 0
neg edi
mov esi, dword [ebx + 0xc]
mov ecx, esi
call fcn.00418789
mov ecx, esi
call fcn.00418c29
mov eax, dword [ebp - 0x10]
add dword [esi], eax
adc dword [esi + 4], edi
jmp 0x41933b
inc edi
movzx eax, byte [edi]
test byte [eax + 0x49d5b0], 1
jne 0x418ebd
mov ecx, edi
call fcn.0041c748
mov ecx, eax
mov dword [ebp - 8], eax
lea eax, [ecx - 3]
cmp eax, 7
ja 0x419052
movzx eax, byte [edi + ecx - 1]
cmp byte [eax + 0x49dfb0], 0x73
jne 0x418ef4
dec ecx
mov dword [ebp - 8], ecx
mov esi, dword [ebx + 0xc]
mov ecx, esi
call fcn.00418789
movsd xmm1, qword [ebp - 0x18]
xorps xmm0, xmm0
comisd xmm0, xmm1
mov dword [ebp - 4], 1
movsd qword [ebp - 0x20], xmm1
jbe 0x418f22
movsd xmm0, qword [0x4a79d0]
jmp 0x418f2a
movsd xmm0, qword [0x4a78e0]
and dword [ebp - 0x10], 0
mov eax, 0x49d348
mov ecx, dword [ebp - 8]
xor edx, edx
movsd qword [ebp - 0x28], xmm0
mov dword [ebp - 0xc], eax
movzx eax, byte [eax - 7]
cmp eax, ecx
mov eax, dword [ebp - 0xc]
jne 0x418f84
push ecx
push edi
push dword [eax - 4]
call fcn.0041c971
add esp, 0xc
test eax, eax
mov eax, dword [ebp - 0xc]
jne 0x418f7e
movsd xmm2, qword [eax]
movsd xmm1, qword [ebp - 0x18]
movaps xmm0, xmm2
xorps xmm0, xmmword [0x4a7a00]
comisd xmm1, xmm0
jbe 0x418f7e
comisd xmm2, xmm1
ja 0x418f9a
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
add eax, 0x18
inc edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], eax
cmp eax, 0x49d3d8
jl 0x418f40
jmp 0x41904b
imul edi, dword [ebp - 0x10], 0x18
movzx eax, byte [edi + 0x49d340]
sub eax, 1
je 0x418fc8
sub eax, 1
jne 0x419024
mov ecx, esi
call fcn.00418c19
movsd xmm1, qword [ebp - 0x18]
cvttsd2si eax, xmm1
add dword [esi + 8], eax
movd xmm0, eax
jmp 0x419013
mov ecx, esi
call fcn.00418c19
movsd xmm1, qword [ebp - 0x18]
cvttsd2si eax, xmm1
add dword [esi + 0xc], eax
mov ecx, dword [esi + 0xc]
mov dword [ebp - 0xc], eax
test ecx, ecx
jle 0x418ff5
lea eax, [ecx - 1]
mov dword [ebp - 0x10], 0xc
cdq
idiv dword [ebp - 0x10]
jmp 0x419003
lea eax, [ecx - 0xc]
mov dword [ebp - 0x10], 0xc
cdq
idiv dword [ebp - 0x10]
add dword [esi + 8], eax
movd xmm0, dword [ebp - 0xc]
imul eax, eax, 0xc
sub ecx, eax
mov dword [esi + 0xc], ecx
cvtdq2pd xmm0, xmm0
mov byte [esi + 0x28], 0
subsd xmm1, xmm0
movsd qword [ebp - 0x20], xmm1
mov ecx, esi
call fcn.00418789
movsd xmm0, qword [edi + 0x49d350]
mulsd xmm0, qword [ebp - 0x20]
addsd xmm0, qword [ebp - 0x28]
call 0x48e66f
add dword [esi], eax
adc dword [esi + 4], edx
and dword [ebp - 4], 0
mov ecx, esi
call fcn.00418c29
mov ecx, dword [ebp - 4]
pop edi
mov eax, ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0x4a26d4
push esi
call fcn.0041c905
pop ecx
pop ecx
test eax, eax
jne 0x419052
mov ecx, edi
call fcn.00434bb1
test eax, eax
je 0x419052
mov esi, dword [ebx + 0xc]
mov ecx, esi
call fcn.00418789
lea eax, [ebp - 8]
mov edx, edi
push eax
mov ecx, esi
call fcn.00418c4a
add dword [esi], eax
pop ecx
adc dword [esi + 4], edx
mov ecx, esi
call fcn.00418c29
mov ecx, dword [ebp - 8]
jmp 0x419055
sub eax, 0x73
je 0x4192b7
dec eax
sub eax, 1
je 0x4191c6
dec eax
sub eax, 1
jne 0x419052
push 8
push 0x4a26f0
push esi
call fcn.0041c971
add esp, 0xc
test eax, eax
jne 0x419052
push 1
lea ecx, [esi + 8]
call fcn.0041c748
push eax
lea edx, [ebp - 0x18]
lea ecx, [esi + 8]
call fcn.0041c9fd
pop ecx
pop ecx
test eax, eax
je 0x419052
cvttsd2si esi, qword [ebp - 0x18]
movd xmm0, esi
cvtdq2pd xmm0, xmm0
ucomisd xmm0, qword [ebp - 0x18]
lahf
test ah, 0x44
jp 0x419052
test esi, esi
js 0x419052
movsd xmm0, qword [0x4a78f0]
comisd xmm0, xmmword [ebp - 0x18]
jbe 0x419052
mov edi, dword [ebx + 0xc]
mov ecx, edi
call fcn.00418c19
mov ecx, edi
mov byte [edi + 0x2c], 0
mov byte [edi + 0x28], 0
call fcn.00418789
mov eax, dword [edi]
mov ecx, eax
mov edx, dword [edi + 4]
add ecx, 0x7b98a00
mov dword [ebp - 0x10], eax
mov eax, edx
push 0
mov dword [ebp - 0xc], edx
adc eax, 0
mov edx, 0x5265c00
push edx
push eax
push ecx
call fcn.0048dd00
push 0
push 7
push edx
push eax
call fcn.0048ddb0
mov ecx, eax
mov edi, edx
mov eax, esi
cdq
cmp edi, edx
jl 0x41918b
jg 0x419185
cmp ecx, eax
jbe 0x41918b
add ecx, 0xfffffff9
adc edi, 0xffffffff
push 0
mov eax, 0x5265c00
push eax
push edi
push ecx
call fcn.0048da00
mov esi, eax
mov edi, edx
cvttsd2si eax, qword [ebp - 0x18]
mov ecx, 0x5265c00
imul ecx
mov ecx, dword [ebx + 0xc]
sub eax, esi
sbb edx, edi
add eax, dword [ebp - 0x10]
mov dword [ecx], eax
adc edx, dword [ebp - 0xc]
mov dword [ecx + 4], edx
call fcn.00418c29
jmp 0x41933b
push 0x4a26e0
push esi
call fcn.0041c905
mov edi, dword [ebx + 0xc]
pop ecx
pop ecx
test eax, eax
jne 0x419231
cmp byte [edi + 0x29], 0
je 0x419231
movsd xmm0, qword [edi + 0x20]
mulsd xmm0, qword [0x4a7930]
addsd xmm0, qword [0x4a7988]
comisd xmm0, xmmword [0x4a78c8]
jb 0x419052
movsd xmm1, qword [0x4a7990]
comisd xmm1, xmm0
jbe 0x419052
mov ecx, edi
call fcn.00418c29
call 0x48e66f
mov dword [edi], eax
mov dword [edi + 4], edx
mov word [edi + 0x28], 1
jmp 0x41933b
push 0x4a26ec
push esi
call fcn.0041c905
pop ecx
pop ecx
test eax, eax
jne 0x419052
mov esi, dword [ebp - 0x10]
mov ecx, esi
call fcn.00434bb1
test eax, eax
je 0x419052
cmp byte [edi + 0x2d], 0
jne 0x41933b
mov ecx, edi
call fcn.00418789
lea eax, [ebp - 8]
mov edx, esi
push eax
mov ecx, edi
call fcn.00418c4a
pop ecx
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
test ecx, ecx
jne 0x4192ae
sub dword [edi], eax
mov ecx, edi
sbb dword [edi + 4], edx
call fcn.00418c29
lea eax, [ebp - 8]
mov edx, esi
push eax
call fcn.00418c4a
pop ecx
mov ecx, dword [ebp - 0x10]
sub ecx, eax
mov eax, dword [ebp - 0xc]
sbb eax, edx
add dword [edi], ecx
mov ecx, dword [ebp - 8]
adc dword [edi + 4], eax
mov byte [edi + 0x2d], 1
jmp 0x419055
push 9
push str.gdi32.dll
push esi
call fcn.0041c971
add esp, 0xc
test eax, eax
jne 0x419052
mov edi, dword [ebx + 0xc]
cmp byte [edi + 0x28], al
jne 0x4192e5
cmp byte [edi + 0x2a], al
jne 0x4192e5
cmp byte [edi + 0x2b], al
je 0x419052
mov ecx, edi
add esi, 9
call fcn.00418a6a
xor eax, eax
mov word [edi + 0x2b], 1
xorps xmm0, xmm0
mov dword [edi + 0x18], eax
push 0x4a26c4
push esi
mov dword [edi + 0x14], eax
movsd qword [edi + 0x20], xmm0
mov word [edi + 0x28], ax
call fcn.0041c905
pop ecx
pop ecx
test eax, eax
jne 0x419323
mov dword [edi + 0x10], 1
jmp 0x41933b
push str.GdipGetImageEncoders
push esi
call fcn.0041c905
pop ecx
pop ecx
test eax, eax
jne 0x419342
inc eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], eax
xor ecx, ecx
jmp 0x419055
push 0x4a26c0
push esi
call fcn.0041c905
pop ecx
neg eax
pop ecx
mov ecx, dword [ebp - 4]
sbb eax, eax
and ecx, eax
jmp 0x419055