Function at 0x478ba0
Capabilities:
Reference sql statements

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x178]
cmp eax, dword [ecx + 8]
jbe 0x4791b1
sub esp, 0x1f8
lea edi, [esp + 0x20c]
xor eax, eax
call fcn.0045a169
mov ecx, dword [esp + 0x1fc]
movzx edx, byte [ecx + 0xf]
and edx, 0x1f
cmp edx, 0x13
jne 0x479150
mov edx, dword [esp + 0x200]
test edx, edx
je 0x478c03
movzx ebx, byte [edx + 0xf]
and ebx, 0x1f
cmp ebx, 0x14
je 0x4790f0
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], edx
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], edx
lea eax, [0x7c2820]
mov dword [esp], eax
lea ebx, [0x4db040]
mov dword [esp + 4], ebx
lea ebp, [esp + 0xbc]
mov dword [esp + 8], ebp
call fcn.0045f8f0
movzx eax, byte [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
test al, al
je 0x478ce4
mov dword [esp + 0xb8], ecx
lea edi, [esp + 0x194]
xor eax, eax
call fcn.0045a167
mov ecx, dword [esp + 0xb8]
lea edx, [0x4dd640]
cmp ecx, edx
jne 0x4790da
lea edi, [esp + 0x194]
call fcn.0045a596
lea edi, [esp + 0x130]
lea esi, [esp + 0x194]
call fcn.0045a596
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.0045a5aa
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.00475450
lea edi, [esp + 0x20c]
lea esi, [esp + 8]
call fcn.0045a5aa
mov eax, dword [esp + 0x258]
add eax, dword [esp + 0x248]
mov dword [esp + 0x64], eax
lea ecx, [0x4e1a80]
mov dword [esp], ecx
call fcn.0040af50
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 0x478d9f
mov edx, dword [ecx + 8]
mov ebx, dword [ecx + 4]
test edx, edx
jbe 0x4790d1
mov ecx, dword [0x7e83b0]
test ecx, ecx
jne 0x478d84
mov dword [eax + 0x14], ebx
mov ecx, dword [esp + 0x200]
test ecx, ecx
jmp 0x478da8
lea edi, [eax + 0x14]
mov ecx, eax
mov eax, ebx
call fcn.00459fb0
mov edx, dword [esp + 0x200]
test edx, edx
mov eax, ecx
mov ecx, edx
jmp 0x478da8
mov ecx, dword [esp + 0x200]
test ecx, ecx
mov dword [esp + 0xac], eax
je 0x478e51
mov dword [esp], ecx
call fcn.00476580
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.00476580
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
lea edx, [esp + 0x8c]
mov dword [esp], edx
lea edx, [0x4e7a28]
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, [0x4e6531]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], 2
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
lea eax, [0x4e6508]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], 1
call fcn.004473c0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
jmp 0x478ea8
mov eax, dword [esp + 0x1fc]
mov dword [esp], eax
call fcn.00476580
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
lea edx, [esp + 0x6c]
mov dword [esp], edx
lea edx, [0x4e7314]
mov dword [esp + 4], edx
mov dword [esp + 8], 9
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
lea eax, [0x4e6508]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 1
call fcn.00447270
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 byte [esp + 0x10], 0
call fcn.00476050
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call fcn.00457310
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0xac]
mov dword [ecx + 0x18], eax
lea eax, [0x4e02a0]
mov dword [esp], eax
call fcn.0040af50
mov eax, dword [esp + 4]
mov dword [esp + 0xb4], eax
lea ecx, [0x4d96c0]
mov dword [esp], ecx
call fcn.0040af50
mov eax, dword [esp + 4]
lea ecx, [0x4791c0]
mov dword [eax], ecx
mov ecx, dword [0x7e83b0]
test ecx, ecx
jne 0x478f36
mov ecx, dword [esp + 0xac]
mov dword [eax + 4], ecx
mov edx, dword [esp + 0xb4]
mov dword [edx + 0x10], eax
jmp 0x478f5c
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0xac]
call fcn.00459fb0
mov edx, dword [esp + 0xb4]
lea edi, [edx + 0x10]
mov ebx, eax
mov eax, ecx
call fcn.00459fb0
mov ecx, ebx
mov ebx, dword [esp + 0x1fc]
mov dword [esp + 0xc4], ebx
mov ebx, dword [esp + 0x200]
mov dword [esp + 0xc8], ebx
lea edi, [esp + 0x194]
xor eax, eax
call fcn.0045a167
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.0045a5aa
lea ecx, [0x4db040]
mov dword [esp], ecx
lea ecx, [esp + 0xc4]
mov dword [esp + 4], ecx
call fcn.00408830
mov ecx, dword [esp + 8]
mov dword [esp + 0xb8], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0xb0], edx
lea ebx, [0x4dd640]
mov dword [esp], ebx
lea ebp, [esp + 0x194]
mov dword [esp + 4], ebp
call fcn.00408830
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
lea ebx, [0x7c2820]
mov dword [esp], ebx
mov ebx, dword [esp + 0xb8]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0xb0]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
call fcn.0045ffc0
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xb8], ecx
mov esi, dword [esp + 0x18]
lea edi, [esp + 0x194]
xor eax, eax
call fcn.0045a167
mov ecx, dword [esp + 0xb8]
lea edx, [0x4dd640]
cmp ecx, edx
jne 0x4790bb
lea edi, [esp + 0x194]
call fcn.0045a596
lea edi, [esp + 0xcc]
lea esi, [esp + 0x194]
call fcn.0045a596
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.0045a5aa
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, [0x4d6b80]
mov dword [esp + 8], eax
call fcn.004086d0
xor eax, eax
mov ecx, edx
call fcn.0045a030
mov dword [esp], ecx
mov dword [esp + 4], edx
lea eax, [0x4d6b80]
mov dword [esp + 8], eax
call fcn.004086d0
mov dword [esp], edx
call fcn.00476580
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], 0
lea edx, [0x4efd37]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x2c
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
call fcn.004471d0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004089b0
mov eax, dword [esp + 8]
lea ecx, [0x4d7140]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004319f0
mov dword [esp], ecx
call fcn.00476580
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], 0
lea edx, [0x4eebb4]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x25
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
call fcn.004471d0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004089b0
mov eax, dword [esp + 8]
lea ecx, [0x4d7140]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004319f0
nop
call fcn.00458b70
jmp fcn.00478ba0