Function at 0x56fe70
Capabilities:
Reference sql statements

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fad3b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x660
mov eax, dword [0x67d070]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebx + 8]
lea eax, [edi + 4]
mov dword [ebp - 0x648], 0
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
mov dword [ebp - 0x664], eax
mov eax, 0x2aaaaaab
imul ecx
mov dword [ebp - 0x668], esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x56fefb
push dword [ebp - 0x664]
mov ecx, esi
call fcn.00571c70
xor eax, eax
jmp 0x5706be
mov dword [ebp - 0x658], 0
mov dword [ebp - 0x654], 0
mov dword [ebp - 0x650], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
push 0
push 0x61baf2
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
call fcn.00407200
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 1
push eax
push ecx
lea ecx, [ebp - 0x640]
call fcn.00574f30
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x56ff6e
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.00407440
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
call fcn.0057d2e0
mov dword [ebp - 0x65c], eax
test eax, eax
jne 0x56ffb1
push str.Unable_to_get_UserTableDataHandler_instance_in_opd_getUserKeys
push 0x648a14
call fcn.00572740
push eax
call fcn.005731b0
add esp, 0xc
mov edi, 0xc
jmp 0x570657
push str.UIDB
lea ecx, [ebp - 0xd4]
call fcn.00406f00
mov esi, eax
push str.UIDA
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 4
call fcn.00406f00
push eax
mov edx, str.SELECT__FROM_opm_user_WHERE_key_LIKE__
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x5c]
call fcn.00410db0
add esp, 4
push str.__OR_key_LIKE__
mov edx, eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x74]
call fcn.004196c0
add esp, 4
push esi
mov edx, eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x8c]
call fcn.004b91a0
add esp, 4
push 0x6231a0
mov edx, eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xbc]
call fcn.004196c0
add esp, 4
mov eax, dword [ebp - 0x78]
cmp eax, 0x10
jb 0x570048
inc eax
lea ecx, [ebp - 0x8c]
push eax
push dword [ebp - 0x8c]
call fcn.00407440
mov dword [ebp - 0x78], 0xf
mov dword [ebp - 0x7c], 0
mov byte [ebp - 0x8c], 0
mov eax, dword [ebp - 0x60]
cmp eax, 0x10
jb 0x570072
inc eax
lea ecx, [ebp - 0x74]
push eax
push dword [ebp - 0x74]
call fcn.00407440
mov dword [ebp - 0x60], 0xf
mov dword [ebp - 0x64], 0
mov byte [ebp - 0x74], 0
mov eax, dword [ebp - 0x48]
cmp eax, 0x10
jb 0x570099
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.00407440
mov dword [ebp - 0x48], 0xf
mov dword [ebp - 0x4c], 0
mov byte [ebp - 0x5c], 0
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x5700c0
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.00407440
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0xc0]
cmp eax, 0x10
jb 0x5700f4
inc eax
lea ecx, [ebp - 0xd4]
push eax
push dword [ebp - 0xd4]
call fcn.00407440
cmp dword [ebp - 0xa8], 0x10
lea eax, [ebp - 0x658]
mov ecx, dword [edi]
lea edx, [ebp - 0xbc]
cmovae edx, dword [ebp - 0xbc]
push eax
mov dword [ebp - 0xc0], 0xf
mov dword [ebp - 0xc4], 0
mov byte [ebp - 0xd4], 0
call fcn.0056d9b0
mov ecx, dword [ebp - 0x654]
add esp, 4
sub ecx, dword [ebp - 0x658]
mov dword [ebp - 0x66c], eax
mov eax, 0x84210843
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x570601
push 0x61baf2
lea ecx, [ebp - 0xa4]
call fcn.00406f00
push 0x61baf2
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xf
call fcn.00406f00
mov byte [ebp - 4], 0x10
mov eax, 0x84210843
mov ecx, dword [ebp - 0x654]
sub ecx, dword [ebp - 0x658]
imul ecx
mov dword [ebp - 0x660], 0
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x5702f2
xor esi, esi
mov dword [ebp - 0x648], esi
nop dword [eax + eax]
mov eax, dword [ebp - 0x658]
add eax, esi
cmp dword [eax + 0x44], 0x10
mov dword [ebp - 0x64c], eax
lea esi, [eax + 0x30]
jb 0x5701db
mov ecx, dword [esi]
jmp 0x5701dd
mov ecx, esi
mov edi, dword [esi + 0x10]
mov eax, 4
cmp edi, eax
cmovb eax, edi
push eax
push str.UIDA
push ecx
call fcn.00407d80
add esp, 0xc
test eax, eax
jne 0x570233
cmp edi, 4
jb 0x570233
ja 0x570233
mov edx, dword [ebp - 0x64c]
add edx, 0x48
cmp dword [edx + 0x10], eax
sete al
test al, al
jne 0x570256
mov eax, dword [ebp - 0x65c]
mov ecx, dword [eax + 0x18]
test ecx, ecx
jne 0x57022b
push str.Crypt_engine_not_initialized_for_encrypting
jmp 0x57025b
lea eax, [ebp - 0xa4]
jmp 0x570287
push str.UIDB
mov ecx, esi
call fcn.0040f620
test eax, eax
jne 0x5702af
mov edx, dword [ebp - 0x64c]
add edx, 0x48
cmp dword [edx + 0x10], eax
sete al
test al, al
je 0x570270
push str.User_Data_encrypt_called_with_invalid_string
push str.OPM_USER_DATA_HANDLER
call fcn.00572740
push eax
call fcn.00573030
add esp, 0xc
jmp 0x5702af
mov eax, dword [ebp - 0x65c]
mov ecx, dword [eax + 0x18]
test ecx, ecx
jne 0x570284
push str.Crypt_engine_not_initialized_for_encrypting
jmp 0x57025b
lea eax, [ebp - 0x2c]
push eax
push edx
call fcn.00574a00
test eax, eax
je 0x5702af
push eax
push str.Unable_to_encrypt_user_data__Error:__d
push str.OPM_USER_DATA_HANDLER
push ecx
call fcn.00572740
add esp, 4
push eax
call fcn.005731b0
add esp, 0x10
mov ecx, dword [ebp - 0x654]
mov eax, 0x84210843
sub ecx, dword [ebp - 0x658]
mov edi, dword [ebp - 0x660]
mov esi, dword [ebp - 0x648]
inc edi
imul ecx
add esi, 0x7c
mov dword [ebp - 0x660], edi
add edx, ecx
mov dword [ebp - 0x648], esi
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x5701c0
mov esi, dword [ebp - 0x90]
lea eax, [ebp - 0xa4]
cmp esi, 0x10
push 0
cmovae eax, dword [ebp - 0xa4]
push 0x61baf2
push eax
call fcn.00407d80
add esp, 0xc
test eax, eax
jne 0x57033d
cmp dword [ebp - 0x94], eax
ja 0x57033d
push 0x61baf2
lea ecx, [ebp - 0x2c]
call fcn.0040f620
test eax, eax
jne 0x57033d
lea edi, [eax + 8]
jmp 0x5705b8
xor eax, eax
mov dword [ebp - 0x78], 7
mov dword [ebp - 0x7c], 0
mov word [ebp - 0x8c], ax
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], eax
mov word [ebp - 0x44], ax
mov byte [ebp - 4], 0x12
lea edx, [ebp - 0xa4]
cmp esi, 0x10
mov dword [ebp - 0x60], 0xf
mov dword [ebp - 0x64], eax
cmovae edx, dword [ebp - 0xa4]
mov byte [ebp - 0x74], al
cmp byte [edx], al
jne 0x57038b
xor ecx, ecx
jmp 0x570399
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x570390
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x74]
call fcn.00407200
mov eax, 1
mov byte [ebp - 4], 0x13
lea edx, [ebp - 0x8c]
mov dword [ebp - 0x64c], eax
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x648], eax
call fcn.00502a30
test al, al
je 0x57040c
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x5c]
cmovae eax, dword [ebp - 0x2c]
push eax
call fcn.00406f00
mov eax, 3
mov dword [ebp - 4], 0x14
lea edx, [ebp - 0x44]
mov dword [ebp - 0x64c], eax
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x648], eax
call fcn.00502a30
mov byte [ebp - 0x641], 0
test al, al
jne 0x570413
mov byte [ebp - 0x641], 1
mov eax, dword [ebp - 0x64c]
test al, 2
je 0x570455
mov ecx, dword [ebp - 0x48]
and eax, 0xfffffffd
mov dword [ebp - 0x64c], eax
cmp ecx, 0x10
jb 0x570443
lea eax, [ecx + 1]
push eax
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x5c]
call fcn.00407440
mov eax, dword [ebp - 0x64c]
mov dword [ebp - 0x48], 0xf
mov dword [ebp - 0x4c], 0
mov byte [ebp - 0x5c], 0
mov dword [ebp - 4], 0x12
test al, 1
je 0x570475
mov eax, dword [ebp - 0x60]
cmp eax, 0x10
jb 0x570475
inc eax
lea ecx, [ebp - 0x74]
push eax
push dword [ebp - 0x74]
call fcn.00407440
cmp byte [ebp - 0x641], 0
je 0x5704a0
push str.Unable_to_convert_request_code_string_to_NativeString_
push 0x6489b4
call fcn.00572740
push eax
call fcn.00573570
add esp, 0xc
mov edi, 0xc
jmp 0x57056e
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [ebp - 0x8c]
push eax
call fcn.00407550
mov esi, dword [ebp - 0x668]
lea ecx, [ebp - 0x640]
push dword [esi]
call fcn.00573c60
test al, al
jne 0x5704f6
push str.Unable_to_generate_internal_key_1
push 0x6489b4
call fcn.00572740
push eax
call fcn.00573570
add esp, 0xc
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [ebp - 0x44]
push eax
call fcn.00407550
mov eax, dword [esi]
lea ecx, [ebp - 0x640]
add eax, 0x18
push eax
call fcn.00573c60
test al, al
jne 0x570547
push str.Unable_to_generate_internal_key_2
push 0x6489b4
call fcn.00572740
push eax
call fcn.00573570
add esp, 0xc
mov eax, dword [esi]
cmp dword [eax + 0x10], 0
jne 0x57055c
cmp dword [eax + 0x28], 0
jne 0x57055c
mov edi, 0xc
jmp 0x57056e
mov ecx, dword [ebp - 0x664]
push esi
call fcn.00571c70
mov edi, dword [ebp - 0x66c]
mov eax, dword [ebp - 0x30]
cmp eax, 8
jb 0x570583
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.00407b40
xor eax, eax
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x34], 0
cmp eax, 8
jb 0x5705b2
inc eax
lea ecx, [ebp - 0x8c]
push eax
push dword [ebp - 0x8c]
call fcn.00407b40
mov esi, dword [ebp - 0x90]
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x5705d3
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.00407440
mov esi, dword [ebp - 0x90]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
cmp esi, 0x10
jb 0x57061e
lea eax, [esi + 1]
push eax
push dword [ebp - 0xa4]
lea ecx, [ebp - 0xa4]
call fcn.00407440
jmp 0x57061e
call fcn.00572740
push str.OutKey_size_less_than_1_in_opd_getUserKeys
push 0x648a14
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
add esp, 0xc
mov edi, 8
mov eax, dword [ebp - 0xa8]
cmp eax, 0x10
jb 0x57063c
inc eax
lea ecx, [ebp - 0xbc]
push eax
push dword [ebp - 0xbc]
call fcn.00407440
mov dword [ebp - 0xa8], 0xf
mov dword [ebp - 0xac], 0
mov byte [ebp - 0xbc], 0
lea ecx, [ebp - 0x1e8]
call fcn.004e3400
lea ecx, [ebp - 0x2f8]
call fcn.004e3320
lea ecx, [ebp - 0x620]
call fcn.004e31e0
mov eax, dword [ebp - 0x628]
cmp eax, 0x10
jb 0x570696
inc eax
lea ecx, [ebp - 0x63c]
push eax
push dword [ebp - 0x63c]
call fcn.00407440
lea ecx, [ebp - 0x658]
mov dword [ebp - 0x628], 0xf
mov dword [ebp - 0x62c], 0
mov byte [ebp - 0x63c], 0
call fcn.004e4dc0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00599c70
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4