Function at 0x42f7e0
Capabilities:
Reference sql statements

Disassembly:
mov ecx, dword [0x93ee7c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x42fc25
sub esp, 0x20
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
cmp eax, ecx
jae 0x42f80a
nop
mov edx, ecx
sub ecx, eax
jmp 0x42f80e
mov edx, ecx
xor ecx, ecx
test ecx, ecx
je 0x42fb9a
mov ecx, dword [esp + 0x24]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0042f660
mov eax, dword [esp + 8]
test eax, eax
jle 0x42f856
mov ebx, dword [esp + 0x24]
mov ecx, dword [ebx + 4]
lea ebp, [eax - 1]
cmp ecx, ebp
jbe 0x42fb93
mov ebp, dword [ebx]
lea ebp, [ebp + eax*8 - 8]
mov esi, dword [esp + 0x28]
cmp dword [ebp + 4], esi
xchg ebp, ebx
sete bl
xchg ebp, ebx
jmp 0x42f860
mov ebx, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
xor ebp, ebp
mov ecx, dword [ebx + 4]
mov edi, dword [ebx]
cmp ecx, eax
jle 0x42f87d
jbe 0x42fb8e
lea edx, [edi + eax*8]
mov ebx, dword [esp + 0x2c]
cmp dword [edx], ebx
sete dl
jmp 0x42f883
mov ebx, dword [esp + 0x2c]
xor edx, edx
test dl, dl
je 0x42f954
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x42f950
cmp ecx, eax
jbe 0x42fb89
lea ebp, [eax - 1]
lea edx, [edi + eax*8]
cmp ecx, ebp
jbe 0x42fb82
lea ebp, [edi + eax*8 - 4]
mov edi, dword [edx + 4]
mov dword [ebp], edi
mov ebp, dword [esp + 0x24]
mov ecx, dword [ebp + 4]
cmp ecx, eax
jb 0x42fb7d
mov dword [esp + 0x18], ecx
mov edi, eax
shl eax, 3
mov edx, dword [ebp]
mov ebx, dword [ebp + 8]
sub ebx, edi
mov dword [esp + 0x14], ebx
neg ebx
sar ebx, 0x1f
and ebx, eax
lea eax, [edi + 1]
sub ecx, edi
add ebx, edx
mov edi, dword [esp + 0x18]
cmp edi, eax
jb 0x42fb76
lea edi, [ecx - 1]
mov esi, dword [esp + 0x14]
dec esi
xchg esi, ebx
neg ebx
xchg esi, ebx
shl eax, 3
sar esi, 0x1f
and esi, eax
lea eax, [edx + esi]
cmp ecx, edi
jg 0x42f912
mov edi, ecx
cmp eax, ebx
je 0x42f92d
mov dword [esp], ebx
mov dword [esp + 4], eax
shl edi, 3
mov dword [esp + 8], edi
call fcn.004721c0
mov ebp, dword [esp + 0x24]
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 4]
lea ecx, [eax - 1]
cmp edx, ecx
jb 0x42fb71
mov dword [ebp + 4], ecx
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
cmp eax, ecx
jmp 0x42fb24
test dl, dl
jmp 0x42f97b
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x42f979
lea edx, [eax - 1]
cmp ecx, edx
jbe 0x42fb6a
lea eax, [edi + eax*8 - 8]
mov dword [eax + 4], ebx
cmp esi, ebx
mov ecx, esi
mov edx, dword [esp + 0x24]
jmp 0x42fb1e
test dl, dl
je 0x42f997
cmp ecx, eax
jbe 0x42fb65
lea eax, [edi + eax*8]
mov dword [eax], esi
cmp esi, ebx
mov ecx, esi
mov edx, dword [esp + 0x24]
jmp 0x42fb1e
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], edi
mov ebp, dword [esp + 0x24]
mov edx, dword [ebp + 8]
lea edi, [ecx + 1]
cmp edx, edi
jl 0x42fa26
jb 0x42fb5e
mov dword [ebp + 4], edi
lea edx, [eax + 1]
cmp edx, edi
ja 0x42fb55
mov ebx, dword [ebp]
mov esi, dword [ebp + 8]
sub esi, eax
lea ebp, [esi - 1]
xchg ebp, ebx
neg ebx
xchg ebp, ebx
shl edx, 3
sar ebp, 0x1f
and ebp, edx
sub ecx, eax
lea edx, [ebx + ebp]
cmp eax, edi
ja 0x42fb4e
lea ebp, [ecx + 1]
xchg esi, ebx
neg ebx
xchg esi, ebx
mov edi, eax
shl edi, 3
sar esi, 0x1f
and esi, edi
add ebx, esi
cmp ecx, ebp
jg 0x42fa02
mov ebp, ecx
cmp ebx, edx
je 0x42faff
mov dword [esp], edx
mov dword [esp + 4], ebx
shl ebp, 3
mov dword [esp + 8], ebp
call fcn.004721c0
mov eax, dword [esp + 0x10]
jmp 0x42faff
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], ecx
mov dword [ebp + 4], edi
mov eax, edx
shl edx, 1
mov dword [ebp + 8], edx
shl eax, 4
mov edx, dword [ebp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], 4
mov dword [esp + 8], edx
call fcn.0040be50
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x24]
mov dword [ecx], eax
mov edx, dword [ecx + 8]
mov ebx, dword [esp + 0x10]
cmp edx, ebx
jb 0x42fb47
mov edx, dword [esp + 0x18]
cmp edx, ebx
jb 0x42fb40
mov ebp, dword [esp + 0x1c]
cmp eax, ebp
je 0x42faa2
mov dword [esp], eax
mov dword [esp + 4], ebp
shl ebx, 3
mov dword [esp + 8], ebx
call fcn.004721c0
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x1c]
mov esi, dword [ecx + 4]
lea eax, [ebx + 1]
cmp esi, eax
jb 0x42fb39
mov edi, dword [ecx]
mov ecx, dword [ecx + 8]
sub esi, ebx
sub ecx, ebx
dec esi
dec ecx
neg ecx
shl eax, 3
sar ecx, 0x1f
and ecx, eax
mov eax, esi
mov esi, dword [esp + 0x14]
sub esi, ebx
sub edx, ebx
neg edx
shl ebx, 3
sar edx, 0x1f
and edx, ebx
lea ebx, [edi + ecx]
add edx, ebp
cmp esi, eax
jl 0x42fae4
mov esi, eax
cmp edx, ebx
je 0x42fafb
mov dword [esp], ebx
mov dword [esp + 4], edx
shl esi, 3
mov dword [esp + 8], esi
call fcn.004721c0
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x24]
mov ecx, dword [edx + 4]
cmp ecx, eax
jbe 0x42fb34
mov ecx, dword [edx]
lea eax, [ecx + eax*8]
mov ecx, dword [esp + 0x28]
mov dword [eax], ecx
mov ebx, dword [esp + 0x2c]
mov dword [eax + 4], ebx
cmp ecx, ebx
mov eax, ecx
mov ecx, ebx
mov ebp, edx
jae 0x42fb2b
nop
sub ecx, eax
jmp 0x42fb2d
xor ecx, ecx
add dword [ebp + 0xc], ecx
add esp, 0x20
ret
call fcn.004718b0
mov ecx, esi
call fcn.00471910
mov ecx, ebx
call fcn.004718f0
mov ecx, ebx
call fcn.004718f0
mov ecx, edi
call fcn.00471910
mov eax, edx
mov ecx, edi
call fcn.00471910
mov ecx, edi
call fcn.004718f0
call fcn.004718b0
mov eax, edx
call fcn.004718b0
call fcn.004718f0
mov ecx, edi
call fcn.00471910
call fcn.00471910
mov eax, ebp
call fcn.004718b0
call fcn.004718b0
call fcn.004718b0
mov eax, ebp
call fcn.004718b0
call fcn.00437f30
lea eax, [0x71fefe]
mov dword [esp], eax
mov dword [esp + 4], 0x12
call fcn.00438790
mov eax, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00438620
lea eax, [0x71b203]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00438790
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00438620
lea eax, [0x71b23b]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00438790
call fcn.00437f90
lea eax, [0x72c0e4]
mov dword [esp], eax
mov dword [esp + 4], 0x29
call fcn.0046ad70
nop
call fcn.00470430
jmp fcn.0042f7e0