Function at 0x5098ba0
Capabilities:
Check for peb beingdebugged flag
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5222cf5
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
mov eax, dword [0x53f3c3c]
xor eax, esp
mov dword [esp + 0xe0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53f3c3c]
xor eax, esp
push eax
lea eax, [esp + 0xf8]
mov dword fs:[0], eax
push 0x52c722a
push 1
push 0x34f8
push str..META_mmrf.cpp
lea ecx, [esp + 0x70]
call fcn.051ae270
mov ebx, eax
mov dword [esp + 0x100], 0
mov esi, dword [esp + 0x108]
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push esi
push str.__d__________Request________
push eax
push ebx
call fcn.051ae2d0
or ebx, 0xffffffff
add esp, 0x10
mov dword [esp + 0x100], ebx
lea ecx, [esp + 0x60]
call fcn.051ae2c0
push 0x52c722a
push 1
push 0x34f8
push str..META_mmrf.cpp
lea ecx, [esp + 0x70]
call fcn.051ae270
mov ebp, eax
mov dword [esp + 0x100], 1
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov edi, dword [eax + 8]
push 0x60
push 0x60
call sym.META_DLL.dll_META_GetPrimitiveTypeName
push eax
mov eax, dword [str.MMRF_TEST_CMD_START_DPD_FAC_CAL_V3]
push 0x3b
push eax
push 0x5f
push 0x5f
call sym.META_DLL.dll_META_GetPrimitiveTypeName
push eax
push str.MMRF_FillWcdmaStartDpdPaAndDpdFacCalReqV3
push esi
push 0x523f414
push edi
push ebp
call fcn.051ae2d0
add esp, 0x2c
mov dword [esp + 0x100], ebx
lea ecx, [esp + 0x60]
call fcn.051ae2c0
lea ecx, [esp + 0x40]
mov dword [esp + 0x24], 0
call fcn.05072a60
mov dword [esp + 0x100], 2
mov ecx, dword [esp + 0x114]
push 1
push 0
lea edx, [esp + 0x48]
push edx
push 0x50872a0
push 0x3b
push 0x60
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0x70], ecx
push esi
lea ecx, [esp + 0x50]
call fcn.050659a0
mov byte [esp + 0x100], 3
push str.GetStructSize
lea ecx, [esp + 0x30]
push ecx
push str.URfTestCmdAptRefChannelOneBandV3
call fcn.051a8740
mov ebx, dword [esp + 0x11c]
movzx eax, word [ebx + 2]
imul eax, dword [esp + 0x38]
push eax
mov dword [esp + 0x3c], eax
lea edx, [esp + 0x38]
push edx
mov edx, dword [esp + 0x38]
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x30]
push ecx
push edx
push esi
mov eax, 0x10000
lea ecx, [esp + 0x7c]
lea edx, [esp + 0x80]
call fcn.05072a00
mov ebp, eax
add esp, 0x24
test ebp, ebp
je 0x5098d88
mov byte [esp + 0x100], 2
lea ecx, [esp + 0x30]
call fcn.05065ae0
mov dword [esp + 0x100], 0xffffffff
lea ecx, [esp + 0x40]
call fcn.051af410
mov eax, ebp
jmp 0x5099083
push 0x5f
call sym.META_DLL.dll_META_GetPrimitiveTypeName
mov ecx, dword [esp + 0x18]
push 0x3b
mov edi, eax
mov eax, dword [esp + 0x18]
push edi
push str.type
push eax
push ecx
push esi
mov dword [esp + 0x34], edi
call fcn.0501a0b0
add esp, 0x18
test eax, eax
je 0x5098de3
mov byte [esp + 0x100], 2
lea ecx, [esp + 0x30]
call fcn.05065ae0
mov dword [esp + 0x100], 0xffffffff
lea ecx, [esp + 0x40]
call fcn.051601f0
mov eax, 8
jmp 0x5099083
movzx edx, word [ebx]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push edx
push edi
push str.param.startDpdPaAndDpdFacCalV3.rat_idx
push eax
push ecx
push esi
call fcn.05019ff0
add esp, 0x18
test eax, eax
jne 0x5098db4
movzx edx, word [ebx + 2]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push edx
push edi
push str.param.startDpdPaAndDpdFacCalV3.mm_dpd_info.wcdma_dpd_req.num_of_band
push eax
push ecx
push esi
call fcn.05019ff0
add esp, 0x18
test eax, eax
jne 0x5098db4
xor edx, edx
xor edi, edi
cmp dx, word [ebx + 2]
jae 0x5098e7d
lea ebp, [ebx + 4]
push edi
lea eax, [esp + 0x78]
push str.param.startDpdPaAndDpdFacCalV3.mm_dpd_info.wcdma_dpd_req.cal_band__d_
push eax
call dword [sym.imp.MSVCR90.dll_sprintf]
movzx ecx, word [ebp]
mov edx, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x88]
push eax
push ecx
push edx
push esi
call fcn.05019ff0
add esp, 0x24
test eax, eax
jne 0x5098db4
movzx eax, word [ebx + 2]
inc edi
add ebp, 2
cmp edi, eax
jl 0x5098e33
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x58]
push str.GetStructSize
lea eax, [esp + 0x24]
push eax
add ecx, edx
push str.URfTestCmdAptRefChannelOneBandV3
mov dword [esp + 0x28], ecx
call fcn.051a8740
xor ecx, ecx
add esp, 0xc
xor edi, edi
cmp cx, word [ebx + 2]
jae 0x5098f53
lea ebp, [ebx + 0x3a]
movzx edx, word [ebp - 2]
mov eax, dword [str.URfTestCmdAptRefChannelOneBandV3]
push edx
push eax
mov eax, dword [esp + 0x28]
mov ecx, edi
imul ecx, eax
add ecx, dword [esp + 0x24]
push str.band_num
push eax
push ecx
push esi
call fcn.05019ff0
add esp, 0x18
test eax, eax
jne 0x5099009
movzx edx, word [ebp]
mov eax, dword [str.URfTestCmdAptRefChannelOneBandV3]
push edx
push eax
mov eax, dword [esp + 0x28]
mov ecx, edi
imul ecx, eax
add ecx, dword [esp + 0x24]
push str.apt_ref_channel
push eax
push ecx
push esi
call fcn.05019ff0
add esp, 0x18
test eax, eax
jne 0x5099035
movzx edx, word [ebp + 2]
mov eax, dword [str.URfTestCmdAptRefChannelOneBandV3]
push edx
push eax
mov eax, dword [esp + 0x28]
mov ecx, edi
imul ecx, eax
add ecx, dword [esp + 0x24]
push str.tpc_wanted_p_offset
push eax
push ecx
push esi
call fcn.0501a050
add esp, 0x18
test eax, eax
jne 0x5098db4
movzx edx, word [ebx + 2]
inc edi
add ebp, 6
cmp edi, edx
jl 0x5098eb3
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x14]
push 1
push eax
lea ecx, [esp + 0x30]
push ecx
push edx
lea eax, [esp + 0x28]
push eax
push esi
call fcn.05032d60
add esp, 0x18
cmp al, 1
je 0x5099048
push str._ERROR:
push 0xff
push 0x3541
push str..META_mmrf.cpp
lea ecx, [esp + 0x70]
call fcn.051ae270
mov edi, eax
mov byte [esp + 0x100], 0xa
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov ecx, dword [esp + 0x14]
mov eax, dword [eax + 8]
push ecx
push str.MMRF_FillWcdmaStartDpdPaAndDpdFacCalReqV3
push esi
push str.__d___s__:_SendPrimitive_local_len_d__fail_
push eax
push edi
call fcn.051ae2d0
add esp, 0x18
mov byte [esp + 0x100], 3
lea ecx, [esp + 0x60]
call fcn.051ae2c0
mov byte [esp + 0x100], 2
lea ecx, [esp + 0x30]
call fcn.05065ae0
mov dword [esp + 0x100], 0xffffffff
lea ecx, [esp + 0x40]
call fcn.051af410
mov eax, 2
jmp 0x5099083
mov byte [esp + 0x100], 2
lea ecx, [esp + 0x30]
call fcn.05065ae0
mov dword [esp + 0x100], 0xffffffff
lea ecx, [esp + 0x40]
call fcn.051af410
mov eax, 8
jmp 0x5099083
mov byte [esp + 0x100], 2
lea ecx, [esp + 0x30]
call fcn.05065ae0
jmp 0x509901a
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x10c]
lea edi, [esp + 0x40]
call fcn.05072d40
mov esi, eax
mov byte [esp + 0x100], 2
lea ecx, [esp + 0x30]
call fcn.05065ae0
mov dword [esp + 0x100], 0xffffffff
mov ecx, edi
call fcn.051af410
mov eax, esi
mov ecx, dword [esp + 0xf8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xe0]
xor ecx, esp
call fcn.0520b902
add esp, 0xf0
ret 0x10