joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43c3b0
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5dae40
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x65f018]
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, ecx
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.005aaec0
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push 0x801c
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x43c5c8
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43c420
mov eax, dword [edi + 0x14]
sub ecx, edx
sar ecx, 1
cmp ecx, eax
ja 0x43c45e
mov ebx, edi
cmp eax, 8
jb 0x43c43f
mov ebx, dword [edi]
lea esi, [ecx + ecx]
mov dword [edi + 0x10], ecx
push esi
lea eax, [ebp - 0x218]
push eax
push ebx
call fcn.005aa940
add esp, 0xc
xor eax, eax
mov word [esi + ebx], ax
jmp 0x43c47a
lea eax, [ebp - 0x218]
mov byte [ebp - 0x234], 0
push eax
push dword [ebp - 0x234]
push ecx
mov ecx, edi
call fcn.0040a010
push ecx
push 0x636280
mov ecx, edi
call fcn.0040cd30
cmp eax, 0xffffffff
jne 0x43c53e
push 0x636280
mov edx, edi
lea ecx, [ebp - 0x230]
call fcn.00412ef0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x230]
cmp dword [ebp - 0x21c], 8
push 0
cmovae eax, dword [ebp - 0x230]
push eax
call fcn.005b51c8
add esp, 0xc
test eax, eax
jne 0x43c4da
push 3
push 0x636280
mov ecx, edi
call fcn.00409590
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x21c]
cmp ecx, 8
jb 0x43c521
mov edx, dword [ebp - 0x230]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x43c517
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43c5e7
push ecx
push edx
call fcn.0058fc74
add esp, 8
xor eax, eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
push 8
push str.Lenovo_
mov ecx, edi
call fcn.00409590
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x43c556
mov eax, dword [edi]
push 0
push eax
call fcn.005b51c8
add esp, 8
test eax, eax
je 0x43c583
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x43c56f
mov eax, dword [edi]
push eax
call fcn.005b601c
add esp, 4
test eax, eax
je 0x43c583
mov eax, 0xfffffffe
jmp 0x43c5cb
push 0xd
push str.batterygauge_
mov ecx, edi
call fcn.00409590
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x43c59b
mov eax, dword [edi]
push 0
push eax
call fcn.005b51c8
add esp, 8
test eax, eax
je 0x43c5c4
cmp dword [edi + 0x14], 8
jb 0x43c5b2
mov edi, dword [edi]
push edi
call fcn.005b601c
add esp, 4
neg eax
sbb eax, eax
and eax, 0xfffffffd
jmp 0x43c5cb
xor eax, eax
jmp 0x43c5cb
or eax, 0xffffffff
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.0058fc43
mov esp, ebp
pop ebp
ret
call fcn.005ae1ee
int3
Function at 0x43c9b0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5daefd
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x65f018]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
xorps xmm0, xmm0
xor eax, eax
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.0043c3b0
test eax, eax
je 0x43ca66
mov ecx, dword [ebp - 0x18]
cmp ecx, 8
jb 0x43ca4a
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x43ca40
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43cb50
push ecx
push edx
call fcn.0058fc74
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0058fc43
mov esp, ebp
pop ebp
ret
push 3
push 0x6362b8
lea ecx, [ebp - 0x2c]
call fcn.00409590
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x2c]
mov edi, dword [ebp - 0x1c]
cmovae ecx, dword [ebp - 0x2c]
mov eax, dword [0x669ac4]
cmp edi, eax
ja 0x43cab7
cmp eax, 8
mov dword [0x669ac0], edi
lea eax, [edi + edi]
mov esi, 0x669ab0
cmovae esi, dword [0x669ab0]
push eax
push ecx
push esi
call fcn.005aa940
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x43caca
push ecx
mov byte [ebp - 0x30], 0
mov ecx, 0x669ab0
push dword [ebp - 0x30]
push edi
call fcn.0040a010
cmp dword [0x669ac4], 8
mov eax, 0x669ab0
push 0
cmovae eax, dword [0x669ab0]
push eax
call fcn.005b51c8
add esp, 8
test eax, eax
je 0x43cb11
call fcn.0043f620
test al, al
je 0x43cb11
cmp dword [0x669ac4], 8
mov eax, 0x669ab0
cmovae eax, dword [0x669ab0]
push eax
call fcn.005b601c
add esp, 4
mov ecx, dword [ebp - 0x18]
cmp ecx, 8
jb 0x43ca4a
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x43ca40
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43cb50
jmp 0x43ca40
call fcn.005ae1ee
int3
Function at 0x43cc60
Capabilities:
Get common file path

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5daf49
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x40
mov eax, dword [0x65f018]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x38], esi
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
push 0x629f50
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x2c], xmm0
call fcn.00409d40
push str.C:ProgramData
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0
call fcn.0040a140
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x669c48]
cmp eax, dword [ecx + 4]
jle 0x43cd54
push 0x669c48
call fcn.0058fdb5
add esp, 4
cmp dword [0x669c48], 0xffffffff
jne 0x43cd54
mov byte [ebp - 4], 1
xorps xmm0, xmm0
push 0
push 0x629f50
mov ecx, 0x669c30
mov dword [0x669c40], 0
movups xmmword [0x669c30], xmm0
mov dword [0x669c44], 0
call fcn.00409d40
push 0x5ebcf0
call fcn.005900c7
push 0x669c48
mov byte [ebp - 4], 0
call fcn.0058fd6b
add esp, 8
mov edi, dword [0x669c40]
test edi, edi
jne 0x43cd96
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], edi
push eax
push edi
push edi
push 0x61b76c
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
jne 0x43cd83
push dword [ebp - 0x30]
mov ecx, 0x669c30
call fcn.0040a140
push dword [ebp - 0x30]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov edi, dword [0x669c40]
test edi, edi
je 0x43cde7
cmp dword [0x669c44], 8
mov ecx, 0x669c30
mov eax, dword [ebp - 0x18]
cmovae ecx, dword [0x669c30]
cmp edi, eax
ja 0x43cdd6
cmp eax, 8
mov dword [ebp - 0x1c], edi
lea eax, [edi + edi]
push eax
lea esi, [ebp - 0x2c]
cmovae esi, dword [ebp - 0x2c]
push ecx
push esi
call fcn.005aa940
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
mov esi, dword [ebp - 0x38]
jmp 0x43cde7
push ecx
mov byte [ebp - 0x38], 0
lea ecx, [ebp - 0x2c]
push dword [ebp - 0x38]
push edi
call fcn.0040a010
push str.LenovoImControllerPlugins_
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x50]
call fcn.00412ef0
add esp, 4
mov ecx, esi
push eax
call fcn.00409360
mov ecx, dword [ebp - 0x3c]
cmp ecx, 8
jb 0x43ce38
mov edx, dword [ebp - 0x50]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x43ce2e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43ce99
push ecx
push edx
call fcn.0058fc74
add esp, 8
cmp dword [esi + 0x10], 0
mov ecx, dword [ebp - 0x18]
setne al
mov byte [ebp - 0x31], al
cmp ecx, 8
jb 0x43ce7b
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x43ce6e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43ce9e
push ecx
push edx
call fcn.0058fc74
mov al, byte [ebp - 0x31]
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0058fc43
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.005ae1ee
call fcn.005ae1ee
int3
Function at 0x43ceb0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5daf7d
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x65f018]
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 byte [ebp - 0x19], dl
mov ebx, ecx
mov dword [ebp - 0x20], ebx
push 0x629f50
mov dword [ebp - 4], 0
call fcn.0040a140
cmp dword [ebp + 0x1c], 8
lea edi, [ebp + 8]
push 0
cmovae edi, dword [ebp + 8]
push edi
call fcn.005b51c8
add esp, 8
test eax, eax
je 0x43cf59
push str.File_not_found
mov ecx, ebx
call fcn.0040a140
xor bl, bl
mov ecx, dword [ebp + 0x1c]
cmp ecx, 8
jb 0x43d02d
mov edx, dword [ebp + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x43d023
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43d04b
jmp 0x43d023
push 0
push edi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebx, eax
test ebx, ebx
je 0x43cf1a
xor ecx, ecx
lea eax, [ebx + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0045101d
mov esi, eax
add esp, 4
test esi, esi
je 0x43cf1a
mov edx, 0x208
mov ecx, esi
mov byte [ecx], 0
lea ecx, [ecx + 1]
sub edx, 1
jne 0x43cf91
push esi
push ebx
push edx
push edi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x43d00b
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0x34
push eax
lea eax, [ebp - 0x18]
push eax
push 0x637260
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x43d00b
mov ecx, dword [ebp - 0x18]
cmp byte [ebp - 0x19], 0
movzx eax, word [ecx + 0xc]
push eax
movzx eax, word [ecx + 0xe]
push eax
movzx eax, word [ecx + 8]
push eax
movzx eax, word [ecx + 0xa]
mov ecx, str._d._d._d._d
push eax
mov eax, str._03d._03d._03d._03d
cmove eax, ecx
push eax
push dword [ebp - 0x14]
push esi
call fcn.00444df0
mov edi, dword [ebp - 0x20]
add esp, 0x1c
mov ecx, edi
push esi
call fcn.0040a140
jmp 0x43d00e
mov edi, dword [ebp - 0x20]
push esi
call fcn.00451026
add esp, 4
cmp dword [edi + 0x10], 0
setne bl
jmp 0x43cf1c
push ecx
push edx
call fcn.0058fc74
add esp, 8
mov al, bl
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.0058fc43
mov esp, ebp
pop ebp
ret
call fcn.005ae1ee
int3
Function at 0x43f060
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x65f018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
mov eax, ecx
mov dword [ebp - 0x208], eax
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, edx
mov dword [esi], 0
test eax, eax
je 0x43f11d
test edi, edi
je 0x43f11d
test ebx, ebx
je 0x43f11d
push 0x200
lea eax, [ebp - 0x204]
push 0
push eax
call fcn.005aaec0
add esp, 0xc
lea eax, [ebp - 0x204]
push ebx
push 0xff
push eax
push 0
push edi
push dword [ebp - 0x208]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test edi, edi
je 0x43f11d
test eax, eax
jne 0x43f11d
lea eax, [ebp - 0x204]
push eax
call fcn.005b45d2
mov dword [esi], eax
add esp, 4
add eax, 0x7fff
cmp eax, 0xfffd
ja 0x43f117
xor eax, eax
test edi, edi
pop edi
pop esi
setg al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058fc43
mov esp, ebp
pop ebp
ret
mov dword [esi], 0
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0058fc43
mov esp, ebp
pop ebp
ret
Function at 0x43f230
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5db280
mov eax, dword fs:[0]
push eax
sub esp, 0x460
mov eax, dword [0x65f018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x468], ecx
push 0x228
lea eax, [ebp - 0x45c]
push 0
push eax
call fcn.005aaec0
add esp, 0xc
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
jne 0x43f291
xor eax, eax
jmp 0x43f421
mov dword [ebp - 0x460], 0x22c
mov dword [ebp - 0x464], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0x24
xorps xmm0, xmm0
mov dword [ebp - 0x46c], eax
push str.C:ProgramDataLenovoVantageAddins
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x224], 0
movups xmmword [ebp - 0x234], xmm0
mov dword [ebp - 0x220], 0
call fcn.00409d40
lea eax, [ebp - 0x460]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x43f3dc
nop dword [eax]
lea eax, [ebp - 0x43c]
push eax
mov eax, dword [ebp - 0x468]
push dword [eax]
call fcn.005b474e
add esp, 8
test eax, eax
jne 0x43f3c6
mov eax, dword [ebp - 0x458]
cmp dword [ebp - 0x46c], eax
je 0x43f3c6
push eax
push 0
push 0x411
mov dword [ebp - 0x464], 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x43f3c0
cmp esi, 0xffffffff
je 0x43f3c0
push 0x20a
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.005aaec0
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0x104
push eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExW]
cmp dword [ebp - 0x220], 8
lea eax, [ebp - 0x234]
push dword [ebp - 0x224]
cmovae eax, dword [ebp - 0x234]
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.005b489e
add esp, 0xc
test eax, eax
jne 0x43f3c0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
jmp 0x43f3c6
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x460]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x43f300
push edi
call esi
mov ecx, dword [ebp - 0x220]
cmp ecx, 8
jb 0x43f41b
mov edx, dword [ebp - 0x234]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x43f411
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43f43c
push ecx
push edx
call fcn.0058fc74
add esp, 8
mov eax, dword [ebp - 0x464]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0058fc43
mov esp, ebp
pop ebp
ret
call fcn.005ae1ee
int3
Function at 0x43f450
Capabilities:
Get system firmware table

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.005905d0
mov eax, dword [0x65f018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0
mov eax, ecx
push 0x629f06
mov dword [ebp - 0x100c], eax
call fcn.00408d30
push 0
push 0
push 0
push 0x52534d42
call dword [sym.imp.KERNEL32.dll_GetSystemFirmwareTable]
mov esi, eax
test esi, esi
je 0x43f519
push 1
push esi
call fcn.005bd164
mov edi, eax
add esp, 8
test edi, edi
je 0x43f519
push esi
push edi
push 0
push 0x52534d42
call dword [sym.imp.KERNEL32.dll_GetSystemFirmwareTable]
test eax, eax
je 0x43f519
cmp esi, eax
jne 0x43f519
push 0x1000
lea eax, [ebp - 0x1004]
push 0
push eax
call fcn.005aaec0
lea edx, [edi + 8]
add esp, 0xc
mov edi, dword [edi + 4]
xor esi, esi
test edi, edi
je 0x43f519
cmp byte [edx], 0
movzx eax, byte [edx + 1]
je 0x43f536
mov ecx, eax
cmp word [ecx + edx], 0
je 0x43f50b
inc ecx
cmp word [ecx + edx], 0
jne 0x43f4f4
add esi, 2
add esi, ecx
inc eax
cmp word [eax + edx], 0
jne 0x43f501
jmp 0x43f510
add esi, 2
add esi, ecx
add edx, 2
add edx, eax
cmp esi, edi
jb 0x43f4e2
mov edi, dword [ebp - 0x100c]
cmp dword [edi + 0x10], 0
mov ecx, dword [ebp - 4]
setne al
xor ecx, ebp
pop edi
pop esi
call fcn.0058fc43
mov esp, ebp
pop ebp
ret
movzx ecx, byte [edx + 5]
add eax, edx
test ecx, ecx
je 0x43f563
cmp byte [eax], 0
je 0x43f563
cmp ecx, 1
je 0x43f565
dec ecx
nop dword [eax + eax]
cmp byte [eax], 0
je 0x43f55b
inc eax
cmp byte [eax], 0
jne 0x43f555
inc eax
sub ecx, 1
jne 0x43f550
jmp 0x43f565
xor eax, eax
push 0x800
lea ecx, [ebp - 0x1004]
push ecx
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, 0x800
lea eax, [ebp - 0x1004]
nop dword [eax]
cmp word [eax], 0
je 0x43f59e
add eax, 2
sub ecx, 1
jne 0x43f590
xor edx, edx
mov eax, 0x80070057
test ecx, ecx
cmovne eax, edx
mov dword [ebp - 0x1008], eax
lea edi, [eax*2 + 4]
push edi
call fcn.0045101d
mov esi, eax
add esp, 4
mov edx, edi
mov ecx, esi
mov byte [ecx], 0
lea ecx, [ecx + 1]
sub edx, 1
jne 0x43f5c6
lea eax, [edi - 2]
push eax
lea eax, [ebp - 0x1004]
push eax
push edi
lea eax, [ebp - 0x1008]
push esi
push eax
call fcn.005bd532
mov ecx, esi
add esp, 0x14
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43f5f2
mov edi, dword [ebp - 0x100c]
sub ecx, edx
push ecx
push esi
mov ecx, edi
call fcn.00408d30
push esi
call fcn.00451026
add esp, 4
jmp 0x43f51f
Function at 0x4457f0
Capabilities:
Create process on windows
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5dba6d
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x65f018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [esi + 0x88], 0
je 0x4459c0
cmp byte [esi + 0x89], 0
jne 0x4459c0
cmp dword [esi + 0x130], 0
lea edi, [esi + 0xe0]
push 0
jne 0x4458b5
mov dword [edi], 0
call fcn.00445b80
push str.Features.Toolbar.PowerInformation
mov edx, 0x629f50
mov ecx, str.Features.Toolbar.PowerInformation.GoToWiFiSecurityPage
call fcn.00424f30
sub esp, 0x14
xorps xmm0, xmm0
mov ecx, esp
push 0x1d
movups xmmword [ecx], xmm0
push str.lenovo_vantage3:wifi_security
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00409d40
call fcn.0041c840
add esp, 0x18
test al, al
je 0x4459c0
push 3
push 0
push 0
push str.lenovo_vantage3:wifi_security
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x4459c0
xor eax, eax
mov dword [ebp - 0x18], 0
cmp dword [edi], eax
lea ecx, [ebp - 0x28]
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
sete al
push 0x629f50
mov dword [edi], eax
movups xmmword [ebp - 0x28], xmm0
call fcn.00409d40
mov dword [ebp - 4], 0
mov eax, dword [edi]
test eax, eax
jne 0x4458f4
push 0x627ab0
jmp 0x445922
cmp eax, 1
jne 0x445900
push str.Green
jmp 0x445922
cmp eax, 2
jne 0x44590c
push str.Yellow
jmp 0x445922
cmp eax, 3
jne 0x445918
push 0x637418
jmp 0x445922
cmp eax, 4
jne 0x44592a
push str.Unconnected
lea ecx, [ebp - 0x28]
call fcn.0040a140
cmp dword [edi], 0
mov ecx, 0x627aa8
mov eax, 0x627ab0
cmovne eax, ecx
lea ecx, [ebp - 0x28]
push eax
call fcn.0040a140
push dword [edi]
mov ecx, esi
call fcn.00445b80
push 0
push 0
push edi
push 0x4459f0
push 0
push 0
call fcn.005ae60d
add esp, 0x18
test eax, eax
je 0x44596d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x14], 8
lea edx, [ebp - 0x28]
push str.Features.Toolbar.QuickSettings
cmovae edx, dword [ebp - 0x28]
mov ecx, str.Features.Toolbar.QuickSettings.WiFiSecurityEnable
call fcn.00424f30
mov ecx, dword [ebp - 0x14]
add esp, 4
cmp ecx, 8
jb 0x4459c0
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4459b6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4459db
push ecx
push edx
call fcn.0058fc74
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0058fc43
mov esp, ebp
pop ebp
ret
call fcn.005ae1ee
int3
Function at 0x446c70
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5dbb45
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x65f018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.0044712b
mov ecx, eax
test ecx, ecx
je 0x446e5d
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov eax, str.C:ProgramData
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
test eax, 0xffff0000
jne 0x446cd5
movzx eax, ax
push eax
call fcn.00403100
jmp 0x446ce1
push 0xe
push str.C:ProgramData
call fcn.00403300
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 1
push eax
push 0
push 0
push 0x61b76c
mov dword [ebp - 0x24], 0
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
jne 0x446d2f
mov edx, dword [ebp - 0x24]
test edx, edx
jne 0x446d11
xor ecx, ecx
jmp 0x446d25
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x446d16
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x14]
call fcn.00403300
push dword [ebp - 0x24]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
push str.LenovoVantageAddinsLenovoSecurityAddinAddinManifest.xml
lea eax, [ebp - 0x14]
mov dword [ebp - 0x20], 0
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00402c50
push str.LenovoImControllerPluginsLenovoWiFiSecurityPluginx86LenovoWiFiSecurityPlugin.dll
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push eax
call fcn.00402c50
push str.LenovoImControllerPluginsLenovoWiFiSecurityPluginx64LenovoWiFiSecurityPlugin.dll
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
call fcn.00402c50
push 0
push dword [ebp - 0x20]
call fcn.005b51c8
add esp, 0x2c
test eax, eax
jne 0x446da0
xor bl, bl
jmp 0x446dc8
push 0
push dword [ebp - 0x1c]
call fcn.005b51c8
add esp, 8
test eax, eax
je 0x446dc6
push 0
push dword [ebp - 0x18]
call fcn.005b51c8
add esp, 8
test eax, eax
je 0x446dc6
xor bl, bl
jmp 0x446dc8
mov bl, 1
mov edx, dword [ebp - 0x18]
or esi, 0xffffffff
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x446de5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov eax, esi
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x446e03
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, esi
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x446e21
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x446e40
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0058fc43
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00403700
int3