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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x658
mov eax, dword [0x64a070]
xor eax, esp
mov dword [esp + 0x654], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x14]
push edi
mov dword [esp + 0x20], eax
mov edi, ecx
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x10]
push str.Performing_get_value_for_Key_...in_opm_getValueForKey
push 0x613bb4
mov dword [esp + 0x2c], edx
mov dword [esp + 0x40], eax
mov dword [esp + 0x30], esi
call fcn.00502600
push eax
call fcn.00502a70
add esp, 0xc
test edi, edi
je 0x4f44de
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4f44de
cmp dword [esp + 0x20], 0
je 0x4f44de
cmp dword [esp + 0x10], 0
je 0x4f44de
test esi, esi
je 0x4f44de
mov ecx, 0x5f1952
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4f3e20
test dl, dl
je 0x4f3e1c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4f3e20
add eax, 2
add ecx, 2
test dl, dl
jne 0x4f3e00
xor eax, eax
jmp 0x4f3e25
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4f3e33
push str.Invalid_domain_to_getValForKey
jmp 0x4f44e3
mov esi, dword [esp + 0x20]
mov ecx, 0x5f1952
mov eax, esi
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4f3e60
test dl, dl
je 0x4f3e5c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4f3e60
add eax, 2
add ecx, 2
test dl, dl
jne 0x4f3e40
xor eax, eax
jmp 0x4f3e65
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4f3e73
push str.Invalid_sub_domain_to_getValForKey
jmp 0x4f44e3
mov eax, dword [esp + 0x10]
mov ecx, 0x5f1952
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4f3ea0
test dl, dl
je 0x4f3e9c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4f3ea0
add eax, 2
add ecx, 2
test dl, dl
jne 0x4f3e80
xor eax, eax
jmp 0x4f3ea5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4f3eb3
push str.Invalid_key_to_getValForKey
jmp 0x4f44e3
push edi
push str.opm_getValueForkey_called_with_inRef_p
push 0x613bb4
push ecx
call fcn.00502600
add esp, 4
push eax
call fcn.00502a70
add esp, 0x10
cmp dword [edi], 0
jne 0x4f3f0f
mov ecx, edi
call fcn.00501e30
test eax, eax
je 0x4f3f0f
push str.OPM_db_is_not_initialized__can_not_proceed_for_getValForKey
push 0x613904
call fcn.00502600
push eax
call fcn.005033a0
add esp, 0xc
or eax, 0xffffffff
pop edi
pop esi
mov ecx, dword [esp + 0x654]
xor ecx, esp
call fcn.0057608a
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x90]
push edx
call fcn.004088b0
push esi
lea ecx, [esp + 0x7c]
call fcn.004088b0
push dword [esp + 0x10]
lea ecx, [esp + 0x64]
call fcn.004088b0
push 0x5f1952
lea ecx, [esp + 0x4c]
call fcn.004088b0
push 0x5f1952
lea ecx, [esp + 0xac]
call fcn.004088b0
push str.value
lea ecx, [esp + 0xc4]
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
call fcn.004088b0
lea eax, [esp + 0xc0]
push eax
lea ecx, [esp + 0x30]
call fcn.0041c170
lea ecx, [esp + 0xc0]
call fcn.00408870
push 1
lea eax, [esp + 0x18]
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 + 0x40]
push eax
call fcn.00500930
mov edx, eax
mov ecx, edi
call fcn.004f1c10
cmp al, 1
jne 0x4f405d
push str.Initial_call_to_opd_getRecordsWithFields_was_a_failure__retrying_after_recovery
push 0x613bb4
call fcn.00502600
push eax
call fcn.00502d70
add esp, 0xc
lea eax, [esp + 0x14]
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 + 0x40]
push eax
call fcn.00500930
test eax, eax
je 0x4f405d
push str.Retried_call_to_opd_getRecordsWithFields_was_a_failure
push 0x613bb4
call fcn.00502600
push eax
call fcn.00502d70
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 + 0x40]
push eax
call fcn.00500930
mov esi, eax
test esi, esi
je 0x4f40a3
push str.call_to_opd_getRecordsWithFields_in_opm_getValueForKey_for_opm_data_failed
push 0x613bb4
call fcn.00502600
push eax
call fcn.00502d70
add esp, 0xc
lea eax, [esp + 0x3c]
mov ecx, edi
push eax
lea edx, [esp + 0x18]
call fcn.004f3280
add esp, 4
test eax, eax
je 0x4f40d2
push str.failed_in_compareAndCorrectDBEntries_in_opm_getValueForKey_for_opm_data
push 0x613bb4
call fcn.00502600
push eax
call fcn.00502ef0
add esp, 0xc
test esi, esi
je 0x4f40fb
push esi
push str.Failed_in_getting_records_for_fields_in_opm_getValueForKey_with_error_as:__d
push 0x613bb4
push ecx
call fcn.00502600
add esp, 4
push eax
call fcn.00502ef0
add esp, 0x10
or esi, 0xffffffff
jmp 0x4f447a
mov ecx, dword [esp + 0x18]
mov eax, 0x84210843
mov esi, dword [esp + 0x14]
sub ecx, esi
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x4f413c
push str.No_Record_found_for_the_input_fields_in_opm_getValueForKey
push 0x613bb4
call fcn.00502600
push eax
call fcn.00502d70
add esp, 0xc
mov esi, 0xfffffff8
jmp 0x4f447a
lea eax, [esi + 0x48]
lea ecx, [esp + 0x48]
cmp ecx, eax
je 0x4f4155
push 0xffffffffffffffff
push 0
push eax
call fcn.00408cb0
mov esi, dword [esp + 0x14]
add esi, 0x60
lea eax, [esp + 0xa8]
cmp eax, esi
je 0x4f416f
push 0xffffffffffffffff
push 0
push esi
mov ecx, eax
call fcn.00408cb0
mov eax, dword [esp + 0x58]
test eax, eax
je 0x4f4283
push 0x5f1952
lea ecx, [esp + 0xc4]
call fcn.004088b0
lea eax, [esp + 0xc0]
push eax
push ecx
lea ecx, [esp + 0xf8]
call fcn.00504ef0
lea ecx, [esp + 0xc0]
call fcn.00408870
push 0x5f1952
lea ecx, [esp + 0xdc]
mov byte [esp + 0x13], 0
call fcn.004088b0
cmp dword [esp + 0xb8], 0
jne 0x4f4252
cmp dword [0x658dd0], 0
je 0x4f42ba
push 0x658dc0
push ecx
lea ecx, [esp + 0xf8]
call fcn.00504e50
test al, al
jne 0x4f41fe
push str.Failed_to_initialize_crypt_Engine_in_opm_getValueForKey_for_key2
jmp 0x4f432a
lea eax, [esp + 0xa8]
push eax
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0xf8]
call fcn.005049c0
test eax, eax
je 0x4f423a
push str.Failed_to_decrypt_in_opm_getValueForKey_using_Key2
push 0x613bb4
call fcn.00502600
push eax
call fcn.00503070
add esp, 0xc
mov al, 1
jmp 0x4f42be
push str.decrypted_using_a2_in_opm_getValueForKey
push 0x613bb4
call fcn.00502600
push eax
call fcn.00502a70
add esp, 0xc
push 0xffffffffffffffff
push 0
lea eax, [esp + 0xb0]
push eax
lea ecx, [esp + 0x54]
call fcn.00408cb0
lea ecx, [esp + 0xd8]
call fcn.00408870
lea ecx, [esp + 0xf0]
call fcn.004f2cf0
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x38]
mov esi, dword [esp + 0x28]
test edx, edx
jne 0x4f43dd
inc eax
push eax
push str.returning_size_of_value_as:_d_in_opm_getValueForKey
push 0x613904
push ecx
mov dword [esi], eax
call fcn.00502600
add esp, 4
push eax
call fcn.00503310
add esp, 0x10
xor esi, esi
jmp 0x4f447a
mov al, byte [esp + 0xf]
cmp dword [0x658d78], 0
je 0x4f431c
push 0x658d68
push ecx
lea ecx, [esp + 0xf8]
call fcn.00504e50
test al, al
je 0x4f41f4
lea eax, [esp + 0xa8]
push eax
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0xf8]
call fcn.005049c0
test eax, eax
je 0x4f423a
push str.Failed_to_decrypt_in_opm_getValueForKey_using_Key2
push 0x613bb4
call fcn.00502600
push eax
call fcn.00503070
add esp, 0xc
mov al, 1
cmp dword [0x658dd0], 0
jne 0x4f4345
push str.key2_is_empty
push 0x613bb4
call fcn.00502600
push eax
call fcn.00503070
add esp, 0xc
or esi, 0xffffffff
jmp 0x4f43c0
test al, al
je 0x4f4252
cmp dword [esp + 0x74], 0x10
lea edx, [esp + 0x60]
lea ecx, [esp + 0x78]
cmovae edx, dword [esp + 0x60]
lea eax, [esp + 0x90]
cmp dword [esp + 0x8c], 0x10
push edx
cmovae ecx, dword [esp + 0x7c]
cmp dword [esp + 0xa8], 0x10
push ecx
cmovae eax, dword [esp + 0x98]
push eax
push str.Deleting_record_with_fields_domain:_s_subDomain:_s_key:_s
push 0x613bb4
push ecx
call fcn.00502600
add esp, 4
push eax
call fcn.00502d70
add esp, 0x18
lea eax, [esp + 0x60]
mov ecx, edi
push eax
lea eax, [esp + 0x7c]
push eax
lea eax, [esp + 0x98]
push eax
call fcn.00500a60
mov esi, 0xfffffff6
lea ecx, [esp + 0xd8]
call fcn.00408870
lea ecx, [esp + 0xf0]
call fcn.004f2cf0
jmp 0x4f447a
mov ecx, dword [esi]
cmp ecx, eax
jbe 0x4f4456
cmp dword [esp + 0x5c], 0x10
lea eax, [esp + 0x48]
push ecx
cmovae eax, dword [esp + 0x4c]
push eax
push dword [edx]
call fcn.005a8150
add esp, 0xc
lea edx, [esp + 0x60]
cmp dword [esp + 0x74], 0x10
lea ecx, [esp + 0x78]
lea eax, [esp + 0x90]
cmovae edx, dword [esp + 0x60]
cmp dword [esp + 0x8c], 0x10
push edx
cmovae ecx, dword [esp + 0x7c]
cmp dword [esp + 0xa8], 0x10
push ecx
cmovae eax, dword [esp + 0x98]
push eax
push str.Successfully_retreived_value_from_opm_domain:_s_subdomain:_s_key:_s_in_opm_getValueForKey
push 0x613bb4
push ecx
call fcn.00502600
add esp, 4
push eax
call fcn.00502d70
add esp, 0x18
xor esi, esi
jmp 0x4f447a
push str.Insufficient_buffer_size...in_opm_getValueForKey
push 0x613904
call fcn.00502600
push eax
call fcn.00503430
mov eax, dword [esp + 0x64]
add esp, 0xc
inc eax
mov dword [esi], eax
mov esi, 0xfffffffc
lea ecx, [esp + 0x3c]
call fcn.004f4970
lea ecx, [esp + 0x14]
call fcn.004f4970
lea ecx, [esp + 0x2c]
call fcn.0040d220
lea ecx, [esp + 0xa8]
call fcn.00408870
lea ecx, [esp + 0x48]
call fcn.00408870
lea ecx, [esp + 0x60]
call fcn.00408870
lea ecx, [esp + 0x78]
call fcn.00408870
lea ecx, [esp + 0x90]
call fcn.00408870
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x654]
xor ecx, esp
call fcn.0057608a
mov esp, ebp
pop ebp
ret
push str.Invalid_arguments_in_get_value_for_key...in_opm_getValueForKey
push 0x613bb4
call fcn.00502600
push eax
call fcn.00502ef0
mov ecx, dword [esp + 0x668]
add esp, 0xc
mov eax, 0xfffffffd
pop edi
pop esi
xor ecx, esp
call fcn.0057608a
mov esp, ebp
pop ebp
ret