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

Disassembly:
push ebx
add esp, 0xfffffef8
mov ebx, eax
push esp
push 0x104
call sub.kernel32.dll_GetTempPathA
mov edx, ebx
mov eax, esp
call fcn.00409f94
add esp, 0x108
pop ebx
ret

Function at 0x457bec
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405754
mov eax, dword [ebp - 8]
call fcn.00405754
xor eax, eax
push ebp
push 0x457c8e
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, dword [ebp - 8]
test eax, eax
je 0x457c27
sub eax, 4
mov eax, dword [eax]
mov esi, eax
push 0
push 0x80
push 2
push 0
push 2
push 0x40000000
mov eax, dword [ebp - 4]
call fcn.00405764
push eax
call sub.kernel32.dll_CreateFileA_1
mov edi, eax
cmp edi, 0xffffffff
je 0x457c73
push 0
lea eax, [ebp - 0xc]
push eax
push esi
lea eax, [ebp - 8]
call fcn.004057c4
push eax
push edi
call sub.kernel32.dll_WriteFile_1
push edi
call sub.kernel32.dll_CloseHandle_1
cmp esi, dword [ebp - 0xc]
jne 0x457c73
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x457c95
lea eax, [ebp - 8]
mov edx, 2
call fcn.004052dc
ret

Function at 0x457ca0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405754
mov eax, dword [ebp - 8]
call fcn.00405754
xor eax, eax
push ebp
push 0x457d4e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
call fcn.00457bc4
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 0xc]
mov ecx, 0x457d64
call fcn.004055ec
cmp dword [ebp - 4], 0
je 0x457d33
lea eax, [ebp - 0x14]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
call fcn.004055ec
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
call fcn.00457bec
test al, al
je 0x457d33
push 1
push 0
push 0
lea eax, [ebp - 0x18]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
call fcn.004055ec
mov eax, dword [ebp - 0x18]
call fcn.00405764
push eax
push 0x457d6c
push 0
call sub.shell32.dll_ShellExecuteA_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x457d55
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.004052dc
ret
Function at 0x457f18
Capabilities:
Enumerate network shares

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 4
add esp, 0xfffff004
push eax
dec eax
jne 0x457f21
mov eax, dword [ebp - 4]
add esp, 0xffffffd4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x458033
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
call fcn.004052b8
lea eax, [ebp - 8]
push eax
push ebx
push 0
push 0
push 2
call sub.mpr.dll_WNetOpenEnumA
test eax, eax
jne 0x45801d
xor eax, eax
push ebp
push 0x458016
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 0xffffffff
mov dword [ebp - 0x10], 0x4020
jmp 0x457fe3
mov esi, dword [ebp - 0xc]
dec esi
test esi, esi
jl 0x457fe3
inc esi
lea ebx, [ebp - 0x4028]
cmp dword [ebx], 2
jne 0x457fc7
lea eax, [ebp - 4]
mov edx, dword [ebx + 0xc]
call fcn.004054b0
lea eax, [ebp - 4]
mov ecx, 2
mov edx, 1
call fcn.0040580c
mov ecx, dword [ebp - 4]
mov dl, 0x73
mov eax, dword [0x496a0c]
call fcn.0045bb88
test dword [ebx + 4], 2
jbe 0x457fdd
mov eax, dword [ebp + 8]
push eax
lea eax, [ebx - 8]
call fcn.00457f18
pop ecx
add ebx, 0x20
dec esi
jne 0x457f96
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x4030]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.mpr.dll_WNetEnumResourceA
test eax, eax
je 0x457f87
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45801d
mov eax, dword [ebp - 8]
push eax
call sub.mpr.dll_WNetCloseEnum
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45803a
lea eax, [ebp - 4]
call fcn.004052b8
ret

Function at 0x458284
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x458329
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.00457254
lea eax, [ebp - 0x28]
push eax
call sub.kernel32.dll_GlobalMemoryStatus
mov eax, dword [ebp - 0x24]
mov dword [ebp - 8], eax
call fcn.00457058
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x4582e1
inc ebx
xor esi, esi
mov eax, esi
call fcn.00457118
fmul dword [0x458338]
call fcn.004033a4
mov edi, eax
inc esi
dec ebx
jne 0x4582c9
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 8]
call fcn.00409598
push dword [ebp - 0x2c]
push 0x458344
lea edx, [ebp - 0x30]
mov eax, edi
call fcn.00409598
push dword [ebp - 0x30]
mov eax, dword [ebp - 4]
mov edx, 3
call fcn.00405668
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x458330
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.004052dc
ret

Function at 0x458398
Capabilities:
Find taskbar

Disassembly:
push ebx
push ecx
mov eax, 0x458400
call fcn.0045cf70
test al, al
je 0x4583b2
mov eax, 0x458400
call fcn.0045d0ec
push esp
push 0
push 0x45840c
call sub.user32.dll_FindWindowA
push eax
call sub.user32.dll_GetWindowThreadProcessId
mov eax, dword [0x490a44]
mov eax, dword [eax]
call fcn.00454ea4
mov eax, dword [esp]
push eax
push 0
push 0x1f0fff
call sub.kernel32.dll_OpenProcess
call fcn.0045642c
push 0x3e8
call sub.kernel32.dll_Sleep_2
mov eax, ebx
pop edx
pop ebx
ret
Function at 0x45841c
Capabilities:
Create process on windows

Disassembly:
mov edx, dword [0x496a20]
mov eax, dword [0x496a1c]
call fcn.0045107c
test al, al
je 0x45844d
push 1
push 0
push 0
mov eax, dword [0x496a20]
call fcn.00405764
push eax
push 0x458450
push 0
call sub.shell32.dll_ShellExecuteA
ret

Function at 0x458458
Capabilities:
Create process on windows

Disassembly:
mov edx, dword [0x496a20]
mov eax, dword [0x496a1c]
call fcn.0045107c
test al, al
je 0x4584a8
push 1
push 0
push 0
mov eax, dword [0x496a20]
call fcn.00405764
push eax
push 0x4584ac
push 0
call sub.shell32.dll_ShellExecuteA
mov eax, 0x4584bc
call fcn.0045cf70
test al, al
je 0x4584a1
mov eax, 0x4584bc
call fcn.0045d0ec
push 0
call sub.kernel32.dll_ExitProcess_1
ret
Function at 0x45a454
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe9c
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405754
xor eax, eax
push ebp
push 0x45a4d1
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x164]
xor ecx, ecx
mov edx, 0x160
call fcn.004039f0
push 0x400
push 0x160
lea eax, [ebp - 0x164]
push eax
push 0
mov eax, dword [ebp - 4]
call fcn.00405764
push eax
call sub.shell32.dll_SHGetFileInfoA
mov eax, ebx
lea edx, [ebp - 0x54]
mov ecx, 0x50
call fcn.00405528
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45a4d8
lea eax, [ebp - 4]
call fcn.004052b8
ret

Function at 0x45aa14
Capabilities:
Create thread

Disassembly:
mov dword [0x496a44], eax
mov dl, 1
mov eax, dword [0x417178]
call fcn.0040440c
mov dword [0x496a48], eax
mov eax, dword [0x496a48]
call fcn.00419ef0
push 0x496a4c
push 0
push 0
push 0x45a79c
push 0
push 0
call sub.kernel32.dll_CreateThread_1
ret

Function at 0x45ab40
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00405754
xor eax, eax
push ebp
push 0x45ac0a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x45ac20
call fcn.00409a94
test al, al
jne 0x45ab9b
mov eax, dword [ebp - 4]
cmp byte [eax], 0xd
je 0x45ab9b
push 0x45ac34
push dword [ebx + 0x48]
push 0x45ac40
push 0x45ac4c
push dword [ebp - 4]
lea eax, [ebp - 4]
mov edx, 5
call fcn.00405668
push 0
push 0x80
push 4
push 0
push 2
push 0x40000000
push 0x45ac50
call sub.kernel32.dll_CreateFileA_1
mov ebx, eax
cmp ebx, 0xffffffff
je 0x45abf4
push 2
push 0
push 0
push ebx
call sub.kernel32.dll_SetFilePointer_1
mov eax, dword [ebp - 4]
test eax, eax
je 0x45abd6
sub eax, 4
mov eax, dword [eax]
mov esi, eax
push 0
lea eax, [ebp - 8]
push eax
push esi
lea eax, [ebp - 4]
call fcn.004057c4
push eax
push ebx
call sub.kernel32.dll_WriteFile_1
push ebx
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45ac11
lea eax, [ebp - 4]
call fcn.004052b8
ret
Function at 0x45ac5c
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb8
push ebx
xor ecx, ecx
mov dword [ebp - 0x148], ecx
mov dword [ebp - 0x144], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00405754
xor eax, eax
push ebp
push 0x45ae71
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
je 0x45ae46
push 0x105
lea eax, [ebp - 0x13d]
push eax
call sub.user32.dll_GetForegroundWindow
push eax
call sub.user32.dll_GetWindowTextA
lea eax, [ebp - 0x144]
lea edx, [ebp - 0x13d]
mov ecx, 0x105
call fcn.00405528
mov edx, dword [ebp - 0x144]
mov eax, dword [ebx + 0x48]
call fcn.004056fc
je 0x45ae0b
lea eax, [ebx + 0x48]
lea edx, [ebp - 0x13d]
mov ecx, 0x105
call fcn.00405528
call fcn.0040b0c8
fstp qword [ebp - 0x20]
wait
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
mov edx, dword [0x4909f4]
mov edx, dword [edx]
lea eax, [ebp - 0xc]
call fcn.0040bcc8
call fcn.0040b0c8
fstp qword [ebp - 0x28]
wait
push dword [ebp - 0x24]
push dword [ebp - 0x28]
mov edx, dword [0x490af4]
mov edx, dword [edx]
lea eax, [ebp - 0x10]
call fcn.0040bcc8
push 0x45ae88
push dword [ebx + 0x48]
push 0x45ae98
push 0x45aea4
push dword [ebp - 0xc]
push 0x45aeb0
push dword [ebp - 0x10]
push 0x45aebc
push 0x45aec8
lea eax, [ebp - 8]
mov edx, 9
call fcn.00405668
mov eax, dword [0x490c1c]
cmp byte [eax], 1
jne 0x45ad89
mov eax, dword [0x490b80]
mov eax, dword [eax]
mov ecx, dword [ebp - 8]
mov dl, 0x82
call fcn.0045bb88
call fcn.0040b0c8
fstp qword [ebp - 0x30]
wait
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
mov edx, dword [0x4909f4]
mov edx, dword [edx]
lea eax, [ebp - 0x14]
call fcn.0040bcc8
call fcn.0040b0c8
fstp qword [ebp - 0x38]
wait
push dword [ebp - 0x34]
push dword [ebp - 0x38]
mov edx, dword [0x490af4]
mov edx, dword [edx]
lea eax, [ebp - 0x18]
call fcn.0040bcc8
push 0x45ae88
push dword [ebx + 0x48]
push 0x45ae98
push 0x45aea4
push dword [ebp - 0x14]
push 0x45aeb0
push dword [ebp - 0x18]
push 0x45aebc
push 0x45aec8
lea eax, [ebp - 0x148]
mov edx, 9
call fcn.00405668
mov edx, dword [ebp - 0x148]
mov eax, ebx
call fcn.0045ab40
lea eax, [ebx + 0x44]
mov edx, dword [ebp - 4]
call fcn.004055a0
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.0045ab40
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.004055a0
mov eax, dword [0x490c1c]
cmp byte [eax], 1
jne 0x45ae46
mov eax, dword [0x490b80]
mov eax, dword [eax]
mov ecx, dword [ebp - 4]
mov dl, 0x83
call fcn.0045bb88
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45ae78
lea eax, [ebp - 0x148]
mov edx, 2
call fcn.004052dc
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.004052dc
ret
Function at 0x45b5d0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdec
xor eax, eax
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x20c], eax
mov dword [ebp - 0x210], eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x45b708
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xff
lea eax, [ebp - 0x208]
push eax
mov eax, dword [0x496ab0]
push eax
call sub.user32.dll_GetWindowTextA
push pe_nt_image_headers32
lea eax, [ebp - 0x108]
push eax
mov eax, dword [0x496aac]
push eax
call sub.user32.dll_GetWindowTextA
lea eax, [ebp - 0x20c]
lea edx, [ebp - 0x208]
mov ecx, pe_nt_image_headers32
call fcn.00405528
push dword [ebp - 0x20c]
push 0x45b71c
push 0x45b728
lea eax, [ebp - 0x210]
lea edx, [ebp - 0x108]
mov ecx, pe_nt_image_headers32
call fcn.00405528
push dword [ebp - 0x210]
lea eax, [ebp - 4]
mov edx, 4
call fcn.00405668
mov eax, dword [ebp - 4]
call fcn.00405764
push eax
mov eax, dword [0x496ab0]
push eax
call sub.user32.dll_SetWindowTextA
push 0x45b730
mov eax, dword [0x496aac]
push eax
call sub.user32.dll_SetWindowTextA
lea eax, [ebp - 8]
lea edx, [ebp - 0x108]
mov ecx, pe_nt_image_headers32
call fcn.00405528
lea eax, [ebp - 0x214]
lea edx, [ebp - 0x108]
mov ecx, pe_nt_image_headers32
call fcn.00405528
mov ecx, dword [ebp - 0x214]
mov dl, 0x69
mov eax, dword [0x496a74]
call fcn.0045bb88
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b70f
lea eax, [ebp - 0x214]
mov edx, 3
call fcn.004052dc
lea eax, [ebp - 8]
mov edx, 2
call fcn.004052dc
ret

Function at 0x45b734
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
xor edx, edx
mov dword [ebp - 0x10c], edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405754
xor eax, eax
push ebp
push 0x45b7e3
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xff
lea eax, [ebp - 0x108]
push eax
mov eax, dword [0x496ab0]
push eax
call sub.user32.dll_GetWindowTextA
lea eax, [ebp - 0x10c]
lea edx, [ebp - 0x108]
mov ecx, pe_nt_image_headers32
call fcn.00405528
push dword [ebp - 0x10c]
push 0x45b7f8
push dword [ebp - 4]
lea eax, [ebp - 8]
mov edx, 3
call fcn.00405668
mov eax, dword [ebp - 8]
call fcn.00405764
push eax
mov eax, dword [0x496ab0]
push eax
call sub.user32.dll_SetWindowTextA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b7ea
lea eax, [ebp - 0x10c]
call fcn.004052b8
lea eax, [ebp - 8]
mov edx, 2
call fcn.004052dc
ret
Function at 0x45b9fc
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, 0x496a7c
mov eax, dword [0x4937f8]
mov dword [0x496ab4], eax
xor eax, eax
mov dword [ebx], eax
mov dword [ebx + 4], 0x45b96c
xor eax, eax
mov dword [ebx + 8], eax
xor eax, eax
mov dword [ebx + 0xc], eax
mov eax, dword [0x496ab4]
mov dword [ebx + 0x10], eax
xor eax, eax
mov dword [ebx + 0x14], eax
push 0x7f00
push 0
call sub.user32.dll_LoadCursorA
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], 0x10
xor eax, eax
mov dword [ebx + 0x20], eax
mov eax, 0x45baa4
mov dword [ebx + 0x24], eax
push ebx
call sub.user32.dll_RegisterClassA
push 0x80000000
push 0x80000000
push 0x1d6
push 0x118
push 0
push 0
mov eax, dword [0x4937f8]
push eax
push 0
mov edx, 0x45bab0
mov eax, 0x45baa4
xor ecx, ecx
call fcn.00408334
mov dword [0x496aa4], eax
call fcn.0045b7fc
push 0
mov eax, dword [0x496aa4]
push eax
call sub.user32.dll_ShowWindow
pop ebx
ret

Function at 0x45c994
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0
xor eax, eax
push ebp
push 0x45c9ee
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
call fcn.00409d84
mov edx, dword [ebp - 4]
mov eax, 0x496a68
mov ecx, 0x45ca00
call fcn.004055ec
push 0x496a78
push 0
push 0
push 0x45c968
push 0
push 0
call sub.kernel32.dll_CreateThread_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45c9f5
lea eax, [ebp - 4]
call fcn.004052b8
ret

Function at 0x45cc10
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405754
xor eax, eax
push ebp
push 0x45cc7d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
lea eax, [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, 0x45cc90
call fcn.004055ec
mov eax, dword [ebp - 8]
call fcn.00405764
push eax
push 0x45cc94
push 0x45cc9c
push 0
call sub.shell32.dll_ShellExecuteA_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45cc84
lea eax, [ebp - 8]
mov edx, 2
call fcn.004052dc
ret
Function at 0x45cca4
Capabilities:
Compare security identifiers

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov byte [esp], 0
lea eax, [esp + 4]
push eax
push 0xffffffffffffffff
push 8
call sub.kernel32.dll_GetCurrentThread
push eax
call sub.advapi32.dll_OpenThreadToken
mov ebx, eax
test ebx, ebx
jne 0x45cce8
call sub.kernel32.dll_GetLastError_1
cmp eax, 0x3f0
jne 0x45cce8
lea eax, [esp + 4]
push eax
push 8
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
mov ebx, eax
test ebx, ebx
je 0x45cd7f
mov eax, 0x400
call fcn.00402ea0
mov esi, eax
lea eax, [esp + 8]
push eax
push 0x400
push esi
push 2
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_GetTokenInformation
mov ebx, eax
mov eax, dword [esp + 4]
push eax
call sub.kernel32.dll_CloseHandle_1
test ebx, ebx
je 0x45cd78
lea eax, [esp + 0xc]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
push 0x4908b8
call sub.advapi32.dll_AllocateAndInitializeSid
mov ebx, dword [esi]
dec ebx
test ebx, ebx
jl 0x45cd6e
inc ebx
xor edi, edi
mov eax, dword [esi + edi*8 + 4]
push eax
mov eax, dword [esp + 0x10]
push eax
call sub.advapi32.dll_EqualSid
test eax, eax
je 0x45cd6a
mov byte [esp], 1
jmp 0x45cd6e
inc edi
dec ebx
jne 0x45cd51
mov eax, dword [esp + 0xc]
push eax
call sub.advapi32.dll_FreeSid
mov eax, esi
call fcn.00402ebc
movzx eax, byte [esp]
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x45d0ec
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x130], edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405754
xor eax, eax
push ebp
push 0x45d26d
push dword fs:[eax]
mov dword fs:[eax], esp
xor edi, edi
xor edx, edx
mov eax, 2
call fcn.004164bc
mov esi, eax
mov dword [ebp - 0x12c], 0x128
lea edx, [ebp - 0x12c]
mov eax, esi
call fcn.004164dc
mov ebx, eax
jmp 0x45d239
lea eax, [ebp - 0x138]
lea edx, [ebp - 0x108]
mov ecx, 0x104
call fcn.00405528
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.00409c54
mov eax, dword [ebp - 0x134]
lea edx, [ebp - 0x130]
call fcn.00409048
mov eax, dword [ebp - 0x130]
push eax
lea edx, [ebp - 0x13c]
mov eax, dword [ebp - 4]
call fcn.00409048
mov edx, dword [ebp - 0x13c]
pop eax
call fcn.004056fc
je 0x45d210
lea eax, [ebp - 0x144]
lea edx, [ebp - 0x108]
mov ecx, 0x104
call fcn.00405528
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0x140]
call fcn.00409048
mov eax, dword [ebp - 0x140]
push eax
lea edx, [ebp - 0x148]
mov eax, dword [ebp - 4]
call fcn.00409048
mov edx, dword [ebp - 0x148]
pop eax
call fcn.004056fc
jne 0x45d22a
push 0
mov eax, dword [ebp - 0x124]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
mov edi, eax
lea edx, [ebp - 0x12c]
mov eax, esi
call fcn.004164fc
mov ebx, eax
test ebx, ebx
jne 0x45d16b
push esi
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45d274
lea eax, [ebp - 0x148]
mov edx, 7
call fcn.004052dc
lea eax, [ebp - 4]
call fcn.004052b8
ret

Function at 0x45d420
Capabilities:
Lock the desktop

Disassembly:
cmp eax, 1
jne 0x45d42b
call fcn.0045d3dc
ret
cmp eax, 2
jne 0x45d437
call fcn.0045d374
jmp 0x45d44d
cmp eax, 3
jne 0x45d443
call fcn.0045d3a8
jmp 0x45d44d
cmp eax, 4
jne 0x45d44d
call fcn.0045d418
ret

Function at 0x45db18
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffef8
mov ebx, eax
push esp
push 0x104
call sub.kernel32.dll_GetTempPathA
mov edx, ebx
mov eax, esp
call fcn.00409f94
add esp, 0x108
pop ebx
ret

Function at 0x45de48
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x45dec2
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xff
lea eax, [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00405998
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00405764
push eax
call sub.advapi32.dll_GetUserNameA
test eax, eax
je 0x45dea0
push ebx
mov ecx, dword [ebp - 8]
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.004057cc
jmp 0x45deac
mov eax, ebx
mov edx, 0x45ded8
call fcn.0040530c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45dec9
lea eax, [ebp - 4]
call fcn.004052b8
ret
Function at 0x45def0
Capabilities:
Check os version

Disassembly:
push ebx
add esp, 0xfffffee4
mov ebx, eax
mov dword [esp], 0x11c
push esp
call sub.kernel32.dll_GetVersionExW
test eax, eax
je 0x45e13a
cmp dword [esp + 4], 5
jne 0x45df2d
cmp dword [esp + 8], 0
jne 0x45df2d
mov eax, ebx
mov edx, 0x45e14c
call fcn.0040530c
jmp 0x45e13a
cmp dword [esp + 4], 5
jne 0x45df4c
cmp dword [esp + 8], 1
jne 0x45df4c
mov eax, ebx
mov edx, 0x45e164
call fcn.0040530c
jmp 0x45e13a
cmp dword [esp + 4], 5
jne 0x45df76
cmp dword [esp + 8], 2
jne 0x45df76
push 0x59
call sub.user32.dll_GetSystemMetrics
test eax, eax
jne 0x45df76
mov eax, ebx
mov edx, 0x45e178
call fcn.0040530c
jmp 0x45e13a
cmp dword [esp + 4], 5
jne 0x45dfa0
cmp dword [esp + 8], 2
jne 0x45dfa0
push 0x59
call sub.user32.dll_GetSystemMetrics
test eax, eax
je 0x45dfa0
mov eax, ebx
mov edx, 0x45e194
call fcn.0040530c
jmp 0x45e13a
cmp dword [esp + 4], 6
jne 0x45dfc9
cmp dword [esp + 8], 0
jne 0x45dfc9
cmp byte [esp + 0x11a], 1
jne 0x45dfc9
mov eax, ebx
mov edx, 0x45e1b4
call fcn.0040530c
jmp 0x45e13a
cmp dword [esp + 4], 6
jne 0x45dff2
cmp dword [esp + 8], 0
jne 0x45dff2
cmp byte [esp + 0x11a], 1
je 0x45dff2
mov eax, ebx
mov edx, 0x45e1cc
call fcn.0040530c
jmp 0x45e13a
cmp dword [esp + 4], 6
jne 0x45e01b
cmp dword [esp + 8], 1
jne 0x45e01b
cmp byte [esp + 0x11a], 1
je 0x45e01b
mov eax, ebx
mov edx, 0x45e1e8
call fcn.0040530c
jmp 0x45e13a
cmp dword [esp + 4], 6
jne 0x45e044
cmp dword [esp + 8], 1
jne 0x45e044
cmp byte [esp + 0x11a], 1
jne 0x45e044
mov eax, ebx
mov edx, 0x45e208
call fcn.0040530c
jmp 0x45e13a
cmp dword [esp + 4], 6
jne 0x45e06d
cmp dword [esp + 8], 2
jne 0x45e06d
cmp byte [esp + 0x11a], 1
jne 0x45e06d
mov eax, ebx
mov edx, 0x45e21c
call fcn.0040530c
jmp 0x45e13a
cmp dword [esp + 4], 6
jne 0x45e096
cmp dword [esp + 8], 2
jne 0x45e096
cmp byte [esp + 0x11a], 1
je 0x45e096
mov eax, ebx
mov edx, 0x45e230
call fcn.0040530c
jmp 0x45e13a
cmp dword [esp + 4], 6
jne 0x45e0bc
cmp dword [esp + 8], 3
jne 0x45e0bc
cmp byte [esp + 0x11a], 1
jne 0x45e0bc
mov eax, ebx
mov edx, 0x45e24c
call fcn.0040530c
jmp 0x45e13a
cmp dword [esp + 4], 6
jne 0x45e0e2
cmp dword [esp + 8], 3
jne 0x45e0e2
cmp byte [esp + 0x11a], 1
je 0x45e0e2
mov eax, ebx
mov edx, 0x45e260
call fcn.0040530c
jmp 0x45e13a
cmp dword [esp + 4], 0xa
jne 0x45e108
cmp dword [esp + 8], 0
jne 0x45e108
cmp byte [esp + 0x11a], 1
jne 0x45e108
mov eax, ebx
mov edx, 0x45e280
call fcn.0040530c
jmp 0x45e13a
cmp dword [esp + 4], 0xa
jne 0x45e12e
cmp dword [esp + 8], 0
jne 0x45e12e
cmp byte [esp + 0x11a], 1
je 0x45e12e
mov eax, ebx
mov edx, 0x45e294
call fcn.0040530c
jmp 0x45e13a
mov eax, ebx
mov edx, 0x45e2c4
call fcn.0040530c
add esp, 0x11c
pop ebx
ret

Function at 0x45e2cc
Capabilities:
Get hostname

Disassembly:
push ebx
add esp, 0xfffffefc
mov ebx, eax
mov dword [esp], pe_nt_image_headers32
push esp
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x45e2fd
mov eax, ebx
lea edx, [esp + 4]
mov ecx, pe_nt_image_headers32
call fcn.00405528
jmp 0x45e304
mov eax, ebx
call fcn.004052b8
add esp, 0x104
pop ebx
ret