Function at 0x61cf90
Capabilities:
Reference sql statements

Disassembly:
mov ecx, dword [0x93ee7c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x61d2b3
sub esp, 0x20
mov ebx, dword [esp + 0x2c]
test ebx, ebx
jne 0x61d015
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x18]
sub ecx, dword [eax + 0x14]
test ecx, ecx
jg 0x61cff9
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x1c]
mov dword [eax + 0x1c], 0
mov ebx, dword [0x93f150]
test ebx, ebx
je 0x61cfde
mov ebx, dword [eax + 0x20]
call fcn.00471830
mov dword [edi], ebx
mov dword [eax + 0x20], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], ecx
add esp, 0x20
ret
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
add esp, 0x20
ret
mov ebp, dword [esp + 0x24]
mov esi, dword [ebp + 0x14]
cmp dword [ebp + 0x18], esi
jne 0x61d1ca
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x20]
test eax, eax
je 0x61d065
mov dword [ebp + 0x1c], 0
mov edx, dword [0x93f150]
test edx, edx
je 0x61d04a
mov edx, dword [ebp + 0x20]
call fcn.00471830
mov dword [edi], edx
mov dword [ebp + 0x20], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
add esp, 0x20
ret
cmp dword [ebp + 4], ebx
jg 0x61d121
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov eax, dword [eax + 0xc]
mov dword [esp], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov edx, dword [esp + 0x30]
mov dword [esp + 0xc], edx
call eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x24]
mov dword [ebx + 0x1c], eax
mov eax, dword [0x93f150]
test eax, eax
je 0x61d0ba
call fcn.00471840
mov dword [edi], edx
mov ebp, dword [ebx + 0x20]
mov dword [edi + 4], ebp
mov dword [ebx + 0x20], edx
test ecx, ecx
jl 0x61d293
jle 0x61d0e9
lea eax, [ecx - 1]
mov edx, dword [esp + 0x2c]
cmp edx, eax
jbe 0x61d28c
mov eax, dword [esp + 0x28]
movzx eax, byte [eax + ecx - 1]
mov dword [ebx + 0x24], eax
mov dword [ebx + 0x28], 0xffffffff
mov eax, dword [ebx + 0x1c]
mov edx, dword [ebx + 0x20]
mov dword [ebx + 0x1c], 0
mov ebp, dword [0x93f150]
test ebp, ebp
je 0x61d10a
mov ebp, dword [ebx + 0x20]
call fcn.00471830
mov dword [edi], ebp
mov dword [ebx + 0x20], 0
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edx
add esp, 0x20
ret
mov dword [ebp + 0x14], 0
mov dword [ebp + 0x18], 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp]
mov ebx, dword [ebp + 4]
mov esi, dword [ebp + 8]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], esi
call eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x24]
mov dword [ebx + 0x1c], eax
mov ebp, dword [0x93f150]
test ebp, ebp
je 0x61d17c
call fcn.00471840
mov dword [edi], edx
mov ebp, dword [ebx + 0x20]
mov dword [edi + 4], ebp
mov dword [ebx + 0x20], edx
test ecx, ecx
jl 0x61d26d
jne 0x61d1bf
mov dword [ebx + 0x1c], 0
mov ecx, dword [0x93f150]
test ecx, ecx
je 0x61d1a4
mov ecx, dword [ebx + 0x20]
call fcn.00471830
mov dword [edi], ecx
mov dword [ebx + 0x20], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edx
add esp, 0x20
ret
add dword [ebx + 0x18], ecx
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0x18]
cmp ecx, edx
ja 0x61d268
mov eax, dword [ebp + 0x14]
cmp ecx, eax
jb 0x61d263
mov esi, dword [ebp]
sub ecx, eax
sub edx, eax
neg edx
sar edx, 0x1f
and eax, edx
lea edx, [esi + eax]
cmp ebx, ecx
jg 0x61d1fa
mov ecx, ebx
mov ebx, dword [esp + 0x28]
cmp ebx, edx
je 0x61d21e
mov dword [esp + 0x1c], ecx
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.004721c0
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x24]
mov edx, dword [ebp + 0x14]
lea ebx, [ecx + edx]
mov dword [ebp + 0x14], ebx
mov esi, dword [ebp + 4]
lea eax, [ecx + edx - 1]
cmp esi, eax
jbe 0x61d25c
mov eax, dword [ebp]
movzx eax, byte [ebx + eax - 1]
mov dword [ebp + 0x24], eax
mov dword [ebp + 0x28], 0xffffffff
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
add esp, 0x20
ret
mov ecx, esi
call fcn.004718b0
call fcn.00471910
call fcn.004718f0
mov eax, dword [0x913b60]
test eax, eax
je 0x61d27a
mov eax, dword [eax + 4]
mov ecx, dword [0x913b64]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0046a9e0
mov ecx, edx
call fcn.004718b0
mov eax, dword [0x913b60]
test eax, eax
je 0x61d2a0
mov eax, dword [eax + 4]
mov ecx, dword [0x913b64]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0046a9e0
nop
call fcn.00470430
jmp fcn.0061cf90