Function at 0x4dba50
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60ed9f
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x6ba394]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
push edx
push eax
lea eax, [ebp - 0xa4]
mov dword [ebp - 4], 0
push eax
call fcn.00434630
add esp, 0xc
mov esi, eax
lea eax, [ebp - 0x8c]
mov byte [ebp - 4], 1
push 0x64
push eax
call fcn.0046c890
add esp, 8
push eax
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 2
push str._SELECT_Hash_FROM_Amsi_WHERE_Ps_RID_IN_n___________________________SELECT_Ps_RID_FROM_Ps_WHERE_Ps.Ps_RID__
push eax
call fcn.00438d70
add esp, 0xc
push str._ORDER_BY_Ps_RID_ASC_LIMIT
push eax
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 3
push eax
call fcn.004238e0
add esp, 0xc
push esi
push eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 4
push eax
call fcn.00465c20
add esp, 0xc
push 0x66375c
push eax
lea eax, [ebp - 0xbc]
mov byte [ebp - 4], 5
push eax
call fcn.004238e0
add esp, 0xc
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x4dbb27
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.00434bd0
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
mov eax, dword [ebp - 0x48]
cmp eax, 8
jb 0x4dbb50
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.00434bd0
xor eax, eax
mov dword [ebp - 0x48], 7
mov dword [ebp - 0x4c], 0
mov word [ebp - 0x5c], ax
mov eax, dword [ebp - 0x60]
cmp eax, 8
jb 0x4dbb79
inc eax
lea ecx, [ebp - 0x74]
push eax
push dword [ebp - 0x74]
call fcn.00434bd0
xor eax, eax
mov dword [ebp - 0x60], 7
mov dword [ebp - 0x64], 0
mov word [ebp - 0x74], ax
mov eax, dword [ebp - 0x78]
cmp eax, 8
jb 0x4dbba8
inc eax
lea ecx, [ebp - 0x8c]
push eax
push dword [ebp - 0x8c]
call fcn.00434bd0
xor eax, eax
mov dword [ebp - 0x78], 7
mov dword [ebp - 0x7c], 0
mov word [ebp - 0x8c], ax
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x90]
cmp eax, 8
jb 0x4dbbe1
inc eax
lea ecx, [ebp - 0xa4]
push eax
push dword [ebp - 0xa4]
call fcn.00434bd0
xor eax, eax
mov dword [ebp - 0x30], 7
cmp dword [ebp - 0xa8], 8
lea edx, [ebp - 0xbc]
mov dword [ebp - 0x34], eax
cmovae edx, dword [ebp - 0xbc]
mov word [ebp - 0x44], ax
mov dword [ebp - 0x90], 7
mov dword [ebp - 0x94], 0
mov word [ebp - 0xa4], ax
cmp word [edx], ax
jne 0x4dbc29
xor ecx, ecx
jmp 0x4dbc3f
mov ecx, edx
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4dbc30
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x44]
call fcn.004346a0
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0xdc]
push eax
lea ecx, [edi + 0x28]
call fcn.0059be7f
lea esi, [ebp - 0xdc]
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x30]
cmp eax, 8
jb 0x4dbc7f
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.00434bd0
mov edi, dword [ebp - 0xc0]
xor eax, eax
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
nop dword [eax]
lea ecx, [ebp - 0xdc]
call fcn.0059bbbd
test al, al
jne 0x4dbd43
push str.Hash
mov ecx, esi
call fcn.0059c19b
mov edx, eax
mov dword [ebp - 0x18], 7
xor eax, eax
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
cmp word [edx], ax
jne 0x4dbcde
xor ecx, ecx
jmp 0x4dbcf8
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4dbce3
sub ecx, esi
lea esi, [ebp - 0xdc]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.004346a0
push edi
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0xf
push eax
push ecx
lea eax, [ebp - 0xc4]
mov ecx, ebx
push eax
call fcn.00426090
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x4dbd33
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.00434bd0
lea ecx, [ebp - 0xdc]
call fcn.0059c341
jmp 0x4dbca0
cmp dword [ebx + 4], 0
lea ecx, [ebp - 0xdc]
setne bl
call fcn.0059b53b
mov ecx, dword [ebp - 0xa8]
cmp ecx, 8
jb 0x4dbd73
inc ecx
push ecx
push dword [ebp - 0xbc]
lea ecx, [ebp - 0xbc]
call fcn.00434bd0
mov al, bl
jmp 0x4dbdad
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005b168a
mov esp, ebp
pop ebp
ret 0xc