joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49da30
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
lea ecx, [ebp - 4]
call fcn.00401520
push 0x104
push 0x104
lea ecx, [ebp - 4]
call fcn.00401840
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0xffffffffffffffff
lea ecx, [ebp - 4]
call fcn.00401890
push 0x5c
lea ecx, [ebp - 4]
call fcn.00401680
add eax, 1
push eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 4]
call fcn.00401720
push eax
lea ecx, [ebp - 4]
call fcn.004015a0
lea ecx, [ebp - 0x10]
call fcn.00401580
push str.LenovoLockerConfig
lea ecx, [ebp - 4]
call fcn.004015e0
push 0x4b8b7c
lea ecx, [ebp - 4]
call fcn.004015e0
lea ecx, [ebp - 4]
call fcn.004017d0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
cmp eax, 1
je 0x49db6f
lea ecx, [ebp - 0xc]
call fcn.00401520
mov ecx, dword [ebp - 4]
push ecx
push str.cmd.exe__c_mkdir__s
lea edx, [ebp - 0xc]
push edx
call fcn.004024e0
add esp, 0xc
push ecx
mov ecx, esp
lea eax, [ebp - 0xc]
push eax
call fcn.004018e0
call fcn.0049d500
add esp, 4
test eax, eax
jne 0x49db11
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0xc]
call fcn.00401580
lea ecx, [ebp - 4]
call fcn.00401580
mov eax, dword [ebp - 0x18]
jmp 0x49db81
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp - 4]
call fcn.004017d0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
and ecx, 2
jne 0x49db4c
mov edx, dword [ebp - 8]
or edx, 2
push edx
lea ecx, [ebp - 4]
call fcn.004017d0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push str.xxxxxx_lenovo
lea ecx, [ebp - 4]
call fcn.004015e0
lea eax, [ebp - 4]
push eax
mov ecx, 0x4ef020
call fcn.004015a0
lea ecx, [ebp - 0xc]
call fcn.00401580
mov dword [ebp - 0x1c], 1
lea ecx, [ebp - 4]
call fcn.00401580
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret

Function at 0x49dc40
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0x400
push 0x400
push 0
lea eax, [ebp - 0x410]
push eax
call fcn.00469be0
add esp, 0xc
mov dword [ebp - 0xc], 0
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x49dc96
mov eax, dword [ebp - 0xc]
jmp 0x49dd08
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x410]
push edx
lea eax, [ebp + 0x14]
push eax
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x414], eax
cmp dword [ebp - 0x414], 0
jne 0x49dcfb
mov dword [ebp - 0xc], 1
cmp dword [ebp + 0x14], 4
jne 0x49dcec
movzx eax, byte [ebp - 0x410]
push eax
push 0x4b8b2c
mov ecx, dword [ebp + 0x18]
push ecx
call fcn.004024e0
add esp, 0xc
jmp 0x49dcfb
lea edx, [ebp - 0x410]
push edx
mov ecx, dword [ebp + 0x18]
call fcn.004026a0
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x49dd10
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x4b8a2f
mov ecx, dword [ebp + 8]
call fcn.004015c0
cmp dword [ebp + 0xc], 0
jle 0x49dd31
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
jmp 0x49dd39
call fcn.00425cd0
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], ecx
push 0
mov ecx, 0x4ef020
call fcn.00401820
push eax
call fcn.00425dd0
add esp, 4
test eax, eax
je 0x49dd7b
mov edx, dword [ebp - 4]
sub edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
add eax, 0x61
push eax
push 0x4b8b24
mov ecx, dword [ebp + 8]
push ecx
call fcn.004024e0
add esp, 0xc
jmp 0x49dd93
mov edx, dword [ebp - 4]
add edx, 0x60
push edx
push 0x4b8b24
mov eax, dword [ebp + 8]
push eax
call fcn.004024e0
add esp, 0xc
mov ecx, dword [ebp + 8]
call fcn.004016d0
mov esp, ebp
pop ebp
ret

Function at 0x49dda0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x178
call fcn.00425cd0
mov dword [ebp - 0x164], eax
mov eax, dword [ebp - 0x164]
sub eax, 1
mov dword [ebp - 0x164], eax
movsx ecx, byte [ebp + 8]
push ecx
push str._c:_
lea edx, [ebp - 0x2c]
push edx
call fcn.0046c85c
add esp, 0xc
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
movsx ecx, byte [ebp + 8]
push ecx
push str.__c:
lea edx, [ebp - 0x160]
push edx
call fcn.0046c85c
add esp, 0xc
push 0
push 0
push 3
push 0
push 3
push SysReAllocStringLen
lea eax, [ebp - 0x160]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x49df19
push 0x227
call fcn.0046b8bb
add esp, 4
mov dword [ebp - 0x16c], eax
mov ecx, dword [ebp - 0x16c]
mov dword [ebp - 0x168], ecx
mov edx, dword [ebp - 0x168]
mov dword [edx + 4], 0x227
mov eax, dword [ebp - 0x168]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.0049d030
add esp, 8
test eax, eax
je 0x49def4
mov edx, dword [ebp - 0x168]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x168]
cmp dword [eax + 0xc], 0
je 0x49de95
mov ecx, dword [ebp - 0x168]
mov edx, dword [ebp - 4]
add edx, dword [ecx + 0xc]
mov dword [ebp - 0x174], edx
jmp 0x49de9f
mov dword [ebp - 0x174], str._NULL_
mov eax, dword [ebp - 0x174]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.004015c0
push 0x4b8b20
mov ecx, dword [ebp + 0xc]
call fcn.004015e0
mov ecx, dword [ebp - 0x168]
cmp dword [ecx + 0x10], 0
je 0x49dedb
mov edx, dword [ebp - 0x168]
mov eax, dword [ebp - 4]
add eax, dword [edx + 0x10]
mov dword [ebp - 0x178], eax
jmp 0x49dee5
mov dword [ebp - 0x178], str._NULL_
mov ecx, dword [ebp - 0x178]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.004015e0
mov edx, dword [ebp - 0x168]
mov dword [ebp - 0x170], edx
mov eax, dword [ebp - 0x170]
push eax
call fcn.00469bc3
add esp, 4
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret
Function at 0x49df20
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov dword [ebp - 4], 0xff
mov eax, dword [ebp - 4]
push eax
lea ecx, [ebp - 0x108]
push ecx
push 0
push 0
push 0
push 0
push 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
jne 0x49df59
xor eax, eax
jmp 0x49df7a
lea eax, [ebp - 0x108]
push eax
push 0x4b8938
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004024e0
add esp, 0xc
mov eax, 1
jmp 0x49df7a
mov esp, ebp
pop ebp
ret

Function at 0x49df80
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
push 0
lea eax, [ebp - 0x11c]
push eax
call fcn.0049d5e0
add esp, 8
push 0
lea ecx, [ebp - 0x11c]
call fcn.00401820
push eax
lea ecx, [ebp - 0x118]
push ecx
call fcn.0046ccc0
add esp, 8
call fcn.00425cd0
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x49dff4
mov dword [ebp - 0xc], 0xfffffffe
mov dword [ebp - 0x120], 0xffffffff
lea ecx, [ebp - 0x11c]
call fcn.00401580
lea ecx, [ebp + 0xc]
call fcn.00401580
mov eax, dword [ebp - 0x120]
jmp 0x49e10f
mov byte [0x4eeff8], 0
mov byte [0x4eeffa], 0
mov dword [0x4ea620], 0
mov dword [0x4ea624], 0
mov dword [0x4ea628], 0
mov dword [0x4ea62c], 1
mov dword [0x4ea680], 0
mov dword [0x4ea634], 0
lea ecx, [ebp + 0xc]
call fcn.00401b00
mov dword [0x4c6100], eax
lea ecx, [ebp + 0xc]
call fcn.00401b00
push eax
push 0
lea ecx, [ebp + 0xc]
call fcn.00401820
push eax
push 0x4c6104
call fcn.00469d40
add esp, 0xc
lea ecx, [ebp + 0xc]
call fcn.00401b00
mov byte [eax + 0x4c6104], 0
push 0x4ea620
movzx edx, byte [0x4eeffa]
push edx
movzx eax, byte [0x4eeff8]
push eax
lea ecx, [ebp - 0x118]
push ecx
push 0x4c6100
mov edx, dword [ebp - 0xc]
push edx
lea eax, [ebp - 0x118]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0049d230
add esp, 0x20
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0xc]
add edx, 0x41
mov byte [ebp - 4], dl
mov byte [ebp - 3], 0x3a
mov byte [ebp - 2], 0x5c
mov byte [ebp - 1], 0
push 0
mov ecx, 0x4ef010
call fcn.00401820
push eax
lea eax, [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_SetVolumeLabelA]
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov edx, dword [ebp + 0x10]
mov dword [edx], ecx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x124], eax
lea ecx, [ebp - 0x11c]
call fcn.00401580
lea ecx, [ebp + 0xc]
call fcn.00401580
mov eax, dword [ebp - 0x124]
mov esp, ebp
pop ebp
ret
Function at 0x49e1f0
Capabilities:
Check for time delay via gettickcount
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0
mov ecx, 0x4ef020
call fcn.00401820
push eax
call fcn.00425dd0
add esp, 4
test eax, eax
je 0x49e224
mov eax, dword [0x4c5958]
push eax
mov ecx, dword [0x4ef008]
push ecx
call fcn.0049d370
add esp, 8
push 0x4c5958
push ecx
mov ecx, esp
lea edx, [ebp + 8]
push edx
call fcn.004018e0
mov eax, dword [0x4ef008]
push eax
call fcn.0049df80
add esp, 0xc
test eax, eax
jge 0x49e25e
mov dword [ebp - 0x10], 7
lea ecx, [ebp + 8]
call fcn.00401580
mov eax, dword [ebp - 0x10]
jmp 0x49e30a
lea ecx, [ebp + 8]
push ecx
mov ecx, 0x4ef024
call fcn.004015a0
cmp dword [ebp + 0xc], 0
je 0x49e2f8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 8], eax
lea ecx, [ebp - 4]
call fcn.00401520
mov edx, dword [0x4c5958]
push edx
lea eax, [ebp - 4]
push eax
call fcn.0049dd10
add esp, 8
mov ecx, 1
test ecx, ecx
je 0x49e2d4
lea ecx, [ebp - 4]
call fcn.004017d0
push eax
call fcn.0049cfe0
add esp, 4
test eax, eax
jne 0x49e2c8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 8]
cmp eax, 0x1388
jb 0x49e2ca
jmp 0x49e2d4
push 3
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x49e29a
push 3
push 0
push 0
lea ecx, [ebp - 4]
call fcn.004017d0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [ebp - 4]
call fcn.00401580
mov dword [ebp - 0x14], 0
lea ecx, [ebp + 8]
call fcn.00401580
mov eax, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret
Function at 0x49eae0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 0x28], 0
cmp dword [ebp + 8], 0
je 0x49eb22
or dword [ebp - 0x28], 1
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x14]
call fcn.00401540
mov ecx, eax
call fcn.004017d0
push eax
mov ecx, 0x4ef014
call fcn.00401600
test eax, eax
je 0x49eb22
mov dword [ebp - 0x2c], 0
jmp 0x49eb29
mov dword [ebp - 0x2c], 1
mov cl, byte [ebp - 0x2c]
mov byte [ebp - 0xd], cl
mov edx, dword [ebp - 0x28]
and edx, 1
je 0x49eb43
and dword [ebp - 0x28], 0xfffffffe
lea ecx, [ebp - 0x14]
call fcn.00401580
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x49eb52
xor eax, eax
jmp 0x49ec85
call fcn.0049da30
lea ecx, [ebp - 4]
call fcn.00401520
push 0x104
push 0x104
lea ecx, [ebp - 4]
call fcn.00401840
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0xffffffffffffffff
lea ecx, [ebp - 4]
call fcn.00401890
push 0x5c
lea ecx, [ebp - 4]
call fcn.00401680
add eax, 1
push eax
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 4]
call fcn.00401720
push eax
lea ecx, [ebp - 4]
call fcn.004015a0
lea ecx, [ebp - 0x18]
call fcn.00401580
push str.LenovoLockerConfig
lea ecx, [ebp - 4]
call fcn.004015e0
push 0x4b8b7c
lea ecx, [ebp - 4]
call fcn.004015e0
push str.xxxxxx_lenovo.dat
lea ecx, [ebp - 4]
call fcn.004015e0
push 0
push 0
push 4
push 0
push 0
push 0xc0000000
lea ecx, [ebp - 4]
call fcn.004017d0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x49ec11
mov dword [ebp - 0x1c], 0x12
lea ecx, [ebp - 4]
call fcn.00401580
mov eax, dword [ebp - 0x1c]
jmp 0x49ec85
mov dword [ebp - 0xc], 0
push 0
lea edx, [ebp - 0xc]
push edx
push 0x400
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x49ec69
mov edx, dword [ebp + 8]
push edx
push 0x4b8938
push 0x4ef014
call fcn.004024e0
add esp, 0xc
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 4]
call fcn.00401580
mov eax, dword [ebp - 0x20]
jmp 0x49ec85
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x24], 0x12
lea ecx, [ebp - 4]
call fcn.00401580
mov eax, dword [ebp - 0x24]
mov esp, ebp
pop ebp
ret
Function at 0x49ec90
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
lea ecx, [ebp - 4]
call fcn.00401520
push 0x104
push 0x104
lea ecx, [ebp - 4]
call fcn.00401840
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0xffffffffffffffff
lea ecx, [ebp - 4]
call fcn.00401890
lea ecx, [ebp - 8]
call fcn.00401520
lea eax, [ebp - 8]
push eax
push 2
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 4]
call fcn.00401720
mov ecx, eax
call fcn.004017d0
push eax
call fcn.0049df20
add esp, 8
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x14]
call fcn.00401580
cmp dword [ebp - 0x10], 0
je 0x49ed76
push 0x4b8ba4
lea ecx, [ebp - 8]
call fcn.00401650
test eax, eax
jl 0x49ed76
lea ecx, [ebp - 0xc]
call fcn.00401520
push 2
lea edx, [ebp - 0x18]
push edx
lea ecx, [ebp - 4]
call fcn.00401720
mov eax, dword [eax]
push eax
push str.cmd.exe__c_convert__s__FS:NTFS__X
lea ecx, [ebp - 0xc]
push ecx
call fcn.004024e0
add esp, 0xc
lea ecx, [ebp - 0x18]
call fcn.00401580
push 5
lea ecx, [ebp - 0xc]
call fcn.004017d0
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
mov dword [ebp - 0x1c], 1
lea ecx, [ebp - 0xc]
call fcn.00401580
lea ecx, [ebp - 8]
call fcn.00401580
lea ecx, [ebp - 4]
call fcn.00401580
mov eax, dword [ebp - 0x1c]
jmp 0x49ed90
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 8]
call fcn.00401580
lea ecx, [ebp - 4]
call fcn.00401580
mov eax, dword [ebp - 0x20]
mov esp, ebp
pop ebp
ret

Function at 0x49f040
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push eax
push 0
push 0x49eda0
call fcn.0046cc01
add esp, 0xc
xor eax, eax
pop ebp
ret
Function at 0x49f060
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
push 1
lea ecx, [ebp - 0x24]
push ecx
call fcn.0049d5e0
add esp, 8
lea ecx, [ebp - 0x24]
call fcn.004017d0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
cmp eax, 1
jne 0x49f0e8
lea ecx, [ebp - 0x28]
call fcn.00401520
mov edx, dword [0x4c5958]
push edx
lea eax, [ebp - 0x28]
push eax
call fcn.0049dd10
add esp, 8
lea ecx, [ebp - 0x20]
push ecx
push 0
lea ecx, [ebp - 0x28]
call fcn.00401820
push eax
call fcn.0049cf30
add esp, 8
lea ecx, [ebp - 0x28]
call fcn.00401580
fild qword [ebp - 0x20]
fdiv qword [0x4b8cf0]
fdiv qword [0x4b8cf0]
fstp dword [ebp - 4]
push ecx
fld dword [ebp - 4]
fstp dword [esp]
call fcn.0049cf90
add esp, 4
mov edx, dword [ebp + 8]
mov dword [edx], eax
push 0
push 0x400
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0046d2c0
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edx
fild qword [ebp - 0x34]
fdiv qword [0x4b8cf0]
fstp dword [ebp - 4]
push ecx
fld dword [ebp - 4]
fstp dword [esp]
call fcn.0049cf90
add esp, 4
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
push 0
push 0x400
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.0046d2c0
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], edx
fild qword [ebp - 0x3c]
fdiv qword [0x4b8cf0]
fstp dword [ebp - 4]
push ecx
fld dword [ebp - 4]
fstp dword [esp]
call fcn.0049cf90
add esp, 4
mov edx, dword [ebp + 0x10]
mov dword [edx], eax
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jge 0x49f193
mov dword [ebp - 0x40], 0
jmp 0x49f19b
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov dword [ebp - 0x40], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x40]
mov dword [eax], ecx
mov edx, dword [ebp + 0xc]
cmp dword [edx], 0
jge 0x49f1b4
mov dword [ebp - 0x44], 0
jmp 0x49f1bc
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x44]
mov dword [edx], eax
mov ecx, dword [ebp + 0x10]
cmp dword [ecx], 0
jge 0x49f1d5
mov dword [ebp - 0x48], 0
jmp 0x49f1dd
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x48]
mov dword [ecx], edx
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x24]
call fcn.00401580
mov eax, dword [ebp - 0x2c]
mov esp, ebp
pop ebp
ret
Function at 0x49f390
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50c
mov dword [ebp - 0x504], 1
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
call fcn.004273b0
push ecx
mov ecx, esp
push str.USBVID_17EF
call fcn.00401540
call fcn.0049f200
add esp, 4
test eax, eax
jne 0x49f3da
cmp dword [ebp - 0x504], 0
je 0x49f3da
mov dword [ebp - 0x504], 0
push str.LenovoLockerConfig
mov ecx, 0x4ef020
call fcn.004015e0
push 0x4b8b7c
mov ecx, 0x4ef020
call fcn.004015e0
push str.xxxxxx_lenovo
mov ecx, 0x4ef020
call fcn.004015e0
push 0xff
lea eax, [ebp - 0x400]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [ebp - 0x400]
push ecx
push str._sLxUDisk01.sys
lea edx, [ebp - 0x100]
push edx
call fcn.0046c85c
add esp, 0xc
lea eax, [ebp - 0x400]
push eax
push str._sLxUDisk64.sys
lea ecx, [ebp - 0x500]
push ecx
call fcn.0046c85c
add esp, 0xc
lea edx, [ebp - 0x400]
push edx
push str._smsvcr80.dll
lea eax, [ebp - 0x200]
push eax
call fcn.0046c85c
add esp, 0xc
lea ecx, [ebp - 0x400]
push ecx
push str._smsvcp80.dll
lea edx, [ebp - 0x300]
push edx
call fcn.0046c85c
add esp, 0xc
call fcn.004273b0
test eax, eax
je 0x49f4af
lea eax, [ebp - 0x500]
push eax
push 0x4b8ccc
mov ecx, 0x4ef01c
call fcn.004017d0
push eax
call fcn.0049d160
add esp, 0xc
jmp 0x49f4ce
lea ecx, [ebp - 0x100]
push ecx
push 0x4b8ccc
mov ecx, 0x4ef02c
call fcn.004017d0
push eax
call fcn.0049d160
add esp, 0xc
push 0
mov edx, dword [0x4eeffc]
push edx
call fcn.00436c20
add esp, 8
call fcn.0042e770
mov dword [ebp - 0x508], eax
cmp dword [ebp - 0x508], 0
je 0x49f506
cmp dword [ebp - 0x504], 0
je 0x49f506
mov dword [ebp - 0x504], 0
mov eax, dword [ebp - 0x504]
mov esp, ebp
pop ebp
ret
Function at 0x413770
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x49db9b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004920a8
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4137f2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0048f9d0
mov eax, dword [eax]
push 0x713230
push eax
call fcn.00481c04
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00492333
test bl, bl
je 0x4137f2
push 0x713230
lea ecx, [esp + 0xc]
call fcn.004926c3
push 0x716dac
lea ecx, [esp + 0xc]
call fcn.004926c3
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x41382e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00492333
jmp 0x4138f9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x4138b2
lea edx, [esp + 0x7c]
push 0x716da8
push edx
call fcn.00481c04
add esp, 8
test eax, eax
je 0x4138b2
lea eax, [esp + 0x7c]
push 0x716da4
push eax
call fcn.00481c04
add esp, 8
test eax, eax
je 0x4138b2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x413842
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.00492333
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x4140f0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x414152
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x414160
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x49dc1b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x724b78]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x414298
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4141c6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00492333
xor eax, eax
jmp 0x41430f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00492470
push esi
lea ecx, [esp + 0xc]
call fcn.004926ff
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x716de4
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x4142ed
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push 0x716ddc
push 0x80000000
call fcn.004140f0
test eax, eax
jne 0x4142ed
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push 0x716dc8
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push 0x80000000
mov ecx, edi
call fcn.004140f0
test eax, eax
jne 0x4142ed
lea eax, [esp + 0x14]
push 0x716dc0
push eax
call fcn.00482c40
mov esi, eax
add esp, 8
test esi, esi
jne 0x4142cc
lea ecx, [esp + 0x14]
push 0x716dbc
push ecx
call fcn.00482bc0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4142cc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x4142cf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00492420
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4141de
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00492333
xor eax, eax
jmp 0x41430f
mov byte [esi], 0
push 0x716db8
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.00492333
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4