Function at 0x42a12a
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c5e77
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xf4
mov dword [ebp - 0x100], ecx
xor eax, eax
mov al, byte [0x521db0]
test eax, eax
je 0x42a15e
jmp 0x42a9f4
xor ecx, ecx
mov cl, byte [0x521a3d]
test ecx, ecx
je 0x42a17c
mov ecx, dword [ebp - 0x100]
call fcn.00424f9d
mov byte [0x521a3d], 0
call dword [sym.imp.RtlLib.dll_RT_GetStatusHardwareRadioOff]
mov byte [ebp - 0xe0], al
push 0x64
lea edx, [ebp - 0x70]
push edx
push 0x84
call fcn.00413380
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
push 0x64
lea eax, [ebp - 0xd8]
push eax
push 0x85
call fcn.00413380
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
cmp dword [0x52146c], 0
jne 0x42a21f
lea ecx, [ebp - 0xf0]
call fcn.0042e150
lea ecx, [ebp - 0xf0]
call fcn.0042e160
push eax
mov ecx, dword [ebp - 0x100]
call fcn.0042e460
mov ecx, dword [ebp - 0xf0]
mov dword [0x5214bc], ecx
mov edx, dword [ebp - 0xec]
mov dword [0x5214b8], edx
mov eax, dword [ebp - 0xe8]
sub eax, dword [ebp - 0xf0]
mov dword [0x4f6304], eax
mov ecx, dword [ebp - 0xe4]
sub ecx, dword [ebp - 0xec]
mov dword [0x4f6308], ecx
push 0xb0
mov ecx, dword [ebp - 0x100]
add ecx, 0xd0
call fcn.004a6b41
mov dword [ebp - 0xdc], eax
xor edx, edx
mov dl, byte [0x4f7471]
test edx, edx
je 0x42a268
cmp dword [0x521a00], 0x6b
jge 0x42a268
xor eax, eax
mov al, byte [0x5219fc]
push eax
mov ecx, dword [ebp - 0xdc]
call fcn.00414ce0
jmp 0x42a47c
cmp dword [0x521a00], 0x6d
jl 0x42a46e
xor ecx, ecx
mov cl, byte [0x505ef0]
test ecx, ecx
je 0x42a46e
lea ecx, [ebp - 0xf8]
call fcn.00406f30
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xf4]
call fcn.00406f30
mov byte [ebp - 4], 1
xor edx, edx
mov dl, byte [0x521a05]
test edx, edx
je 0x42a44b
cmp dword [0x521a4c], 1
jne 0x42a44b
xor eax, eax
mov al, byte [0x5220eb]
test eax, eax
je 0x42a2ef
push 0
push 0xb0
mov ecx, dword [ebp - 0x100]
add ecx, 0xd0
call fcn.004a6b41
mov ecx, eax
call fcn.004a6e18
jmp 0x42a30e
push 1
push 0xb0
mov ecx, dword [ebp - 0x100]
add ecx, 0xd0
call fcn.004a6b41
mov ecx, eax
call fcn.004a6e18
mov ecx, dword [ebp + 8]
and ecx, 0xff
test ecx, ecx
je 0x42a35f
mov edx, dword [0x5214cc]
push edx
push str._s_allowed
lea eax, [ebp - 0xf8]
push eax
call fcn.0049faa5
add esp, 0xc
lea ecx, [ebp - 0xf8]
call fcn.00406f50
push eax
push 0x534
mov ecx, dword [ebp - 0x100]
add ecx, 0xd0
call fcn.004a6b41
mov ecx, eax
call fcn.004a6c91
call dword [sym.imp.RtlLib.dll_RT_ACM_SoftAP_IsEnable]
and eax, 0xff
test eax, eax
je 0x42a377
mov byte [0x521db2], 1
jmp 0x42a385
mov byte [0x521db9], 0
mov byte [0x521db2], 0
xor ecx, ecx
mov cl, byte [0x521db2]
push ecx
push str.bVwifi
call fcn.0040e2c0
add esp, 8
xor edx, edx
mov dl, byte [0x521db2]
test edx, edx
je 0x42a3de
call dword [sym.imp.RtlLib.dll_RT_ACM_SoftAP_GetStatus]
mov dword [0x521dbc], eax
mov eax, dword [0x521dbc]
push eax
push str.VWifi_SoftAP_Status
call fcn.0040e2c0
add esp, 8
cmp dword [0x521dbc], 2
jne 0x42a3d7
mov byte [0x521db9], 1
jmp 0x42a3de
mov byte [0x521db9], 0
xor ecx, ecx
mov cl, byte [0x521db2]
test ecx, ecx
je 0x42a400
mov byte [0x521db9], 1
push 1
mov ecx, dword [ebp - 0xdc]
call fcn.00414ce0
jmp 0x42a414
mov byte [0x521db9], 0
push 0
mov ecx, dword [ebp - 0xdc]
call fcn.00414ce0
xor edx, edx
mov dl, byte [0x505fc3]
xor eax, eax
mov al, byte [0x521db2]
cmp edx, eax
jne 0x42a434
mov ecx, dword [ebp + 8]
and ecx, 0xff
test ecx, ecx
je 0x42a43f
mov ecx, dword [ebp - 0x100]
call fcn.0042d32d
mov dl, byte [0x521db2]
mov byte [0x505fc3], dl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xf4]
call fcn.004a32a4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf8]
call fcn.004a32a4
jmp 0x42a47c
mov byte [0x521db2], 0
mov byte [0x521db9], 0
xor eax, eax
mov al, byte [0x5219fd]
test eax, eax
je 0x42a4d5
call fcn.0042da0d
and eax, 0xff
test eax, eax
jne 0x42a4d5
push 5
push 0x533
mov ecx, dword [ebp - 0x100]
add ecx, 0xd0
call fcn.004a6b41
mov ecx, eax
call fcn.004a6dd6
push 5
push 0x2b00
mov ecx, dword [ebp - 0x100]
add ecx, 0xd0
call fcn.004a6b41
mov ecx, eax
call fcn.004a6dd6
jmp 0x42a513
push 0
push 0x533
mov ecx, dword [ebp - 0x100]
add ecx, 0xd0
call fcn.004a6b41
mov ecx, eax
call fcn.004a6dd6
push 0
push 0x2b00
mov ecx, dword [ebp - 0x100]
add ecx, 0xd0
call fcn.004a6b41
mov ecx, eax
call fcn.004a6dd6
push 0x2aff
mov ecx, dword [ebp - 0x100]
add ecx, 0xd0
call fcn.004a6b41
mov dword [ebp - 0xdc], eax
push 0x2b49
mov ecx, dword [ebp - 0x100]
add ecx, 0xd0
call fcn.004a6b41
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0xdc], 0
je 0x42a580
push 0
mov ecx, dword [0x505704]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x42a573
push 0
mov ecx, dword [ebp - 0xdc]
call fcn.004a6e18
jmp 0x42a580
push 1
mov ecx, dword [ebp - 0xdc]
call fcn.004a6e18
xor edx, edx
mov dl, byte [0x521a05]
test edx, edx
je 0x42a98c
xor eax, eax
mov al, byte [0x521dc0]
test eax, eax
jne 0x42a98c
xor ecx, ecx
mov cl, byte [0x521db8]
test ecx, ecx
jne 0x42a7f0
xor edx, edx
mov dl, byte [0x521a7e]
test edx, edx
je 0x42a661
xor eax, eax
mov al, byte [0x521dc0]
test eax, eax
jne 0x42a5d6
xor ecx, ecx
mov cl, byte [0x521a05]
test ecx, ecx
jne 0x42a5db
jmp 0x42a9f4
mov byte [0x521f48], 0
mov byte [0x521a7e], 0
mov edx, dword [0x521a4c]
mov dword [0x505fc4], edx
mov byte [0x521a45], 0
mov ecx, dword [ebp - 0x100]
call fcn.0042d34e
mov ecx, dword [ebp - 0x100]
call fcn.00424f9d
push 1
mov ecx, dword [ebp - 0x100]
call fcn.00429c18
call fcn.0043f257
call fcn.0042d55d
cmp dword [0x52146c], 0
jne 0x42a65c
push 0x60
mov eax, dword [0x4f6308]
push eax
mov ecx, dword [0x4f6304]
push ecx
mov edx, dword [0x5214b8]
push edx
mov eax, dword [0x5214bc]
push eax
push 0
call fcn.004115c0
mov ecx, eax
call fcn.004a6d87
jmp 0x42a7f0
xor ecx, ecx
mov cl, byte [0x521a7d]
test ecx, ecx
je 0x42a738
xor edx, edx
mov dl, byte [0x521dc0]
test edx, edx
jne 0x42a688
xor eax, eax
mov al, byte [0x521a05]
test eax, eax
jne 0x42a68d
jmp 0x42a9f4
mov byte [0x521f48], 0
mov byte [0x505a88], 0
mov byte [0x521a7d], 0
mov ecx, dword [0x521a4c]
mov dword [0x505fc4], ecx
mov byte [0x521a45], 1
mov edx, dword [0x521a08]
mov dword [0x4f1ff4], edx
push 1
mov ecx, dword [ebp - 0x100]
call fcn.00429c18
mov ecx, dword [ebp - 0x100]
call fcn.0042cd89
mov ecx, dword [ebp - 0x100]
call fcn.00424f9d
call fcn.0042d55d
cmp dword [0x52146c], 0
jne 0x42a71c
push 0x60
mov eax, dword [0x4f6308]
push eax
mov ecx, dword [0x4f6304]
push ecx
mov edx, dword [0x5214b8]
push edx
mov eax, dword [0x5214bc]
push eax
push 0
call fcn.004115c0
mov ecx, eax
call fcn.004a6d87
cmp dword [0x521a08], 1
je 0x42a733
mov byte [0x505a88], 0
mov byte [0x505fc0], 1
jmp 0x42a7f0
xor ecx, ecx
mov cl, byte [0x521a06]
test ecx, ecx
je 0x42a7f0
xor edx, edx
mov dl, byte [0x521a7c]
test edx, edx
je 0x42a7f0
xor eax, eax
mov al, byte [0x521dc0]
test eax, eax
jne 0x42a76f
xor ecx, ecx
mov cl, byte [0x521a05]
test ecx, ecx
jne 0x42a774
jmp 0x42a9f4
mov byte [0x521f48], 0
mov byte [0x521a7c], 0
mov edx, dword [0x521a4c]
mov dword [0x505fc4], edx
mov byte [0x521a45], 0
mov ecx, dword [ebp - 0x100]
call fcn.0042d361
mov ecx, dword [ebp - 0x100]
call fcn.00424f9d
push 1
mov ecx, dword [ebp - 0x100]
call fcn.00429c18
call fcn.0042d55d
cmp dword [0x52146c], 0
jne 0x42a7f0
push 0x60
mov eax, dword [0x4f6308]
push eax
mov ecx, dword [0x4f6304]
push ecx
mov edx, dword [0x5214b8]
push edx
mov eax, dword [0x5214bc]
push eax
push 0
call fcn.004115c0
mov ecx, eax
call fcn.004a6d87
mov ecx, dword [ebp - 0xe0]
and ecx, 0xff
test ecx, ecx
je 0x42a8e7
xor edx, edx
mov dl, byte [0x505ed6]
test edx, edx
jne 0x42a89a
call dword [sym.imp.RtlLib.dll_RT_AP_GetIsAPMode]
and eax, 0xff
test eax, eax
jne 0x42a89a
cmp dword [0x52133c], 0
je 0x42a89a
cmp dword [0x52133c], 0xdddddddd
je 0x42a89a
push 0
mov eax, dword [0x521334]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x42a89a
mov byte [0x521dad], 1
mov dword [ebp - 0xfc], 5
push 0
mov ecx, dword [0x521334]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x42a893
cmp dword [ebp - 0xfc], 0
je 0x42a893
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [ebp - 0xfc]
sub edx, 1
mov dword [ebp - 0xfc], edx
jmp 0x42a85b
mov byte [0x521dad], 0
mov byte [0x505ed6], 1
mov byte [0x505ed8], 1
mov ecx, dword [ebp - 0xdc]
call fcn.004a6dfd
test eax, eax
je 0x42a8e2
push 0
mov ecx, dword [ebp - 0xdc]
call fcn.004a6dd6
push 5
mov ecx, dword [ebp - 0x74]
call fcn.004a6dd6
push 1
mov ecx, dword [ebp - 0x74]
call fcn.00414ce0
push 0
mov ecx, dword [ebp - 0x74]
call fcn.004a6e18
jmp 0x42a98a
mov eax, dword [ebp + 8]
and eax, 0xff
test eax, eax
jne 0x42a911
mov ecx, dword [ebp - 0xdc]
call fcn.0042e480
test eax, eax
je 0x42a911
mov ecx, dword [ebp - 0xdc]
call fcn.004a6dfd
test eax, eax
je 0x42a960
push 0
mov ecx, dword [ebp - 0x74]
call fcn.004a6dd6
push 5
mov ecx, dword [ebp - 0xdc]
call fcn.004a6dd6
xor ecx, ecx
mov cl, byte [0x521a05]
test ecx, ecx
je 0x42a953
call dword [sym.imp.RtlLib.dll_RT_GetIsRadioOff]
mov byte [0x505ed7], al
xor edx, edx
mov dl, byte [0x505ed7]
push edx
mov ecx, dword [ebp - 0xdc]
call fcn.00414ce0
push 1
mov ecx, dword [ebp - 0xdc]
call fcn.004a6e18
xor eax, eax
mov al, byte [0x505ed6]
test eax, eax
je 0x42a98a
xor ecx, ecx
mov cl, byte [0x521db8]
test ecx, ecx
jne 0x42a98a
mov byte [0x505ed6], 0
mov byte [0x4f747c], 1
call fcn.0043f257
jmp 0x42a9f4
push 0
mov edx, dword [0x505704]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x42a9dd
cmp dword [0x505758], 0
je 0x42a9d3
push 0
mov eax, dword [0x505758]
mov ecx, dword [eax + 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov edx, dword [0x505758]
mov eax, dword [edx + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x505758], 0
mov ecx, 0x505700
call fcn.0042e0e0
push 0
mov ecx, dword [ebp - 0xdc]
call fcn.004a6dd6
push 0
mov ecx, dword [ebp - 0x74]
call fcn.004a6dd6
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4