Function at 0x435070
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b2997
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x503074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov edi, ecx
push 0x4c965c
push str.SPolicy::set_ForceBiosWirelessEventState
push 0
call fcn.00422b80
push eax
call fcn.0047bd80
xor esi, esi
add esp, 0x10
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], esi
call fcn.00422b80
mov al, byte [eax + 0x38]
test al, al
je 0x4350f8
push 0x28
call fcn.00475970
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
push str.SPolicy::set_ForceBiosWirelessEventState
mov byte [ebp - 4], 1
call fcn.00422b80
push eax
mov ecx, esi
call fcn.00477bf0
mov esi, eax
mov byte [ebp - 4], 0
mov dword [ebp - 0x14], esi
cmp edi, 1
je 0x43510b
test edi, edi
je 0x43510b
mov edi, 0x80070057
jmp 0x4352d5
push dword [0x50bed0]
push edi
push str.BEFORE_set__bState:__d__SPolicy::s_bForceBiosWirelessEventState:__d
push str.SPolicy::set_ForceBiosWirelessEventState
push 2
call fcn.00422b80
push eax
call fcn.0047bd80
add esp, 0x18
mov eax, edi
mov ecx, 0x50bed0
xchg dword [ecx], eax
push dword [0x50bed0]
push edi
push str.AFTER_set__bState:__d__SPolicy::s_bForceBiosWirelessEventState:__d
push str.SPolicy::set_ForceBiosWirelessEventState
push 2
call fcn.00422b80
push eax
call fcn.0047bd80
add esp, 0x18
cmp edi, 1
jne 0x4351f5
push str.TRUE__bState.
push str.SPolicy::set_ForceBiosWirelessEventState
push 2
call fcn.00422b80
push eax
call fcn.0047bd80
add esp, 0x10
cmp dword [0x50bec8], 0
jne 0x4351eb
push str.SPolicy::s_hThreadForceBiosWirelessEvent_is_NULL
push str.SPolicy::set_ForceBiosWirelessEventState
push 2
call fcn.00422b80
push eax
call fcn.0047bd80
add esp, 0x10
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x10]
call fcn.00427c30
test eax, eax
js 0x4352d3
push 0
push 0
push dword [ebp - 0x10]
push 0x429c40
push 0
push 0
call fcn.0048f4d9
add esp, 0x18
mov dword [0x50bec8], eax
push eax
push str.SPolicy::s_hThreadForceBiosWirelessEvent_is_now_set:_0x_08lX.
push str.SPolicy::set_ForceBiosWirelessEventState
push 2
call fcn.00422b80
push eax
call fcn.0047bd80
add esp, 0x14
call fcn.00435320
jmp 0x4352d3
push str.FALSE__bState.
push str.SPolicy::set_ForceBiosWirelessEventState
push 2
call fcn.00422b80
push eax
call fcn.0047bd80
add esp, 0x10
cmp ebx, 1
jne 0x4352d3
push dword [0x50becc]
push ebx
push str.BEFORE_set__bStop:__d__SPolicy::s_bForceBiosWirelessStop:__d
push str.SPolicy::set_ForceBiosWirelessEventState
push 2
call fcn.00422b80
push eax
call fcn.0047bd80
add esp, 0x18
mov eax, ebx
mov ecx, 0x50becc
xchg dword [ecx], eax
push dword [0x50becc]
push ebx
push str.AFTER_set__bStop:__d__SPolicy::s_bForceBiosWirelessStop:__d
push str.SPolicy::set_ForceBiosWirelessEventState
push 2
call fcn.00422b80
push eax
call fcn.0047bd80
add esp, 0x18
push str.Preparing_to_stop.
push str.SPolicy::set_ForceBiosWirelessEventState
push 2
call fcn.00422b80
push eax
call fcn.0047bd80
add esp, 0x10
cmp dword [0x50bec8], 0
je 0x4352d3
push str.Thread_is_non_NULL.
push str.SPolicy::set_ForceBiosWirelessEventState
push 2
call fcn.00422b80
push eax
call fcn.0047bd80
add esp, 0x10
call fcn.00435320
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x50bec8]
test eax, eax
je 0x4352cc
cmp eax, 0xffffffff
je 0x4352cc
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x50bec8], 0
mov dword [ebp - 4], 0
xor edi, edi
push edi
push str.hr:_0x_08lX.
push str.SPolicy::set_ForceBiosWirelessEventState
push 1
call fcn.00422b80
push eax
call fcn.0047bd80
add esp, 0x14
test esi, esi
je 0x435306
mov ecx, esi
call fcn.00478c00
push 0x28
push esi
call fcn.00475d73
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret