Function at 0x410ad0
Capabilities:
Reference sql statements

Disassembly:
mov ecx, dword [0x93ee7c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x410d40
sub esp, 0x28
movzx edx, byte [esp + 0x30]
movzx eax, dl
cmp eax, 0x88
jae 0x410d35
mov ecx, dword [esp + 0x2c]
test byte [ecx], al
mov ebx, dword [ecx + eax*4 + 0x14]
movzx ebp, word [ebx + 0x3c]
cmp word [ebx + 0x1a], bp
jne 0x410d1f
mov dword [esp + 0x20], eax
lea ebp, [0x91f5a0]
cmp ebx, ebp
je 0x410c34
mov ebp, dword [0x926e30]
add ebp, 3
cmp dword [ebx + 0x34], ebp
jne 0x410d09
mov dword [esp + 0x1c], ebx
shl eax, 7
lea edx, [0x926f10]
add eax, edx
mov dword [esp], eax
mov dword [esp + 4], ebx
call fcn.004116f0
lea eax, [0x943260]
mov dword [esp], eax
call fcn.00430590
mov eax, dword [esp + 0x1c]
movzx ecx, word [eax + 0x3c]
movzx edx, word [eax + 0x42]
movzx ebx, byte [esp + 0x30]
shr bl, 1
movsx ebx, bl
mov esi, ecx
sub ecx, edx
cmp ebx, 0x44
jae 0x410cfd
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 4]
mov dword [esp + 0x24], eax
test byte [eax], al
sub esi, edx
mov edx, 0
sbb edx, 0
mov dword [esp + 0x18], edx
lea ebx, [eax + ebx*8 + 0x48]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00476480
movzx eax, byte [esp + 0x30]
cmp al, 5
jne 0x410be9
mov eax, dword [esp + 0x24]
add eax, 0x30
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + 0x10]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], 0
call fcn.00476480
mov eax, dword [esp + 0x2c]
mov dword [eax + 0x10], 0
lea eax, [0x943260]
mov dword [esp], eax
call fcn.00430680
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x44]
mov eax, dword [esp + 0x14]
mul ecx
mov ebp, dword [esp + 0x18]
imul ebp, ecx
lea ecx, [ebp + edx]
nop
lea edx, [0x93fde8]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00476480
mov eax, dword [esp + 0x1c]
mov word [eax + 0x42], 0
mov eax, dword [esp + 0x20]
shl eax, 7
lea edx, [0x926f10]
add eax, edx
mov dword [esp], eax
call fcn.00411290
mov eax, dword [esp + 4]
test eax, eax
je 0x410ce7
movzx ecx, word [eax + 0x3c]
cmp word [eax + 0x1a], cx
je 0x410cd1
mov dword [esp + 0x1c], eax
mov ecx, dword [0x926e30]
add ecx, 3
mov dword [eax + 0x34], ecx
movzx ecx, word [eax + 0x3c]
mov word [eax + 0x42], cx
movzx ecx, word [eax + 0x3c]
imul ecx, dword [eax + 0x44]
mov edx, dword [eax + 0x10]
shl edx, 0xd
mov ebx, dword [esp + 0x2c]
mov ebp, dword [ebx + 4]
lea esi, [0x93fcc0]
mov dword [esp], esi
sub edx, ecx
mov dword [esp + 4], edx
mov ecx, 0
sbb ecx, 0
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], 0
call fcn.0041f380
mov eax, dword [esp + 0x2c]
mov dword [eax + 4], 0
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov dword [eax + ecx*4 + 0x14], edx
add esp, 0x28
ret
lea eax, [0x7222cf]
mov dword [esp], eax
mov dword [esp + 4], 0x16
call fcn.0046ad70
lea eax, [0x71dae0]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call fcn.0046ad70
mov eax, ebx
mov ecx, 0x44
call fcn.004718b0
lea eax, [0x7222b9]
mov dword [esp], eax
mov dword [esp + 4], 0x16
call fcn.0046ad70
lea eax, [0x72b9a3]
mov dword [esp], eax
mov dword [esp + 4], 0x28
call fcn.0046ad70
mov ecx, 0x88
call fcn.004718b0
nop
call fcn.00470430
jmp fcn.00410ad0