Function at 0x1005a1f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x105520d0]
xor eax, ebp
mov dword [ebp - 4], eax
movzx eax, byte [ebp + 0x1c]
mov edx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x20]
push esi
push edi
mov edi, dword [ebp + 0x24]
push edi
push ebx
push eax
mov esi, ecx
mov ecx, dword [ebp + 0x18]
mov eax, dword [esi + 0x61c0]
push ecx
push edx
push str.FTM_WLAN_GEN6_SET_TX_FRAME_iNumTestFrame_d__iFrameSpacing_d__iFCSCal_d__iRate_d__iPreamble_d_
push 2
push eax
call fcn.10115e20
mov eax, dword [esi]
add esp, 0x20
cmp eax, 0x522
je 0x1005a39c
cmp eax, 0xe4c
je 0x1005a39c
cmp eax, 0xe60
je 0x1005a39c
cmp eax, 0x520
jne 0x1005a380
xor eax, eax
push 3
mov ecx, esi
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
call fcn.10058cc0
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0x18]
movzx eax, byte [ebp + 0x10]
mov dword [ebp - 0x30], ecx
mov cl, byte [ebp + 0x14]
mov dword [ebp - 0x2c], edx
mov dx, word [ebp + 0xc]
mov byte [ebp - 0x1e], cl
mov dword [ebp - 0x24], eax
mov word [ebp - 0x34], 0x3333
mov cx, word [ebp - 0x34]
mov word [ebp - 0x20], dx
mov dword [ebp - 0x38], 0x11112222
mov eax, dword [ebp - 0x38]
mov word [ebp - 0x18], cx
mov dword [ebp - 0x40], 0x44442222
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x48], 0x11112222
mov ecx, dword [ebp - 0x48]
mov word [ebp - 0x3c], 0x3333
mov ax, word [ebp - 0x3c]
mov dword [ebp - 0x16], edx
mov word [ebp - 0x44], 0x3333
movzx edx, word [ebp - 0x44]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x28], ebx
mov word [ebp - 0x12], ax
mov al, byte [ebp + 0x1c]
lea ecx, [ebp - 0x30]
mov bl, 1
push ecx
mov byte [ebp - 0x1d], bl
mov word [ebp - 0xc], dx
mov byte [ebp - 0xa], bl
mov dword [ebp - 8], edi
mov byte [ebp - 9], al
call fcn.101f4c90
add esp, 4
test eax, eax
jne 0x1005a315
lea edx, [ebp - 0x50]
push edx
lea eax, [ebp - 0x4c]
push eax
call fcn.101f49d0
add esp, 8
movzx ecx, word [ebp - 0x4c]
mov edx, dword [ebp - 0x50]
push ecx
push edx
lea ecx, [esi + 0x31b0]
call fcn.10146740
mov ecx, esi
call fcn.10058da0
and al, bl
je 0x1005a460
xor ecx, ecx
cmp cx, word [esi + 0x19b4]
sete dl
and al, dl
jne 0x1005a35b
mov eax, dword [esi + 0x61c0]
push str.FTM_CMD_Failed___
push 2
push eax
jmp 0x1005a456
mov ecx, 0x3081
cmp cx, word [esi + 0x19b6]
jne 0x1005a376
cmp dword [esi + 0x19ba], 0
je 0x1005a433
push str.Invalid_pttMsg___
jmp 0x1005a44d
push eax
mov eax, dword [esi + 0x61c0]
push str.FTM_CMD_Failed____Unknown_WLAN_ID_value:__d
push 2
push eax
call fcn.10115e20
add esp, 0x10
jmp 0x1005a45e
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0x18]
movzx eax, byte [ebp + 0x10]
mov dword [ebp - 0x30], ecx
mov cl, byte [ebp + 0x14]
mov dword [ebp - 0x2c], edx
mov dx, word [ebp + 0xc]
mov byte [ebp - 0x1e], cl
mov dword [ebp - 0x24], eax
mov word [ebp - 0x44], 0x3333
mov cx, word [ebp - 0x44]
mov word [ebp - 0x20], dx
mov dword [ebp - 0x48], 0x55552222
mov eax, dword [ebp - 0x48]
mov word [ebp - 0x18], cx
mov dword [ebp - 0x40], 0x44442222
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x38], 0xaaaa2222
mov ecx, dword [ebp - 0x38]
mov word [ebp - 0x3c], 0x3333
mov ax, word [ebp - 0x3c]
mov dword [ebp - 0x16], edx
mov word [ebp - 0x34], 0x3333
movzx edx, word [ebp - 0x34]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x28], ebx
mov word [ebp - 0x12], ax
mov al, byte [ebp + 0x1c]
lea ecx, [ebp - 0x30]
mov bl, 1
push ecx
mov byte [ebp - 0x1d], bl
mov word [ebp - 0xc], dx
mov byte [ebp - 0xa], 0
mov dword [ebp - 8], edi
mov byte [ebp - 9], al
call fcn.102013b0
add esp, 4
test eax, eax
jne 0x1005a448
pop edi
pop esi
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10203cc8
mov esp, ebp
pop ebp
ret 0x20
push str.FTM_CMD_Failed___
mov edx, dword [esi + 0x61c0]
push 2
push edx
call fcn.10115e20
add esp, 0xc
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10203cc8
mov esp, ebp
pop ebp
ret 0x20