Function at 0x4808b0
Capabilities:
Reference sql statements

Disassembly:
mov ecx, dword [0x93ee7c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x480e1e
sub esp, 0x5c
mov edx, dword [esp + 0x70]
cmp edx, 0x12
jg 0x480e05
mov ebx, dword [esp + 0x68]
test ebx, ebx
xchg ebp, ebx
sete bl
xchg ebp, ebx
mov edi, dword [esp + 0x64]
test edi, edi
sete al
and ebp, eax
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x480908
mov eax, dword [esp + 0x60]
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
add esp, 0x5c
ret
cmp ebx, 1
xchg ebp, ebx
seta bl
xchg ebp, ebx
sete al
and eax, 1
or eax, ebp
test al, al
je 0x480927
xor ecx, ecx
mov ebp, 0x20
jmp 0x48092d
mov ecx, ebx
mov ebx, edi
xor ebp, ebp
test ecx, ecx
xchg esi, ebx
seta bl
xchg esi, ebx
sete dl
cmp ebx, 0x10000
setae al
and eax, edx
or eax, esi
test al, al
je 0x48095a
shr ebx, 0x10
mov edx, ecx
shl edx, 0x10
or ebx, edx
shr ecx, 0x10
add ebp, 0x10
test ecx, ecx
seta dl
sete al
cmp ebx, 0x100
xchg esi, ebx
setae bl
xchg esi, ebx
and esi, eax
or esi, edx
xchg esi, eax
test al, al
xchg esi, eax
je 0x480989
shr ebx, 8
mov edx, ecx
shl edx, 0x18
or ebx, edx
shr ecx, 8
add ebp, 8
test ecx, ecx
jne 0x480df7
cmp ebx, 0x100
jae 0x480deb
lea eax, [0x7334b6]
movzx eax, byte [eax + ebx]
lea edx, [eax + ebp]
cmp edx, 0x37
jge 0x480a05
lea ecx, [eax + ebp - 0x37]
neg ecx
mov eax, edi
shl edi, cl
mov dword [esp + 0x58], edi
mov ebx, dword [esp + 0x68]
shl ebx, cl
mov dword [esp + 0x54], ebx
lea ebp, [ecx - 0x20]
mov esi, ecx
mov ecx, ebp
shl eax, cl
neg ecx
mov edi, dword [esp + 0x64]
shr edi, cl
mov ebx, dword [esp + 0x6c]
lea edx, [edx + ebx - 0x37]
cmp ebp, 0x20
sbb ebx, ebx
and eax, ebx
cmp ecx, 0x20
sbb ebx, ebx
and edi, ebx
cmp esi, 0x20
sbb ebx, ebx
mov ebp, dword [esp + 0x54]
and ebp, ebx
or ebp, edi
mov esi, dword [esp + 0x58]
and esi, ebx
or ebp, eax
jmp 0x480a0f
mov edx, dword [esp + 0x6c]
mov esi, edi
mov ebp, dword [esp + 0x68]
imul eax, edx, 0x13441
add eax, 0x4105b6
sar eax, 0x12
mov ecx, dword [esp + 0x70]
sub ecx, eax
mov dword [esp + 0x50], ecx
lea eax, [ecx - 1]
cmp eax, 0x37
jg 0x480a3a
test eax, eax
xchg edi, ebx
setge bl
xchg edi, ebx
jmp 0x480a3c
xor edi, edi
mov dword [esp + 0x24], eax
xchg edi, eax
mov byte [esp + 0x22], al
xchg edi, eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], ebp
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
call fcn.00482630
mov ecx, dword [esp + 0x18]
test ecx, ecx
jge 0x480dd3
mov edx, dword [esp + 0x50]
lea ebx, [edx + 0x15]
movzx ebp, byte [esp + 0x1c]
cmp ebx, 0x16
jae 0x480ab2
mov ebx, dword [esp + 0x28]
test ebx, ebx
xchg esi, ebx
sete bl
xchg esi, ebx
mov edi, dword [esp + 0x2c]
test edi, edi
sete al
and eax, esi
test al, al
jne 0x480cf8
xchg ebp, eax
mov byte [esp + 0x23], al
xchg ebp, eax
mov eax, edx
mov edx, dword [esp + 0x24]
neg edx
jmp 0x480d1b
movzx eax, byte [esp + 0x22]
mov dword [esp + 0x44], ecx
mov byte [esp + 0x22], al
xchg ebp, eax
mov byte [esp + 0x23], al
xchg ebp, eax
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x34], ebx
mov esi, dword [esp + 0x14]
mov dword [esp + 0x38], esi
mov edi, ecx
xchg edi, ebx
neg ebx
xchg edi, ebx
mov ecx, edi
mov edx, 1
shl edx, cl
mov ebp, dword [esp + 0x44]
add ebp, 0x20
xchg ebp, ebx
neg ebx
xchg ebp, ebx
mov dword [esp + 0x58], ebp
mov ecx, ebp
mov eax, 1
shl eax, cl
mov dword [esp + 0x54], eax
shr esi, cl
mov dword [esp + 0x4c], esi
mov ecx, edi
shr ebx, cl
mov esi, dword [esp + 0x38]
shr esi, cl
mov dword [esp + 0x48], esi
lea eax, [ecx - 0x20]
neg eax
mov ecx, eax
mov ebp, 1
shr ebp, cl
mov esi, dword [esp + 0x38]
shl esi, cl
cmp eax, 0x20
sbb eax, eax
and ebp, eax
and esi, eax
cmp edi, 0x20
sbb eax, eax
and edx, eax
and ebx, eax
or esi, ebx
mov ebx, dword [esp + 0x48]
and ebx, eax
mov dword [esp + 0x48], ebx
mov eax, edx
add edx, 0xffffffff
mov edi, dword [esp + 0x34]
and edx, edi
mov edi, dword [esp + 0x58]
cmp edi, 0x20
sbb edi, edi
mov ebx, dword [esp + 0x54]
and ebx, edi
or ebx, ebp
add eax, 0xffffffff
adc ebx, 0xffffffff
mov eax, dword [esp + 0x4c]
and eax, edi
or eax, esi
mov dword [esp + 0x34], eax
mov ebp, dword [esp + 0x38]
and ebx, ebp
mov dword [esp + 0x40], ebx
movzx ebp, byte [esp + 0x22]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x480c41
mov ebp, dword [esp + 0x44]
inc ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
mov ecx, ebp
mov edi, 1
shl edi, cl
lea esi, [ecx - 0x20]
mov ecx, esi
mov eax, 1
shl eax, cl
neg ecx
mov ebx, 1
shr ebx, cl
cmp esi, 0x20
sbb esi, esi
and eax, esi
cmp ebp, 0x20
sbb ebp, ebp
and edi, ebp
cmp edi, edx
xchg ebp, ebx
setb bl
xchg ebp, ebx
cmp ecx, 0x20
sbb esi, esi
and ebx, esi
or eax, ebx
mov ebx, dword [esp + 0x40]
cmp eax, ebx
sete al
xchg esi, ebx
setb bl
xchg esi, ebx
and ebp, eax
or ebp, esi
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x480bfb
movzx ecx, byte [esp + 0x23]
jmp 0x480c29
cmp edi, edx
sete cl
and eax, ecx
test al, al
je 0x480c34
movzx ecx, byte [esp + 0x23]
test cl, cl
je 0x480c29
test al, al
je 0x480c39
test cl, cl
je 0x480c39
mov eax, dword [esp + 0x34]
test eax, 1
xchg ebp, ebx
setne bl
xchg ebp, ebx
jmp 0x480ca4
mov eax, dword [esp + 0x34]
mov ebp, 1
jmp 0x480ca4
movzx ecx, byte [esp + 0x23]
mov eax, dword [esp + 0x34]
xor ebp, ebp
jmp 0x480ca4
mov dword [esp + 0x3c], edx
mov esi, dword [esp + 0x44]
inc esi
xchg esi, ebx
neg ebx
xchg esi, ebx
mov ecx, esi
shr edx, cl
shr ebx, cl
lea ebp, [ecx - 0x20]
mov ecx, ebp
mov eax, dword [esp + 0x40]
shr eax, cl
neg ecx
mov edi, dword [esp + 0x40]
shl edi, cl
cmp esi, 0x20
sbb esi, esi
and edx, esi
cmp ebp, 0x20
sbb ebp, ebp
and eax, ebp
cmp ecx, 0x20
sbb ecx, ecx
and edi, ecx
or edi, edx
or eax, edi
test esi, ebx
xchg ebp, ebx
sete bl
xchg ebp, ebx
cmp eax, 1
sete al
and ebp, eax
mov eax, dword [esp + 0x34]
movzx ecx, byte [esp + 0x23]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x40]
test edx, edx
setne dl
test ebx, ebx
setne bl
or ebx, edx
test bl, bl
je 0x480cb6
xor ecx, ecx
mov edx, dword [esp + 0x60]
mov dword [esp], edx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 8], eax
xor ecx, 1
mov byte [esp + 0xc], cl
xchg ebp, eax
mov byte [esp + 0xd], al
xchg ebp, eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x10], eax
call fcn.00480e30
mov eax, dword [esp + 0x60]
mov ecx, dword [eax + 0x10]
mov edx, dword [esp + 0x50]
sub ecx, edx
inc ecx
mov dword [eax + 0x10], ecx
add esp, 0x5c
ret
mov eax, 1
mov ebp, 1
jmp 0x480ab7
mov eax, esi
mov esi, dword [esp + 0x30]
lea edx, [esi - 1]
movzx ebp, byte [esp + 0x23]
mov edi, eax
mov eax, dword [esp + 0x50]
test edx, edx
jle 0x480dcc
mov dword [esp + 0x30], edx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], edi
mov eax, 0xcccccccd
mul edi
mov dword [esp + 0x58], edx
mov eax, 0xcccccccd
mul ebx
shr edx, 2
mov dword [esp + 0x54], edx
lea eax, [edx + edx*4]
sub ebx, eax
mov esi, dword [esp + 0x58]
shr esi, 2
lea eax, [esi + esi*4]
sub edi, eax
mov eax, edi
mov ebp, 0x33333333
mul ebp
mov dword [esp + 0x58], edx
add ebx, edi
mov edi, eax
mov eax, 0xcccccccd
mul ebx
shr edx, 2
mov eax, dword [esp + 0x54]
add eax, 0
adc esi, 0
add eax, edi
mov ebx, dword [esp + 0x58]
adc esi, ebx
add eax, edx
adc esi, 0
mov edx, 5
mov ebx, eax
mul edx
lea edi, [esi + esi*4]
add edx, edi
mov edi, dword [esp + 0x28]
cmp eax, edi
xchg edi, ebx
setne bl
xchg edi, ebx
mov ebp, dword [esp + 0x2c]
cmp ebp, edx
setne dl
or edx, edi
test dl, dl
je 0x480d07
mov edx, dword [esp + 0x50]
movzx eax, byte [esp + 0x22]
movzx ebp, byte [esp + 0x23]
jmp 0x480ab7
mov edx, eax
jmp 0x480cf8
lea eax, [0x6db180]
mov dword [esp], eax
lea eax, [0x78a130]
mov dword [esp + 4], eax
call fcn.0046a9e0
mov eax, ebx
mov ecx, 0x100
call fcn.004718c0
mov esi, ecx
mov eax, ebx
mov ecx, 0x100
call fcn.00471990
lea eax, [0x6db180]
mov dword [esp], eax
lea eax, [0x78a128]
mov dword [esp + 4], eax
call fcn.0046a9e0
nop
call fcn.00470430
jmp fcn.004808b0