Function at 0x446700
Capabilities:
Reference sql statements

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0xb8]
cmp eax, dword [ecx + 8]
jbe 0x446d98
sub esp, 0x138
mov ecx, dword [esp + 0x13c]
mov ebx, dword [ecx]
cmp ebx, 1
je 0x446d81
cmp ebx, 2
je 0x446744
mov dword [ecx], 1
xor eax, eax
jmp 0x446767
add esp, 0x138
ret
mov dword [esp + 0x3c], eax
mov edx, dword [ecx + eax*4 + 0xc]
mov dword [esp], edx
call fcn.00446700
mov eax, dword [esp + 0x3c]
inc eax
mov ecx, dword [esp + 0x13c]
cmp dword [ecx + 4], eax
ja 0x44674b
mov ebx, dword [ecx + 8]
test ebx, ebx
je 0x4467d8
lea edi, [esp + 0x74]
xor eax, eax
call fcn.004645c9
movzx ecx, byte [0x7f8e40]
test cl, cl
jne 0x44678f
xor ecx, ecx
xor edx, edx
jmp 0x4467b7
nop
call fcn.00465240
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov dword [esp + 0x30], ecx
lea edi, [esp + 0x74]
lea esi, [0x7f8e40]
call fcn.00464a9a
mov ecx, dword [esp + 0x30]
mov edx, eax
xor eax, eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], edx
mov ebx, dword [esp + 0x13c]
mov ebp, dword [ebx + 4]
lea ebp, [ebx + ebp*4 + 0xc]
mov dword [esp + 0x130], ebp
xor ebp, ebp
jmp 0x446810
mov dword [ecx], 2
add esp, 0x138
ret
mov dword [esp + 0x38], ebp
mov eax, dword [esp + 0x130]
mov ecx, dword [eax + ebp*4]
lea edx, [eax + ebp*4]
call ecx
mov eax, dword [esp + 0x38]
lea ebp, [eax + 1]
xor eax, eax
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x13c]
cmp dword [ebx + 8], ebp
ja 0x4467e5
movzx ebp, byte [0x7f8e40]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x446a56
nop
call fcn.00465240
mov eax, dword [esp]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x24], ecx
lea edi, [esp + 0x90]
lea esi, [0x7f8e40]
call fcn.00464a9a
mov ecx, dword [esp + 0x130]
mov ecx, dword [ecx]
mov dword [esp], ecx
call fcn.00451880
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00451ff0
mov eax, dword [esp + 8]
mov dword [esp + 0x12c], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x34], ecx
lea edi, [esp + 0x5c]
xor eax, eax
call fcn.004645ca
call fcn.004388b0
lea eax, [0x61ae61]
mov dword [esp], eax
mov dword [esp + 4], 5
call fcn.004391b0
mov eax, dword [esp + 0x12c]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
call fcn.004391b0
lea eax, [0x61a747]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.004391b0
call fcn.00438920
mov eax, dword [0x7f8c50]
mov ecx, dword [0x7f8c54]
mov edx, dword [esp + 0x2c]
mov ebx, edx
sub edx, eax
mov eax, dword [esp + 0x30]
mov ebp, eax
sbb eax, ecx
mov ecx, dword [esp + 0x20]
sub ecx, ebx
mov dword [esp + 0x58], ecx
mov ebx, dword [esp + 0x24]
sbb ebx, ebp
mov dword [esp + 0x54], ebx
lea ebp, [esp + 0x5c]
mov dword [esp], ebp
mov dword [esp + 4], 0x18
mov dword [esp + 8], 0x18
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], edx
call fcn.00419c50
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x10c]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.0044ef40
mov eax, dword [esp + 0xc]
mov dword [esp + 0x134], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x50], ecx
call fcn.004388b0
mov eax, dword [esp + 0x134]
mov dword [esp], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
call fcn.004391b0
lea eax, [0x61acae]
mov dword [esp], eax
mov dword [esp + 4], 5
call fcn.004391b0
call fcn.00438920
lea eax, [esp + 0x5c]
mov dword [esp], eax
mov dword [esp + 4], 0x18
mov dword [esp + 8], 0x18
mov eax, dword [esp + 0x54]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0xc], eax
call fcn.00419c50
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0xec]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.0044ef40
mov eax, dword [esp + 0xc]
mov dword [esp + 0x134], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x50], ecx
call fcn.004388b0
mov eax, dword [esp + 0x134]
mov dword [esp], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
call fcn.004391b0
lea eax, [0x61c552]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.004391b0
call fcn.00438920
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0x88]
mov ebx, dword [esp + 0x8c]
sub eax, edx
sbb ecx, ebx
mov edx, 0x17
jmp 0x446a70
mov dword [ebx], 2
add esp, 0x138
ret
mov byte [esp + ecx + 0x5c], bl
lea ebx, [ecx - 1]
mov eax, edi
mov ecx, edx
mov edx, ebx
test ecx, ecx
sete bl
cmp eax, 0xa
xchg ebp, ebx
setae bl
xchg ebp, ebx
test ecx, ecx
xchg esi, ebx
seta bl
xchg esi, ebx
and ebp, ebx
or esi, ebp
xchg esi, eax
test al, al
xchg esi, eax
je 0x446b39
mov dword [esp + 0x28], eax
mov ebx, eax
mov eax, 0xcccccccd
mov ebp, edx
mul ecx
shr edx, 3
lea esi, [edx + edx*4]
shl esi, 1
sub ecx, esi
mov eax, 0x19999999
mov esi, edx
mul ecx
mov dword [esp + 0x58], edx
mov edi, eax
mov eax, 0xcccccccd
mul ebx
shr edx, 3
mov dword [esp + 0x4c], edx
mov eax, ebp
lea ebp, [edx + edx*4]
shl ebp, 1
sub ebx, ebp
lea ebp, [ecx + ecx*2]
lea ebx, [ebx + ebp*2]
mov ecx, eax
mov eax, 0xcccccccd
mov ebp, edx
mul ebx
shr edx, 3
mov dword [esp + 0x48], edx
add ebp, 0
mov ebx, edi
add edi, ebp
mov dword [esp + 0x44], edi
add edi, edx
mov eax, edi
mov edx, 0xa
mul edx
mov edx, dword [esp + 0x4c]
add edx, 0
adc esi, 0
add ebx, ebp
mov edx, dword [esp + 0x58]
adc edx, esi
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x48]
add ebx, ebp
adc edx, 0
mov ebx, dword [esp + 0x28]
sub ebx, eax
add ebx, 0x30
cmp ecx, 0x18
jb 0x446a63
jmp 0x446d75
add eax, 0x30
cmp edx, 0x18
jae 0x446d69
mov byte [esp + edx + 0x5c], al
lea eax, [esp + 0xcc]
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 + 0x5c]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.0044ef40
mov eax, dword [esp + 0xc]
mov dword [esp + 0x134], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x50], ecx
call fcn.004388b0
mov eax, dword [esp + 0x134]
mov dword [esp], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
call fcn.004391b0
lea eax, [0x61b67e]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.004391b0
call fcn.00438920
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0x80]
mov ebx, dword [esp + 0x84]
sub eax, edx
sbb ecx, ebx
mov edx, 0x17
jmp 0x446bee
mov byte [esp + ebp + 0x5c], cl
lea edx, [ebp - 1]
mov eax, edi
mov ecx, ebx
test ecx, ecx
sete bl
xchg ebp, ebx
seta bl
xchg ebp, ebx
cmp eax, 0xa
xchg esi, ebx
setae bl
xchg esi, ebx
and esi, ebx
or ebp, esi
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x446cb3
mov ebx, eax
mov eax, 0xcccccccd
mov ebp, edx
mul ecx
shr edx, 3
mov dword [esp + 0x58], edx
lea esi, [edx + edx*4]
shl esi, 1
sub ecx, esi
mov eax, 0x19999999
mul ecx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x48], eax
mov edi, eax
mov eax, 0xcccccccd
mul ebx
shr edx, 3
mov eax, ebp
lea ebp, [edx + edx*4]
lea esi, [ecx + ecx*2]
shl ebp, 1
mov ecx, ebx
sub ebx, ebp
lea ebx, [ebx + esi*2]
mov ebp, eax
mov eax, 0xcccccccd
mov esi, edx
mul ebx
shr edx, 3
mov dword [esp + 0x44], edx
mov ebx, esi
add esi, 0
add edi, esi
mov dword [esp + 0x40], edi
add edi, edx
mov eax, 0xa
mul edi
add ebx, 0
mov edx, dword [esp + 0x58]
adc edx, 0
mov ebx, dword [esp + 0x48]
add ebx, esi
mov ebx, dword [esp + 0x4c]
adc ebx, edx
mov edx, dword [esp + 0x40]
mov esi, dword [esp + 0x44]
add edx, esi
adc ebx, 0
sub ecx, eax
add ecx, 0x30
cmp ebp, 0x18
jb 0x446be3
jmp 0x446d5d
add eax, 0x30
cmp edx, 0x18
jae 0x446d51
mov byte [esp + edx + 0x5c], al
lea eax, [esp + 0xac]
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 + 0x5c]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.0044ef40
mov eax, dword [esp + 0xc]
mov dword [esp + 0x134], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x50], ecx
call fcn.004388b0
mov eax, dword [esp + 0x134]
mov dword [esp], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
call fcn.004391b0
lea eax, [0x61b294]
mov dword [esp], eax
mov dword [esp + 4], 7
call fcn.004391b0
call fcn.00438920
call fcn.004388b0
call fcn.00438ad0
call fcn.00438920
mov ebx, dword [esp + 0x13c]
jmp 0x446a56
mov eax, edx
mov ecx, 0x18
call fcn.00464400
mov eax, ebp
mov ecx, 0x18
call fcn.00464400
mov eax, edx
mov ecx, 0x18
call fcn.00464400
mov eax, ecx
mov ecx, 0x18
call fcn.00464400
lea eax, [0x62a0fc]
mov dword [esp], eax
mov dword [esp + 4], 0x32
call fcn.00436e90
nop
call fcn.00462f70
jmp fcn.00446700