Function at 0x446cc0
Capabilities:
Reference sql statements

Disassembly:
mov ecx, dword [0x93ee7c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0xa8]
cmp eax, dword [ecx + 8]
jbe 0x447378
sub esp, 0x128
mov ecx, dword [esp + 0x12c]
mov ebx, dword [ecx]
cmp ebx, 1
je 0x447361
cmp ebx, 2
je 0x446d80
mov dword [ecx], 1
lea edi, [esp + 0xd8]
xor eax, eax
call fcn.00471ac9
movzx ecx, byte [0x93f270]
test cl, cl
jne 0x446d21
xor ecx, ecx
xor edx, edx
jmp 0x446d52
nop
call fcn.004725f0
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov dword [esp + 0xcc], ecx
lea edi, [esp + 0xd8]
lea esi, [0x93f270]
call fcn.00471f9a
mov ecx, dword [esp + 0xcc]
mov edx, eax
xor eax, eax
mov ebx, dword [esp + 0x12c]
mov ebp, dword [ebx + 4]
test ebp, ebp
je 0x44734b
mov dword [esp + 0xcc], ecx
mov dword [esp + 0xc8], edx
lea ebp, [ebx + 8]
mov dword [esp + 0x120], ebp
xor ebp, ebp
jmp 0x446dcb
add esp, 0x128
ret
mov eax, dword [esp + 0x120]
lea eax, [eax + ebp*4]
lea ecx, [ebp + 1]
mov dword [esp + 0xd4], ecx
mov dword [esp + 0x11c], eax
mov edx, dword [esp + 0x11c]
mov eax, dword [edx]
call eax
xor eax, eax
mov ecx, dword [esp + 0xcc]
mov edx, dword [esp + 0xc8]
mov ebx, dword [esp + 0x12c]
mov ebp, dword [esp + 0xd4]
cmp dword [ebx + 4], ebp
ja 0x446d87
movzx ebp, byte [0x93f270]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x44702c
nop
call fcn.004725f0
mov eax, dword [esp]
mov dword [esp + 0xb8], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0xbc], ecx
lea edi, [esp + 0xf4]
lea esi, [0x93f270]
call fcn.00471f9a
mov ecx, dword [esp + 0x120]
mov ecx, dword [ecx]
mov dword [esp], ecx
call fcn.0046da10
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00452dd0
mov eax, dword [esp + 8]
mov dword [esp + 0x118], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xd0], ecx
lea edi, [esp + 0x20]
xor eax, eax
call fcn.00471aca
call fcn.00437f30
lea eax, [0x71b72f]
mov dword [esp], eax
mov dword [esp + 4], 5
call fcn.00438790
mov eax, dword [esp + 0x118]
mov dword [esp], eax
mov eax, dword [esp + 0xd0]
mov dword [esp + 4], eax
call fcn.00438790
lea eax, [0x71b22f]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00438790
call fcn.00437f90
mov eax, dword [0x93eec0]
mov ecx, dword [0x93eec4]
lea edx, [esp + 0x20]
mov dword [esp], edx
mov dword [esp + 4], 0x18
mov dword [esp + 8], 0x18
mov ebx, dword [esp + 0xc8]
sub ebx, eax
mov dword [esp + 0xc], ebx
mov eax, dword [esp + 0xcc]
sbb eax, ecx
mov dword [esp + 0x10], eax
call fcn.004188a0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x98]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.0046cec0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x124], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x114], ecx
call fcn.00437f30
mov eax, dword [esp + 0x124]
mov dword [esp], eax
mov eax, dword [esp + 0x114]
mov dword [esp + 4], eax
call fcn.00438790
lea eax, [0x71b734]
mov dword [esp], eax
mov dword [esp + 4], 5
call fcn.00438790
call fcn.00437f90
lea eax, [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], 0x18
mov dword [esp + 8], 0x18
mov eax, dword [esp + 0xb8]
mov ecx, dword [esp + 0xc8]
sub eax, ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xbc]
mov ecx, dword [esp + 0xcc]
sbb eax, ecx
mov dword [esp + 0x10], eax
call fcn.004188a0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x78]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.0046cec0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x124], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x114], ecx
call fcn.00437f30
mov eax, dword [esp + 0x124]
mov dword [esp], eax
mov eax, dword [esp + 0x114]
mov dword [esp + 4], eax
call fcn.00438790
lea eax, [0x71cd7d]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.00438790
call fcn.00437f90
mov eax, dword [esp + 0x108]
mov ecx, dword [esp + 0x10c]
mov edx, dword [esp + 0xec]
mov ebx, dword [esp + 0xf0]
sub eax, edx
sbb ecx, ebx
mov edx, 0x17
jmp 0x44704e
mov dword [ebx], 2
add esp, 0x128
ret
mov byte [esp + ebp + 0x20], dl
add ebx, ecx
adc edi, 0
lea edx, [ebp - 1]
mov eax, dword [esp + 0x110]
mov ecx, edi
test ecx, ecx
seta bl
xchg ebp, ebx
sete bl
xchg ebp, ebx
cmp eax, 0xa
xchg esi, ebx
setae bl
xchg esi, ebx
and ebp, esi
or ebp, ebx
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x447104
mov dword [esp + 0xc4], eax
mov ebx, eax
mov eax, 0xcccccccd
mov ebp, edx
mul ecx
mov eax, 0xcccccccd
mov esi, edx
mul ebx
shr esi, 3
lea edi, [esi + esi*4]
shr edx, 3
mov dword [esp + 0x110], edx
lea eax, [edx + edx*4]
shl edi, 1
sub ecx, edi
mov edi, eax
mov eax, 0x19999999
mul ecx
lea ecx, [ecx + ecx*2]
shl edi, 1
sub ebx, edi
lea ebx, [ebx + ecx*2]
mov ecx, eax
mov eax, 0xcccccccd
mov edi, edx
mul ebx
shr edx, 3
mov eax, dword [esp + 0x110]
add eax, 0
adc esi, 0
add eax, ecx
adc edi, esi
mov ebx, eax
add eax, edx
mov dword [esp + 0x110], eax
mov esi, 0xa
mov ecx, edx
mul esi
mov edx, dword [esp + 0xc4]
sub edx, eax
add edx, 0x30
cmp ebp, 0x18
jb 0x447039
jmp 0x44733f
add eax, 0x30
cmp edx, 0x18
jae 0x447333
mov byte [esp + edx + 0x20], al
lea eax, [esp + 0x58]
mov dword [esp], eax
lea eax, [edx - 0x18]
neg eax
mov ecx, eax
neg eax
sar eax, 0x1f
and edx, eax
lea eax, [esp + edx + 0x20]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.0046cec0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x124], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x114], ecx
call fcn.00437f30
mov eax, dword [esp + 0x124]
mov dword [esp], eax
mov eax, dword [esp + 0x114]
mov dword [esp + 4], eax
call fcn.00438790
lea eax, [0x71bfe7]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.00438790
call fcn.00437f90
mov eax, dword [esp + 0x100]
mov ecx, dword [esp + 0x104]
mov edx, dword [esp + 0xe4]
mov ebx, dword [esp + 0xe8]
sub eax, edx
sbb ecx, ebx
mov edx, 0x17
jmp 0x4471c6
mov byte [esp + ebp + 0x20], dl
add ebx, ecx
adc edi, 0
lea edx, [ebp - 1]
mov eax, dword [esp + 0x110]
mov ecx, edi
test ecx, ecx
seta bl
xchg ebp, ebx
sete bl
xchg ebp, ebx
cmp eax, 0xa
xchg esi, ebx
setae bl
xchg esi, ebx
and esi, ebp
or esi, ebx
xchg esi, eax
test al, al
xchg esi, eax
je 0x44727a
mov dword [esp + 0xc0], eax
mov ebx, eax
mov eax, 0xcccccccd
mov ebp, edx
mul ecx
mov eax, 0xcccccccd
mov esi, edx
mul ebx
shr edx, 3
mov dword [esp + 0x110], edx
lea edi, [edx + edx*4]
shr esi, 3
lea eax, [esi + esi*4]
shl eax, 1
sub ecx, eax
mov eax, 0x19999999
mul ecx
lea ecx, [ecx + ecx*2]
shl edi, 1
sub ebx, edi
lea ebx, [ebx + ecx*2]
mov ecx, eax
mov eax, 0xcccccccd
mov edi, edx
mul ebx
shr edx, 3
mov eax, dword [esp + 0x110]
add eax, 0
adc esi, 0
add eax, ecx
adc edi, esi
mov ebx, eax
add eax, edx
mov dword [esp + 0x110], eax
mov esi, 0xa
mov ecx, edx
mul esi
mov edx, dword [esp + 0xc0]
sub edx, eax
add edx, 0x30
cmp ebp, 0x18
jb 0x4471b1
jmp 0x447327
add eax, 0x30
cmp edx, 0x18
jae 0x44731b
mov byte [esp + edx + 0x20], al
lea eax, [esp + 0x38]
mov dword [esp], eax
lea eax, [edx - 0x18]
neg eax
mov ecx, eax
neg eax
sar eax, 0x1f
and edx, eax
lea eax, [esp + edx + 0x20]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.0046cec0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x124], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x114], ecx
call fcn.00437f30
mov eax, dword [esp + 0x124]
mov dword [esp], eax
mov eax, dword [esp + 0x114]
mov dword [esp + 4], eax
call fcn.00438790
lea eax, [0x71bc4c]
mov dword [esp], eax
mov dword [esp + 4], 7
call fcn.00438790
call fcn.00437f90
call fcn.00437f30
call fcn.00438130
call fcn.00437f90
mov ebx, dword [esp + 0x12c]
jmp 0x44702c
mov eax, edx
mov ecx, 0x18
call fcn.004718b0
mov eax, ebp
mov ecx, 0x18
call fcn.004718b0
mov eax, edx
mov ecx, 0x18
call fcn.004718b0
mov eax, ebp
mov ecx, 0x18
call fcn.004718b0
lea eax, [0x724a64]
mov dword [esp], eax
mov dword [esp + 4], 0x1a
call fcn.0046ad70
lea eax, [0x72ed33]
mov dword [esp], eax
mov dword [esp + 4], 0x32
call fcn.0046ad70
nop
call fcn.00470430
jmp fcn.00446cc0