Function at 0x100def10
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 0x10136adb
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x660
mov eax, dword [0x10186bd0]
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 0x100def9b
push dword [ebp - 0x664]
mov ecx, esi
call fcn.100e0cf0
xor eax, eax
jmp 0x100df75e
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 0x10146070
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
call fcn.1001d600
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 1
push eax
push ecx
lea ecx, [ebp - 0x640]
call fcn.100636b0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x100df00e
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.1001dd10
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
call fcn.100e47e0
mov dword [ebp - 0x65c], eax
test eax, eax
jne 0x100df051
push str.Unable_to_get_UserTableDataHandler_instance_in_opd_getUserKeys
push 0x10165904
call fcn.1002e950
push eax
call fcn.1002f3d0
add esp, 0xc
mov edi, 0xc
jmp 0x100df6f7
push str.UIDB
lea ecx, [ebp - 0xd4]
call fcn.1001d180
mov esi, eax
push str.UIDA
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 4
call fcn.1001d180
push eax
mov edx, str.SELECT__FROM_opm_user_WHERE_key_LIKE__
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x5c]
call fcn.1001e3b0
add esp, 4
push str.__OR_key_LIKE__
mov edx, eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x74]
call fcn.1001e410
add esp, 4
push esi
mov edx, eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x8c]
call fcn.1006ba10
add esp, 4
push 0x1014ae50
mov edx, eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xbc]
call fcn.1001e410
add esp, 4
mov eax, dword [ebp - 0x78]
cmp eax, 0x10
jb 0x100df0e8
inc eax
lea ecx, [ebp - 0x8c]
push eax
push dword [ebp - 0x8c]
call fcn.1001dd10
mov dword [ebp - 0x78], 0xf
mov dword [ebp - 0x7c], 0
mov byte [ebp - 0x8c], 0
mov eax, dword [ebp - 0x60]
cmp eax, 0x10
jb 0x100df112
inc eax
lea ecx, [ebp - 0x74]
push eax
push dword [ebp - 0x74]
call fcn.1001dd10
mov dword [ebp - 0x60], 0xf
mov dword [ebp - 0x64], 0
mov byte [ebp - 0x74], 0
mov eax, dword [ebp - 0x48]
cmp eax, 0x10
jb 0x100df139
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.1001dd10
mov dword [ebp - 0x48], 0xf
mov dword [ebp - 0x4c], 0
mov byte [ebp - 0x5c], 0
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x100df160
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.1001dd10
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 0x100df194
inc eax
lea ecx, [ebp - 0xd4]
push eax
push dword [ebp - 0xd4]
call fcn.1001dd10
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.100dc930
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 0x100df6a1
push 0x10146070
lea ecx, [ebp - 0xa4]
call fcn.1001d180
push 0x10146070
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xf
call fcn.1001d180
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 0x100df392
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 0x100df27b
mov ecx, dword [esi]
jmp 0x100df27d
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.10031ce0
add esp, 0xc
test eax, eax
jne 0x100df2d3
cmp edi, 4
jb 0x100df2d3
ja 0x100df2d3
mov edx, dword [ebp - 0x64c]
add edx, 0x48
cmp dword [edx + 0x10], eax
sete al
test al, al
jne 0x100df2f6
mov eax, dword [ebp - 0x65c]
mov ecx, dword [eax + 0x18]
test ecx, ecx
jne 0x100df2cb
push str.Crypt_engine_not_initialized_for_encrypting
jmp 0x100df2fb
lea eax, [ebp - 0xa4]
jmp 0x100df327
push str.UIDB
mov ecx, esi
call fcn.1003ce40
test eax, eax
jne 0x100df34f
mov edx, dword [ebp - 0x64c]
add edx, 0x48
cmp dword [edx + 0x10], eax
sete al
test al, al
je 0x100df310
push str.User_Data_encrypt_called_with_invalid_string
push str.OPM_USER_DATA_HANDLER
call fcn.1002e950
push eax
call fcn.1002f250
add esp, 0xc
jmp 0x100df34f
mov eax, dword [ebp - 0x65c]
mov ecx, dword [eax + 0x18]
test ecx, ecx
jne 0x100df324
push str.Crypt_engine_not_initialized_for_encrypting
jmp 0x100df2fb
lea eax, [ebp - 0x2c]
push eax
push edx
call fcn.10062ff0
test eax, eax
je 0x100df34f
push eax
push str.Unable_to_encrypt_user_data__Error:__d
push str.OPM_USER_DATA_HANDLER
push ecx
call fcn.1002e950
add esp, 4
push eax
call fcn.1002f3d0
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 0x100df260
mov esi, dword [ebp - 0x90]
lea eax, [ebp - 0xa4]
cmp esi, 0x10
push 0
cmovae eax, dword [ebp - 0xa4]
push 0x10146070
push eax
call fcn.10031ce0
add esp, 0xc
test eax, eax
jne 0x100df3dd
cmp dword [ebp - 0x94], eax
ja 0x100df3dd
push 0x10146070
lea ecx, [ebp - 0x2c]
call fcn.1003ce40
test eax, eax
jne 0x100df3dd
lea edi, [eax + 8]
jmp 0x100df658
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 0x100df42b
xor ecx, ecx
jmp 0x100df439
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100df430
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x74]
call fcn.1001d600
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.10029460
test al, al
je 0x100df4ac
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x5c]
cmovae eax, dword [ebp - 0x2c]
push eax
call fcn.1001d180
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.10029460
mov byte [ebp - 0x641], 0
test al, al
jne 0x100df4b3
mov byte [ebp - 0x641], 1
mov eax, dword [ebp - 0x64c]
test al, 2
je 0x100df4f5
mov ecx, dword [ebp - 0x48]
and eax, 0xfffffffd
mov dword [ebp - 0x64c], eax
cmp ecx, 0x10
jb 0x100df4e3
lea eax, [ecx + 1]
push eax
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x5c]
call fcn.1001dd10
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 0x100df515
mov eax, dword [ebp - 0x60]
cmp eax, 0x10
jb 0x100df515
inc eax
lea ecx, [ebp - 0x74]
push eax
push dword [ebp - 0x74]
call fcn.1001dd10
cmp byte [ebp - 0x641], 0
je 0x100df540
push str.Unable_to_convert_request_code_string_to_NativeString_
push 0x101648d4
call fcn.1002e950
push eax
call fcn.1002f910
add esp, 0xc
mov edi, 0xc
jmp 0x100df60e
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.10027760
mov esi, dword [ebp - 0x668]
lea ecx, [ebp - 0x640]
push dword [esi]
call fcn.10062250
test al, al
jne 0x100df596
push str.Unable_to_generate_internal_key_1
push 0x101648d4
call fcn.1002e950
push eax
call fcn.1002f910
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.10027760
mov eax, dword [esi]
lea ecx, [ebp - 0x640]
add eax, 0x18
push eax
call fcn.10062250
test al, al
jne 0x100df5e7
push str.Unable_to_generate_internal_key_2
push 0x101648d4
call fcn.1002e950
push eax
call fcn.1002f910
add esp, 0xc
mov eax, dword [esi]
cmp dword [eax + 0x10], 0
jne 0x100df5fc
cmp dword [eax + 0x28], 0
jne 0x100df5fc
mov edi, 0xc
jmp 0x100df60e
mov ecx, dword [ebp - 0x664]
push esi
call fcn.100e0cf0
mov edi, dword [ebp - 0x66c]
mov eax, dword [ebp - 0x30]
cmp eax, 8
jb 0x100df623
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.10028060
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 0x100df652
inc eax
lea ecx, [ebp - 0x8c]
push eax
push dword [ebp - 0x8c]
call fcn.10028060
mov esi, dword [ebp - 0x90]
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x100df673
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.1001dd10
mov esi, dword [ebp - 0x90]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
cmp esi, 0x10
jb 0x100df6be
lea eax, [esi + 1]
push eax
push dword [ebp - 0xa4]
lea ecx, [ebp - 0xa4]
call fcn.1001dd10
jmp 0x100df6be
push str.OutKey_size_less_than_1_in_opd_getUserKeys
push 0x10165904
call fcn.1002e950
push eax
call fcn.1002f0d0
add esp, 0xc
mov edi, 8
mov eax, dword [ebp - 0xa8]
cmp eax, 0x10
jb 0x100df6dc
inc eax
lea ecx, [ebp - 0xbc]
push eax
push dword [ebp - 0xbc]
call fcn.1001dd10
mov dword [ebp - 0xa8], 0xf
mov dword [ebp - 0xac], 0
mov byte [ebp - 0xbc], 0
lea ecx, [ebp - 0x1e8]
call fcn.10036a60
lea ecx, [ebp - 0x2f8]
call fcn.10036980
lea ecx, [ebp - 0x620]
call fcn.10036840
mov eax, dword [ebp - 0x628]
cmp eax, 0x10
jb 0x100df736
inc eax
lea ecx, [ebp - 0x63c]
push eax
push dword [ebp - 0x63c]
call fcn.1001dd10
lea ecx, [ebp - 0x658]
mov dword [ebp - 0x628], 0xf
mov dword [ebp - 0x62c], 0
mov byte [ebp - 0x63c], 0
call fcn.10069190
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.100eb369
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4