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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x56d06c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x20a
lea eax, [ebp - 0x210]
mov esi, ecx
push 0
push eax
call fcn.004e9ab0
add esp, 0xc
lea eax, [ebp - 0x210]
push 0
push 0x25
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x43a2ec
xor al, al
jmp 0x43a2fc
lea eax, [ebp - 0x210]
mov ecx, esi
push eax
call fcn.004199e0
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00471876
mov esp, ebp
pop ebp
ret

Function at 0x43a4d8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x43a533
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x43a524
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, dword [ebp + 8]
lea ecx, [esi + eax]
and edx, 0xf
jbe 0x43a520
cmp esi, ecx
jae 0x43a524
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edx, 1
jne 0x43a50e
cmp esi, ecx
jb 0x43a528
xor eax, eax
jmp 0x43a532
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x43a9f8
Capabilities:
Get file version info

Disassembly:
push 0xc
mov eax, 0x515b6c
call fcn.0047211e
mov ebx, ecx
mov dword [ebp - 0x18], ebx
lea esi, [ebx + 0x34]
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
push 0x34
push eax
mov dword [ebp - 4], eax
push ebx
mov byte [ebx + 0x40], al
call fcn.004e9ab0
add esp, 0xc
push 0
push dword [ebp + 8]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test edi, edi
je 0x43aa7e
push edi
mov ecx, esi
call fcn.00435f63
push dword [esi]
push edi
push 0
push dword [ebp + 8]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x43aa7e
and dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x557874
push dword [esi]
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x43aa7e
mov esi, dword [ebp - 0x14]
mov edi, ebx
push 0xd
pop ecx
rep movsd dword es:[edi], dword [esi]
mov byte [ebx + 0x40], 1
mov eax, ebx
call fcn.004720e7
ret 4
Function at 0x43b5d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x515c8b
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x56d06c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x21c], 0
call fcn.00440780
call fcn.00440250
mov edx, eax
lea ecx, [ebp - 0x224]
lea eax, [ebp - 0x220]
mov dword [ebp - 0x220], edx
push eax
call fcn.0043c620
add esp, 4
lea eax, [ebp - 0x21c]
mov dword [ebp - 4], 0
push eax
push 0
push edx
push dword [ebp + 8]
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderLocation]
test eax, eax
jne 0x43b6c4
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.004e9ab0
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x21c]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x43b6b1
cmp word [ebp - 0x218], 0
jne 0x43b68a
xor ecx, ecx
jmp 0x43b6a2
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43b693
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.0041dd00
push dword [ebp - 0x21c]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov esi, 1
jmp 0x43b6c6
xor esi, esi
mov ecx, dword [ebp - 0x224]
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00471876
mov esp, ebp
pop ebp
ret 8
Function at 0x43c410
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x515e20
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x56d06c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
cmp dword [esi + 0x14], 8
jb 0x43c446
mov eax, dword [esi]
jmp 0x43c448
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43c527
xor eax, eax
mov dword [ebp - 0x14], 7
push 0xffffffffffffffff
push eax
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.0041d980
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
push 0x1a
xor eax, eax
mov dword [ebp - 0x2c], 7
push str.tmp_123abc456def789hij.tmp
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.0041dd00
lea edx, [ebp - 0x40]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.0043a156
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x43c4c5
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.0041e1c0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push 0x80
push 4
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x43c4f2
xor esi, esi
jmp 0x43c510
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, 1
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x43c525
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.0041e1c0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00471876
mov esp, ebp
pop ebp
ret 4

Function at 0x43e8c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov esi, edx
mov dword [ebp - 0xc], 0
mov dword [ebx], eax
cmp dword [ecx + 0x14], 8
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
jb 0x43e8f0
mov ecx, dword [ecx]
push 0x20019
push ecx
push dword [ebp + 0x10]
lea ecx, [ebp - 0xc]
call fcn.0041c5b0
mov edi, dword [ebp - 0xc]
test eax, eax
jne 0x43e939
cmp dword [esi + 0x14], 8
jb 0x43e910
mov esi, dword [esi]
lea eax, [ebp + 8]
mov dword [ebp + 8], 4
push eax
push ebx
lea eax, [ebp + 0xc]
push eax
push 0
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43e939
cmp dword [ebp + 0xc], 4
jne 0x43e939
lea esi, [eax + 1]
jmp 0x43e93b
xor esi, esi
test edi, edi
je 0x43e946
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43e950
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x516338
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x56d06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x24]
mov dword [ebp - 0x24], eax
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 0
cmp eax, ecx
je 0x43e99f
push 0xffffffffffffffff
push 0
push ecx
mov ecx, eax
call fcn.0041d980
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov byte [ebp - 4], 1
cmp dword [edi + 0x14], 8
jb 0x43e9c0
mov edi, dword [edi]
push dword [ebp + 0x28]
lea ecx, [ebp - 0x30]
push edi
push ebx
call fcn.0041c5b0
mov ebx, dword [ebp - 0x30]
test eax, eax
jne 0x43ea90
cmp dword [esi + 0x14], 8
jb 0x43e9e2
mov eax, dword [esi]
jmp 0x43e9e4
mov eax, esi
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push ecx
push 0
lea ecx, [ebp - 0x14]
push ecx
push 0
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43ea90
mov eax, dword [ebp - 0x14]
cmp eax, 1
je 0x43ea14
cmp eax, 2
jne 0x43ea90
mov eax, dword [ebp - 0x10]
shr eax, 1
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
push ecx
inc eax
mov dword [ebp - 0x14], 0
push eax
lea ecx, [ebp - 0x20]
call fcn.0043fce0
cmp dword [esi + 0x14], 8
jb 0x43ea52
mov esi, dword [esi]
mov edi, dword [ebp - 0x20]
lea eax, [ebp - 0x10]
push eax
push edi
push esi
lea ecx, [ebp - 0x30]
call fcn.0043a830
test eax, eax
je 0x43ea6b
xor esi, esi
jmp 0x43ea79
mov ecx, dword [ebp - 0x24]
push edi
call fcn.004199e0
mov esi, 1
test edi, edi
je 0x43ea92
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x20]
sub eax, edi
sar eax, 1
push eax
push edi
call fcn.0041e1c0
jmp 0x43ea92
xor esi, esi
test ebx, ebx
je 0x43ea9d
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0x20]
cmp ecx, 8
jb 0x43eab2
inc ecx
push ecx
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.0041e1c0
mov eax, 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
Function at 0x43ead0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x516368
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x56d06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0
cmp dword [ecx + 0x14], 8
jb 0x43eb1e
mov ecx, dword [ecx]
push 0x20019
push ecx
push dword [ebp + 0xc]
lea ecx, [ebp - 0x24]
call fcn.0041c5b0
mov ebx, dword [ebp - 0x24]
test eax, eax
jne 0x43eba8
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x14], 0
jb 0x43eb47
mov eax, dword [edi]
jmp 0x43eb49
mov eax, edi
lea ecx, [ebp - 0x14]
push ecx
push 0
lea ecx, [ebp - 0x18]
push ecx
push 0
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43eba8
cmp dword [ebp - 0x18], 3
jne 0x43eba8
mov esi, dword [ebp + 8]
mov ecx, esi
mov byte [ebp - 0xd], al
lea eax, [ebp - 0xd]
push eax
mov eax, dword [ebp - 0x14]
inc eax
push eax
call fcn.0043fd70
cmp dword [edi + 0x14], 8
jb 0x43eb85
mov edi, dword [edi]
lea eax, [ebp - 0x14]
push eax
push dword [esi]
lea eax, [ebp - 0x18]
push eax
push 0
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43eba8
cmp dword [ebp - 0x18], 3
jne 0x43eba8
lea esi, [eax + 1]
jmp 0x43ebaa
xor esi, esi
test ebx, ebx
je 0x43ebb5
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 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

Function at 0x43ebd0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [ecx + 0x14], 8
push esi
push edi
mov esi, edx
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
jb 0x43ebf7
mov ecx, dword [ecx]
sub esp, 8
push 0x20006
sub esp, 8
push ecx
push dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
call fcn.0041be20
mov edi, dword [ebp - 0x10]
test eax, eax
jne 0x43ec3e
cmp dword [esi + 0x14], 8
jb 0x43ec1d
mov esi, dword [esi]
mov eax, dword [ebp + 8]
push 4
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 4
push 0
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x43ec3e
lea esi, [eax + 1]
jmp 0x43ec40
xor esi, esi
test edi, edi
je 0x43ec4b
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x43ec60
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [ecx + 0x14], 8
mov eax, dword [ebp + 0x20]
push esi
mov esi, edx
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
jb 0x43ec89
mov ecx, dword [ecx]
push edi
sub esp, 8
push dword [ebp + 0x24]
sub esp, 8
push ecx
push eax
lea ecx, [ebp - 0xc]
call fcn.0041be20
mov edi, dword [ebp - 0xc]
test eax, eax
jne 0x43ecef
cmp dword [ebp + 0x1c], 8
lea edx, [ebp + 8]
cmovae edx, dword [ebp + 8]
cmp dword [esi + 0x14], 8
jb 0x43ecb7
mov esi, dword [esi]
test edx, edx
je 0x43ecef
mov ecx, edx
push ebx
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43ecc1
sub ecx, ebx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop ebx
test eax, eax
jne 0x43ecef
lea esi, [eax + 1]
jmp 0x43ecf1
xor esi, esi
test edi, edi
je 0x43ecfc
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0x1c]
pop edi
cmp ecx, 8
jb 0x43ed12
inc ecx
push ecx
push dword [ebp + 8]
lea ecx, [ebp + 8]
call fcn.0041e1c0
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x43ed20
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [ecx + 0x14], 8
push esi
push edi
mov esi, edx
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
jb 0x43ed47
mov ecx, dword [ecx]
sub esp, 8
push 0x20006
sub esp, 8
push ecx
push dword [ebp + 0xc]
lea ecx, [ebp - 0xc]
call fcn.0041be20
mov edi, dword [ebp - 0xc]
test eax, eax
jne 0x43ed8e
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, ecx
cmp dword [esi + 0x14], 8
jb 0x43ed77
mov esi, dword [esi]
push eax
push ecx
push 3
push 0
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x43ed8e
lea esi, [eax + 1]
jmp 0x43ed90
xor esi, esi
test edi, edi
je 0x43ed9b
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x43faf0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5164b0
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x56d06c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
mov dword [ebp - 4], eax
lea edx, [ebp - 0x58]
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x5c], 0x80000001
push eax
mov ecx, 0x10
call fcn.0043edb0
add esp, 4
cmp dword [esi + 0x14], 8
jb 0x43fb55
mov esi, dword [esi]
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
cmp word [esi], ax
jne 0x43fb72
xor ecx, ecx
jmp 0x43fb86
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43fb77
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x40]
call fcn.0041dd00
mov byte [ebp - 4], 1
lea edx, [ebp - 0x58]
cmp dword [ebp - 0x44], 8
mov dword [ebp - 0x14], 7
cmovae edx, dword [ebp - 0x58]
xor eax, eax
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp word [edx], ax
jne 0x43fbbc
xor ecx, ecx
jmp 0x43fbd0
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43fbc1
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.0041dd00
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0x20006
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x68]
push eax
push dword [ebp - 0x5c]
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
call fcn.0041c5b0
test eax, eax
je 0x43fc21
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x43fc1d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
jmp 0x43fc5a
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
mov esi, dword [ebp - 0x68]
cmovae eax, dword [ebp - 0x40]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x43fc4a
test esi, esi
je 0x43fc1d
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
jmp 0x43fc5a
test esi, esi
je 0x43fc55
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, 1
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x43fc6f
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0041e1c0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
cmp eax, 8
jb 0x43fc98
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.0041e1c0
mov ecx, dword [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
cmp ecx, 8
jb 0x43fcc1
inc ecx
push ecx
push dword [ebp - 0x58]
lea ecx, [ebp - 0x58]
call fcn.0041e1c0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00471876
mov esp, ebp
pop ebp
ret
Function at 0x440020
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x56d06c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0
push 2
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
jne 0x44005a
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00471876
mov esp, ebp
pop ebp
ret
push ebx
push 0x228
lea eax, [ebp - 0x22c]
push 0
push eax
call fcn.004e9ab0
add esp, 0xc
mov dword [ebp - 0x230], 0x22c
lea eax, [ebp - 0x230]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x4400bf
mov ebx, dword [sym.imp.KERNEL32.dll_Process32NextW]
push dword [edi + 0x10]
lea eax, [ebp - 0x20c]
mov ecx, edi
push eax
call fcn.0041e140
push eax
call fcn.004fa343
add esp, 0xc
test eax, eax
je 0x4400d9
lea eax, [ebp - 0x230]
push eax
push esi
call ebx
test eax, eax
jne 0x440093
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00471876
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x228]
xor ecx, ebp
pop ebx
pop edi
pop esi
call fcn.00471876
mov esp, ebp
pop ebp
ret

Function at 0x440100
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5164eb
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x56d06c]
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 ebx, edx
mov esi, ecx
mov dword [ebp - 0x24c], esi
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x240], 0
push 0
push 2
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
jne 0x440191
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
jmp 0x440226
push 0x228
lea eax, [ebp - 0x238]
push 0
push eax
call fcn.004e9ab0
add esp, 0xc
mov dword [ebp - 0x23c], 0x22c
lea eax, [ebp - 0x23c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x440205
push dword [ebx + 0x10]
lea eax, [ebp - 0x218]
mov ecx, ebx
push eax
call fcn.0041e140
push eax
call fcn.004fa343
add esp, 0xc
test eax, eax
jne 0x4401f3
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x248]
call fcn.004409c0
lea eax, [ebp - 0x23c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x4401c3
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x248]
mov dword [esi], eax
mov eax, dword [ebp - 0x244]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x240]
mov dword [esi + 8], eax
mov eax, esi
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.00471876
mov esp, ebp
pop ebp
ret
Function at 0x440570
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x56d06c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0
push 2
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4405aa
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00471876
mov esp, ebp
pop ebp
ret
push ebx
push 0x228
lea eax, [ebp - 0x22c]
push 0
push eax
call fcn.004e9ab0
add esp, 0xc
mov dword [ebp - 0x230], 0x22c
lea eax, [ebp - 0x230]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x4405f9
mov ebx, dword [sym.imp.KERNEL32.dll_Process32NextW]
cmp edi, dword [ebp - 0x228]
je 0x440613
lea eax, [ebp - 0x230]
push eax
push esi
call ebx
test eax, eax
jne 0x4405e3
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00471876
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x218]
xor ecx, ebp
pop ebx
pop edi
pop esi
call fcn.00471876
mov esp, ebp
pop ebp
ret

Function at 0x440640
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x56d06c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
mov esi, ecx
mov dword [ebp - 0x238], 0
push 2
mov ebx, edx
mov dword [ebp - 0x234], esi
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4406cc
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
xor ecx, ecx
mov word [esi], ax
cmp word [0], ax
je 0x4406af
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4406a0
sub ecx, edx
sar ecx, 1
push ecx
push 0
mov ecx, esi
call fcn.0041dd00
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00471876
mov esp, ebp
pop ebp
ret
push 0x228
lea eax, [ebp - 0x22c]
push 0
push eax
call fcn.004e9ab0
add esp, 0xc
mov dword [ebp - 0x230], 0x22c
lea eax, [ebp - 0x230]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x44071a
nop
cmp ebx, dword [ebp - 0x228]
je 0x440740
lea eax, [ebp - 0x230]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x440700
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x555698
mov ecx, esi
call fcn.00419a80
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00471876
mov esp, ebp
pop ebp
ret
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x20c]
push eax
jmp 0x440726
Function at 0x440780
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x40
mov eax, dword [0x56d06c]
xor eax, esp
mov dword [esp + 0x3c], eax
mov eax, dword [0x577914]
test eax, eax
jne 0x440864
lea eax, [esp]
mov dword [esp + 4], 0x10
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x4407ed
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x44085f
mov dword [0x577914], 1
mov eax, 1
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.00471876
mov esp, ebp
pop ebp
ret
lea eax, [esp + 8]
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x440856
mov eax, dword [esp + 8]
xorps xmm0, xmm0
movaps xmmword [esp + 0x10], xmm0
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x18], eax
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x30]
mov dword [esp + 0x14], 1
push eax
push 0x10
lea eax, [esp + 0x1c]
mov dword [esp + 0x28], htons
push eax
push 0
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x440856
mov dword [0x577914], 1
push dword [esp]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x577914]
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.00471876
mov esp, ebp
pop ebp
ret