Function at 0x4fdf30
Capabilities:
Reference sql statements

Disassembly:
mov ecx, dword [0x93ee7c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x208]
cmp eax, dword [ecx + 8]
jbe 0x4feac0
sub esp, 0x288
lea edi, [esp + 0x3b0]
xor eax, eax
call fcn.00471ac4
mov dword [esp + 0x3e0], 0
mov dword [esp + 0x3e2], 0
mov dword [esp + 0x3e6], 0
mov dword [esp + 0x3ea], 0
mov dword [esp + 0x3f0], 0
mov dword [esp + 0x3f4], 0
mov word [esp + 0x3a2], 1
lea edi, [esp]
lea esi, [esp + 0x2a0]
call fcn.00471d56
movzx ecx, byte [esp + 0x3ad]
mov byte [esp + 0x104], cl
call fcn.004fcf90
mov ecx, dword [esp + 0x124]
movzx edx, word [esp + 0x108]
mov ebx, dword [esp + 0x10c]
mov ebp, dword [esp + 0x118]
mov eax, dword [esp + 0x110]
mov esi, dword [esp + 0x114]
mov dword [esp + 0x184], esi
mov edi, dword [esp + 0x11c]
mov esi, dword [esp + 0x120]
test ecx, ecx
jne 0x4fe116
movzx ecx, byte [esp + 0x3ac]
test cl, cl
je 0x4fe054
mov dword [esp + 0x224], 3
lea ecx, [0x71b2ae]
mov dword [esp + 0x220], ecx
mov ecx, 1
lea ecx, [esp + 0x220]
mov dword [esp + 0x200], ecx
mov ecx, 1
jmp 0x4fe0c8
mov dword [esp + 0x210], 0
mov dword [esp + 0x214], 0
mov dword [esp + 0x218], 0
mov dword [esp + 0x21c], 0
mov dword [esp + 0x214], 3
lea ecx, [0x71b3fe]
mov dword [esp + 0x210], ecx
mov dword [esp + 0x21c], 3
lea ecx, [0x71b2ae]
mov dword [esp + 0x218], ecx
mov ecx, 2
lea ecx, [esp + 0x210]
mov dword [esp + 0x200], ecx
mov ecx, 2
mov word [esp + 0x168], dx
mov dword [esp + 0x180], eax
mov dword [esp + 0x18c], esi
mov dword [esp + 0x1b8], ebp
mov dword [esp + 0x1b4], ebx
mov dword [esp + 0x188], edi
mov dword [esp + 0x190], ecx
mov dword [esp + 0x1a0], eax
xor eax, eax
mov dword [esp + 0x1ac], eax
mov eax, dword [esp + 0x1a0]
jmp 0x4fe1b7
lea edi, [esp + 0x3b0]
xor eax, eax
call fcn.00471ac4
mov dword [esp + 0x3e0], 0
mov dword [esp + 0x3e2], 0
mov dword [esp + 0x3e6], 0
mov dword [esp + 0x3ea], 0
mov ecx, dword [0x913a80]
mov edx, dword [0x913a84]
mov dword [esp + 0x3f0], ecx
mov dword [esp + 0x3f4], edx
call fcn.004358b0
add esp, 0x288
ret
mov eax, dword [esp + 0x1ac]
inc eax
mov ecx, dword [esp + 0x190]
movzx edx, word [esp + 0x168]
mov ebx, dword [esp + 0x1b4]
mov ebp, dword [esp + 0x1b8]
mov esi, dword [esp + 0x18c]
mov edi, dword [esp + 0x188]
mov dword [esp + 0x1ac], eax
mov eax, dword [esp + 0x180]
mov ebx, dword [esp + 0x1ac]
cmp ecx, ebx
jle 0x4fea31
mov eax, dword [esp + 0x200]
lea ecx, [eax + ebx*8]
mov edx, dword [ecx]
mov dword [esp + 0x204], edx
mov ecx, dword [ecx + 4]
mov dword [esp + 0x194], ecx
call fcn.004b5b60
lea edi, [esp + 0x258]
lea esi, [esp]
call fcn.00471fae
lea edi, [esp]
lea esi, [esp + 0x258]
call fcn.00471fae
mov eax, dword [esp + 0x3a4]
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x3a8]
mov dword [esp + 0x18], ecx
call fcn.004af2a0
lea edi, [esp + 0x258]
lea esi, [esp + 0x1c]
call fcn.00471fae
lea edi, [esp + 0x228]
lea esi, [esp + 0x258]
call fcn.00471fae
mov eax, dword [esp + 0x290]
mov dword [esp], eax
mov ecx, dword [esp + 0x294]
mov dword [esp + 4], ecx
lea edi, [esp + 8]
lea esi, [esp + 0x228]
call fcn.00471fae
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
call fcn.004ee680
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x17c], ecx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x1b0], edx
mov dword [esp], eax
call fcn.00435200
test eax, eax
jne 0x4fea25
mov eax, dword [esp + 0x28c]
mov dword [esp], eax
mov ecx, dword [esp + 0x17c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x1b0]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x204]
mov dword [esp + 0xc], ebx
mov ebp, dword [esp + 0x194]
mov dword [esp + 0x10], ebp
mov esi, dword [esp + 0x298]
mov dword [esp + 0x14], esi
mov edi, dword [esp + 0x29c]
mov dword [esp + 0x18], edi
call fcn.0050a890
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x4fe99c
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x19c], ecx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x20c], edx
lea edi, [esp + 0x258]
xor eax, eax
call fcn.00471acb
mov ecx, dword [esp + 0x17c]
mov ecx, dword [ecx + 0xc]
mov ebx, dword [esp + 0x1b0]
mov dword [esp], ebx
call ecx
movzx ecx, byte [esp + 0x18]
mov byte [esp + 0x167], cl
lea edi, [esp + 0x258]
lea esi, [esp + 4]
call fcn.00471fae
lea edi, [esp + 0x228]
lea esi, [esp + 0x258]
call fcn.00471fae
movzx ecx, byte [esp + 0x167]
test cl, cl
je 0x4fe429
lea edi, [esp + 0x1bc]
lea esi, [esp + 0x258]
call fcn.00471fae
mov ecx, dword [esp + 0x1c0]
mov edx, dword [esp + 0x1bc]
test ecx, 0x80000000
je 0x4fe3cb
mov ebx, edx
shl edx, 1
shl ecx, 1
mov ebp, ebx
shr ebx, 0x1f
or ecx, ebx
mov ebx, ecx
shl ecx, 1
shr ebx, 0x1f
shr edx, 0x1f
or edx, ecx
add edx, 0xd7b17f80
adc ebx, 0xd
jmp 0x4fe3dd
mov ecx, dword [esp + 0x1c4]
mov ebx, dword [esp + 0x1c8]
mov ebp, edx
mov edx, ecx
test ebx, ebx
sete cl
test edx, edx
sete dl
and ecx, edx
test cl, cl
je 0x4fe3f5
test ebp, 0x3fffffff
je 0x4fe429
mov eax, dword [esp + 0x19c]
mov ecx, dword [eax + 0x1c]
mov dword [esp + 0x1a8], ecx
mov edx, dword [esp + 0x20c]
mov dword [esp], edx
lea edi, [esp + 4]
lea esi, [esp + 0x228]
call fcn.00471fae
mov ecx, dword [esp + 0x1a8]
call ecx
lea edi, [esp + 0x1d0]
xor eax, eax
call fcn.00471ac4
mov dword [esp + 0x16a], 0
mov dword [esp + 0x16c], 0
mov dword [esp + 0x170], 0
mov dword [esp + 0x174], 0
mov ecx, dword [esp + 0x19c]
test ecx, ecx
je 0x4fe492
mov eax, dword [ecx + 4]
lea edx, [0x914a48]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.00409f00
mov ecx, dword [esp + 8]
xor eax, eax
mov edx, dword [esp + 0x19c]
jmp 0x4fe494
mov edx, ecx
test ecx, ecx
je 0x4fe5bf
lea edi, [esp + 0x228]
call fcn.00471ac4
mov dword [esp], edx
mov ecx, dword [esp + 0x20c]
mov dword [esp + 4], ecx
movzx ebx, word [esp + 0x168]
mov word [esp + 8], bx
lea edi, [esp + 0xa]
lea esi, [esp + 0x2a0]
call fcn.00471d56
mov ecx, dword [esp + 0x1b4]
mov dword [esp + 0x110], ecx
mov ebp, dword [esp + 0x180]
mov dword [esp + 0x114], ebp
mov ebp, dword [esp + 0x184]
mov dword [esp + 0x118], ebp
call fcn.004fd5e0
mov ecx, dword [esp + 0x15c]
mov dword [esp + 0x198], ecx
mov edx, dword [esp + 0x160]
lea edi, [esp + 0x228]
lea esi, [esp + 0x11c]
call fcn.00471f68
mov ecx, dword [esp + 0x14c]
mov dword [esp + 0x16a], ecx
lea edi, [esp + 0x16c]
lea esi, [esp + 0x14e]
call fcn.00471fc2
lea edi, [esp + 0x258]
lea esi, [esp + 0x228]
call fcn.00471f68
mov ecx, dword [esp + 0x16a]
mov dword [esp + 0x228], ecx
lea edi, [esp + 0x22a]
lea esi, [esp + 0x16c]
call fcn.00471fc2
lea edi, [esp + 0x1d0]
lea esi, [esp + 0x258]
call fcn.00471f68
mov ecx, dword [esp + 0x228]
mov dword [esp + 0x16a], ecx
lea edi, [esp + 0x16c]
lea esi, [esp + 0x22a]
call fcn.00471fc2
mov eax, dword [esp + 0x198]
jmp 0x4fe6dd
lea edi, [esp + 0x228]
call fcn.00471ac4
mov dword [esp], edx
mov ecx, dword [esp + 0x20c]
mov dword [esp + 4], ecx
movzx ebx, word [esp + 0x168]
mov word [esp + 8], bx
lea edi, [esp + 0xa]
lea esi, [esp + 0x2a0]
call fcn.00471d56
mov ecx, dword [esp + 0x1b8]
mov dword [esp + 0x110], ecx
mov ebp, dword [esp + 0x188]
mov dword [esp + 0x114], ebp
mov ebp, dword [esp + 0x18c]
mov dword [esp + 0x118], ebp
call fcn.004fd950
mov ecx, dword [esp + 0x15c]
mov dword [esp + 0x198], ecx
mov edx, dword [esp + 0x160]
lea edi, [esp + 0x228]
lea esi, [esp + 0x11c]
call fcn.00471f68
mov ecx, dword [esp + 0x14c]
mov dword [esp + 0x16a], ecx
lea edi, [esp + 0x16c]
lea esi, [esp + 0x14e]
call fcn.00471fc2
lea edi, [esp + 0x258]
lea esi, [esp + 0x228]
call fcn.00471f68
mov ecx, dword [esp + 0x16a]
mov dword [esp + 0x228], ecx
lea edi, [esp + 0x22a]
lea esi, [esp + 0x16c]
call fcn.00471fc2
lea edi, [esp + 0x1d0]
lea esi, [esp + 0x258]
call fcn.00471f68
mov ecx, dword [esp + 0x228]
mov dword [esp + 0x16a], ecx
lea edi, [esp + 0x16c]
lea esi, [esp + 0x22a]
call fcn.00471fc2
mov eax, dword [esp + 0x198]
mov dword [esp + 0x208], edx
mov dword [esp + 0x198], eax
mov ecx, dword [esp + 0x19c]
mov ecx, dword [ecx + 0xc]
mov ebx, dword [esp + 0x20c]
mov dword [esp], ebx
call ecx
mov eax, dword [esp + 0x198]
test eax, eax
jne 0x4fe88c
lea eax, [esp + 0x1d0]
mov dword [esp], eax
call fcn.004f1b00
mov eax, dword [esp + 4]
cmp dword [0x913de8], eax
jne 0x4fe7fd
mov ecx, dword [esp + 8]
mov edx, dword [0x913dec]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00404430
movzx eax, byte [esp + 0xc]
test al, al
je 0x4fe7fd
movzx ecx, byte [esp + 0x171]
test cl, cl
je 0x4fe786
mov ecx, dword [esp + 0x194]
cmp ecx, 3
jne 0x4fe786
mov ecx, dword [esp + 0x204]
cmp word [ecx], 0x6475
jne 0x4fe786
cmp byte [ecx + 2], 0x70
je 0x4fe176
mov eax, dword [esp + 0x16a]
mov dword [esp + 0x258], eax
lea edi, [esp + 0x25a]
lea esi, [esp + 0x16c]
call fcn.00471fc2
lea edi, [esp + 0x3b0]
lea esi, [esp + 0x1d0]
call fcn.00471f68
mov eax, dword [esp + 0x258]
mov dword [esp + 0x3e0], eax
lea edi, [esp + 0x3e2]
lea esi, [esp + 0x25a]
call fcn.00471fc2
mov dword [esp + 0x3f0], 0
mov dword [esp + 0x3f4], 0
call fcn.004358b0
add esp, 0x288
ret
mov dword [esp + 0x258], 0
mov dword [esp + 0x25a], 0
mov dword [esp + 0x25e], 0
mov dword [esp + 0x262], 0
mov ecx, dword [0x913a90]
mov dword [esp + 0x1a8], ecx
mov edx, dword [0x913a94]
lea edi, [esp + 0x3b0]
xor eax, eax
call fcn.00471ac4
mov ecx, dword [esp + 0x258]
mov dword [esp + 0x3e0], ecx
lea edi, [esp + 0x3e2]
lea esi, [esp + 0x25a]
call fcn.00471fc2
mov ecx, dword [esp + 0x1a8]
mov dword [esp + 0x3f0], ecx
mov dword [esp + 0x3f4], edx
call fcn.004358b0
add esp, 0x288
ret
cmp dword [0x913a18], eax
jne 0x4fe8cf
mov ecx, dword [0x913a1c]
mov dword [esp], eax
mov edx, dword [esp + 0x208]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.00404430
movzx eax, byte [esp + 0xc]
test al, al
je 0x4fe8c8
lea eax, [0x78afe0]
lea edx, [0x93ed20]
jmp 0x4fe919
mov eax, dword [esp + 0x198]
cmp dword [0x913a20], eax
jne 0x4fe912
mov ecx, dword [0x913a24]
mov dword [esp], eax
mov edx, dword [esp + 0x208]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.00404430
movzx eax, byte [esp + 0xc]
test al, al
je 0x4fe90b
mov eax, dword [0x913ab0]
mov edx, dword [0x913ab4]
jmp 0x4fe919
mov eax, dword [esp + 0x198]
mov edx, dword [esp + 0x208]
mov dword [esp + 0x178], eax
mov dword [esp + 0x258], 0
mov dword [esp + 0x25a], 0
mov dword [esp + 0x25e], 0
mov dword [esp + 0x262], 0
lea edi, [esp + 0x3b0]
xor eax, eax
call fcn.00471ac4
mov ecx, dword [esp + 0x258]
mov dword [esp + 0x3e0], ecx
lea edi, [esp + 0x3e2]
lea esi, [esp + 0x25a]
call fcn.00471fc2
mov ecx, dword [esp + 0x178]
mov dword [esp + 0x3f0], ecx
mov dword [esp + 0x3f4], edx
call fcn.004358b0
add esp, 0x288
ret
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x208], ecx
mov dword [esp + 0x258], 0
mov dword [esp + 0x25a], 0
mov dword [esp + 0x25e], 0
mov dword [esp + 0x262], 0
lea edi, [esp + 0x3b0]
mov edx, eax
xor eax, eax
call fcn.00471ac4
mov ecx, dword [esp + 0x258]
mov dword [esp + 0x3e0], ecx
lea edi, [esp + 0x3e2]
lea esi, [esp + 0x25a]
call fcn.00471fc2
mov dword [esp + 0x3f0], edx
mov ecx, dword [esp + 0x208]
mov dword [esp + 0x3f4], ecx
call fcn.004358b0
add esp, 0x288
ret
call fcn.004358b0
add esp, 0x288
ret
mov dword [esp + 0x258], 0
mov dword [esp + 0x25a], 0
mov dword [esp + 0x25e], 0
mov dword [esp + 0x262], 0
mov ecx, dword [0x913a98]
mov dword [esp + 0x1a8], ecx
mov edx, dword [0x913a9c]
lea edi, [esp + 0x3b0]
xor eax, eax
call fcn.00471ac4
mov ecx, dword [esp + 0x258]
mov dword [esp + 0x3e0], ecx
lea edi, [esp + 0x3e2]
lea esi, [esp + 0x25a]
call fcn.00471fc2
mov ecx, dword [esp + 0x1a8]
mov dword [esp + 0x3f0], ecx
mov dword [esp + 0x3f4], edx
call fcn.004358b0
add esp, 0x288
ret
call fcn.00470430
jmp fcn.004fdf30