Function at 0x422dc0
Capabilities:
Reference sql statements

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4230fb
sub esp, 0x3c
mov eax, dword [esp + 0x44]
add eax, 0x1ff
and eax, 0xfffffe00
shl eax, 0xd
mov ecx, dword [esp + 0x40]
mov edx, dword [ecx + 0x130]
lea ebx, [edx + eax]
mov ebp, dword [0x7e828c]
lea esi, [ebp + ebx - 1]
xchg ebp, ebx
neg ebx
xchg ebp, ebx
and ebp, esi
cmp dword [ecx + 0x134], ebp
jb 0x422e19
cmp edx, ebx
jbe 0x422fdd
mov dword [esp + 0x20], eax
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00409ce0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
test eax, eax
je 0x422f4c
mov edx, eax
mov ebx, dword [esp + 0x40]
mov ebp, dword [ebx + 0x134]
cmp eax, ebp
jne 0x422e58
add eax, ecx
mov dword [ebx + 0x134], eax
xor eax, eax
jmp 0x422f29
mov eax, dword [ebx + 0x130]
sub ebp, eax
test ebp, ebp
jne 0x422e6b
xor eax, eax
jmp 0x422f19
mov dword [esp + 0x38], edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], ebp
mov dword [esp], eax
mov dword [esp + 4], ebp
lea eax, [0x7e9d50]
mov dword [esp + 8], eax
call fcn.004138b0
lea eax, [0x7e9d60]
mov dword [esp], eax
mov dword [esp + 8], 0
mov eax, dword [esp + 0x1c]
mov dword [esp + 4], eax
call fcn.00401f80
lea eax, [0x7eb350]
mov dword [esp], eax
call fcn.0042b470
mov eax, dword [esp + 4]
test byte [eax], al
add eax, 8
mov dword [esp], eax
mov dword [esp + 8], 0
mov eax, dword [esp + 0x1c]
mov dword [esp + 4], eax
call fcn.00401f00
lea eax, [0x7eb350]
mov dword [esp], eax
call fcn.0042b590
mov eax, dword [esp + 0x40]
lea ecx, [eax + 4]
mov edx, dword [eax + 0x130]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 8], ecx
call fcn.004246c0
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x40]
mov eax, dword [esp + 0x1c]
mov ebp, edx
mov dword [ebx + 0x130], edx
add ecx, ebp
mov dword [ebx + 0x134], ecx
mov ebp, dword [0x7e828c]
mov ecx, dword [ebx + 0x130]
mov edx, dword [esp + 0x20]
add ecx, edx
lea ecx, [ebp + ecx - 1]
xchg ebp, ebx
neg ebx
xchg ebp, ebx
and ebp, ecx
jmp 0x422fe1
mov eax, dword [0x7e9d50]
mov dword [esp + 0x30], eax
mov ecx, dword [0x7e9d54]
mov dword [esp + 0x2c], ecx
call fcn.00433670
lea eax, [0x4ef3fe]
mov dword [esp], eax
mov dword [esp + 4], 0x28
call fcn.00433f50
mov dword [esp + 4], 0
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.00433bf0
lea eax, [0x4e7f81]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call fcn.00433f50
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.00433bf0
lea eax, [0x4e70f8]
mov dword [esp], eax
mov dword [esp + 4], 9
call fcn.00433f50
call fcn.004336e0
mov byte [esp + 0x48], 0
add esp, 0x3c
ret
mov ebx, ecx
xor eax, eax
mov dword [esp + 0x18], eax
mov ecx, dword [ebx + 0x130]
mov dword [esp + 0x14], ecx
mov dword [ebx + 0x130], ebp
mov edx, ecx
mov dword [esp], ecx
sub ebp, edx
mov dword [esp + 0x28], ebp
mov dword [esp + 4], ebp
lea ecx, [0x7e9d50]
mov dword [esp + 8], ecx
call fcn.004138b0
lea eax, [0x7e9d60]
mov dword [esp], eax
mov dword [esp + 8], 0
mov eax, dword [esp + 0x28]
mov dword [esp + 4], eax
call fcn.00401f80
lea eax, [0x7eb350]
mov dword [esp], eax
call fcn.0042b470
mov eax, dword [esp + 4]
test byte [eax], al
add eax, 8
mov dword [esp], eax
mov dword [esp + 8], 0
mov eax, dword [esp + 0x28]
mov dword [esp + 4], eax
call fcn.00401f00
lea eax, [0x7eb350]
mov dword [esp], eax
call fcn.0042b590
mov eax, dword [esp + 0x40]
lea ecx, [eax + 4]
mov dword [esp + 0x34], ecx
mov dword [esp], ecx
mov edx, dword [esp + 0x14]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 8], edx
call fcn.004246c0
call fcn.0041cfa0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x28]
add eax, ecx
mov ecx, dword [esp]
add ecx, eax
mov edx, dword [esp + 4]
adc edx, 0
mov ebx, dword [esp + 0x40]
mov ebp, dword [ebx + 0xd0]
cmp ecx, ebp
xchg esi, ebx
seta bl
xchg esi, ebx
mov ebx, dword [ebx + 0xd4]
cmp ebx, edx
sete dl
setb bl
and edx, esi
or ebx, edx
test bl, bl
je 0x4230f2
sub ecx, ebp
cmp ecx, eax
jb 0x4230dd
mov ecx, eax
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov byte [esp + 8], 0
call fcn.0041d820
mov byte [esp + 0x48], 1
add esp, 0x3c
ret
call fcn.00458b70
jmp fcn.00422dc0