Function at 0x4a2f53
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f9c36
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x1a8c
call fcn.004d0180
push edi
mov dword [ebp - 0x1a5c], ecx
mov byte [ebp - 0x141c], 0
mov ecx, 0x7f
xor eax, eax
lea edi, [ebp - 0x141b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x1018], 0
mov ecx, 0x7f
xor eax, eax
lea edi, [ebp - 0x1017]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x1a1c], 0
mov ecx, 0x7f
xor eax, eax
lea edi, [ebp - 0x1a1b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x181c], 0
mov ecx, 0x7f
xor eax, eax
lea edi, [ebp - 0x181b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x210], 0
mov ecx, 0x7f
xor eax, eax
lea edi, [ebp - 0x20f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x200
push 0
lea eax, [ebp - 0x121c]
push eax
call fcn.004cf390
add esp, 0xc
push 0x200
push 0
lea ecx, [ebp - 0x161c]
push ecx
call fcn.004cf390
add esp, 0xc
push 0x200
push 0
lea edx, [ebp - 0xd18]
push edx
call fcn.004cf390
add esp, 0xc
push 0x200
push 0
lea eax, [ebp - 0x410]
push eax
call fcn.004cf390
add esp, 0xc
push 0x200
push 0
lea ecx, [ebp - 0x714]
push ecx
call fcn.004cf390
add esp, 0xc
push 0x53a0a8
lea ecx, [ebp - 0x414]
call fcn.004e7ea1
mov dword [ebp - 4], 0
push 0x531818
lea ecx, [ebp - 0x414]
call fcn.004e8508
push 0x53a0a4
lea ecx, [ebp - 0x414]
call fcn.004e8544
mov edx, dword [ebp - 0x414]
push edx
mov eax, dword [0x53a0a8]
push eax
push str.SOFTWARE_s_sInstalledWSP
lea ecx, [ebp - 0xb18]
push ecx
call fcn.004d0234
add esp, 0x10
lea edx, [ebp - 0xb18]
push edx
lea ecx, [ebp - 0x101c]
call fcn.004e819a
mov byte [ebp - 4], 1
lea eax, [ebp - 0x1018]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x1a34], esp
push str.Param_Lang
call fcn.004e819a
mov dword [ebp - 0x1a60], eax
mov ecx, dword [ebp - 0x1a60]
mov dword [ebp - 0x1a64], ecx
mov byte [ebp - 4], 2
push ecx
mov ecx, esp
mov dword [ebp - 0x1a38], esp
lea edx, [ebp - 0x101c]
push edx
call fcn.004e7ea1
mov dword [ebp - 0x1a68], eax
mov ecx, dword [ebp - 0x1a5c]
mov byte [ebp - 4], 1
call fcn.004a359c
lea eax, [ebp - 0x1018]
push eax
lea ecx, [ebp - 0x410]
push ecx
call fcn.004cf9b0
add esp, 8
lea edx, [ebp - 0x1a1c]
push edx
push ecx
mov ecx, esp
mov dword [ebp - 0x1a3c], esp
push str.Param_MFG
call fcn.004e819a
mov dword [ebp - 0x1a6c], eax
mov eax, dword [ebp - 0x1a6c]
mov dword [ebp - 0x1a70], eax
mov byte [ebp - 4], 3
push ecx
mov ecx, esp
mov dword [ebp - 0x1a40], esp
lea edx, [ebp - 0x101c]
push edx
call fcn.004e7ea1
mov dword [ebp - 0x1a74], eax
mov ecx, dword [ebp - 0x1a5c]
mov byte [ebp - 4], 1
call fcn.004a359c
lea eax, [ebp - 0x1a1c]
push eax
lea ecx, [ebp - 0x161c]
push ecx
call fcn.004cf9b0
add esp, 8
lea edx, [ebp - 0x181c]
push edx
push ecx
mov ecx, esp
mov dword [ebp - 0x1a44], esp
push str.Param_MDL
call fcn.004e819a
mov dword [ebp - 0x1a78], eax
mov eax, dword [ebp - 0x1a78]
mov dword [ebp - 0x1a7c], eax
mov byte [ebp - 4], 4
push ecx
mov ecx, esp
mov dword [ebp - 0x1a48], esp
lea edx, [ebp - 0x101c]
push edx
call fcn.004e7ea1
mov dword [ebp - 0x1a80], eax
mov ecx, dword [ebp - 0x1a5c]
mov byte [ebp - 4], 1
call fcn.004a359c
lea eax, [ebp - 0x181c]
push eax
lea ecx, [ebp - 0xd18]
push ecx
call fcn.004cf9b0
add esp, 8
lea edx, [ebp - 0x210]
push edx
push ecx
mov ecx, esp
mov dword [ebp - 0x1a4c], esp
push str.Param_dir
call fcn.004e819a
mov dword [ebp - 0x1a84], eax
mov eax, dword [ebp - 0x1a84]
mov dword [ebp - 0x1a88], eax
mov byte [ebp - 4], 5
push ecx
mov ecx, esp
mov dword [ebp - 0x1a50], esp
lea edx, [ebp - 0x101c]
push edx
call fcn.004e7ea1
mov dword [ebp - 0x1a8c], eax
mov ecx, dword [ebp - 0x1a5c]
mov byte [ebp - 4], 1
call fcn.004a359c
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x121c]
push ecx
call fcn.004cf9b0
add esp, 8
lea edx, [ebp - 0x141c]
push edx
push ecx
mov ecx, esp
mov dword [ebp - 0x1a54], esp
push 0x53186c
call fcn.004e819a
mov dword [ebp - 0x1a90], eax
mov eax, dword [ebp - 0x1a90]
mov dword [ebp - 0x1a94], eax
mov byte [ebp - 4], 6
push ecx
mov ecx, esp
mov dword [ebp - 0x1a58], esp
lea edx, [ebp - 0x101c]
push edx
call fcn.004e7ea1
mov dword [ebp - 0x1a98], eax
mov ecx, dword [ebp - 0x1a5c]
mov byte [ebp - 4], 1
call fcn.004a359c
lea eax, [ebp - 0x141c]
push eax
lea ecx, [ebp - 0x714]
push ecx
call fcn.004cf9b0
add esp, 8
lea edx, [ebp - 0x714]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x1a20], eax
cmp dword [ebp - 0x1a20], 0
jne 0x4a33a6
lea ecx, [ebp - 0x1a24]
call fcn.00401900
mov byte [ebp - 4], 7
lea eax, [ebp - 0x141c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.LoadLibrary_failed___d__nDllPath:_s
lea ecx, [ebp - 0x1a24]
push ecx
call fcn.004e1baf
add esp, 0x10
push 0
push 0
lea ecx, [ebp - 0x1a24]
call fcn.00401920
push eax
mov ecx, dword [ebp - 0x1a5c]
call fcn.004e64d5
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1a24]
call fcn.004e812c
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x101c]
call fcn.004e812c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x414]
call fcn.004e812c
jmp 0x4a358d
mov dword [ebp - 0x1a28], 0
push str.WSP_Start
mov edx, dword [ebp - 0x1a20]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x1a28], eax
cmp dword [ebp - 0x1a28], 0
jne 0x4a345c
lea ecx, [ebp - 0x1a2c]
call fcn.00401900
mov byte [ebp - 4], 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetProcAddress_failed___d_
lea eax, [ebp - 0x1a2c]
push eax
call fcn.004e1baf
add esp, 0xc
push 0
push 0
lea ecx, [ebp - 0x1a2c]
call fcn.00401920
push eax
mov ecx, dword [ebp - 0x1a5c]
call fcn.004e64d5
mov ecx, dword [ebp - 0x1a20]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1a2c]
call fcn.004e812c
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x101c]
call fcn.004e812c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x414]
call fcn.004e812c
jmp 0x4a358d
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x410]
push edx
lea eax, [ebp - 0xd18]
push eax
lea ecx, [ebp - 0x161c]
push ecx
lea edx, [ebp - 0x121c]
push edx
call dword [ebp - 0x1a28]
add esp, 0x20
mov dword [ebp - 0x818], eax
cmp dword [ebp - 0x818], 0
jne 0x4a34a8
push str.Wireless_setting_was_set_successfully.
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x4a355f
cmp dword [ebp - 0x818], 0x4c7
jne 0x4a34c4
push str.User_cancels_Wireless_Setting_function.
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x4a355f
cmp dword [ebp - 0x818], 0xd
jne 0x4a355f
lea ecx, [ebp - 0x1a30]
call fcn.00401900
mov byte [ebp - 4], 9
push str.ErrorText:_The_data_is_invalid.
push str.ErrorId:_ERROR_INVALID_DATA
mov eax, dword [ebp - 0x818]
push eax
push str.WSP_Start_failed__WIN32_Error_code____d__n_s_n_s
lea ecx, [ebp - 0x1a30]
push ecx
call fcn.004e1baf
add esp, 0x14
push 0
push 0
lea ecx, [ebp - 0x1a30]
call fcn.00401920
push eax
mov ecx, dword [ebp - 0x1a5c]
call fcn.004e64d5
mov edx, dword [ebp - 0x1a20]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1a30]
call fcn.004e812c
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x101c]
call fcn.004e812c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x414]
call fcn.004e812c
jmp 0x4a358d
mov eax, dword [ebp - 0x1a20]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x101c]
call fcn.004e812c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x414]
call fcn.004e812c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
mov esp, ebp
pop ebp
ret