Function at 0x10059f70
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 + 0x14]
mov edx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x18]
push esi
push edi
mov edi, dword [ebp + 0x1c]
push edi
push ebx
push eax
mov esi, ecx
mov ecx, dword [ebp + 0x10]
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 0x1005a113
cmp eax, 0xe4c
je 0x1005a113
cmp eax, 0xe60
je 0x1005a113
cmp eax, 0x520
jne 0x1005a0f7
xor eax, eax
push 3
mov ecx, esi
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
call fcn.10058cc0
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
mov ax, word [ebp + 0xc]
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x30], ecx
mov word [ebp - 0x34], 0x3333
mov dx, word [ebp - 0x34]
mov word [ebp - 0x20], ax
mov dword [ebp - 0x38], 0x11112222
mov ecx, dword [ebp - 0x38]
mov word [ebp - 0x18], dx
mov dword [ebp - 0x40], 0x44442222
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x48], 0x11112222
mov edx, dword [ebp - 0x48]
mov word [ebp - 0x3c], 0x3333
mov cx, word [ebp - 0x3c]
mov dword [ebp - 0x16], eax
mov word [ebp - 0x44], 0x3333
movzx eax, word [ebp - 0x44]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x28], ebx
mov word [ebp - 0x12], cx
mov cl, byte [ebp + 0x14]
lea edx, [ebp - 0x30]
mov bl, 1
push edx
mov dword [ebp - 0x24], 2
mov word [ebp - 0x1e], 0x1a5
mov word [ebp - 0xc], ax
mov byte [ebp - 0xa], bl
mov dword [ebp - 8], edi
mov byte [ebp - 9], cl
call fcn.101f4c90
add esp, 4
test eax, eax
jne 0x1005a092
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x4c]
push ecx
call fcn.101f49d0
add esp, 8
movzx edx, word [ebp - 0x4c]
mov eax, dword [ebp - 0x50]
push edx
push eax
lea ecx, [esi + 0x31b0]
call fcn.10146740
mov ecx, esi
call fcn.10058da0
and al, bl
je 0x1005a1d4
xor ecx, ecx
cmp cx, word [esi + 0x19b4]
sete dl
and al, dl
je 0x1005a1bc
mov ecx, 0x3081
cmp cx, word [esi + 0x19b6]
jne 0x1005a0e4
cmp dword [esi + 0x19ba], 0
je 0x1005a1a7
mov edx, dword [esi + 0x61c0]
push str.Invalid_pttMsg___
push 2
push edx
jmp 0x1005a1ca
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 0x1005a1d2
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
mov ax, word [ebp + 0xc]
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x30], ecx
mov word [ebp - 0x44], 0x3333
mov dx, word [ebp - 0x44]
mov word [ebp - 0x20], ax
mov dword [ebp - 0x48], 0x55552222
mov ecx, dword [ebp - 0x48]
mov word [ebp - 0x18], dx
mov dword [ebp - 0x40], 0x44442222
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x38], 0xaaaa2222
mov edx, dword [ebp - 0x38]
mov word [ebp - 0x3c], 0x3333
mov cx, word [ebp - 0x3c]
mov dword [ebp - 0x16], eax
mov word [ebp - 0x34], 0x3333
movzx eax, word [ebp - 0x34]
mov dword [ebp - 0x10], edx
mov word [ebp - 0x12], cx
mov cl, byte [ebp + 0x14]
lea edx, [ebp - 0x30]
mov dword [ebp - 0x28], ebx
push edx
mov dword [ebp - 0x24], 2
mov bl, 1
mov word [ebp - 0x1e], 0x1a5
mov word [ebp - 0xc], ax
mov byte [ebp - 0xa], 0
mov dword [ebp - 8], edi
mov byte [ebp - 9], cl
call fcn.102013b0
add esp, 4
test eax, eax
jne 0x1005a1bc
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 0x18
mov eax, dword [esi + 0x61c0]
push str.FTM_CMD_Failed___
push 2
push eax
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 0x18