Function at 0x4b8630
Capabilities:
Reference sql statements

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x178]
cmp eax, dword [ecx + 8]
jbe 0x4b8c33
sub esp, 0x1f8
lea edi, [esp + 0x20c]
xor eax, eax
call fcn.004645b9
mov ecx, dword [esp + 0x1fc]
movzx edx, byte [ecx + 0xf]
and edx, 0x1f
cmp edx, 0x13
jne 0x4b8bd2
mov edx, dword [esp + 0x200]
test edx, edx
je 0x4b8693
movzx ebx, byte [edx + 0xf]
and ebx, 0x1f
cmp ebx, 0x14
je 0x4b8b72
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], edx
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], edx
lea eax, [0x7d3da0]
mov dword [esp], eax
lea ebx, [0x5fd900]
mov dword [esp + 4], ebx
lea ebp, [esp + 0xc4]
mov dword [esp + 8], ebp
call fcn.0046c4f0
movzx eax, byte [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
test al, al
je 0x4b878a
mov dword [esp + 0xb8], ecx
lea edi, [esp + 0x194]
xor eax, eax
call fcn.004645b7
mov ecx, dword [esp + 0xb8]
lea edx, [0x6034e0]
cmp ecx, edx
jne 0x4b8b5c
lea edi, [esp + 0x194]
call fcn.004649e6
lea edi, [esp + 0x130]
lea esi, [esp + 0x194]
call fcn.004649e6
mov eax, dword [esp + 0x130]
mov ecx, dword [esp + 0x134]
mov dword [esp + 0xb4], ecx
lea edi, [esp + 0x20c]
lea esi, [esp + 0x138]
call fcn.004649fa
mov dword [esp + 0x204], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x208], eax
add esp, 0x1f8
ret
mov eax, dword [esp + 0x1fc]
mov dword [esp], eax
mov ecx, dword [esp + 0x200]
mov dword [esp + 4], ecx
call fcn.004ab2a0
lea edi, [esp + 0x20c]
lea esi, [esp + 8]
call fcn.004649fa
mov eax, dword [esp + 0x258]
add eax, dword [esp + 0x248]
mov dword [esp + 0x64], eax
lea ecx, [0x60ea60]
mov dword [esp], ecx
call fcn.0040c1e0
mov eax, dword [esp + 4]
mov byte [eax + 0xd], 4
mov ecx, dword [esp + 0x64]
add ecx, 3
and ecx, 0xfffffffc
mov dword [eax], ecx
mov ecx, dword [esp + 0x260]
mov ecx, dword [ecx]
shl ecx, 2
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x260]
mov edx, dword [ecx]
test edx, edx
jbe 0x4b8845
mov edx, dword [ecx + 4]
mov ebx, dword [ecx + 8]
test ebx, ebx
jbe 0x4b8b53
mov ecx, dword [0x7f8db0]
test ecx, ecx
jne 0x4b882a
mov dword [eax + 0x14], edx
mov ecx, dword [esp + 0x200]
test ecx, ecx
jmp 0x4b884e
lea edi, [eax + 0x14]
mov ecx, eax
mov eax, edx
call fcn.00464380
mov edx, dword [esp + 0x200]
test edx, edx
mov eax, ecx
mov ecx, edx
jmp 0x4b884e
mov ecx, dword [esp + 0x200]
test ecx, ecx
mov dword [esp + 0xac], eax
je 0x4b88f7
mov dword [esp], ecx
call fcn.004ae0f0
mov eax, dword [esp + 4]
mov dword [esp + 0xb8], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x68], ecx
mov edx, dword [esp + 0x1fc]
mov dword [esp], edx
call fcn.004ae0f0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
lea edx, [esp + 0x8c]
mov dword [esp], edx
lea edx, [0x61c9ca]
mov dword [esp + 4], edx
mov dword [esp + 8], 0xb
mov edx, dword [esp + 0xb8]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x68]
mov dword [esp + 0x10], edx
lea edx, [0x61a765]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], 2
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
lea eax, [0x66d004]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], 1
call fcn.0044ee80
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
jmp 0x4b894e
mov eax, dword [esp + 0x1fc]
mov dword [esp], eax
call fcn.004ae0f0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
lea edx, [esp + 0x6c]
mov dword [esp], edx
lea edx, [0x61be73]
mov dword [esp + 4], edx
mov dword [esp + 8], 9
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
lea eax, [0x66d004]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 1
call fcn.0044ed30
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov word [esp + 0x10], 0
call fcn.004adc40
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call fcn.004613d0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0xac]
mov dword [ecx + 0x18], eax
lea eax, [0x60a440]
mov dword [esp], eax
call fcn.0040c1e0
mov eax, dword [esp + 4]
mov dword [esp + 0xb4], eax
lea ecx, [0x5f90e0]
mov dword [esp], ecx
call fcn.0040c1e0
mov eax, dword [esp + 4]
lea ecx, [0x4b8c40]
mov dword [eax], ecx
mov ecx, dword [0x7f8db0]
test ecx, ecx
jne 0x4b89de
mov ecx, dword [esp + 0xac]
mov dword [eax + 4], ecx
mov edx, dword [esp + 0xb4]
mov dword [edx + 0x10], eax
jmp 0x4b8a04
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0xac]
call fcn.00464380
mov edx, dword [esp + 0xb4]
lea edi, [edx + 0x10]
mov ebx, eax
mov eax, ecx
call fcn.00464380
mov ecx, ebx
lea edi, [esp + 0x194]
xor eax, eax
call fcn.004645b7
mov ecx, dword [esp + 0xac]
mov dword [esp + 0x194], ecx
mov dword [esp + 0x198], edx
lea edi, [esp + 0x19c]
lea esi, [esp + 0x20c]
call fcn.004649fa
lea ecx, [0x5fd900]
mov dword [esp], ecx
lea edx, [esp + 0xbc]
mov dword [esp + 4], edx
call fcn.00409940
mov ecx, dword [esp + 8]
mov dword [esp + 0xb0], ecx
lea edx, [0x6034e0]
mov dword [esp], edx
lea ebx, [esp + 0x194]
mov dword [esp + 4], ebx
call fcn.00409940
mov ecx, dword [esp + 8]
lea edx, [0x7d3da0]
mov dword [esp], edx
lea edx, [0x5fd900]
mov dword [esp + 4], edx
mov edx, dword [esp + 0xb0]
mov dword [esp + 8], edx
lea edx, [0x6034e0]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
call fcn.0046c8a0
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xb8], ecx
mov esi, dword [esp + 0x18]
lea edi, [esp + 0x194]
xor eax, eax
call fcn.004645b7
mov ecx, dword [esp + 0xb8]
lea edx, [0x6034e0]
cmp ecx, edx
jne 0x4b8b3d
lea edi, [esp + 0x194]
call fcn.004649e6
lea edi, [esp + 0xcc]
lea esi, [esp + 0x194]
call fcn.004649e6
mov eax, dword [esp + 0xcc]
mov ecx, dword [esp + 0xd0]
mov dword [esp + 0xb4], ecx
lea edi, [esp + 0x20c]
lea esi, [esp + 0xd4]
call fcn.004649fa
mov dword [esp + 0x204], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x208], eax
add esp, 0x1f8
ret
mov dword [esp], ecx
mov dword [esp + 4], edx
lea eax, [0x5f12a0]
mov dword [esp + 8], eax
call fcn.004097e0
xor eax, eax
mov ecx, eax
call fcn.00464400
mov dword [esp], ecx
mov dword [esp + 4], edx
lea eax, [0x5f12a0]
mov dword [esp + 8], eax
call fcn.004097e0
mov dword [esp], edx
call fcn.004ae0f0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], 0
lea edx, [0x628db6]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x2c
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
call fcn.0044ec90
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00409b20
mov eax, dword [esp + 8]
lea ecx, [0x5f1960]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00436760
mov dword [esp], ecx
call fcn.004ae0f0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], 0
lea edx, [0x62737a]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x25
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
call fcn.0044ec90
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00409b20
mov eax, dword [esp + 8]
lea ecx, [0x5f1960]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00436760
nop
call fcn.00462f70
jmp fcn.004b8630