Function at 0x100052a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x240
mov eax, dword [0x10033048]
xor eax, esp
mov dword [esp + 0x23c], eax
push esi
push edi
mov edi, dword [ebp + 8]
push str._WJRA____CWjraConfig::SwitchSoftApMode_begin_
mov esi, ecx
call fcn.1000e250
add esp, 4
test edi, edi
jne 0x100052eb
lea eax, [edi + 1]
pop edi
pop esi
mov ecx, dword [esp + 0x23c]
xor ecx, esp
call fcn.1000eab6
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x1c], 0
jne 0x1000530c
mov eax, 2
pop edi
pop esi
mov ecx, dword [esp + 0x23c]
xor ecx, esp
call fcn.1000eab6
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x24]
test eax, eax
je 0x1000535f
cmp dword [esi + 0x28], 0
jne 0x1000535b
push str._WJRA_CWjraConfig::SwitchSoftApMode_SoftAP__SoftAP_
call fcn.1000e250
mov eax, dword [esi]
mov edx, dword [eax + 0x88]
add esp, 4
push edi
mov ecx, esi
call edx
mov esi, eax
push esi
push str._WJRA____CWjraConfig::SwitchSoftApMode_return__d_n
call fcn.1000e250
add esp, 8
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x23c]
xor ecx, esp
call fcn.1000eab6
mov esp, ebp
pop ebp
ret 4
test eax, eax
jne 0x100053bf
mov eax, dword [esi + 0x4c]
cmp eax, 0x29
jae 0x1000537a
push edi
call fcn.10006380
test eax, eax
je 0x10005580
jmp 0x100055eb
cmp eax, 0x30
jae 0x10005386
push str._WJRA______CWjraConfig::SwitchSoftApMode_Unset__SoftAP_Win_7_
jmp 0x10005394
cmp eax, 0x36
ja 0x10005580
push str._WJRA______CWjraConfig::SwitchSoftApMode_Unset__SoftAP_Win_8_
call fcn.1000e250
mov eax, dword [esi]
mov edx, dword [eax + 0x54]
add esp, 4
mov ecx, esi
call edx
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esi]
mov edx, dword [eax + 0x84]
push edi
mov ecx, esi
call edx
jmp 0x10005580
mov eax, dword [0x100354d8]
mov ecx, dword [eax + 0x13c]
call ecx
test eax, eax
jne 0x100055eb
mov eax, esi
call fcn.10006710
mov eax, dword [esi + 0x4c]
cmp eax, 0x29
jae 0x100053f8
push edi
mov edi, esi
call fcn.100064a0
test eax, eax
je 0x10005580
jmp 0x100055eb
cmp eax, 0x30
jae 0x100054b6
push str._WJRA______CWjraConfig::SwitchSoftApMode_STA__SoftAP_Win7_
call fcn.1000e250
add esp, 4
push 0x220
lea edx, [esp + 0x24]
push 0
push edx
call fcn.10011170
xor eax, eax
sub esp, 8
mov ecx, esp
mov dword [ecx], eax
mov edx, 1
mov dword [ecx + 4], edx
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
mov ecx, dword [0x100354d8]
mov edx, dword [ecx + 0x14c]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x34]
push eax
call edx
cmp dword [esp + 0x54], 0
jne 0x10005464
mov eax, dword [0x100354d8]
mov ecx, dword [eax + 0x2b4]
call ecx
push 0x2b4
call fcn.1000ebfd
add esp, 4
test eax, eax
je 0x1000548b
mov edx, dword [0x100354d8]
mov dword [eax], vtable.CWjraSapWin7Win8.0
mov dword [eax + 4], edx
mov dword [eax + 8], esi
mov ecx, eax
jmp 0x1000548d
xor ecx, ecx
mov dword [esi + 0x58], ecx
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
mov ecx, dword [esi + 0x58]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
push fcn.10005ac0
call edx
mov ecx, dword [esi + 0x58]
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
push edi
call edx
jmp 0x10005579
cmp eax, 0x31
jbe 0x10005580
cmp eax, 0x36
ja 0x10005580
push str._WJRA______CWjraConfig::SwitchSoftApMode_STA__SoftAP_Win8_
call fcn.1000e250
add esp, 4
push 0x220
lea eax, [esp + 0x24]
push 0
push eax
call fcn.10011170
xor eax, eax
sub esp, 8
mov ecx, esp
mov dword [ecx], eax
mov edx, 1
mov dword [ecx + 4], edx
mov edx, dword [0x100354d8]
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x24], eax
mov eax, dword [edx + 0x14c]
push ecx
call eax
cmp dword [esp + 0x54], 0
jne 0x1000552c
mov ecx, dword [0x100354d8]
mov edx, dword [ecx + 0x2b4]
call edx
push 0x2b4
call fcn.1000ebfd
add esp, 4
test eax, eax
je 0x10005553
mov ecx, dword [0x100354d8]
mov dword [eax + 4], ecx
mov dword [eax], vtable.CWjraSapWin7Win8.0
mov dword [eax + 8], esi
mov ecx, eax
jmp 0x10005555
xor ecx, ecx
mov dword [esi + 0x58], ecx
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esi + 0x58]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
push fcn.10005ac0
call eax
mov ecx, dword [esi + 0x58]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
push edi
call eax
test eax, eax
jne 0x10005580
mov dword [esi + 0x28], eax
push esi
call fcn.10006960
push 0
push 0
push esi
push 0x10006a70
push 0
push 0
mov dword [esi + 8], 0
call fcn.1000f1df
add esp, 0x18
mov dword [0x100354c4], eax
test eax, eax
je 0x100055de
mov ecx, dword [0x100354b4]
push ecx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push str._WJRA____CWjraConfig::SwitchSoftApMode_return_WJ_STATUS_SUCCESS_n
call fcn.1000e250
add esp, 4
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x23c]
xor ecx, esp
call fcn.1000eab6
mov esp, ebp
pop ebp
ret 4
push str._WJRA____CWjraConfig::SwitchStaMode_Creat_QueryEventThread_Failed__return_WJ_STATUS_UNKNOWN_ERROR__n
call fcn.1000e250
add esp, 4
mov ecx, dword [esp + 0x244]
pop edi
pop esi
xor ecx, esp
mov eax, 0xc
call fcn.1000eab6
mov esp, ebp
pop ebp
ret 4