Function at 0x4e4180
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x658
mov eax, dword [0x67d070]
xor eax, esp
mov dword [esp + 0x654], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x14]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0xc]
push edi
mov edi, ecx
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x20], edx
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], eax
mov dword [esp + 0x24], esi
call fcn.00572740
push str.Performing_get_value_for_Key_...in_opm_getValueForKey
push 0x648a14
push eax
mov ecx, dword [eax]
call dword [ecx + 0x40]
add esp, 0xc
test edi, edi
je 0x4e48e5
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4e48e5
cmp dword [esp + 0x1c], 0
je 0x4e48e5
cmp dword [esp + 0xc], 0
je 0x4e48e5
test esi, esi
je 0x4e48e5
mov ecx, 0x61baf2
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4e4231
test dl, dl
je 0x4e422d
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4e4231
add eax, 2
add ecx, 2
test dl, dl
jne 0x4e4211
xor eax, eax
jmp 0x4e4236
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4e4244
push str.Invalid_domain_to_getValForKey
jmp 0x4e48ea
mov esi, dword [esp + 0x1c]
mov ecx, 0x61baf2
mov eax, esi
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4e4270
test dl, dl
je 0x4e426c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4e4270
add eax, 2
add ecx, 2
test dl, dl
jne 0x4e4250
xor eax, eax
jmp 0x4e4275
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4e4283
push str.Invalid_sub_domain_to_getValForKey
jmp 0x4e48ea
mov eax, dword [esp + 0xc]
mov ecx, 0x61baf2
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4e42b0
test dl, dl
je 0x4e42ac
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4e42b0
add eax, 2
add ecx, 2
test dl, dl
jne 0x4e4290
xor eax, eax
jmp 0x4e42b5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4e42c3
push str.Invalid_key_to_getValForKey
jmp 0x4e48ea
call fcn.00572740
push edi
push str.opm_getValueForkey_called_with_inRef_p
push 0x648a14
mov ecx, dword [eax]
push eax
call dword [ecx + 0x40]
add esp, 0x10
cmp dword [edi], 0
jne 0x4e431b
mov ecx, edi
call fcn.00571c00
test eax, eax
je 0x4e431b
push str.OPM_db_is_not_initialized__can_not_proceed_for_getValForKey
push 0x6489b4
call fcn.00572740
push eax
call fcn.005734e0
add esp, 0xc
or eax, 0xffffffff
pop edi
pop esi
mov ecx, dword [esp + 0x654]
xor ecx, esp
call fcn.00599c70
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x90]
push edx
call fcn.00406f00
push esi
lea ecx, [esp + 0x7c]
call fcn.00406f00
push dword [esp + 0xc]
lea ecx, [esp + 0x64]
call fcn.00406f00
push 0x61baf2
lea ecx, [esp + 0x4c]
call fcn.00406f00
push 0x61baf2
lea ecx, [esp + 0xac]
call fcn.00406f00
push str.value
lea ecx, [esp + 0xc4]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
call fcn.00406f00
lea eax, [esp + 0xc0]
push eax
lea ecx, [esp + 0x2c]
call fcn.0041c4d0
lea ecx, [esp + 0xc0]
call fcn.00406ec0
push 1
lea eax, [esp + 0x14]
mov ecx, edi
push eax
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x84]
push eax
lea eax, [esp + 0xa0]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.005706e0
mov edx, eax
mov ecx, edi
call fcn.004e20f0
cmp al, 1
jne 0x4e4469
call fcn.00572740
push str.Initial_call_to_opd_getRecordsWithFields_was_a_failure__retrying_after_recovery
push 0x648a14
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
add esp, 0xc
lea eax, [esp + 0x10]
mov ecx, edi
push 1
push eax
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x84]
push eax
lea eax, [esp + 0xa0]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.005706e0
test eax, eax
je 0x4e4469
call fcn.00572740
push str.Retried_call_to_opd_getRecordsWithFields_was_a_failure
push 0x648a14
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
add esp, 0xc
push 0
lea eax, [esp + 0x40]
mov ecx, edi
push eax
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x84]
push eax
lea eax, [esp + 0xa0]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.005706e0
mov esi, eax
test esi, esi
je 0x4e44af
call fcn.00572740
push str.call_to_opd_getRecordsWithFields_in_opm_getValueForKey_for_opm_data_failed
push 0x648a14
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
add esp, 0xc
lea eax, [esp + 0x3c]
mov ecx, edi
push eax
lea edx, [esp + 0x14]
call fcn.004e3690
add esp, 4
test eax, eax
je 0x4e44de
push str.failed_in_compareAndCorrectDBEntries_in_opm_getValueForKey_for_opm_data
push 0x648a14
call fcn.00572740
push eax
call fcn.00573030
add esp, 0xc
test esi, esi
je 0x4e4507
push esi
push str.Failed_in_getting_records_for_fields_in_opm_getValueForKey_with_error_as:__d
push 0x648a14
push ecx
call fcn.00572740
add esp, 4
push eax
call fcn.00573030
add esp, 0x10
or esi, 0xffffffff
jmp 0x4e4881
mov ecx, dword [esp + 0x14]
mov eax, 0x84210843
mov esi, dword [esp + 0x10]
sub ecx, esi
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x4e4548
call fcn.00572740
push str.No_Record_found_for_the_input_fields_in_opm_getValueForKey
push 0x648a14
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
add esp, 0xc
mov esi, 0xfffffff8
jmp 0x4e4881
lea eax, [esi + 0x48]
lea ecx, [esp + 0x48]
cmp ecx, eax
je 0x4e4561
push 0xffffffffffffffff
push 0
push eax
call fcn.00407300
mov esi, dword [esp + 0x10]
add esi, 0x60
lea eax, [esp + 0xa8]
cmp eax, esi
je 0x4e457b
push 0xffffffffffffffff
push 0
push esi
mov ecx, eax
call fcn.00407300
mov eax, dword [esp + 0x58]
test eax, eax
je 0x4e468f
push 0x61baf2
lea ecx, [esp + 0xc4]
call fcn.00406f00
lea eax, [esp + 0xc0]
push eax
push ecx
lea ecx, [esp + 0xf8]
call fcn.00574f30
lea ecx, [esp + 0xc0]
call fcn.00406ec0
push 0x61baf2
lea ecx, [esp + 0xdc]
mov byte [esp + 0xf], 0
call fcn.00406f00
cmp dword [esp + 0xb8], 0
jne 0x4e465e
cmp dword [0x68bd94], 0
je 0x4e46c3
push 0x68bd84
push ecx
lea ecx, [esp + 0xf8]
call fcn.00574e90
test al, al
jne 0x4e460a
push str.Failed_to_initialize_crypt_Engine_in_opm_getValueForKey_for_key2
jmp 0x4e4733
lea eax, [esp + 0xa8]
push eax
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0xf8]
call fcn.00574a00
test eax, eax
je 0x4e4646
push str.Failed_to_decrypt_in_opm_getValueForKey_using_Key2
push 0x648a14
call fcn.00572740
push eax
call fcn.005731b0
add esp, 0xc
mov al, 1
jmp 0x4e46c7
call fcn.00572740
push str.decrypted_using_a2_in_opm_getValueForKey
push 0x648a14
push eax
mov ecx, dword [eax]
call dword [ecx + 0x40]
add esp, 0xc
push 0xffffffffffffffff
push 0
lea eax, [esp + 0xb0]
push eax
lea ecx, [esp + 0x54]
call fcn.00407300
lea ecx, [esp + 0xd8]
call fcn.00406ec0
lea ecx, [esp + 0xf0]
call fcn.004e3180
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x38]
mov esi, dword [esp + 0x24]
test edx, edx
jne 0x4e47e6
inc eax
mov dword [esi], eax
call fcn.00572740
push dword [esi]
push str.returning_size_of_value_as:_d_in_opm_getValueForKey
mov ecx, dword [eax]
push 0x6489b4
push eax
call dword [ecx + 0x54]
add esp, 0x10
xor esi, esi
jmp 0x4e4881
mov al, byte [esp + 0xb]
cmp dword [0x68bd3c], 0
je 0x4e4725
push 0x68bd2c
push ecx
lea ecx, [esp + 0xf8]
call fcn.00574e90
test al, al
je 0x4e4600
lea eax, [esp + 0xa8]
push eax
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0xf8]
call fcn.00574a00
test eax, eax
je 0x4e4646
push str.Failed_to_decrypt_in_opm_getValueForKey_using_Key2
push 0x648a14
call fcn.00572740
push eax
call fcn.005731b0
add esp, 0xc
mov al, 1
cmp dword [0x68bd94], 0
jne 0x4e474e
push str.key2_is_empty
push 0x648a14
call fcn.00572740
push eax
call fcn.005731b0
add esp, 0xc
or esi, 0xffffffff
jmp 0x4e47c9
test al, al
je 0x4e465e
call fcn.00572740
cmp dword [esp + 0x74], 0x10
lea esi, [esp + 0x60]
lea edx, [esp + 0x78]
mov edi, eax
cmovae esi, dword [esp + 0x60]
lea ecx, [esp + 0x90]
cmp dword [esp + 0x8c], 0x10
push esi
cmovae edx, dword [esp + 0x7c]
cmp dword [esp + 0xa8], 0x10
mov eax, dword [edi]
cmovae ecx, dword [esp + 0x94]
push edx
push ecx
push str.Deleting_record_with_fields_domain:_s_subDomain:_s_key:_s
push 0x648a14
push edi
call dword [eax + 0x50]
mov ecx, dword [esp + 0x4c]
lea eax, [esp + 0x78]
add esp, 0x18
push eax
lea eax, [esp + 0x7c]
push eax
lea eax, [esp + 0x98]
push eax
call fcn.00570810
mov esi, 0xfffffff6
lea ecx, [esp + 0xd8]
call fcn.00406ec0
lea ecx, [esp + 0xf0]
call fcn.004e3180
jmp 0x4e4881
mov ecx, dword [esi]
cmp ecx, eax
jbe 0x4e485d
cmp dword [esp + 0x5c], 0x10
lea eax, [esp + 0x48]
push ecx
cmovae eax, dword [esp + 0x4c]
push eax
push dword [edx]
call fcn.005cf4e0
add esp, 0xc
call fcn.00572740
cmp dword [esp + 0x74], 0x10
lea esi, [esp + 0x60]
lea edx, [esp + 0x78]
mov edi, eax
cmovae esi, dword [esp + 0x60]
lea ecx, [esp + 0x90]
cmp dword [esp + 0x8c], 0x10
push esi
cmovae edx, dword [esp + 0x7c]
cmp dword [esp + 0xa8], 0x10
mov eax, dword [edi]
cmovae ecx, dword [esp + 0x94]
push edx
push ecx
push str.Successfully_retreived_value_from_opm_domain:_s_subdomain:_s_key:_s_in_opm_getValueForKey
push 0x648a14
push edi
call dword [eax + 0x50]
add esp, 0x18
xor esi, esi
jmp 0x4e4881
push str.Insufficient_buffer_size...in_opm_getValueForKey
push 0x6489b4
call fcn.00572740
push eax
call fcn.00573570
mov eax, dword [esp + 0x64]
add esp, 0xc
inc eax
mov dword [esi], eax
mov esi, 0xfffffffc
lea ecx, [esp + 0x3c]
call fcn.004e4dc0
lea ecx, [esp + 0x10]
call fcn.004e4dc0
lea ecx, [esp + 0x28]
call fcn.0040a810
lea ecx, [esp + 0xa8]
call fcn.00406ec0
lea ecx, [esp + 0x48]
call fcn.00406ec0
lea ecx, [esp + 0x60]
call fcn.00406ec0
lea ecx, [esp + 0x78]
call fcn.00406ec0
lea ecx, [esp + 0x90]
call fcn.00406ec0
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x654]
xor ecx, esp
call fcn.00599c70
mov esp, ebp
pop ebp
ret
push str.Invalid_arguments_in_get_value_for_key...in_opm_getValueForKey
push 0x648a14
call fcn.00572740
push eax
call fcn.00573030
mov ecx, dword [esp + 0x668]
add esp, 0xc
mov eax, 0xfffffffd
pop edi
pop esi
xor ecx, esp
call fcn.00599c70
mov esp, ebp
pop ebp
ret