Function at 0x5091560
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x5222a28
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53f3c3c]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
push 0x52c722a
push 1
push 0x2867
push str..META_mmrf.cpp
lea ecx, [esp + 0x50]
call fcn.051ae270
mov edi, eax
mov dword [esp + 0x74], 0
mov esi, dword [esp + 0x7c]
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 + 0x74], ebp
lea ecx, [esp + 0x40]
call fcn.051ae2c0
push 0x52c722a
push 1
push 0x2867
push str..META_mmrf.cpp
lea ecx, [esp + 0x50]
call fcn.051ae270
mov edi, eax
mov dword [esp + 0x74], 1
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_DPD_PA_AND_DPD_FAC_CAL_PARTIAL_V2]
push 0x2b
push eax
push 0x5f
push 0x5f
call sym.META_DLL.dll_META_GetPrimitiveTypeName
push eax
push str.MMRF_FillLteSetDpdPaAndDpdFacCalPartialReq
push esi
push 0x523f414
push ebx
push edi
call fcn.051ae2d0
add esp, 0x2c
mov dword [esp + 0x74], ebp
lea ecx, [esp + 0x40]
call fcn.051ae2c0
lea ecx, [esp + 0x54]
mov dword [esp + 0x20], 0
call fcn.05072a60
mov dword [esp + 0x74], 2
mov ecx, dword [esp + 0x88]
push 1
push 0
lea edx, [esp + 0x5c]
push edx
push 0x50872a0
push 0x2b
push 0x60
lea eax, [esp + 0x38]
push eax
mov dword [esp + 0x84], ecx
push esi
lea ecx, [esp + 0x50]
call fcn.050659a0
mov byte [esp + 0x74], 3
push str.GetStructSize
lea ecx, [esp + 0x20]
mov edx, dword [str.MMRfTestCmdSetLteDpdPaAndDpdFacCalPartialOneRoute]
push ecx
push edx
call fcn.051a8740
mov ebx, dword [esp + 0x90]
movzx eax, word [ebx + 2]
imul eax, dword [esp + 0x28]
push eax
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x34]
push eax
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x30]
push edx
push eax
push esi
mov eax, 0x10000
lea ecx, [esp + 0x4c]
lea edx, [esp + 0x50]
call fcn.05072a00
mov edi, eax
add esp, 0x24
test edi, edi
je 0x5091717
mov byte [esp + 0x74], 2
lea ecx, [esp + 0x30]
call fcn.05065ae0
mov dword [esp + 0x74], ebp
lea ecx, [esp + 0x54]
call fcn.051af410
mov eax, edi
jmp 0x509188f
push 0x5f
call sym.META_DLL.dll_META_GetPrimitiveTypeName
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push 0x2b
mov edi, eax
push edi
push str.type
push ecx
push edx
push esi
call fcn.0501a0b0
add esp, 0x18
test eax, eax
je 0x5091764
mov byte [esp + 0x74], 2
lea ecx, [esp + 0x30]
call fcn.05065ae0
mov dword [esp + 0x74], ebp
lea ecx, [esp + 0x54]
call fcn.051601f0
mov eax, 8
jmp 0x509188f
movzx eax, word [ebx]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push eax
push edi
push str.param.setDpdPaAndDpdFacCalPartial.rat_idx
push ecx
push edx
push esi
call fcn.05019ff0
add esp, 0x18
test eax, eax
jne 0x509173f
movzx eax, word [ebx + 2]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push eax
push edi
push str.param.setDpdPaAndDpdFacCalPartial.mm_dpd_info.lte_dpd_req.route_num
push ecx
push edx
push esi
call fcn.05019ff0
add esp, 0x18
test eax, eax
jne 0x509173f
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x1c]
push ebx
push edx
add eax, ecx
push eax
push esi
call fcn.05081b00
add esp, 0x10
test al, al
je 0x509173f
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x14]
push 1
push eax
lea ecx, [esp + 0x2c]
push ecx
push edx
lea eax, [esp + 0x28]
push eax
push esi
call fcn.05032d60
add esp, 0x18
cmp al, 1
je 0x509185e
push str._ERROR:
push 0xff
push 0x2894
push str..META_mmrf.cpp
lea ecx, [esp + 0x50]
call fcn.051ae270
mov byte [esp + 0x74], 6
mov ecx, dword [esp + 0x14]
mov edx, dword [0x56bc0f0]
push ecx
push str.MMRF_FillLteSetDpdPaAndDpdFacCalPartialReq
push esi
push str.__d___s__:_SendPrimitive_local_len_d__fail_
push edx
push eax
call fcn.051ae2d0
add esp, 0x18
mov byte [esp + 0x74], 3
lea ecx, [esp + 0x40]
call fcn.051ae2c0
mov byte [esp + 0x74], 2
lea ecx, [esp + 0x30]
call fcn.05065ae0
mov dword [esp + 0x74], ebp
lea ecx, [esp + 0x54]
call fcn.051601f0
mov eax, 2
jmp 0x509188f
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x80]
lea edi, [esp + 0x54]
call fcn.05072d40
mov esi, eax
mov byte [esp + 0x74], 2
lea ecx, [esp + 0x30]
call fcn.05065ae0
mov dword [esp + 0x74], ebp
mov ecx, edi
call fcn.051601f0
mov eax, esi
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret 0x10