Function at 0x4e89c0
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 0x59d9ab
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x660
mov eax, dword [0x60a070]
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 0x4e8a4b
push dword [ebp - 0x664]
mov ecx, esi
call fcn.004ea7a0
xor eax, eax
jmp 0x4e920e
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 0x5b9add
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
call fcn.00407b90
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 1
push eax
push ecx
lea ecx, [ebp - 0x640]
call fcn.004ef270
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x4e8abe
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.00408330
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
call fcn.004f1f10
mov dword [ebp - 0x65c], eax
test eax, eax
jne 0x4e8b01
push str.Unable_to_get_UserTableDataHandler_instance_in_opd_getUserKeys
push 0x5d515c
call fcn.004ebad0
push eax
call fcn.004ec540
add esp, 0xc
mov edi, 0xc
jmp 0x4e91a7
push str.UIDB
lea ecx, [ebp - 0xd4]
call fcn.00405500
mov esi, eax
push str.UIDA
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 4
call fcn.00405500
push eax
mov edx, str.SELECT__FROM_opm_user_WHERE_key_LIKE__
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x5c]
call fcn.0040b210
add esp, 4
push str.__OR_key_LIKE__
mov edx, eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x74]
call fcn.0040b270
add esp, 4
push esi
mov edx, eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x8c]
call fcn.004ea9a0
add esp, 4
push 0x5c0da8
mov edx, eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xbc]
call fcn.0040b270
add esp, 4
mov eax, dword [ebp - 0x78]
cmp eax, 0x10
jb 0x4e8b98
inc eax
lea ecx, [ebp - 0x8c]
push eax
push dword [ebp - 0x8c]
call fcn.00408330
mov dword [ebp - 0x78], 0xf
mov dword [ebp - 0x7c], 0
mov byte [ebp - 0x8c], 0
mov eax, dword [ebp - 0x60]
cmp eax, 0x10
jb 0x4e8bc2
inc eax
lea ecx, [ebp - 0x74]
push eax
push dword [ebp - 0x74]
call fcn.00408330
mov dword [ebp - 0x60], 0xf
mov dword [ebp - 0x64], 0
mov byte [ebp - 0x74], 0
mov eax, dword [ebp - 0x48]
cmp eax, 0x10
jb 0x4e8be9
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.00408330
mov dword [ebp - 0x48], 0xf
mov dword [ebp - 0x4c], 0
mov byte [ebp - 0x5c], 0
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x4e8c10
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.00408330
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 0x4e8c44
inc eax
lea ecx, [ebp - 0xd4]
push eax
push dword [ebp - 0xd4]
call fcn.00408330
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.004e63f0
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 0x4e9151
push 0x5b9add
lea ecx, [ebp - 0xa4]
call fcn.00405500
push 0x5b9add
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xf
call fcn.00405500
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 0x4e8e42
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 0x4e8d2b
mov ecx, dword [esi]
jmp 0x4e8d2d
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.00401b80
add esp, 0xc
test eax, eax
jne 0x4e8d83
cmp edi, 4
jb 0x4e8d83
ja 0x4e8d83
mov edx, dword [ebp - 0x64c]
add edx, 0x48
cmp dword [edx + 0x10], eax
sete al
test al, al
jne 0x4e8da6
mov eax, dword [ebp - 0x65c]
mov ecx, dword [eax + 0x18]
test ecx, ecx
jne 0x4e8d7b
push str.Crypt_engine_not_initialized_for_encrypting
jmp 0x4e8dab
lea eax, [ebp - 0xa4]
jmp 0x4e8dd7
push str.UIDB
mov ecx, esi
call fcn.0040ece0
test eax, eax
jne 0x4e8dff
mov edx, dword [ebp - 0x64c]
add edx, 0x48
cmp dword [edx + 0x10], eax
sete al
test al, al
je 0x4e8dc0
push str.User_Data_encrypt_called_with_invalid_string
push str.OPM_USER_DATA_HANDLER
call fcn.004ebad0
push eax
call fcn.004ec3c0
add esp, 0xc
jmp 0x4e8dff
mov eax, dword [ebp - 0x65c]
mov ecx, dword [eax + 0x18]
test ecx, ecx
jne 0x4e8dd4
push str.Crypt_engine_not_initialized_for_encrypting
jmp 0x4e8dab
lea eax, [ebp - 0x2c]
push eax
push edx
call fcn.004eed40
test eax, eax
je 0x4e8dff
push eax
push str.Unable_to_encrypt_user_data__Error:__d
push str.OPM_USER_DATA_HANDLER
push ecx
call fcn.004ebad0
add esp, 4
push eax
call fcn.004ec540
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 0x4e8d10
mov esi, dword [ebp - 0x90]
lea eax, [ebp - 0xa4]
cmp esi, 0x10
push 0
cmovae eax, dword [ebp - 0xa4]
push 0x5b9add
push eax
call fcn.00401b80
add esp, 0xc
test eax, eax
jne 0x4e8e8d
cmp dword [ebp - 0x94], eax
ja 0x4e8e8d
push 0x5b9add
lea ecx, [ebp - 0x2c]
call fcn.0040ece0
test eax, eax
jne 0x4e8e8d
lea edi, [eax + 8]
jmp 0x4e9108
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 0x4e8edb
xor ecx, ecx
jmp 0x4e8ee9
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4e8ee0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x74]
call fcn.00407b90
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.0047ac70
test al, al
je 0x4e8f5c
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x5c]
cmovae eax, dword [ebp - 0x2c]
push eax
call fcn.00405500
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.0047ac70
mov byte [ebp - 0x641], 0
test al, al
jne 0x4e8f63
mov byte [ebp - 0x641], 1
mov eax, dword [ebp - 0x64c]
test al, 2
je 0x4e8fa5
mov ecx, dword [ebp - 0x48]
and eax, 0xfffffffd
mov dword [ebp - 0x64c], eax
cmp ecx, 0x10
jb 0x4e8f93
lea eax, [ecx + 1]
push eax
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x5c]
call fcn.00408330
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 0x4e8fc5
mov eax, dword [ebp - 0x60]
cmp eax, 0x10
jb 0x4e8fc5
inc eax
lea ecx, [ebp - 0x74]
push eax
push dword [ebp - 0x74]
call fcn.00408330
cmp byte [ebp - 0x641], 0
je 0x4e8ff0
push str.Unable_to_convert_request_code_string_to_NativeString_
push 0x5d4eac
call fcn.004ebad0
push eax
call fcn.004ec900
add esp, 0xc
mov edi, 0xc
jmp 0x4e90be
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.00414130
mov esi, dword [ebp - 0x668]
lea ecx, [ebp - 0x640]
push dword [esi]
call fcn.004edfa0
test al, al
jne 0x4e9046
push str.Unable_to_generate_internal_key_1
push 0x5d4eac
call fcn.004ebad0
push eax
call fcn.004ec900
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.00414130
mov eax, dword [esi]
lea ecx, [ebp - 0x640]
add eax, 0x18
push eax
call fcn.004edfa0
test al, al
jne 0x4e9097
push str.Unable_to_generate_internal_key_2
push 0x5d4eac
call fcn.004ebad0
push eax
call fcn.004ec900
add esp, 0xc
mov eax, dword [esi]
cmp dword [eax + 0x10], 0
jne 0x4e90ac
cmp dword [eax + 0x28], 0
jne 0x4e90ac
mov edi, 0xc
jmp 0x4e90be
mov ecx, dword [ebp - 0x664]
push esi
call fcn.004ea7a0
mov edi, dword [ebp - 0x66c]
mov eax, dword [ebp - 0x30]
cmp eax, 8
jb 0x4e90d3
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.00414580
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 0x4e9102
inc eax
lea ecx, [ebp - 0x8c]
push eax
push dword [ebp - 0x8c]
call fcn.00414580
mov esi, dword [ebp - 0x90]
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x4e9123
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.00408330
mov esi, dword [ebp - 0x90]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
cmp esi, 0x10
jb 0x4e916e
lea eax, [esi + 1]
push eax
push dword [ebp - 0xa4]
lea ecx, [ebp - 0xa4]
call fcn.00408330
jmp 0x4e916e
push str.OutKey_size_less_than_1_in_opd_getUserKeys
push 0x5d515c
call fcn.004ebad0
push eax
call fcn.004ec240
add esp, 0xc
mov edi, 8
mov eax, dword [ebp - 0xa8]
cmp eax, 0x10
jb 0x4e918c
inc eax
lea ecx, [ebp - 0xbc]
push eax
push dword [ebp - 0xbc]
call fcn.00408330
mov dword [ebp - 0xa8], 0xf
mov dword [ebp - 0xac], 0
mov byte [ebp - 0xbc], 0
lea ecx, [ebp - 0x1e8]
call fcn.00477bf0
lea ecx, [ebp - 0x2f8]
call fcn.00477b10
lea ecx, [ebp - 0x620]
call fcn.004779d0
mov eax, dword [ebp - 0x628]
cmp eax, 0x10
jb 0x4e91e6
inc eax
lea ecx, [ebp - 0x63c]
push eax
push dword [ebp - 0x63c]
call fcn.00408330
lea ecx, [ebp - 0x658]
mov dword [ebp - 0x628], 0xf
mov dword [ebp - 0x62c], 0
mov byte [ebp - 0x63c], 0
call fcn.00479660
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.0055eeb4
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4