Function at 0x480560
Capabilities:
Reference sql statements

Disassembly:
mov ecx, dword [0x93ee7c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x480899
sub esp, 0x3c
mov edx, dword [esp + 0x4c]
test edx, edx
jl 0x480880
cmp edx, 9
jg 0x480868
mov ebx, dword [esp + 0x44]
test ebx, ebx
jne 0x4805aa
mov eax, dword [esp + 0x40]
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
add esp, 0x3c
ret
cmp ebx, 0x10000
jb 0x4805be
mov ebp, ebx
shr ebx, 0x10
mov eax, 0x10
jmp 0x4805c2
mov ebp, ebx
xor eax, eax
cmp ebx, 0x100
jb 0x4805d0
shr ebx, 8
add eax, 8
cmp ebx, 0x100
jae 0x48085c
lea esi, [0x7334b6]
movzx ebx, byte [esi + ebx]
lea esi, [ebx + eax]
cmp esi, 0x19
jge 0x480607
lea ecx, [ebx + eax - 0x19]
neg ecx
shl ebp, cl
mov eax, dword [esp + 0x48]
lea eax, [esi + eax - 0x19]
cmp ecx, 0x20
sbb ebx, ebx
and ebp, ebx
jmp 0x48060b
mov eax, dword [esp + 0x48]
imul ecx, eax, 0x13441
add ecx, 0x1ce618
sar ecx, 0x12
sub edx, ecx
mov dword [esp + 0x38], edx
lea ecx, [edx - 1]
cmp ecx, 0x1b
jg 0x480633
test ecx, ecx
xchg esi, ebx
setge bl
xchg esi, ebx
jmp 0x480635
xor esi, esi
mov dword [esp + 0x1c], ecx
xchg esi, eax
mov byte [esp + 0x1b], al
xchg esi, eax
mov dword [esp + 0x20], ebp
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00482520
mov ecx, dword [esp + 0x10]
test ecx, ecx
jge 0x480844
mov edx, dword [esp + 0x38]
lea ebx, [edx + 9]
movzx ebp, byte [esp + 0x14]
cmp ebx, 0xa
jae 0x48069f
mov ebx, dword [esp + 0x20]
test ebx, ebx
xchg esi, ebx
sete bl
xchg esi, ebx
and esi, 1
xchg esi, eax
test al, al
xchg esi, eax
jne 0x480774
mov dword [esp + 0x2c], ecx
mov esi, dword [esp + 0x1c]
xchg esi, ebx
neg ebx
xchg esi, ebx
xor eax, eax
jmp 0x480792
movzx eax, byte [esp + 0x1b]
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x28], ebx
mov esi, ecx
xchg esi, ebx
neg ebx
xchg esi, ebx
mov edi, ecx
mov ecx, esi
mov edx, 1
shl edx, cl
shr ebx, cl
cmp ecx, 0x20
sbb esi, esi
and edx, esi
dec edx
and ebx, esi
mov esi, dword [esp + 0x28]
and edx, esi
test al, al
je 0x480714
lea ecx, [edi + 1]
neg ecx
mov eax, 1
shl eax, cl
cmp ecx, 0x20
sbb esi, esi
and eax, esi
cmp eax, edx
jb 0x480709
jne 0x480710
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x480709
cmp eax, edx
jne 0x480710
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x480710
test ebx, 1
setne al
jmp 0x48072c
mov eax, 1
jmp 0x48072c
xor eax, eax
jmp 0x48072c
lea ecx, [edi + 1]
neg ecx
mov esi, edx
shr edx, cl
cmp ecx, 0x20
sbb edi, edi
and edx, edi
cmp edx, 1
sete al
mov edx, esi
test edx, edx
je 0x480732
xor ebp, ebp
mov ecx, dword [esp + 0x40]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], 0
xor ebp, 1
xchg ebp, eax
mov byte [esp + 0xc], al
xchg ebp, eax
mov byte [esp + 0xd], al
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x10], eax
call fcn.00480e30
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + 0x10]
mov edx, dword [esp + 0x38]
sub ecx, edx
inc ecx
mov dword [eax + 0x10], ecx
add esp, 0x3c
ret
mov eax, 1
mov ebp, 1
jmp 0x4806a4
dec esi
mov edx, dword [esp + 0x38]
mov ebx, eax
mov eax, ebp
mov ebp, ecx
mov ecx, dword [esp + 0x2c]
test esi, esi
jle 0x480774
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ebx
mov edi, eax
mov eax, 0xcccccccd
mul edi
mov dword [esp + 0x34], edx
mov eax, 0xcccccccd
mul ebx
shr edx, 2
mov dword [esp + 0x30], edx
lea eax, [edx + edx*4]
sub ebx, eax
mov eax, ebp
mov ebp, dword [esp + 0x34]
shr ebp, 2
lea ecx, [ebp + ebp*4]
sub edi, ecx
mov ecx, eax
mov eax, 0x33333333
mul edi
mov dword [esp + 0x34], edx
add ebx, edi
mov edi, eax
mov eax, 0xcccccccd
mul ebx
shr edx, 2
mov ebx, dword [esp + 0x30]
add ebx, 0
adc ebp, 0
add ebx, edi
mov edi, dword [esp + 0x34]
adc ebp, edi
add edx, ebx
adc ebp, 0
mov eax, 5
mov ebx, edx
mul edx
lea edi, [ebp + ebp*4]
add edx, edi
mov edi, dword [esp + 0x20]
cmp eax, edi
xchg edi, ebx
setne bl
xchg edi, ebx
mov eax, ebx
mov ebx, dword [esp + 0x24]
cmp ebx, edx
setne dl
or edx, edi
test dl, dl
je 0x480783
mov edx, dword [esp + 0x38]
movzx eax, byte [esp + 0x1b]
mov ebp, ecx
mov ecx, dword [esp + 0x2c]
jmp 0x4806a4
lea eax, [0x6db180]
mov dword [esp], eax
lea eax, [0x78a120]
mov dword [esp + 4], eax
call fcn.0046a9e0
mov eax, ebx
mov ecx, 0x100
call fcn.004718c0
lea eax, [0x6db180]
mov dword [esp], eax
lea eax, [0x78a118]
mov dword [esp + 4], eax
call fcn.0046a9e0
lea eax, [0x6db180]
mov dword [esp], eax
lea eax, [0x78a110]
mov dword [esp + 4], eax
call fcn.0046a9e0
nop
call fcn.00470430
jmp fcn.00480560