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

Disassembly:
push 0xffffffffffffffff
push 0x521f0a0
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53f3c3c]
xor eax, esp
push eax
lea eax, [esp + 0x5c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x6c]
push esi
mov ecx, 0x53f4cc8
call fcn.050674e0
lea ecx, [esp + 0x2c]
test al, al
jne 0x50607bf
push str._ERROR:
push 0xff
push 0x3380
push str..META_erf.cpp
call fcn.051ae270
mov edi, eax
mov dword [esp + 0x64], 0
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push 0x524fe70
push esi
push str.__d___s__:_invalid_handle_
push eax
push edi
call fcn.051ae2d0
add esp, 0x14
mov dword [esp + 0x64], 0xffffffff
lea ecx, [esp + 0x2c]
call fcn.051ae2c0
mov eax, 0xd
jmp 0x5060a35
push 0x52c722a
push 1
push 0x3385
push str..META_erf.cpp
call fcn.051ae270
mov edi, eax
mov dword [esp + 0x64], 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
or ebp, 0xffffffff
add esp, 0x10
mov dword [esp + 0x64], ebp
lea ecx, [esp + 0x2c]
call fcn.051ae2c0
push 0x52c722a
push 1
push 0x3385
push str..META_erf.cpp
lea ecx, [esp + 0x3c]
call fcn.051ae270
mov edi, eax
mov dword [esp + 0x64], 2
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov ebx, dword [eax + 8]
push 0x5c
push 0x5c
call sym.META_DLL.dll_META_GetPrimitiveTypeName
push eax
mov eax, dword [str.ERF_TEST_CMD_GET_TX_POWER_OFFSET]
push 0x6e
push eax
push 0x5b
push 0x5b
call sym.META_DLL.dll_META_GetPrimitiveTypeName
push eax
push 0x524fe70
push esi
push 0x523f414
push ebx
push edi
call fcn.051ae2d0
add esp, 0x2c
mov dword [esp + 0x64], ebp
lea ecx, [esp + 0x2c]
call fcn.051ae2c0
lea ecx, [esp + 0x40]
mov dword [esp + 0x18], 0
call fcn.050348b0
mov ebx, 3
mov dword [esp + 0x64], ebx
mov ecx, dword [esp + 0x78]
push 1
push 0
lea edx, [esp + 0x48]
push edx
push 0x5047ac0
push 0x6e
push 0x5c
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x74], ecx
push esi
lea ecx, [esp + 0x3c]
call fcn.050659a0
mov byte [esp + 0x64], 4
lea ecx, [esp + 0x6c]
push ecx
lea edx, [esp + 0x18]
mov eax, dword [esp + 0x1c]
push edx
push eax
push esi
call fcn.050347c0
mov edi, eax
add esp, 0x10
test edi, edi
je 0x5060904
mov byte [esp + 0x64], bl
lea ecx, [esp + 0x1c]
call fcn.05065ae0
mov dword [esp + 0x64], ebp
lea ecx, [esp + 0x40]
call fcn.051601f0
mov eax, edi
jmp 0x5060a35
push 0x5b
call sym.META_DLL.dll_META_GetPrimitiveTypeName
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x14]
push 0x6e
mov edi, eax
push edi
push str.type
push ecx
push edx
push esi
call fcn.0501a0b0
mov eax, dword [esp + 0x8c]
movzx ecx, word [eax]
mov edx, dword [esp + 0x84]
mov eax, dword [esp + 0x2c]
push ecx
push edi
push str.param.getTxPowerOffset.band
push edx
push eax
push esi
call fcn.05019ff0
add esp, 0x30
test eax, eax
je 0x5060974
mov byte [esp + 0x64], bl
lea ecx, [esp + 0x1c]
call fcn.05065ae0
mov dword [esp + 0x64], ebp
lea ecx, [esp + 0x40]
call fcn.051601f0
mov eax, 8
jmp 0x5060a35
mov ecx, dword [esp + 0x6c]
push 1
push ecx
lea edx, [esp + 0x1c]
push edx
push esi
call fcn.05048250
add esp, 0x10
cmp al, 1
je 0x5060a08
push str._ERROR:
push 0xff
push 0x33a0
push str..META_erf.cpp
lea ecx, [esp + 0x3c]
call fcn.051ae270
mov edi, eax
mov byte [esp + 0x64], 5
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov ecx, dword [esp + 0x6c]
mov eax, dword [eax + 8]
push ecx
push 0x524fe70
push esi
push str.__d___s__:_SendPrimitive_local_len_d__fail_
push eax
push edi
call fcn.051ae2d0
add esp, 0x18
mov byte [esp + 0x64], 4
lea ecx, [esp + 0x2c]
call fcn.051ae2c0
mov byte [esp + 0x64], bl
lea ecx, [esp + 0x1c]
call fcn.05065ae0
mov dword [esp + 0x64], ebp
lea ecx, [esp + 0x40]
call fcn.051601f0
mov eax, 2
jmp 0x5060a35
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x70]
lea edi, [esp + 0x40]
call fcn.05034b90
mov esi, eax
mov byte [esp + 0x64], bl
lea ecx, [esp + 0x1c]
call fcn.05065ae0
mov dword [esp + 0x64], ebp
mov ecx, edi
call fcn.051601f0
mov eax, esi
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 0x10