Function at 0x421db0
Capabilities:
Reference sql statements

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4220ff
sub esp, 0x64
mov eax, dword [esp + 0x68]
test byte [eax], al
nop
mov dword [esp], eax
call fcn.0040a140
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [esp + 0x68]
cmp dword [ecx + 4], eax
jne 0x4220e8
movsd xmm0, qword [0x66dda4]
movsd xmm1, qword [esp + 0x6c]
ucomisd xmm0, xmm1
jbe 0x421e0e
movsd xmm1, qword [0x66dda4]
movsd qword [esp + 0x58], xmm1
movsd xmm0, qword [ecx + 0x1c]
divsd xmm1, xmm0
movsd qword [esp], xmm1
call fcn.0045d620
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx + 0x64]
mov ebx, dword [esp + 8]
mov dword [esp + 0x3c], ebx
mov ebp, dword [esp + 0xc]
test edx, edx
je 0x421e77
mov dword [esp + 0x44], eax
nop
nop
mov dword [esp], ecx
call fcn.0040a340
mov eax, dword [esp + 0x68]
mov edx, dword [eax + 0x64]
mov ecx, dword [edx]
mov ebx, dword [esp + 0x44]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x3c]
mov dword [esp], ebx
call ecx
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
jmp 0x421f6a
mov dword [esp + 0x40], ebp
nop
call fcn.00465240
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 0xc]
mov edx, dword [esp]
mov dword [esp + 0x28], edx
mov ebx, dword [esp + 4]
mov dword [esp + 0x2c], ebx
mov ebp, dword [esp + 0x3c]
add ebp, edx
mov esi, dword [esp + 0x40]
adc esi, ebx
nop
mov edi, dword [ecx + 0xc]
mov ebx, dword [ecx + 0x10]
mov edx, dword [ecx + 0x14]
mov eax, dword [ecx + 0x18]
mov dword [esp + 0x4c], eax
mov eax, dword [ecx + 0x1c]
mov dword [esp + 0x60], eax
mov eax, dword [ecx + 0x20]
mov dword [esp], ecx
mov dword [esp + 8], esi
mov dword [esp + 4], ebp
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], edi
mov dword [esp + 0x14], edx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
call fcn.004538e0
mov eax, dword [esp + 0x68]
mov byte [eax + 8], 1
lea ecx, [0x62cb50]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov word [esp + 8], 0x1313
mov dword [esp + 0xc], 2
call fcn.00439aa0
call fcn.00465240
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x28]
sub eax, edx
mov dword [esp + 0x34], eax
mov edx, dword [esp + 0x2c]
sbb ecx, edx
mov dword [esp + 0x38], ecx
nop
nop
mov edx, dword [esp + 0x68]
mov dword [esp], edx
call fcn.0040a140
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 0xc]
mov dword [esp], ecx
call fcn.00453290
nop
nop
mov eax, dword [esp + 0x68]
mov dword [esp], eax
call fcn.0040a340
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ecx
mov ebx, dword [esp + 0x68]
mov ebp, dword [ebx + 0x58]
test ebp, ebp
xchg ebp, ebx
seta bl
xchg ebp, ebx
mov esi, dword [ebx + 0x5c]
test esi, esi
xchg esi, ebx
sete bl
xchg esi, ebx
xchg edi, ebx
setg bl
xchg edi, ebx
and esi, ebp
or edi, esi
xchg edi, eax
test al, al
xchg edi, eax
je 0x422010
movsd xmm0, qword [esp + 0x58]
movsd qword [esp], xmm0
call fcn.0045d620
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x34]
add edx, eax
mov eax, dword [esp + 0x38]
adc ecx, eax
mov dword [esp + 0x30], ecx
mov eax, dword [esp + 0x68]
mov ebx, dword [eax + 0x58]
cmp edx, ebx
xchg ebp, ebx
seta bl
xchg ebp, ebx
mov esi, dword [eax + 0x5c]
cmp esi, ecx
xchg edi, ebx
sete bl
xchg edi, ebx
setl cl
and edi, ebp
or ecx, edi
test cl, cl
je 0x421ffe
mov dword [eax + 0x58], 0
mov dword [eax + 0x5c], 0
jmp 0x42200c
sub ebx, edx
mov ecx, dword [esp + 0x30]
sbb esi, ecx
mov dword [eax + 0x58], ebx
mov dword [eax + 0x5c], esi
add esp, 0x64
ret
mov edx, dword [ebx + 0x70]
mov eax, dword [edx]
call eax
mov eax, dword [esp]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], ecx
mov ebx, dword [esp + 0x34]
mov dword [esp], ebx
call fcn.0045d6c0
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x50], xmm0
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call fcn.0045d6c0
mov eax, dword [esp + 0x68]
lea ecx, [eax + 0x24]
movsd xmm0, qword [esp + 8]
mov dword [esp], ecx
movsd xmm1, qword [esp + 0x50]
movsd xmm2, qword [esp + 0x58]
addsd xmm1, xmm2
mov ecx, dword [esp + 0x48]
cvtsi2sd xmm3, ecx
mulsd xmm1, xmm3
movsd xmm3, xmm2
divsd xmm2, xmm1
movsd qword [esp + 4], xmm2
movsd xmm1, qword [0x66dd14]
movsd qword [esp + 0xc], xmm1
addsd xmm0, xmm3
movsd qword [esp + 0x14], xmm0
call fcn.004236f0
movzx eax, byte [esp + 0x24]
movsd xmm0, qword [esp + 0x1c]
mov ecx, dword [esp + 0x68]
movsd qword [ecx + 0x1c], xmm0
test al, al
jne 0x4220e4
movsd xmm0, qword [0x66dd0c]
movsd qword [ecx + 0x1c], xmm0
mov dword [ecx + 0x58], 0x2a05f200
mov dword [ecx + 0x5c], 1
mov dword [esp], ecx
call fcn.00422110
add esp, 0x64
ret
lea eax, [0x629959]
mov dword [esp], eax
mov dword [esp + 4], 0x2f
call fcn.00436e90
nop
call fcn.00462f70
jmp fcn.00421db0