joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45d4e0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x492740]
xor eax, ebp
mov dword [ebp - 0x5c], eax
call fcn.004038a0
mov dword [ebp - 0x34], eax
push 0xa
lea ecx, [ebp - 0x30]
call fcn.004269d9
lea eax, [ebp - 0x30]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x44], esp
lea edx, [ebp + 8]
push edx
call fcn.00401e00
call fcn.0045bc40
add esp, 8
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 3
je 0x45d5cf
lea eax, [ebp + 8]
push eax
push 0x47ef98
lea ecx, [ebp - 0x58]
push ecx
call fcn.004015e0
add esp, 0xc
mov ecx, eax
call fcn.004010f0
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x45d558
mov dword [ebp - 0x60], 0
jmp 0x45d5a7
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x3fffffff
jle 0x45d57a
mov dword [ebp - 0x64], 0
jmp 0x45d5a1
mov eax, dword [ebp - 4]
shl eax, 1
call fcn.00445660
mov dword [ebp - 0x68], esp
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [ebp - 4]
shl ecx, 1
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x68]
push eax
call fcn.00403850
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x60], ecx
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x54], edx
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x50]
call fcn.0043b22c
push 0x48a190
lea ecx, [ebp - 0x50]
push ecx
call fcn.0044193f
lea ecx, [ebp - 0x58]
call fcn.00405400
mov dword [ebp - 0x14], reloc.OLEAUT32.dll_SysReAllocString
push 0x47eff8
push 0
lea ecx, [ebp - 0x30]
call fcn.004269b5
push eax
lea ecx, [ebp - 0x30]
call fcn.004084d0
push eax
call fcn.00403950
add esp, 8
movzx edx, al
test edx, edx
je 0x45d607
mov dword [ebp - 0x14], SysStringLen
jmp 0x45d636
push 0x47f01c
push 0
lea ecx, [ebp - 0x30]
call fcn.004269b5
push eax
lea ecx, [ebp - 0x30]
call fcn.004084d0
push eax
call fcn.00403950
add esp, 8
movzx eax, al
test eax, eax
je 0x45d636
mov dword [ebp - 0x14], SysStringLen
push 1
lea ecx, [ebp - 0x30]
call fcn.004269b5
push eax
lea ecx, [ebp - 0x30]
call fcn.004084d0
push eax
lea ecx, [ebp - 0x10]
call fcn.00401e00
push 2
lea ecx, [ebp - 0x30]
call fcn.004269b5
push eax
lea ecx, [ebp - 0x30]
call fcn.004084d0
push eax
lea ecx, [ebp - 8]
call fcn.00401e00
lea ecx, [ebp - 0x10]
call fcn.00403620
movzx ecx, al
test ecx, ecx
jne 0x45d6cb
lea ecx, [ebp - 8]
call fcn.00403620
movzx edx, al
test edx, edx
jne 0x45d6cb
lea eax, [ebp - 0x40]
push eax
push 0xf003f
push 0
lea ecx, [ebp - 0x10]
call fcn.004010f0
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x45d6cb
lea ecx, [ebp - 8]
call fcn.004010f0
push eax
mov edx, dword [ebp - 0x40]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 8]
call fcn.00405400
lea ecx, [ebp - 0x10]
call fcn.00405400
lea ecx, [ebp - 0x30]
call fcn.00426af0
lea ecx, [ebp + 8]
call fcn.00405400
lea esp, [ebp - 0x68]
mov ecx, dword [ebp - 0x5c]
xor ecx, ebp
call fcn.0043aca7
mov esp, ebp
pop ebp
ret
Function at 0x45fd40
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 4]
call fcn.00401e00
mov dword [ebp - 0xc], 0
lea ecx, [ebp - 8]
call fcn.004038b0
mov dword [ebp - 0x10], 0
jmp 0x45fd73
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0xa
jge 0x45fdbb
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
push 0x47d5d4
lea ecx, [ebp - 8]
push ecx
call fcn.004037a0
add esp, 0x10
push 3
lea ecx, [ebp - 8]
call fcn.004010f0
push eax
lea ecx, [ebp - 4]
call fcn.004010f0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x45fdb9
mov dword [ebp - 0xc], 1
jmp 0x45fdbb
jmp 0x45fd6a
cmp dword [ebp - 0xc], 0
je 0x45fdd4
push 5
push 0
lea ecx, [ebp - 8]
call fcn.004010f0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [ebp - 8]
call fcn.00405400
lea ecx, [ebp - 4]
call fcn.00405400
lea ecx, [ebp + 8]
call fcn.00405400
mov esp, ebp
pop ebp
ret
Function at 0x462bd0
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
call fcn.004038a0
mov dword [ebp - 0xc], eax
lea ecx, [ebp + 8]
call fcn.004010f0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x462c15
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
lea ecx, [ebp + 8]
push ecx
push 0x47e140
push eax
call fcn.004015e0
add esp, 0xc
mov ecx, 0x497300
call fcn.0046acf0
jmp 0x462c3a
cmp dword [0x497428], 6
jb 0x462c3a
push 0
push 0
push 0
lea ecx, [ebp + 8]
call fcn.004010f0
push eax
push 0x47e18c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp + 8]
call fcn.00405400
mov esp, ebp
pop ebp
ret
Function at 0x463010
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea ecx, [ebp + 8]
call fcn.004010f0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp + 8]
call fcn.004010f0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x463042
lea ecx, [ebp + 8]
call fcn.00405400
jmp 0x4630a1
lea ecx, [ebp + 8]
call fcn.004010f0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
and eax, 0xfffffffe
push eax
lea ecx, [ebp + 8]
call fcn.004010f0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [ebp + 8]
call fcn.004010f0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x463099
push ecx
mov ecx, esp
mov dword [ebp - 0xc], esp
lea edx, [ebp + 8]
push edx
call fcn.00401e00
call fcn.0045fd40
add esp, 4
lea ecx, [ebp + 8]
call fcn.00405400
mov esp, ebp
pop ebp
ret
Function at 0x465280
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea ecx, [ebp + 8]
call fcn.004010f0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4652c5
push ecx
mov eax, esp
mov dword [ebp - 4], esp
lea ecx, [ebp + 8]
push ecx
push 0x47d720
push eax
call fcn.004015e0
add esp, 0xc
mov ecx, 0x497300
call fcn.0046acf0
lea ecx, [ebp + 8]
call fcn.00405400
jmp 0x465341
push 0
push 0x47d750
lea ecx, [ebp + 8]
call fcn.00405240
cmp eax, 0xffffffff
je 0x4652e6
lea ecx, [ebp + 8]
call fcn.00401d10
cmp eax, 4
jge 0x465312
push ecx
mov edx, esp
mov dword [ebp - 8], esp
lea eax, [ebp + 8]
push eax
push 0x47d754
push edx
call fcn.004015e0
add esp, 0xc
mov ecx, 0x497300
call fcn.0046acf0
lea ecx, [ebp + 8]
call fcn.00405400
jmp 0x465341
push ecx
mov ecx, esp
mov dword [ebp - 0xc], esp
push 0x47d788
call fcn.00401f90
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
lea edx, [ebp + 8]
push edx
call fcn.00401e00
call fcn.00464ca0
add esp, 8
lea ecx, [ebp + 8]
call fcn.00405400
mov esp, ebp
pop ebp
ret

Function at 0x465350
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47393d
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x492740]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
push 0
mov ecx, dword [ebp - 0x1c]
add ecx, 0x58
push ecx
push 0x464f90
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x497540], eax
lea ecx, [ebp - 0x14]
call fcn.004038b0
mov dword [ebp - 4], 0
mov edx, dword [0x497540]
push edx
push 0x480388
lea eax, [ebp - 0x14]
push eax
call fcn.004037a0
add esp, 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
lea edx, [ebp - 0x14]
push edx
call fcn.00401e00
mov dword [ebp - 0x20], eax
mov ecx, 0x497300
call fcn.0046acf0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00405400
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x465410
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0xc], ecx
push ecx
mov ecx, esp
mov dword [ebp - 8], esp
push 0x4802f8
call fcn.00401f90
mov dword [ebp - 0x10], eax
mov ecx, 0x497300
call fcn.0046acf0
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0
mov ecx, dword [ebp - 0xc]
add ecx, 0x38
push ecx
push 0x464f90
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esp, ebp
pop ebp
ret
Function at 0x465460
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x473960
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x492740]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], ecx
lea ecx, [ebp - 0x14]
call fcn.004038b0
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x497538]
push eax
push 0x4801a0
lea eax, [ebp - 0x14]
push eax
call fcn.004037a0
add esp, 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
lea edx, [ebp - 0x14]
push edx
call fcn.00401e00
mov dword [ebp - 0x24], eax
mov ecx, 0x497300
call fcn.0046acf0
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
push 0
mov ecx, dword [ebp - 0x20]
add ecx, 0x28
push ecx
push 0x464f90
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x49753c], eax
mov edx, dword [0x49753c]
push edx
push 0x480258
lea eax, [ebp - 0x14]
push eax
call fcn.004037a0
add esp, 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
lea edx, [ebp - 0x14]
push edx
call fcn.00401e00
mov dword [ebp - 0x28], eax
mov ecx, 0x497300
call fcn.0046acf0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00405400
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x465560
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x473983
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x492740]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
push 0
mov ecx, dword [ebp - 0x1c]
add ecx, 0x18
push ecx
push 0x464f90
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x497538], eax
lea ecx, [ebp - 0x14]
call fcn.004038b0
mov dword [ebp - 4], 0
mov edx, dword [0x497538]
push edx
push 0x480108
lea eax, [ebp - 0x14]
push eax
call fcn.004037a0
add esp, 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
lea edx, [ebp - 0x14]
push edx
call fcn.00401e00
mov dword [ebp - 0x20], eax
mov ecx, 0x497300
call fcn.0046acf0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00405400
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x465620
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0xc], ecx
push ecx
mov ecx, esp
mov dword [ebp - 8], esp
push 0x480080
call fcn.00401f90
mov dword [ebp - 0x10], eax
mov ecx, 0x497300
call fcn.0046acf0
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0
mov ecx, dword [ebp - 0xc]
add ecx, 0x48
push ecx
push 0x464f90
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esp, ebp
pop ebp
ret
Function at 0x465670
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0xc], ecx
push ecx
mov ecx, esp
mov dword [ebp - 8], esp
push 0x480000
call fcn.00401f90
mov dword [ebp - 0x10], eax
mov ecx, 0x497300
call fcn.0046acf0
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0
mov ecx, dword [ebp - 0xc]
add ecx, 8
push ecx
push 0x464f90
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esp, ebp
pop ebp
ret
Function at 0x469880
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x20], ecx
call fcn.00405dd0
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
push eax
movzx ecx, word [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x4698b4
xor eax, eax
jmp 0x46995a
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4698e0
xor eax, eax
jmp 0x46995a
mov ecx, dword [ebp - 0x14]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.0043c860
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
push 0
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
push 0
mov edx, dword [ebp - 0x18]
push edx
call fcn.00404bf0
add esp, 8
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ecx + 8]
call eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, 1
mov esp, ebp
pop ebp
ret 0xc

Function at 0x469960
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1020
call fcn.0043ddf0
mov eax, dword [0x492740]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x101c], ecx
mov word [ebp - 0x1010], 0
push 0xffe
push 0
lea eax, [ebp - 0x100e]
push eax
call fcn.0043acc0
add esp, 0xc
push 0x481510
mov ecx, dword [ebp - 0x101c]
add ecx, 0xa8
push ecx
lea edx, [ebp - 0x1018]
push edx
call fcn.00401530
add esp, 0xc
mov dword [ebp - 0x1020], eax
mov ecx, dword [ebp - 0x1020]
call fcn.004010f0
push eax
push 0x800
lea eax, [ebp - 0x1010]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesW]
lea ecx, [ebp - 0x1018]
call fcn.00405400
mov dword [ebp - 0x1014], 0
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov ecx, dword [ebp - 4]
lea edx, [ebp + ecx*2 - 0x1010]
push edx
call fcn.0043ad7f
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jle 0x469a3e
mov eax, dword [ebp - 0x1014]
add eax, 1
mov dword [ebp - 0x1014], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
lea eax, [edx + ecx + 1]
mov dword [ebp - 4], eax
jmp 0x469a04
mov eax, dword [ebp - 0x1014]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0043aca7
mov esp, ebp
pop ebp
ret
Function at 0x469a60
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x472975
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x492740]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x260], ecx
mov dword [ebp - 0x25c], 0
lea ecx, [ebp - 0x24c]
call fcn.004038b0
mov dword [ebp - 4], 0
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x244], 0
push 0x228
push 0
lea eax, [ebp - 0x240]
push eax
call fcn.0043acc0
add esp, 0xc
mov dword [ebp - 0x244], 0x22c
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x250], eax
push 0
push 0x40000002
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x254], eax
cmp dword [ebp - 0x254], 0xffffffff
je 0x469b7d
lea ecx, [ebp - 0x244]
push ecx
mov edx, dword [ebp - 0x254]
push edx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x469b7d
mov eax, dword [ebp - 0x23c]
cmp eax, dword [ebp - 0x250]
jne 0x469b59
mov ecx, dword [ebp - 0x22c]
mov dword [ebp - 0x258], ecx
jmp 0x469b70
lea edx, [ebp - 0x244]
push edx
mov eax, dword [ebp - 0x254]
push eax
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x469b3d
mov ecx, dword [ebp - 0x254]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x258], 0
jbe 0x469bfe
push 0
push 0x40000002
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x254], eax
cmp dword [ebp - 0x254], 0xffffffff
je 0x469bfe
lea edx, [ebp - 0x244]
push edx
mov eax, dword [ebp - 0x254]
push eax
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x469bfe
mov ecx, dword [ebp - 0x23c]
cmp ecx, dword [ebp - 0x258]
jne 0x469bda
lea edx, [ebp - 0x220]
push edx
lea ecx, [ebp - 0x24c]
call fcn.00402390
jmp 0x469bf1
lea eax, [ebp - 0x244]
push eax
mov ecx, dword [ebp - 0x254]
push ecx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x469bb8
mov edx, dword [ebp - 0x254]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x24c]
push eax
mov ecx, dword [ebp + 8]
call fcn.00401e00
mov ecx, dword [ebp - 0x25c]
or ecx, 1
mov dword [ebp - 0x25c], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24c]
call fcn.00405400
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043aca7
mov esp, ebp
pop ebp
ret 4
Function at 0x469e80
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4729e8
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x492740]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 0x30]
call fcn.00405330
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x38], 0
lea eax, [ebp - 0x38]
push eax
push 0
call sub.iphlpapi.dll_GetAdaptersInfo
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x469f12
cmp dword [ebp - 0x3c], 0x6f
je 0x469f12
lea ecx, [ebp - 0x30]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00403ed0
mov edx, dword [ebp - 0x40]
or edx, 1
mov dword [ebp - 0x40], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00403f20
mov eax, dword [ebp + 8]
jmp 0x46a047
mov eax, dword [ebp - 0x38]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x469f53
lea ecx, [ebp - 0x30]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00403ed0
mov edx, dword [ebp - 0x40]
or edx, 1
mov dword [ebp - 0x40], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00403f20
mov eax, dword [ebp + 8]
jmp 0x46a047
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call sub.iphlpapi.dll_GetAdaptersInfo
test eax, eax
je 0x469f9a
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp + 8]
call fcn.00403ed0
mov ecx, dword [ebp - 0x40]
or ecx, 1
mov dword [ebp - 0x40], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00403f20
mov eax, dword [ebp + 8]
jmp 0x46a047
lea ecx, [ebp - 0x34]
call fcn.004038b0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + 0x199]
push eax
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + 0x198]
push edx
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax + 0x197]
push ecx
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + 0x196]
push eax
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + 0x195]
push edx
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax + 0x194]
push ecx
push 0x481180
lea edx, [ebp - 0x34]
push edx
call fcn.004058a0
add esp, 0x20
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea ecx, [ebp - 0x34]
call fcn.00405420
push eax
lea ecx, [ebp - 0x30]
call fcn.00405360
lea ecx, [ebp - 0x30]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00403ed0
mov edx, dword [ebp - 0x40]
or edx, 1
mov dword [ebp - 0x40], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.00405400
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00403f20
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0043aca7
mov esp, ebp
pop ebp
ret
Function at 0x46a900
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x472f20
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x492740]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], 0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.004038b0
mov byte [ebp - 4], 2
mov eax, dword [ebp + 0xc]
push eax
push 0x481650
lea ecx, [ebp - 0x10]
push ecx
call fcn.004037a0
add esp, 0xc
lea ecx, [ebp - 0x14]
call fcn.004038b0
mov byte [ebp - 4], 3
lea edx, [ebp - 0x18]
push edx
push 0xf003f
push 0
lea ecx, [ebp - 0x10]
call fcn.004010f0
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x46a9d3
mov dword [ebp - 0x20], 0x208
mov dword [ebp - 0x1c], 1
lea eax, [ebp - 0x20]
push eax
push 0x208
lea ecx, [ebp - 0x14]
call fcn.00401ab0
push eax
lea ecx, [ebp - 0x1c]
push ecx
push 0
lea ecx, [ebp + 0x10]
call fcn.004010f0
push eax
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.00405e00
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00401e00
mov edx, dword [ebp - 0x24]
or edx, 1
mov dword [ebp - 0x24], edx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.00405400
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.00405400
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.00405400
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.00405400
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x46acf0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x472fc4
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x492740]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x28], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x28]
add eax, 0x25c
push eax
call dword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
test eax, eax
je 0x46ae00
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea ecx, [ebp - 0x14]
call fcn.004038b0
mov byte [ebp - 4], 2
mov edx, dword [ebp + 8]
push edx
movzx eax, word [ebp - 0x16]
push eax
movzx ecx, word [ebp - 0x18]
push ecx
movzx edx, word [ebp - 0x1a]
push edx
movzx eax, word [ebp - 0x1c]
push eax
movzx ecx, word [ebp - 0x1e]
push ecx
movzx edx, word [ebp - 0x22]
push edx
movzx eax, word [ebp - 0x24]
push eax
push 0x481130
lea ecx, [ebp - 0x14]
push ecx
call fcn.004037a0
add esp, 0x28
lea ecx, [ebp - 0x14]
call fcn.004010f0
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov edx, dword [ebp - 0x28]
cmp dword [edx + 0x24c], 0xffffffff
je 0x46add5
lea ecx, [ebp - 0x14]
call fcn.00401d10
shl eax, 1
push eax
lea ecx, [ebp - 0x14]
call fcn.004010f0
push eax
mov ecx, dword [ebp - 0x28]
add ecx, 0x248
mov eax, dword [ebp - 0x28]
mov edx, dword [eax + 0x248]
mov eax, dword [edx + 0x38]
call eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.00405400
jmp 0x46ade9
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x28]
add ecx, 0x25c
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00405400
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4