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

Disassembly:
push 0xffffffffffffffff
push 0x5222870
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53f3c3c]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov esi, dword [esp + 0x74]
push esi
mov ecx, 0x53f4cc8
call fcn.050674e0
test al, al
jne 0x508a9bf
push str._ERROR:
push 0xff
push 0x1a6a
push str..META_mmrf.cpp
lea ecx, [esp + 0x48]
call fcn.051ae270
mov edi, eax
mov dword [esp + 0x6c], 0
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push 0x5259c3c
push esi
push str.__d___s__:_invalid_handle_
push eax
push edi
call fcn.051ae2d0
add esp, 0x14
mov dword [esp + 0x6c], 0xffffffff
lea ecx, [esp + 0x38]
call fcn.051ae2c0
mov eax, 0xd
jmp 0x508ace7
mov ebp, dword [esp + 0x7c]
test ebp, ebp
jne 0x508a9cf
lea eax, [ebp + 0xa]
jmp 0x508ace7
push 0x52c722a
push 1
push 0x1a72
push str..META_mmrf.cpp
lea ecx, [esp + 0x48]
call fcn.051ae270
mov edi, eax
mov dword [esp + 0x6c], 1
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push esi
push str.__d__________Request________
push eax
push edi
call fcn.051ae2d0
add esp, 0x10
mov dword [esp + 0x6c], 0xffffffff
lea ecx, [esp + 0x38]
call fcn.051ae2c0
push 0x52c722a
push 1
push 0x1a72
push str..META_mmrf.cpp
lea ecx, [esp + 0x48]
call fcn.051ae270
mov edi, eax
mov dword [esp + 0x6c], 2
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov ebx, dword [eax + 8]
push 0x60
push 0x60
call sym.META_DLL.dll_META_GetPrimitiveTypeName
push eax
mov eax, dword [str.MMRF_TEST_CMD_SET_RF_SELF_CAL_RESULT]
push 0xc
push eax
push 0x5f
push 0x5f
call sym.META_DLL.dll_META_GetPrimitiveTypeName
push eax
push 0x5259c3c
push esi
push 0x523f414
push ebx
push edi
call fcn.051ae2d0
add esp, 0x2c
mov dword [esp + 0x6c], 0xffffffff
lea ecx, [esp + 0x38]
call fcn.051ae2c0
lea ecx, [esp + 0x4c]
mov dword [esp + 0x18], 0
call fcn.05072a60
mov dword [esp + 0x6c], 3
mov ecx, dword [esp + 0x80]
push 1
push 0
lea edx, [esp + 0x54]
push edx
push 0x50872a0
push 0xc
push 0x60
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x7c], ecx
push esi
lea ecx, [esp + 0x48]
call fcn.050659a0
mov byte [esp + 0x6c], 4
movzx ebx, word [ebp + 4]
push ebx
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x7c]
push edx
lea eax, [esp + 0x20]
push eax
push ecx
push esi
mov eax, 0x10000
lea ecx, [esp + 0x38]
lea edx, [esp + 0x3c]
call fcn.05072a00
mov edi, eax
add esp, 0x18
test edi, edi
je 0x508ab3b
mov byte [esp + 0x6c], 3
lea ecx, [esp + 0x28]
call fcn.05065ae0
mov dword [esp + 0x6c], 0xffffffff
lea ecx, [esp + 0x4c]
call fcn.051601f0
mov eax, edi
jmp 0x508ace7
push 0x5f
call sym.META_DLL.dll_META_GetPrimitiveTypeName
mov edx, dword [esp + 0x74]
push 0xc
mov edi, eax
mov eax, dword [esp + 0x18]
push edi
push str.type
push edx
push eax
push esi
call fcn.0501a0b0
add esp, 0x18
test eax, eax
je 0x508ab8c
mov byte [esp + 0x6c], 3
lea ecx, [esp + 0x28]
call fcn.05065ae0
mov dword [esp + 0x6c], 0xffffffff
lea ecx, [esp + 0x4c]
call fcn.051601f0
mov eax, 8
jmp 0x508ace7
movzx ecx, word [ebp]
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x14]
push ecx
push edi
push str.param.setRfSelfKparam.rat_idx
push edx
push eax
push esi
call fcn.05019ff0
add esp, 0x18
test eax, eax
jne 0x508ab63
movzx ecx, word [ebp + 2]
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x14]
push ecx
push edi
push str.param.setRfSelfKparam.lid_index
push edx
push eax
push esi
call fcn.05019ff0
add esp, 0x18
test eax, eax
jne 0x508ab63
movzx ecx, word [ebp + 4]
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x14]
push ecx
push edi
push str.param.setRfSelfKparam.lid_size
push edx
push eax
push esi
call fcn.05019ff0
add esp, 0x18
test eax, eax
jne 0x508ab63
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
push ebx
add ebp, 6
add ecx, edx
push ebp
push ecx
call sub.MSVCR90.dll_memcpy
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x80]
push 1
push eax
lea ecx, [esp + 0x30]
push ecx
push edx
lea eax, [esp + 0x30]
push eax
push esi
call fcn.05032d60
add esp, 0x24
cmp al, 1
je 0x508acb5
push str._ERROR:
push 0xff
push 0x1a9d
push str..META_mmrf.cpp
lea ecx, [esp + 0x48]
call fcn.051ae270
mov edi, eax
mov byte [esp + 0x6c], 5
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov ecx, dword [esp + 0x74]
mov eax, dword [eax + 8]
push ecx
push 0x5259c3c
push esi
push str.__d___s__:_SendPrimitive_local_len_d__fail_
push eax
push edi
call fcn.051ae2d0
add esp, 0x18
mov byte [esp + 0x6c], 4
lea ecx, [esp + 0x38]
call fcn.051ae2c0
mov byte [esp + 0x6c], 3
lea ecx, [esp + 0x28]
call fcn.05065ae0
mov dword [esp + 0x6c], 0xffffffff
lea ecx, [esp + 0x4c]
call fcn.051601f0
mov eax, 2
jmp 0x508ace7
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x78]
lea edi, [esp + 0x4c]
call fcn.05072d40
mov esi, eax
mov byte [esp + 0x6c], 3
lea ecx, [esp + 0x28]
call fcn.05065ae0
mov dword [esp + 0x6c], 0xffffffff
mov ecx, edi
call fcn.051601f0
mov eax, esi
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret 0x10