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

Disassembly:
push 0xffffffffffffffff
push 0x5222914
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
mov eax, dword [0x53f3c3c]
xor eax, esp
mov dword [esp + 0xdc], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53f3c3c]
xor eax, esp
push eax
lea eax, [esp + 0xf4]
mov dword fs:[0], eax
mov esi, dword [esp + 0x104]
mov edi, dword [esp + 0x10c]
push esi
mov ecx, 0x53f4cc8
mov dword [esp + 0x20], edi
call fcn.050674e0
test al, al
jne 0x508adc7
push str._ERROR:
push 0xff
push 0x1acd
push str..META_mmrf.cpp
lea ecx, [esp + 0x6c]
call fcn.051ae270
mov edi, eax
mov dword [esp + 0xfc], 0
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push 0x5259d40
push esi
push str.__d___s__:_invalid_handle_
push eax
push edi
call fcn.051ae2d0
add esp, 0x14
mov dword [esp + 0xfc], 0xffffffff
lea ecx, [esp + 0x5c]
call fcn.051ae2c0
mov eax, 0xd
jmp 0x508b279
test edi, edi
jne 0x508add3
lea eax, [edi + 0xa]
jmp 0x508b279
push 0x52c722a
push 1
push 0x1ad5
push str..META_mmrf.cpp
lea ecx, [esp + 0x6c]
call fcn.051ae270
mov edi, eax
mov dword [esp + 0xfc], 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 + 0xfc], ebp
lea ecx, [esp + 0x5c]
call fcn.051ae2c0
push 0x52c722a
push 1
push 0x1ad5
push str..META_mmrf.cpp
lea ecx, [esp + 0x6c]
call fcn.051ae270
mov edi, eax
mov dword [esp + 0xfc], 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_V2]
push 0x10
push eax
push 0x5f
push 0x5f
call sym.META_DLL.dll_META_GetPrimitiveTypeName
push eax
push 0x5259d40
push esi
push 0x523f414
push ebx
push edi
call fcn.051ae2d0
add esp, 0x2c
mov dword [esp + 0xfc], ebp
lea ecx, [esp + 0x5c]
call fcn.051ae2c0
lea ecx, [esp + 0x3c]
mov dword [esp + 0x20], 0
call fcn.05072a60
mov dword [esp + 0xfc], 3
mov ecx, dword [esp + 0x110]
push 1
push 0
lea edx, [esp + 0x44]
push edx
push 0x50872a0
push 0x10
push 0x60
lea eax, [esp + 0x38]
push eax
mov dword [esp + 0x6c], ecx
push esi
lea ecx, [esp + 0x4c]
call fcn.050659a0
mov byte [esp + 0xfc], 4
push str.GetStructSize
lea ecx, [esp + 0x2c]
push ecx
mov edx, dword [str.MMRfTestCmdSetRfSelfKV2_Pdu]
push edx
call fcn.051a8740
mov eax, dword [esp + 0x34]
push eax
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x30]
push eax
push ecx
push esi
mov eax, 0x10000
lea ecx, [esp + 0x78]
lea edx, [esp + 0x7c]
call fcn.05072a00
mov edi, eax
add esp, 0x24
test edi, edi
je 0x508af64
mov byte [esp + 0xfc], 3
lea ecx, [esp + 0x2c]
call fcn.05065ae0
mov dword [esp + 0xfc], ebp
lea ecx, [esp + 0x3c]
call fcn.051601f0
mov eax, edi
jmp 0x508b279
push 0x5f
call sym.META_DLL.dll_META_GetPrimitiveTypeName
mov edx, dword [esp + 0x14]
push 0x10
mov ebx, eax
mov eax, dword [esp + 0x1c]
push ebx
push str.type
push edx
push eax
push esi
call fcn.0501a0b0
add esp, 0x18
test eax, eax
je 0x508afb7
mov byte [esp + 0xfc], 3
lea ecx, [esp + 0x2c]
call fcn.05065ae0
mov dword [esp + 0xfc], ebp
lea ecx, [esp + 0x3c]
call fcn.051601f0
mov eax, 8
jmp 0x508b279
mov edi, dword [esp + 0x1c]
movzx ecx, word [edi]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
push ecx
push ebx
push str.param.setRfSelfKparamV2.rat_idx
push edx
push eax
push esi
call fcn.05019ff0
add esp, 0x18
test eax, eax
jne 0x508af8c
movzx ecx, word [edi + 2]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
push ecx
push ebx
push str.param.setRfSelfKparamV2.self_k_stage
push edx
push eax
push esi
call fcn.05019ff0
add esp, 0x18
test eax, eax
jne 0x508af8c
movzx ecx, word [edi + 4]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
push ecx
push ebx
push str.param.setRfSelfKparamV2.total_item_cnt
push edx
push eax
push esi
call fcn.05019ff0
add esp, 0x18
test eax, eax
jne 0x508af8c
mov ebp, dword [esp + 0x1c]
xor edi, edi
add ebp, 6
lea ecx, [ecx]
push edi
lea ecx, [esp + 0x74]
push str.param.setRfSelfKparamV2.item_index__d_
push ecx
call dword [sym.imp.MSVCR90.dll_sprintf]
movzx edx, word [ebp]
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x28]
push ebx
lea eax, [esp + 0x84]
push eax
push ecx
push edx
push esi
call fcn.05019ff0
add esp, 0x24
test eax, eax
jne 0x508b1e6
inc edi
add ebp, 2
cmp edi, 0x10
jl 0x508b030
mov ebp, dword [esp + 0x1c]
xor edi, edi
add ebp, 0x26
lea esp, [esp]
push edi
lea eax, [esp + 0x74]
push str.param.setRfSelfKparamV2.item_size__d_
push eax
call dword [sym.imp.MSVCR90.dll_sprintf]
movzx ecx, word [ebp]
mov eax, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x28]
push ebx
lea edx, [esp + 0x84]
push edx
push eax
push ecx
push esi
call fcn.05019ff0
add esp, 0x24
test eax, eax
jne 0x508b1e6
inc edi
add ebp, 2
cmp edi, 0x10
jl 0x508b080
mov ebp, dword [esp + 0x1c]
xor edi, edi
add ebp, 0x46
lea esp, [esp]
push edi
lea edx, [esp + 0x74]
push str.param.setRfSelfKparamV2.mem_offset__d_
push edx
call dword [sym.imp.MSVCR90.dll_sprintf]
movzx eax, word [ebp]
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x28]
push ebx
lea ecx, [esp + 0x84]
push ecx
push edx
push eax
push esi
call fcn.05019ff0
add esp, 0x24
test eax, eax
jne 0x508b212
inc edi
add ebp, 2
cmp edi, 0x10
jl 0x508b0d0
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x58]
add edx, 0x66
push edx
add eax, ecx
push eax
call sub.MSVCR90.dll_memcpy
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0x20]
push 1
push edx
lea eax, [esp + 0x38]
push eax
push ecx
lea edx, [esp + 0x34]
push edx
push esi
call fcn.05032d60
add esp, 0x24
cmp al, 1
je 0x508b23e
push str._ERROR:
push 0xff
push 0x1b21
push str..META_mmrf.cpp
lea ecx, [esp + 0x6c]
call fcn.051ae270
mov edi, eax
mov byte [esp + 0xfc], 7
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov ecx, dword [esp + 0x14]
mov eax, dword [eax + 8]
push ecx
push 0x5259d40
push esi
push str.__d___s__:_SendPrimitive_local_len_d__fail_
push eax
push edi
call fcn.051ae2d0
add esp, 0x18
mov byte [esp + 0xfc], 4
lea ecx, [esp + 0x5c]
call fcn.051ae2c0
mov byte [esp + 0xfc], 3
lea ecx, [esp + 0x2c]
call fcn.05065ae0
mov dword [esp + 0xfc], 0xffffffff
lea ecx, [esp + 0x3c]
call fcn.051af410
mov eax, 2
jmp 0x508b279
mov byte [esp + 0xfc], 3
lea ecx, [esp + 0x2c]
call fcn.05065ae0
mov dword [esp + 0xfc], 0xffffffff
lea ecx, [esp + 0x3c]
call fcn.051601f0
mov eax, 8
jmp 0x508b279
mov byte [esp + 0xfc], 3
lea ecx, [esp + 0x2c]
call fcn.05065ae0
mov dword [esp + 0xfc], 0xffffffff
lea ecx, [esp + 0x3c]
call fcn.051af410
mov eax, 8
jmp 0x508b279
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x108]
lea edi, [esp + 0x3c]
call fcn.05072d40
mov esi, eax
mov byte [esp + 0xfc], 3
lea ecx, [esp + 0x2c]
call fcn.05065ae0
mov dword [esp + 0xfc], 0xffffffff
mov ecx, edi
call fcn.051af410
mov eax, esi
mov ecx, dword [esp + 0xf4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xdc]
xor ecx, esp
call fcn.0520b902
add esp, 0xec
ret 0x10