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

Disassembly:
push 0xffffffffffffffff
push 0x521ec5b
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x53f3c3c]
xor eax, esp
mov dword [esp + 0xa4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53f3c3c]
xor eax, esp
push eax
lea eax, [esp + 0xbc]
mov dword fs:[0], eax
mov edi, dword [esp + 0xd0]
mov eax, ecx
mov ebp, dword [eax + 0x18]
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], edi
mov dword [esp + 0x1c], ebp
test ebp, ebp
je 0x5039398
mov ebx, dword [esp + 0xcc]
xor esi, esi
push esi
lea eax, [esp + 0x3c]
push str.param.mixRxRptCaMode.measRptCnt__d_
push eax
call dword [sym.imp.MSVCR90.dll_sprintf]
mov edx, dword [0x53f48f4]
lea ecx, [esi + ebp]
push ecx
mov ecx, dword [esp + 0xe4]
push edx
lea eax, [esp + 0x4c]
push eax
push ecx
push edi
push ebx
call fcn.05019e10
inc esi
add esp, 0x24
cmp esi, 2
jl 0x50390d4
cmp byte [ebp], 0xa
ja 0x5039327
cmp byte [ebp + 1], 0xa
ja 0x5039327
lea edx, [ebp + 0x2a]
xor edi, edi
mov dword [esp + 0x18], edx
lea ebx, [ebx]
xor esi, esi
cmp byte [edi + ebp], 0
jbe 0x503929d
mov ebp, dword [esp + 0x18]
push esi
push edi
lea eax, [esp + 0x40]
push str.param.mixRxRptCaMode.rssiPath0__d___u_
push eax
call dword [sym.imp.MSVCR90.dll_sprintf]
mov edx, dword [0x53f48f4]
lea ecx, [ebp - 0x28]
push ecx
mov ecx, dword [esp + 0xe8]
push edx
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x50]
push eax
push ecx
push edx
push ebx
call fcn.05019e90
push esi
push edi
lea eax, [esp + 0x68]
push str.param.mixRxRptCaMode.rssiPath1__d___u_
push eax
call dword [sym.imp.MSVCR90.dll_sprintf]
mov ecx, dword [0x53f48f4]
mov eax, dword [esp + 0x10c]
push ebp
push ecx
mov ecx, dword [esp + 0x54]
lea edx, [esp + 0x78]
push edx
push eax
push ecx
push ebx
call fcn.05019e90
add esp, 0x50
push esi
push edi
lea edx, [esp + 0x40]
push str.param.mixRxRptCaMode.rsrpPath0__d___u_
push edx
call dword [sym.imp.MSVCR90.dll_sprintf]
mov ecx, dword [0x53f48f4]
lea eax, [ebp + 0x28]
push eax
mov eax, dword [esp + 0xe8]
push ecx
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x50]
push edx
push eax
push ecx
push ebx
call fcn.05019e90
push esi
push edi
lea edx, [esp + 0x68]
push str.param.mixRxRptCaMode.rsrpPath1__d___u_
push edx
call dword [sym.imp.MSVCR90.dll_sprintf]
mov ecx, dword [0x53f48f4]
lea eax, [ebp + 0x50]
push eax
mov eax, dword [esp + 0x110]
push ecx
mov ecx, dword [esp + 0x54]
lea edx, [esp + 0x78]
push edx
push eax
push ecx
push ebx
call fcn.05019e90
add esp, 0x50
push esi
push edi
lea edx, [esp + 0x40]
push str.param.mixRxRptCaMode.rsrqPath0__d___u_
push edx
call dword [sym.imp.MSVCR90.dll_sprintf]
lea eax, [ebp + 0x78]
push eax
mov ecx, dword [0x53f48f4]
mov eax, dword [esp + 0xe8]
push ecx
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x50]
push edx
push eax
push ecx
push ebx
call fcn.05019e90
push esi
push edi
lea edx, [esp + 0x68]
push str.param.mixRxRptCaMode.rsrqPath1__d___u_
push edx
call dword [sym.imp.MSVCR90.dll_sprintf]
mov ecx, dword [0x53f48f4]
lea eax, [ebp + 0xa0]
push eax
mov eax, dword [esp + 0x110]
push ecx
mov ecx, dword [esp + 0x54]
lea edx, [esp + 0x78]
push edx
push eax
push ecx
push ebx
call fcn.05019e90
mov edx, dword [esp + 0x6c]
movzx eax, byte [edi + edx]
inc esi
add esp, 0x50
add ebp, 2
cmp esi, eax
jb 0x5039140
mov ebp, edx
add dword [esp + 0x18], 0x14
inc edi
cmp edi, 2
jl 0x5039130
xor esi, esi
lea edi, [ebp + 0xfc]
push esi
lea ecx, [esp + 0x3c]
push str.param.mixRxRptCaMode.crcOK_cnt__d_
push ecx
call dword [sym.imp.MSVCR90.dll_sprintf]
mov eax, dword [0x53f48f4]
mov ebp, dword [esp + 0xe0]
lea edx, [edi - 8]
push edx
mov edx, dword [esp + 0x24]
push eax
lea ecx, [esp + 0x4c]
push ecx
push ebp
push edx
push ebx
call fcn.05019ed0
push esi
lea eax, [esp + 0x60]
push str.param.mixRxRptCaMode.crcNG_cnt__d_
push eax
call dword [sym.imp.MSVCR90.dll_sprintf]
mov ecx, dword [0x53f48f4]
mov eax, dword [esp + 0x44]
push edi
push ecx
lea edx, [esp + 0x70]
push edx
push ebp
push eax
push ebx
call fcn.05019ed0
inc esi
add esp, 0x48
add edi, 4
cmp esi, 2
jl 0x50392b4
mov ecx, dword [esp + 0x20]
mov byte [ecx + 0xc], 1
jmp 0x503939c
push str._ERROR:
push 0xff
push 0x3db
push str..META_erf.cpp
lea ecx, [esp + 0x34]
call fcn.051ae270
mov esi, eax
mov dword [esp + 0xc4], 0
push ebx
mov ecx, 0x53f4cc8
call fcn.05065960
movzx edx, byte [ebp + 1]
movzx ecx, byte [ebp]
mov eax, dword [eax + 8]
push edx
push ecx
push 0xa
push str.META_ERFCMD_CNF::GetMixRxCAModeReportMessageHandler
push ebx
push str.__d___s___ERF_MIXRX_report_entry_count_is_over__d.__rpt__measRptCnt_0____d__rpt__measRptCnt_1____d_
push eax
push esi
call fcn.051ae2d0
add esp, 0x20
mov dword [esp + 0xc4], 0xffffffff
lea ecx, [esp + 0x24]
call fcn.051ae2c0
mov eax, dword [esp + 0x20]
mov byte [eax + 0xc], 0
mov ecx, dword [esp + 0xbc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.0520b902
add esp, 0xb4
ret 0xc