joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408c80
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor esi, esi
lea eax, [ebp - 4]
push esi
push eax
push esi
push 0x20006
push esi
push esi
push esi
push str.SoftwarePdaNetAndroid
push SysReAllocString
mov edi, edx
mov ebx, ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x408cb8
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push edi
push 1
push 0
push ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
test eax, eax
mov ecx, 1
cmovne esi, ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x408cf0
Capabilities:
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x274
mov eax, dword [0x42e054]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x270]
push esi
push edi
push 0x44
xorps xmm0, xmm0
mov esi, edx
push 0
push eax
mov edi, ecx
movups xmmword [ebp - 0x224], xmm0
call fcn.00410f30
add esp, 0xc
mov dword [ebp - 0x270], 0x44
lea eax, [ebp - 0x210]
test ebx, ebx
je 0x408d50
push ebx
push edi
push str.__s___s
push eax
call fcn.00408690
add esp, 0x10
jmp 0x408d58
push edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x270]
push eax
push 0
push 0
push 0x8000000
push 0
push 0
push 0
lea eax, [ebp - 0x210]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x408d9e
mov eax, 0x334
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040e432
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x408e01
push esi
push dword [ebp - 0x224]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x408dda
push 0
push dword [ebp - 0x224]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, 0x335
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040e432
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x214]
mov dword [ebp - 0x214], 0
push eax
push dword [ebp - 0x224]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [ebp - 0x214]
test eax, eax
jne 0x408e03
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040e432
mov esp, ebp
pop ebp
ret
Function at 0x408e90
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x1c], 0
push esi
mov esi, ecx
jne 0x408eff
mov eax, dword [ebp + 0xc]
cmp eax, 1
jne 0x408ebe
sub esp, 0x10
lea ecx, [esi - 0xc]
call fcn.0040ab50
mov ecx, dword [ebp + 0x18]
pop esi
mov dword [ecx], eax
mov eax, 1
pop ebp
ret 0x18
cmp eax, 0x10
jne 0x408ee1
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp + 0x18]
pop esi
mov dword [eax], 0
mov eax, 1
pop ebp
ret 0x18
cmp eax, 2
jne 0x408f06
lea ecx, [esi - 0xc]
call fcn.00402980
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
xor eax, eax
pop esi
pop ebp
ret 0x18
cmp eax, 5
jne 0x408f29
push dword [ebp + 0x14]
lea ecx, [esi - 0xc]
call fcn.004028d0
mov eax, dword [ebp + 0x18]
pop esi
mov dword [eax], 0
mov eax, 1
pop ebp
ret 0x18
cmp eax, 0x113
jne 0x408f74
push 0
push str.PDAGATEWIN
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
jne 0x408f61
mov eax, dword [esi + 0x68]
test eax, eax
je 0x408f58
push 0
push 0
push 0x8839
push eax
call dword [sym.imp.USER32.dll_PostThreadMessageA]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [ebp + 0x18]
pop esi
mov dword [eax], 0
mov eax, 1
pop ebp
ret 0x18
cmp eax, 0x8838
jne 0x408f9c
push dword [ebp + 0x14]
lea ecx, [esi - 0xc]
push dword [ebp + 0x10]
call fcn.0040b1a0
mov eax, dword [ebp + 0x18]
pop esi
mov dword [eax], 0
mov eax, 1
pop ebp
ret 0x18
cmp eax, 0x87f9
jne 0x408fbd
sub esp, 0x10
lea ecx, [esi - 0xc]
call fcn.0040ad00
mov ecx, dword [ebp + 0x18]
pop esi
mov dword [ecx], eax
mov eax, 1
pop ebp
ret 0x18
cmp eax, 0x883b
jne 0x408fdf
mov edx, dword [ebp + 0x10]
call fcn.00402670
mov eax, dword [ebp + 0x18]
pop esi
mov dword [eax], 0
mov eax, 1
pop ebp
ret 0x18
cmp eax, 0x8834
jne 0x408eff
sub esp, 8
push dword [ebp + 0x10]
push ecx
lea ecx, [esi - 0xc]
call fcn.0040a9e0
mov ecx, dword [ebp + 0x18]
pop esi
mov dword [ecx], eax
mov eax, 1
pop ebp
ret 0x18
Function at 0x4092f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x42e054]
xor eax, esp
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 8]
test eax, eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, 0x428a38
mov dword [esp + 8], ebx
mov edx, esi
mov dword [esp + 0x24], 0xf
cmovne edx, eax
mov dword [esp + 0x20], 0
push edi
mov edi, ecx
mov byte [esp + 0x14], 0
mov ecx, dword [ebp + 0xc]
cmp byte [edx], 0
mov dword [esp + 0x10], ecx
jne 0x409344
xor ecx, ecx
jmp 0x40935d
mov ecx, edx
lea ebx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x409350
sub ecx, ebx
mov ebx, dword [esp + 0xc]
push ecx
push edx
lea ecx, [esp + 0x1c]
call fcn.00407b20
lea eax, [esp + 0x14]
push eax
lea ecx, [edi + 0x44]
call fcn.0040c590
lea ecx, [esp + 0x14]
call fcn.00407a20
mov eax, dword [esp + 0x10]
test eax, eax
mov dword [esp + 0x28], 0xf
cmovne esi, eax
mov dword [esp + 0x24], 0
mov byte [esp + 0x14], 0
cmp byte [esi], 0
jne 0x4093a5
xor ecx, ecx
jmp 0x4093b9
mov ecx, esi
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4093b0
sub ecx, edx
push ecx
push esi
lea ecx, [esp + 0x1c]
call fcn.00407b20
lea eax, [esp + 0x14]
push eax
lea ecx, [edi + 0x5c]
call fcn.0040c590
lea ecx, [esp + 0x14]
call fcn.00407a20
push ebx
mov ecx, edi
call fcn.0040b320
test eax, eax
je 0x40941d
lea esi, [edi + 0x80]
mov dword [esp + 0xc], 2
push esi
lea eax, [esp + 0x10]
push eax
push 0
push 2
call dword [0x4305e8]
test eax, eax
je 0x409433
push eax
call fcn.004069e0
push eax
push str.Your_wireless_adapter_does_not_support_this_capability._OS_d__err_d_n
push ebx
call fcn.00406e90
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0040e432
mov esp, ebp
pop ebp
ret 0xc
call fcn.004069e0
cmp eax, 7
jge 0x409463
push 0x10
mov dword [edi + 0x78], 1
call fcn.0040e670
mov esi, eax
add esp, 4
lea ecx, [esi + 4]
mov dword [esi + 8], 0
mov dword [esi], vtable.CWlanThread.0
push ecx
jmp 0x4094b7
push 0
push dword [esi]
mov dword [edi + 0x78], 3
call dword [0x4305d8]
push 0x38
mov dword [esi], 0
call fcn.0040e670
mov esi, eax
add esp, 4
mov dword [esi + 8], 0
lea eax, [esi + 4]
mov byte [esi + 0xc], 1
mov dword [esi], vtable.CWinRt.0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
push eax
push 0
push esi
push 0x409010
push 0
push 0
mov dword [esp + 0x28], esi
mov byte [esi + 0xc], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [esp + 0x2c]
pop edi
mov dword [esi + 8], eax
mov eax, 1
pop esi
pop ebx
xor ecx, esp
call fcn.0040e432
mov esp, ebp
pop ebp
ret 0xc
Function at 0x40a8f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4211e2
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x42e054]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edx, dword [0x4305c0]
test edx, edx
jne 0x40a950
push 0xac
call fcn.0040e670
add esp, 4
mov dword [ebp - 0x24], eax
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.00409040
mov dword [ebp - 4], 0xffffffff
mov edx, dword [0x4305c0]
mov eax, dword [0x4305c4]
test esi, esi
movaps xmm0, xmmword [0x429aa0]
cmovne eax, esi
movups xmmword [ebp - 0x20], xmm0
cmp dword [edx + 0x10], 0
mov dword [0x4305c4], eax
jne 0x40a9ab
push dword [ebp - 0x24]
lea esi, [edx + 0xc]
lea eax, [esi + 0x20]
push eax
push 0x42ea18
call fcn.004031b0
add esp, 8
movzx eax, ax
push eax
push 0
push 0
push 0x6480080
push str.WlanWin
lea eax, [ebp - 0x20]
push eax
push ecx
mov ecx, esi
call fcn.004034b0
mov edx, dword [0x4305c0]
push 5
push dword [edx + 0x10]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x4305c0]
push dword [eax + 0x10]
call dword [sym.imp.USER32.dll_BringWindowToTop]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040e432
mov esp, ebp
pop ebp
ret
Function at 0x40a9e0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x421228
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push esi
push edi
mov eax, dword [0x42e054]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 0xc]
cmp eax, 1
jne 0x40aa35
push ecx
call fcn.00408940
xor ecx, ecx
call fcn.0040a8f0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp eax, 2
jne 0x40ab01
mov eax, dword [edi + 0x74]
test eax, eax
je 0x40aa55
push 0
push 0
push 0x8839
push eax
call dword [sym.imp.USER32.dll_PostThreadMessageA]
push 0
push 8
push 0x8836
push dword [0x4305c4]
call dword [sym.imp.USER32.dll_PostMessageA]
mov ebx, 2
xor eax, eax
mov word [ebp - 0x20], bx
mov word [ebp - 0x18], ax
push eax
push eax
mov dword [ebp - 4], eax
mov ecx, edi
lea eax, [ebp - 0x20]
push eax
push str.toggleActivation
lea eax, [ebp - 0x50]
push eax
call fcn.0040bfb0
push 0
push dword [edi + 0x10]
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebp - 0x20]
mov dword [ebp - 4], 0xffffffff
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
push eax
call esi
xor eax, eax
lea ecx, [ebp - 0x40]
push str.WiFi_Hotspot_Stopped
mov word [ebp - 0x40], ax
call fcn.00408a20
mov dword [ebp - 4], 1
xor eax, eax
mov word [ebp - 0x30], bx
mov word [ebp - 0x28], ax
push eax
lea eax, [ebp - 0x30]
mov byte [ebp - 4], bl
push eax
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
push str.setStatus
lea eax, [ebp - 0x50]
push eax
call fcn.0040bfb0
lea eax, [ebp - 0x30]
push eax
call esi
lea eax, [ebp - 0x40]
push eax
call esi
jmp 0x40aa1f
cmp eax, 3
jne 0x40ab2a
mov eax, dword [edi + 0x74]
test eax, eax
je 0x40ab1d
push 0
push 0
push 0x8839
push eax
call dword [sym.imp.USER32.dll_PostThreadMessageA]
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x40aa1f
cmp eax, 4
jne 0x40aa1f
mov eax, dword [edi + 0xa8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x40abe0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x29c
mov eax, dword [0x42e054]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x104
lea eax, [ebp - 0x190]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x190]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
push str.PnHelp2.exe
lea eax, [ebp - 0x190]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
push 0x80
lea eax, [ebp - 0x88]
push 0
push eax
call fcn.00410f30
add esp, 0xc
lea eax, [ebp - 0x294]
xor esi, esi
push eax
push 0x20019
push esi
push str.SoftwarePdaNetAndroid
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40aceb
lea eax, [ebp - 0x298]
mov dword [ebp - 0x29c], 1
push eax
lea eax, [ebp - 0x88]
mov dword [ebp - 0x298], 0x100
push eax
lea eax, [ebp - 0x29c]
push eax
push esi
push str.NetCfgInstanceId
push dword [ebp - 0x294]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x294]
test eax, eax
mov ecx, 1
cmove esi, ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x40aceb
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x290]
push str.setName___s_
push eax
call fcn.00408690
add esp, 8
lea eax, [ebp - 0x290]
xor edx, edx
lea ecx, [ebp - 0x190]
push eax
call fcn.00408cf0
add esp, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0040e432
mov esp, ebp
pop ebp
ret
Function at 0x40b1a0
Capabilities:
Create process on windows
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4212f8
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push esi
push edi
mov eax, dword [0x42e054]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 8]
mov esi, 2
cmp edi, 6
je 0x40b1dc
cmp edi, 8
jne 0x40b23c
push 0
push edi
push 0x8836
push dword [0x4305c4]
call dword [sym.imp.USER32.dll_PostMessageA]
xor eax, eax
mov word [ebp - 0x30], si
cmp edi, 6
setne al
dec eax
mov word [ebp - 0x28], ax
push 0
push 0
lea eax, [ebp - 0x30]
mov dword [ebp - 4], 0
push eax
push str.toggleActivation
lea eax, [ebp - 0x50]
mov ecx, ebx
push eax
call fcn.0040bfb0
push 0
push dword [ebx + 0x10]
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov esi, dword [ebp + 0xc]
lea ecx, [ebp - 0x40]
xor eax, eax
push esi
mov word [ebp - 0x40], ax
call fcn.00408a20
mov eax, 2
mov dword [ebp - 4], 1
mov word [ebp - 0x20], ax
xor eax, eax
mov word [ebp - 0x18], ax
mov byte [ebp - 4], 2
cmp edi, 7
jne 0x40b2d8
or eax, 0xffffffff
mov word [ebp - 0x18], ax
mov eax, str.Hotspot_aborted__err0
nop dword [eax]
mov cl, byte [esi]
cmp cl, byte [eax]
jne 0x40b2a0
test cl, cl
je 0x40b29c
mov cl, byte [esi + 1]
cmp cl, byte [eax + 1]
jne 0x40b2a0
add esi, 2
add eax, 2
test cl, cl
jne 0x40b280
xor eax, eax
jmp 0x40b2a5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x40b2d8
call fcn.0040abe0
push 0x40
push str.Verify_Mobile_Hotspot_Settings
push str.Your_Windows_system_has_failed_to_turn_on_the_Mobile_Hotspot_feature.__n_nPlease_select__OK__to_open_Mobile_Hotspot_Settings__then_make_sure_it_can_be_turned_on_over_an_existing_WiFi_or_Ethernet_connection.__n_nTry_to_activate_WiFi_Share_again_if_that_does_not_give_you_any_error.
push dword [ebx + 0x10]
call dword [sym.imp.USER32.dll_MessageBoxA]
push 5
push 0
push 0
push str.ms_settings:network_mobilehotspot
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 0
lea eax, [ebp - 0x20]
mov ecx, ebx
push eax
lea eax, [ebp - 0x40]
push eax
push str.setStatus
lea eax, [ebp - 0x50]
push eax
call fcn.0040bfb0
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x20]
push eax
call esi
lea eax, [ebp - 0x40]
push eax
call esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x40b320
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x42e054]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x7c], 0
jne 0x40b399
push str.Wlanapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [esi + 0x7c], eax
test eax, eax
jne 0x40b399
push 0x33
push str.Windows_XP_SP3_or_above_is_needed_for_this_feature.
lea ecx, [ebp - 0x20]
mov byte [ebp - 0x20], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0xf
call fcn.00407b20
lea eax, [ebp - 0x20]
mov ecx, ebx
push eax
call fcn.0040c590
lea ecx, [ebp - 0x20]
call fcn.00407a20
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0040e432
mov esp, ebp
pop ebp
ret 4
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.WlanOpenHandle
push dword [esi + 0x7c]
call edi
push str.WlanCloseHandle
push dword [esi + 0x7c]
mov dword [0x4305e8], eax
call edi
push str.WlanEnumInterfaces
push dword [esi + 0x7c]
mov dword [0x4305d8], eax
call edi
push str.WlanSetProfile
push dword [esi + 0x7c]
mov dword [0x4305e0], eax
call edi
push str.WlanConnect
push dword [esi + 0x7c]
mov dword [0x430600], eax
call edi
push str.WlanDisconnect
push dword [esi + 0x7c]
mov dword [0x4305f0], eax
call edi
push str.WlanSetInterface
push dword [esi + 0x7c]
mov dword [0x4305f8], eax
call edi
push str.WlanQueryInterface
push dword [esi + 0x7c]
mov dword [0x4305ec], eax
call edi
cmp dword [0x4305e8], 0
mov dword [0x4305e4], eax
jne 0x40b42c
push 0x17
push str.WiFi_libary_not_matched
jmp 0x40b357
call fcn.004069e0
cmp eax, 7
jl 0x40b4a9
push str.WlanHostedNetworkInitSettings
push dword [esi + 0x7c]
call edi
push str.WlanHostedNetworkSetProperty
push dword [esi + 0x7c]
mov dword [0x4305d0], eax
call edi
push str.WlanHostedNetworkSetSecondaryKey
push dword [esi + 0x7c]
mov dword [0x4305f4], eax
call edi
push str.WlanHostedNetworkQueryStatus
push dword [esi + 0x7c]
mov dword [0x4305d4], eax
call edi
push str.WlanHostedNetworkStartUsing
push dword [esi + 0x7c]
mov dword [0x4305dc], eax
call edi
push str.WlanHostedNetworkStopUsing
push dword [esi + 0x7c]
mov dword [0x4305c8], eax
call edi
push str.WlanHostedNetworkForceStop
push dword [esi + 0x7c]
mov dword [0x4305fc], eax
call edi
push str.WlanHostedNetworkQueryProperty
push dword [esi + 0x7c]
mov dword [0x4305cc], eax
call edi
mov ecx, dword [ebp - 8]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040e432
mov esp, ebp
pop ebp
ret 4
Function at 0x40c250
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x420d26
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x42e054]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [0x4305c0]
lea ebx, [edi + 0x34]
push ebx
push 0x427e90
push 3
push 0
push 0x422454
call dword [sym.imp.ole32.dll_CoCreateInstance]
push 0x28
call fcn.0040e670
mov esi, eax
add esp, 4
mov dword [ebp - 0x24], esi
mov dword [ebp - 4], 0
mov dword [esi + 0x20], 0
mov byte [ebp - 4], 1
mov dword [esi], vtable.ATL::CComObject_class_CSite_.0
mov dword [esi + 4], vtable.ATL::CComObject_class_CSite_.2.0
mov dword [esi + 8], vtable.ATL::CComObject_class_CSite_.7.0
mov dword [esi + 0xc], vtable.ATL::CComObject_class_CSite_.6.0
mov dword [esi + 0x10], vtable.ATL::CComObject_class_CSite_.3.0
mov dword [esi + 0x14], vtable.ATL::CComObject_class_CSite_.1.0
mov dword [esi + 0x18], vtable.ATL::CComObject_class_CSite_.4.0
mov dword [esi + 0x1c], vtable.ATL::CComObject_class_CSite_.5.0
mov ecx, dword [0x43063c]
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov dword [edi + 0x40], esi
mov dword [esi + 0x24], edi
mov eax, dword [ebx]
push dword [edi + 0x40]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov ecx, dword [ebx]
lea ebx, [edi + 0x30]
mov esi, dword [ebx]
cmp esi, ecx
je 0x40c342
test ecx, ecx
je 0x40c332
mov eax, dword [ecx]
push ebx
push 0x428000
push ecx
call dword [eax]
test eax, eax
jns 0x40c338
mov dword [ebx], 0
test esi, esi
je 0x40c342
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov ecx, dword [edi + 0x34]
lea ebx, [edi + 0x38]
mov esi, dword [ebx]
cmp esi, ecx
je 0x40c371
test ecx, ecx
je 0x40c361
mov eax, dword [ecx]
push ebx
push 0x4280e4
push ecx
call dword [eax]
test eax, eax
jns 0x40c367
mov dword [ebx], 0
test esi, esi
je 0x40c371
mov eax, dword [esi]
push esi
call dword [eax + 8]
push 0x38
call fcn.0040e670
add esp, 4
mov dword [ebp - 0x24], eax
mov ecx, eax
mov dword [ebp - 4], 2
call fcn.0040d190
mov dword [ebp - 4], 0xffffffff
mov dword [edi + 0x3c], eax
cmp dword [eax + 0x28], 0xfefefefe
lea ecx, [eax + 0x28]
je 0x40c3ac
push 0x80004005
call fcn.004012b0
push ecx
push ecx
mov ecx, dword [edi + 0x30]
mov edx, eax
call fcn.004016b0
mov eax, dword [edi + 0x30]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0xf8]
mov eax, dword [edi + 0x30]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x100]
lea eax, [ebp - 0x20]
push eax
push dword [edi + 0x10]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [edi + 0x34]
lea edx, [ebp - 0x20]
push edx
push dword [edi + 0x10]
mov ecx, dword [eax]
push 0
push dword [edi + 0x40]
push 0
push 0xfffffffffffffffb
push eax
call dword [ecx + 0x2c]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040e432
mov esp, ebp
pop ebp
ret
Function at 0x40d2a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x42e054]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
test esi, esi
je 0x40d309
mov ecx, esi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40d2c0
sub ecx, edx
sar ecx, 1
lea ebx, [ecx + 1]
cmp ebx, 0x3fffffff
jg 0x40d309
add ebx, ebx
mov eax, ebx
call fcn.0040ef30
mov edi, esp
test edi, edi
je 0x40d309
push 0
push 0
push ebx
push edi
push 0xffffffffffffffff
push esi
push 0
push 3
mov byte [edi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov esi, eax
neg esi
sbb esi, esi
and esi, edi
jmp 0x40d30b
xor esi, esi
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
push str.SoftwarePdaNetAndroid
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40d358
lea eax, [ebp - 0xc]
mov dword [ebp - 0x10], 4
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x10]
mov dword [ebp - 0xc], 4
push eax
push 0
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
lea esp, [ebp - 0x1c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040e432
mov esp, ebp
pop ebp
ret 0xc

Function at 0x40d370
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x42e054]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
lea eax, [ebp - 0x104]
push esi
mov esi, dword [ebp + 0xc]
push edi
push 0x100
push 0
push eax
mov dword [ebp - 0x108], ebx
call fcn.00410f30
add esp, 0xc
test esi, esi
je 0x40d402
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40d3b1
sub ecx, edx
sar ecx, 1
lea ebx, [ecx + 1]
cmp ebx, 0x3fffffff
jg 0x40d3fa
add ebx, ebx
mov eax, ebx
call fcn.0040ef30
mov edi, esp
test edi, edi
je 0x40d3fa
push 0
push 0
push ebx
push edi
push 0xffffffffffffffff
push esi
push 0
push 3
mov byte [edi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov esi, eax
neg esi
sbb esi, esi
and esi, edi
jmp 0x40d3fc
xor esi, esi
mov ebx, dword [ebp - 0x108]
lea eax, [ebp - 0x108]
push eax
push 0x20019
push 0
push str.SoftwarePdaNetAndroid
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40d468
lea eax, [ebp - 0x110]
mov dword [ebp - 0x10c], 1
push eax
lea eax, [ebp - 0x104]
mov dword [ebp - 0x110], 0x100
push eax
lea eax, [ebp - 0x10c]
push eax
push 0
push esi
push dword [ebp - 0x108]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x108]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x104]
push eax
lea ecx, [ebp - 0x10c]
call fcn.00408900
mov eax, dword [ebp - 0x10c]
push 0
mov dword [ebx], eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
xor eax, eax
lea esp, [ebp - 0x11c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040e432
mov esp, ebp
pop ebp
ret 0xc
Function at 0x40d9f0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x42e054]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
test esi, esi
je 0x40da59
mov ecx, esi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40da10
sub ecx, edx
sar ecx, 1
lea ebx, [ecx + 1]
cmp ebx, 0x3fffffff
jg 0x40da59
add ebx, ebx
mov eax, ebx
call fcn.0040ef30
mov edi, esp
test edi, edi
je 0x40da59
push 0
push 0
push ebx
push edi
push 0xffffffffffffffff
push esi
push 0
push 3
mov byte [edi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov esi, eax
neg esi
sbb esi, esi
and esi, edi
jmp 0x40da5b
xor esi, esi
mov eax, dword [ebp + 0x10]
push 0
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
push 0
push 0x20006
push 0
push 0
push 0
push str.SoftwarePdaNetAndroid
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x40daa5
push 4
lea eax, [ebp - 0xc]
push eax
push 4
push 0
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
lea esp, [ebp - 0x18]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040e432
mov esp, ebp
pop ebp
ret 0xc