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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x650
mov eax, dword [0x66d060]
xor eax, esp
mov dword [esp + 0x64c], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [esp], eax
mov eax, dword [ebp + 0x18]
push esi
mov esi, dword [ebp + 0x1c]
mov dword [esp + 0x38], eax
mov eax, dword [0x6923c4]
mov dword [esp + 0x1c], esi
push edi
mov edi, dword [ebp + 8]
test al, 1
jne 0x4acb44
or eax, 1
mov dword [0x6923c4], eax
call fcn.004b4ad0
push 0x60bf60
call fcn.00553ff2
add esp, 4
push str.Performing_get_value_for_Key_...in_opm_getValueForKey
push 0x630b14
push 0x692330
call fcn.004b5220
add esp, 0xc
test edi, edi
je 0x4ad20f
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4ad20f
cmp dword [esp + 0x1c], 0
je 0x4ad20f
cmp dword [esp + 8], 0
je 0x4ad20f
test esi, esi
je 0x4ad20f
mov ecx, 0x62307d
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4acbb2
test dl, dl
je 0x4acbae
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4acbb2
add eax, 2
add ecx, 2
test dl, dl
jne 0x4acb92
xor eax, eax
jmp 0x4acbb7
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4acbd0
push str.Invalid_domain_to_getValForKey
push 0x630b14
call fcn.004b4e00
push eax
jmp 0x4ad241
mov esi, dword [esp + 0x1c]
mov ecx, 0x62307d
mov eax, esi
jmp 0x4acbe0
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4acc00
test dl, dl
je 0x4acbfc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4acc00
add eax, 2
add ecx, 2
test dl, dl
jne 0x4acbe0
xor eax, eax
jmp 0x4acc05
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4acc1e
push str.Invalid_sub_domain_to_getValForKey
push 0x630b14
call fcn.004b4e00
push eax
jmp 0x4ad241
mov eax, dword [esp + 8]
mov ecx, 0x62307d
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4acc47
test dl, dl
je 0x4acc43
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4acc47
add eax, 2
add ecx, 2
test dl, dl
jne 0x4acc27
xor eax, eax
jmp 0x4acc4c
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4acc65
push str.Invalid_key_to_getValForKey
push 0x630b14
call fcn.004b4e00
push eax
jmp 0x4ad241
push edi
push str.opm_getValueForkey_called_with_inRef_p
push 0x630b14
push ecx
call fcn.004b4e00
add esp, 4
push eax
call fcn.004b5220
add esp, 0x10
cmp dword [edi], 0
jne 0x4accc1
mov ecx, edi
call fcn.00529bb0
test eax, eax
je 0x4accc1
push str.OPM_db_is_not_initialized__can_not_proceed_for_getValForKey
push 0x630a44
call fcn.004b4e00
push eax
call fcn.004b59d0
add esp, 0xc
or eax, 0xffffffff
pop edi
pop esi
mov ecx, dword [esp + 0x64c]
xor ecx, esp
call fcn.0055337c
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x40]
push eax
call fcn.0045e4d0
push esi
lea ecx, [esp + 0x5c]
call fcn.0045e4d0
push dword [esp + 8]
lea ecx, [esp + 0x74]
call fcn.0045e4d0
push 0x62307d
lea ecx, [esp + 0x8c]
call fcn.0045e4d0
push 0x62307d
lea ecx, [esp + 0xa4]
call fcn.0045e4d0
push str.value
lea ecx, [esp + 0xbc]
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
call fcn.0045e4d0
lea eax, [esp + 0xb8]
push eax
lea ecx, [esp + 0x28]
call fcn.00477520
lea ecx, [esp + 0xb8]
call fcn.0045e5e0
push 1
lea eax, [esp + 0x10]
mov ecx, edi
push eax
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x38]
push eax
call fcn.00528730
mov edx, eax
mov ecx, edi
call fcn.004ab250
cmp al, 1
jne 0x4ace03
push str.Initial_call_to_opd_getRecordsWithFields_was_a_failure__retrying_after_recovery
push 0x630b14
call fcn.004b4e00
push eax
call fcn.004b53a0
add esp, 0xc
lea eax, [esp + 0xc]
mov ecx, edi
push 1
push eax
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x38]
push eax
call fcn.00528730
test eax, eax
je 0x4ace03
push str.Retried_call_to_opd_getRecordsWithFields_was_a_failure
push 0x630b14
call fcn.004b4e00
push eax
call fcn.004b53a0
add esp, 0xc
push 0
lea eax, [esp + 0x34]
mov ecx, edi
push eax
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x38]
push eax
call fcn.00528730
mov esi, eax
test esi, esi
je 0x4ace43
push str.call_to_opd_getRecordsWithFields_in_opm_getValueForKey_for_opm_data_failed
push 0x630b14
call fcn.004b4e00
push eax
call fcn.004b53a0
add esp, 0xc
lea eax, [esp + 0x30]
mov ecx, edi
push eax
lea edx, [esp + 0x10]
call fcn.004ac080
add esp, 4
test eax, eax
je 0x4ace72
push str.failed_in_compareAndCorrectDBEntries_in_opm_getValueForKey_for_opm_data
push 0x630b14
call fcn.004b4e00
push eax
call fcn.004b5520
add esp, 0xc
test esi, esi
je 0x4ace9b
push esi
push str.Failed_in_getting_records_for_fields_in_opm_getValueForKey_with_error_as:__d
push 0x630b14
push ecx
call fcn.004b4e00
add esp, 4
push eax
call fcn.004b5520
add esp, 0x10
or esi, 0xffffffff
jmp 0x4ad1ab
mov ecx, dword [esp + 0x10]
mov eax, 0x84210843
mov esi, dword [esp + 0xc]
sub ecx, esi
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x4acedc
push str.No_Record_found_for_the_input_fields_in_opm_getValueForKey
push 0x630b14
call fcn.004b4e00
push eax
call fcn.004b53a0
add esp, 0xc
mov esi, 0xfffffff8
jmp 0x4ad1ab
lea eax, [esi + 0x48]
lea ecx, [esp + 0x88]
cmp ecx, eax
je 0x4acef8
push 0xffffffffffffffff
push 0
push eax
call fcn.0045f9d0
mov esi, dword [esp + 0xc]
add esi, 0x60
lea eax, [esp + 0xa0]
cmp eax, esi
je 0x4acf12
push 0xffffffffffffffff
push 0
push esi
mov ecx, eax
call fcn.0045f9d0
mov eax, dword [esp + 0x98]
test eax, eax
je 0x4ad0a0
cmp byte [ebp + 0x20], 0
je 0x4ad0a0
push 0x62307d
lea ecx, [esp + 0xbc]
call fcn.0045e4d0
lea eax, [esp + 0xb8]
push eax
push ecx
lea ecx, [esp + 0xf0]
call fcn.004b23f0
lea ecx, [esp + 0xb8]
call fcn.0045e5e0
push 0x62307d
lea ecx, [esp + 0xd4]
call fcn.0045e4d0
cmp dword [esp + 0xb0], 0
jne 0x4ad069
cmp dword [0x67e1d8], 0
je 0x4ad0d3
push 0x67e1c8
push ecx
lea ecx, [esp + 0xf0]
call fcn.004b22f0
test al, al
jne 0x4acfa9
push str.Failed_to_initialize_crypt_Engine_in_opm_getValueForKey_for_key2
jmp 0x4ad0d8
lea eax, [esp + 0xa0]
push eax
lea eax, [esp + 0x8c]
push eax
lea ecx, [esp + 0xf0]
call fcn.004b1de0
test eax, eax
je 0x4ad051
push str.Failed_to_decrypt_in_opm_getValueForKey_using_Key2
push 0x630b14
call fcn.004b4e00
push eax
call fcn.004b56a0
add esp, 0xc
lea edx, [esp + 0x70]
cmp dword [esp + 0x84], 0x10
lea ecx, [esp + 0x58]
lea eax, [esp + 0x40]
cmovae edx, dword [esp + 0x70]
cmp dword [esp + 0x6c], 0x10
push edx
cmovae ecx, dword [esp + 0x5c]
cmp dword [esp + 0x58], 0x10
push ecx
cmovae eax, dword [esp + 0x48]
push eax
push str.Deleting_record_with_fields_domain:_s_subDomain:_s_key:_s
push 0x630b14
push ecx
call fcn.004b4e00
add esp, 4
push eax
call fcn.004b53a0
add esp, 0x18
lea eax, [esp + 0x70]
mov ecx, edi
push eax
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x48]
push eax
call fcn.00528890
mov esi, 0xfffffff6
jmp 0x4ad0ee
push str.decrypted_using_a2_in_opm_getValueForKey
push 0x630b14
call fcn.004b4e00
push eax
call fcn.004b5220
add esp, 0xc
push 0xffffffffffffffff
push 0
lea eax, [esp + 0xa8]
push eax
lea ecx, [esp + 0x94]
call fcn.0045f9d0
lea ecx, [esp + 0xd0]
call fcn.0045e5e0
lea ecx, [esp + 0xe8]
call fcn.004abb00
mov eax, dword [esp + 0x98]
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x20]
test edx, edx
jne 0x4ad10b
inc eax
push eax
push str.returning_size_of_value_as:_d_in_opm_getValueForKey
push 0x630a44
push ecx
mov dword [esi], eax
call fcn.004b4e00
add esp, 4
push eax
call fcn.004b5940
add esp, 0x10
xor esi, esi
jmp 0x4ad1ab
push str.key2_is_empty
push 0x630b14
call fcn.004b4e00
push eax
call fcn.004b56a0
add esp, 0xc
or esi, 0xffffffff
lea ecx, [esp + 0xd0]
call fcn.0045e5e0
lea ecx, [esp + 0xe8]
call fcn.004abb00
jmp 0x4ad1ab
mov ecx, dword [esi]
cmp ecx, eax
jbe 0x4ad184
cmp dword [esp + 0x9c], 0x10
lea eax, [esp + 0x88]
push ecx
cmovae eax, dword [esp + 0x8c]
push eax
push dword [edx]
call fcn.00554e70
add esp, 0xc
lea edx, [esp + 0x70]
cmp dword [esp + 0x84], 0x10
lea ecx, [esp + 0x58]
lea eax, [esp + 0x40]
cmovae edx, dword [esp + 0x70]
cmp dword [esp + 0x6c], 0x10
push edx
cmovae ecx, dword [esp + 0x5c]
cmp dword [esp + 0x58], 0x10
push ecx
cmovae eax, dword [esp + 0x48]
push eax
push str.Successfully_retreived_value_from_opm_domain:_s_subdomain:_s_key:_s_in_opm_getValueForKey
push 0x630b14
push ecx
call fcn.004b4e00
add esp, 4
push eax
call fcn.004b53a0
add esp, 0x18
xor esi, esi
jmp 0x4ad1ab
push str.Insufficient_buffer_size...in_opm_getValueForKey
push 0x630a44
call fcn.004b4e00
push eax
call fcn.004b5a60
mov eax, dword [esp + 0xa4]
add esp, 0xc
inc eax
mov dword [esi], eax
mov esi, 0xfffffffc
lea ecx, [esp + 0x30]
call fcn.004ad750
lea ecx, [esp + 0xc]
call fcn.004ad750
lea ecx, [esp + 0x24]
call fcn.00472a90
lea ecx, [esp + 0xa0]
call fcn.0045e5e0
lea ecx, [esp + 0x88]
call fcn.0045e5e0
lea ecx, [esp + 0x70]
call fcn.0045e5e0
lea ecx, [esp + 0x58]
call fcn.0045e5e0
lea ecx, [esp + 0x40]
call fcn.0045e5e0
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x64c]
xor ecx, esp
call fcn.0055337c
mov esp, ebp
pop ebp
ret
mov eax, dword [0x6923c4]
test al, 1
jne 0x4ad232
or eax, 1
mov dword [0x6923c4], eax
call fcn.004b4ad0
push 0x60bf60
call fcn.00553ff2
add esp, 4
push str.Invalid_arguments_in_get_value_for_key...in_opm_getValueForKey
push 0x630b14
push 0x692330
call fcn.004b5520
mov ecx, dword [esp + 0x660]
add esp, 0xc
mov eax, 0xfffffffd
pop edi
pop esi
xor ecx, esp
call fcn.0055337c
mov esp, ebp
pop ebp
ret