Function at 0x412a60
Capabilities:
Reference sql statements

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x412da3
sub esp, 0x24
nop
mov eax, dword [0x143f624]
test byte [eax], al
mov edx, dword [esp + 0x28]
mov ebx, edx
shr edx, 0x16
mov eax, dword [eax + edx*4]
test eax, eax
je 0x412d6c
mov edx, ebx
shr ebx, 0xd
and ebx, 0x1ff
mov eax, dword [eax + ebx*4 + 0x40000]
test eax, eax
je 0x412ab9
mov ebx, dword [eax + 0xc]
cmp edx, ebx
jae 0x412cdd
test eax, eax
je 0x412ac1
cmp byte [eax + 0x3b], 2
jne 0x412ad9
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], 0
add esp, 0x24
ret
mov ecx, dword [0x144e0c4]
test ecx, ecx
jne 0x412afb
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], 0
add esp, 0x24
ret
mov dword [esp + 0x20], eax
call fcn.0042f560
call fcn.0042f560
lea eax, [0xd4db04]
mov dword [esp], eax
mov dword [esp + 4], 0x11
call fcn.0042fe00
mov eax, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0042fcd0
call fcn.0042f5d0
mov eax, dword [esp + 0x20]
cmp byte [eax + 0x3b], 1
je 0x412cb8
call fcn.0042f560
lea eax, [0xd50551]
mov dword [esp], eax
mov dword [esp + 4], 0x14
call fcn.0042fe00
call fcn.0042f5d0
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x44]
mov dword [esp + 0x1c], ecx
movzx edx, byte [eax + 0x3b]
mov dword [esp + 0x18], edx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x14], eax
call fcn.0042f560
lea eax, [0xd4879a]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call fcn.0042fe00
mov eax, dword [esp + 0x14]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0042fcd0
lea eax, [0xd477dd]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call fcn.0042fe00
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0042fcd0
lea eax, [0xd477e9]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call fcn.0042fe00
mov eax, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0042fb10
call fcn.0042f780
call fcn.0042f5d0
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x412d75
call fcn.0042f560
lea eax, [0xd5cff3]
mov dword [esp], eax
mov dword [esp + 4], 0x1e
call fcn.0042fe00
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0042fcd0
lea eax, [0xd3f53b]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.0042fe00
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0042fcd0
lea eax, [0xd3f5b7]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.0042fe00
call fcn.0042f5d0
lea eax, [0xd42383]
mov dword [esp], eax
mov dword [esp + 4], 6
mov eax, dword [esp + 0x2c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0xc], eax
call fcn.0041f3d0
jmp 0x412d75
call fcn.0042f560
lea eax, [0xd56028]
mov dword [esp], eax
mov dword [esp + 4], 0x19
call fcn.0042fe00
call fcn.0042f5d0
jmp 0x412b66
cmp dword [eax + 0x44], edx
ja 0x412ce9
test eax, eax
jmp 0x412ab9
cmp byte [eax + 0x3b], 1
je 0x412cf6
test eax, eax
jmp 0x412ab9
movzx ebp, word [eax + 0x36]
test bp, bp
je 0x412d27
movzx ecx, byte [eax + 0x3d]
cmp cl, 0x20
sbb esi, esi
sub edx, ebx
movzx ebp, bp
and ebp, edx
lea edx, [ebp + ebx]
shr ebp, cl
and ebp, esi
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ebp
add esp, 0x24
ret
sub edx, ebx
mov ebp, dword [eax + 0x40]
cmp edx, ebp
jb 0x412d66
mov dword [esp + 0x10], ebx
movzx ecx, byte [eax + 0x3d]
cmp cl, 0x20
sbb esi, esi
movzx edi, byte [eax + 0x3e]
xchg edi, eax
cmp al, 0x20
xchg edi, eax
sbb ebx, ebx
shr edx, cl
and edx, esi
movzx esi, word [eax + 0x34]
imul esi, edx
mov ecx, edi
shr esi, cl
and esi, ebx
imul ebp, esi
mov edx, dword [esp + 0x10]
add edx, ebp
mov ebp, esi
jmp 0x412d17
xor esi, esi
mov edx, ebx
jmp 0x412d62
mov edx, ebx
xor eax, eax
jmp 0x412aa8
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov byte [eax + 0x99], 2
lea eax, [0xd7445d]
mov dword [esp], eax
mov dword [esp + 4], 0x3e
call fcn.0042e730
nop
call fcn.004567f0
jmp fcn.00412a60