joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1008a67
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push edi
xor edi, edi
mov dword [ebp - 8], edi
mov dword [ebp - 4], edi
cmp dword [ebp + 0x10], edi
jne 0x1008a87
mov ebx, 0x80070057
jmp 0x1008b0d
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x1c]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.010089c1
mov ebx, eax
cmp ebx, edi
jl 0x1008b0d
push esi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x18]
push dword [ebp - 4]
push 0x100854a
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
lea ecx, [ebp - 8]
mov esi, eax
call fcn.01004829
cmp esi, edi
jne 0x1008aed
mov ecx, dword [ebp - 4]
mov dword [ebp - 8], edi
call fcn.0100845e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.01003235
mov ebx, eax
jmp 0x1008b08
mov eax, dword [ebp + 0x20]
mov dword [ebp - 8], esi
cmp eax, edi
je 0x1008afc
mov ecx, dword [ebp + 0x10]
mov dword [eax], ecx
mov eax, dword [ebp + 0x24]
cmp eax, edi
je 0x1008b08
mov dword [ebp - 8], edi
mov dword [eax], esi
cmp ebx, edi
pop esi
jge 0x1008b32
mov eax, dword [section..data]
cmp eax, section..data
je 0x1008b32
test byte [eax + 0x3c], 2
je 0x1008b32
push ebx
push 0x1001d4c
push 0xc
push dword [eax + 0x34]
push dword [eax + 0x30]
call fcn.010107ca
mov ecx, dword [ebp - 4]
cmp ecx, edi
je 0x1008b3e
call fcn.0100845e
lea ecx, [ebp - 8]
call fcn.01004829
pop edi
mov eax, ebx
pop ebx
leave
ret 0x20

Function at 0x1009683
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 4], 0
and dword [ebp - 8], 0
push esi
push 4
pop esi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
push dword [ebp + 0xc]
mov dword [ebp - 0xc], esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
call fcn.0100334b
test eax, eax
je 0x10096f1
mov eax, dword [ebp - 8]
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp - 0xc]
push ecx
push dword [ebp + 0x14]
lea ecx, [ebp + 0xc]
push ecx
push 0
push dword [ebp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push eax
call fcn.0100334b
test eax, eax
je 0x10096f1
cmp dword [ebp + 0xc], esi
mov esi, 0x80070057
jne 0x10096f4
mov esi, dword [ebp - 4]
test esi, esi
jge 0x100971d
mov eax, dword [section..data]
cmp eax, section..data
je 0x100971d
test byte [eax + 0x3c], 2
je 0x100971d
push esi
push 0x1001cb8
push 0xa
push dword [eax + 0x34]
push dword [eax + 0x30]
call fcn.010107ca
lea ecx, [ebp - 8]
call fcn.01003528
mov eax, esi
pop esi
leave
ret 0x10
Function at 0x100c8eb
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
and dword [ebp - 8], 0
push esi
mov esi, dword [ebp + 0x18]
mov eax, dword [esi]
mov dword [ebp + 0x18], eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
call fcn.0100334b
test eax, eax
je 0x100c960
mov eax, dword [ebp - 8]
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp + 0x18]
push ecx
push dword [ebp + 0x14]
lea ecx, [ebp + 0xc]
push ecx
push 0
push dword [ebp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push eax
call fcn.0100334b
test eax, eax
je 0x100c960
mov eax, dword [ebp + 0x18]
cmp eax, dword [esi]
jbe 0x100c95e
mov esi, 0x80070057
jmp 0x100c967
mov dword [esi], eax
mov esi, dword [ebp - 4]
test esi, esi
jge 0x100c98c
mov eax, dword [section..data]
cmp eax, section..data
je 0x100c98c
test byte [eax + 0x3c], 2
je 0x100c98c
push esi
push 0x1002bd8
push 0xb
push dword [eax + 0x34]
push dword [eax + 0x30]
call fcn.010107ca
lea ecx, [ebp - 8]
call fcn.01003528
mov eax, esi
pop esi
leave
ret 0x14

Function at 0x100cbd4
Capabilities:
Get token membership

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x10160e0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0xc], bl
mov byte [ebp - 0xb], bl
mov byte [ebp - 0xa], bl
mov byte [ebp - 9], bl
mov byte [ebp - 8], bl
mov byte [ebp - 7], 5
mov dword [ebp - 0x14], ebx
cmp esi, ebx
jne 0x100cc17
mov dword [ebp - 0x10], 0x80070057
jmp 0x100cc69
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0x18], ebx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
jne 0x100cc4c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.01003235
mov dword [ebp - 0x10], eax
jmp 0x100cc64
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
push ecx
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
je 0x100cc3b
mov eax, dword [ebp - 0x18]
mov dword [esi], eax
cmp dword [ebp - 0x10], ebx
jge 0x100cc90
mov eax, dword [section..data]
cmp eax, section..data
je 0x100cc90
test byte [eax + 0x3c], 2
je 0x100cc90
push dword [ebp - 0x10]
push 0x1002c38
push 0x12
push dword [eax + 0x34]
push dword [eax + 0x30]
call fcn.010107ca
lea ecx, [ebp - 0x14]
call fcn.0100bdc1
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01013ae1
leave
ret 8
Function at 0x100cda1
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push edi
lea eax, [ebp - 4]
push eax
push 1
xor edi, edi
push edi
push 0x1002e58
push 0x80000002
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100cdfd
mov eax, dword [ebp - 4]
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0xc]
push ecx
push edi
push 0x1002e3c
push eax
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100cdfd
cmp dword [ebp - 0xc], 4
jne 0x100cdfd
cmp dword [ebp - 0x10], edi
je 0x100cdfd
inc edi
mov eax, dword [ebp + 8]
lea ecx, [ebp - 4]
mov dword [eax], edi
call fcn.01003528
xor eax, eax
pop edi
leave
ret 4

Function at 0x100e059
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x10160e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
and dword [ebp - 0x210], 0
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push edi
mov dword [ebp - 0x218], eax
mov edi, 0x104
push edi
lea eax, [ebp - 0x20c]
push eax
push ebx
call esi
mov dword [ebp - 0x214], eax
test eax, eax
jne 0x100e0b4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.01003235
mov edi, eax
jmp 0x100e118
cmp eax, edi
ja 0x100e0cc
push dword [ebp - 0x218]
lea eax, [ebp - 0x20c]
push eax
call fcn.01003ab9
jmp 0x100e0b0
lea ecx, [ebp - 0x210]
push ecx
push eax
push 0
call fcn.0100d3df
mov edi, eax
test edi, edi
jl 0x100e11c
push dword [ebp - 0x214]
push dword [ebp - 0x210]
push ebx
call esi
test eax, eax
je 0x100e0a4
cmp eax, dword [ebp - 0x214]
je 0x100e103
mov edi, 0x8007007a
jmp 0x100e11c
mov eax, dword [ebp - 0x210]
mov ecx, dword [ebp - 0x218]
and dword [ebp - 0x210], 0
mov dword [ecx], eax
test edi, edi
jge 0x100e141
mov eax, dword [section..data]
cmp eax, section..data
je 0x100e141
test byte [eax + 0x3c], 2
je 0x100e141
push edi
push 0x1002e2c
push 0x13
push dword [eax + 0x34]
push dword [eax + 0x30]
call fcn.010107ca
lea ecx, [ebp - 0x210]
call fcn.0100355f
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01013ae1
leave
ret 8
Function at 0x100f1d0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
xor edi, edi
cmp dword [ebp + 8], 0x80000001
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 4], edi
jne 0x100f1f1
mov dword [ebp - 0xc], edi
lea eax, [ebp - 8]
push eax
push 1
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0100c743
mov esi, eax
cmp esi, edi
mov dword [ebp + 0xc], esi
jl 0x100f2b0
mov dword [ebp + 8], edi
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push eax
push dword [ebp - 4]
lea eax, [ebp - 0x10]
push eax
push edi
push dword [ebp + 0x10]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push eax
call fcn.0100334b
test eax, eax
je 0x100f2a9
cmp dword [ebp - 4], edi
jne 0x100f267
cmp dword [ebp + 8], edi
jbe 0x100f2a2
push dword [ebp + 8]
call fcn.01003185
lea ecx, [ebp - 4]
mov esi, eax
call fcn.0100357a
cmp esi, edi
je 0x100f25d
mov dword [ebp - 4], esi
jmp 0x100f212
mov dword [ebp - 4], edi
mov esi, 0x8007000e
jmp 0x100f2ac
cmp dword [ebp - 0x10], 2
je 0x100f274
mov esi, 0x8007000d
jmp 0x100f2b0
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 0x14]
push dword [ebp + 8]
push dword [ebp - 4]
call fcn.0100e591
mov esi, eax
cmp esi, edi
jl 0x100f2b0
cmp dword [ebp + 0xc], edi
je 0x100f294
mov dword [ebp - 4], edi
mov eax, dword [ebp + 0x18]
cmp eax, edi
je 0x100f2ac
mov ecx, dword [ebp + 8]
mov dword [eax], ecx
jmp 0x100f2ac
mov esi, 0x8000ffff
jmp 0x100f2b0
mov esi, dword [ebp + 0xc]
cmp esi, edi
jge 0x100f2d5
mov eax, dword [section..data]
cmp eax, section..data
je 0x100f2d5
test byte [eax + 0x3c], 2
je 0x100f2d5
push esi
push 0x1002d40
push 0x22
push dword [eax + 0x34]
push dword [eax + 0x30]
call fcn.010107ca
lea ecx, [ebp - 4]
call fcn.0100357a
lea ecx, [ebp - 0xc]
call fcn.01003528
lea ecx, [ebp - 8]
call fcn.01003528
pop edi
mov eax, esi
pop esi
leave
ret 0x14
Function at 0x100f2fa
Capabilities:
Change the wallpaper

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x10160e0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor edi, edi
xor esi, esi
lea eax, [ebp - 0x218]
inc edi
push eax
mov dword [ebp - 0x21c], edi
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x214], esi
mov dword [ebp - 0x210], esi
call fcn.0100ee5f
test eax, eax
jge 0x100f344
mov dword [ebp - 0x218], esi
cmp dword [ebp - 0x218], esi
jne 0x100f46d
push ebx
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x21c]
push eax
push edi
call dword [sym.imp.USER32.dll_SetSysColors]
mov ebx, 0xc0002006
test eax, eax
jne 0x100f3be
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.01003235
mov edi, eax
lea eax, [ebp - 0x214]
push eax
push 0x2bc
call fcn.01003c49
cmp eax, esi
mov dword [ebp - 0x210], eax
jl 0x100f442
mov eax, dword [ebp - 0x214]
push esi
push esi
push eax
push esi
push esi
push edi
push ebx
push 1
call fcn.01004f54
cmp edi, esi
mov dword [ebp - 0x210], edi
jl 0x100f442
mov edi, dword [sym.imp.USER32.dll_SystemParametersInfoW]
push esi
lea eax, [ebp - 0x20c]
push eax
push 0x104
push 0x73
call edi
test eax, eax
je 0x100f3e7
push 3
lea eax, [ebp - 0x20c]
push eax
push esi
push 0x14
call edi
push 3
push 0x1002030
push esi
push 0x14
call edi
test eax, eax
jne 0x100f43a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.01003235
mov edi, eax
lea eax, [ebp - 0x214]
push eax
push 0x2bc
call fcn.01003c49
cmp eax, esi
mov dword [ebp - 0x210], eax
jl 0x100f442
mov eax, dword [ebp - 0x214]
push esi
push esi
push eax
push esi
push esi
push edi
push ebx
push 1
call fcn.01004f54
mov dword [ebp - 0x210], edi
cmp dword [ebp - 0x210], esi
jge 0x100f46c
mov eax, dword [section..data]
cmp eax, section..data
je 0x100f46c
test byte [eax + 0x3c], 2
je 0x100f46c
push dword [ebp - 0x210]
push 0x1002d6c
push 0x2c
push dword [eax + 0x34]
push dword [eax + 0x30]
call fcn.010107ca
pop ebx
lea ecx, [ebp - 0x214]
call fcn.0100355f
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x210]
pop edi
xor ecx, ebp
pop esi
call fcn.01013ae1
leave
ret
Function at 0x1011825
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x10160e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov dword [ebp - 0x408], eax
mov esi, 0x200
push esi
lea eax, [ebp - 0x404]
push eax
call edi
test eax, eax
jne 0x101186d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.01003235
jmp 0x10118d3
push 0x10016d0
push esi
lea eax, [ebp - 0x404]
push eax
call fcn.010109df
mov ebx, eax
test ebx, ebx
jl 0x10118d9
lea eax, [ebp - 0x404]
push 0
push eax
call dword [sym.imp.msvcrt.dll__waccess_s]
pop ecx
pop ecx
cmp eax, 2
jne 0x10118c1
push esi
lea eax, [ebp - 0x404]
push eax
call edi
test eax, eax
je 0x101185f
push 0x10016bc
push esi
lea eax, [ebp - 0x404]
push eax
call fcn.010109df
mov ebx, eax
test ebx, ebx
jl 0x10118d9
push dword [ebp - 0x408]
lea eax, [ebp - 0x404]
push eax
call fcn.01003ab9
mov ebx, eax
test ebx, ebx
jge 0x10118fe
mov eax, dword [section..data]
cmp eax, section..data
je 0x10118fe
test byte [eax + 0x3c], 2
je 0x10118fe
push ebx
push 0x1002d54
push 0x22
push dword [eax + 0x34]
push dword [eax + 0x30]
call fcn.010107ca
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.01013ae1
leave
ret 4
Function at 0x1013ac7
Capabilities:
Terminate process

Disassembly:
push 0x58
push 0x10143c0
call fcn.01013dc4
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 1
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, 0x1016880
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
je 0x101387e
cmp eax, esi
jne 0x1013871
xor esi, esi
inc esi
mov ebx, esi
jmp 0x1013881
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1013858
xor esi, esi
inc esi
mov eax, dword [0x101687c]
cmp eax, esi
jne 0x1013894
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x10138c3
mov eax, dword [0x101687c]
test eax, eax
jne 0x10138bd
mov dword [0x101687c], esi
push 0x10013a8
push 0x100139c
call fcn.010137bd
pop ecx
pop ecx
test eax, eax
je 0x10138c3
jmp 0x10139eb
mov dword [0x101654c], esi
mov eax, dword [0x101687c]
cmp eax, esi
jne 0x10138e7
push 0x1001398
push 0x1001308
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x101687c], 2
test ebx, ebx
jne 0x10138f3
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x101688c], 0
je 0x1013917
push 0x101688c
call fcn.01013d39
pop ecx
test eax, eax
je 0x1013917
push 0
push 2
push 0
call dword [0x101688c]
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, 0x20
ja 0x1013973
test al, al
je 0x1013931
cmp dword [ebp - 0x1c], 0
jne 0x1013973
mov al, byte [esi]
test al, al
je 0x1013941
cmp al, 0x20
ja 0x1013941
inc esi
mov dword [ebp - 0x20], esi
jmp 0x1013931
test byte [ebp - 0x3c], 1
je 0x101394d
movzx eax, word [ebp - 0x38]
jmp 0x1013950
push 0xa
pop eax
push eax
push esi
push 0
push 0x1000000
call main
mov dword [0x1016548], eax
cmp dword [0x101653c], 0
jne 0x10139c7
push eax
call dword [sym.imp.msvcrt.dll_exit]
cmp al, 0x22
jne 0x1013982
xor ecx, ecx
cmp dword [ebp - 0x1c], ecx
sete cl
mov dword [ebp - 0x1c], ecx
movzx eax, al
push eax
call dword [sym.imp.msvcrt.dll__ismbblead]
pop ecx
test eax, eax
je 0x1013995
inc esi
mov dword [ebp - 0x20], esi
inc esi
jmp 0x101391e
cmp dword [0x101654c], 0
jne 0x10139d6
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x1016548]
jmp 0x10139f7
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.01013e09
ret
call fcn.01013f11
jmp 0x101381e
Function at 0x401f57
Capabilities:
Check mutex on windows

Disassembly:
sub esp, 0x110
push ebx
push esi
mov esi, ecx
push edi
xor ebx, ebx
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x19]
mov byte [esp + 0x18], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
cmp dword [esp + 0x120], ebx
je 0x401f95
mov ecx, esi
call fcn.004020b0
test eax, eax
je 0x401f95
lea eax, [esp + 0x18]
push str.Global_
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [esp + 0x18]
push esi
push ecx
call edi
lea edx, [esp + 0x18]
push str._is_running
push edx
call edi
mov eax, dword [esi + 0x108]
cmp eax, ebx
je 0x401fc8
push eax
call fcn.00419540
add esp, 4
mov dword [esi + 0x108], ebx
push 0x14
call fcn.00419406
add esp, 4
cmp eax, ebx
mov dword [esi + 0x108], eax
jne 0x401fea
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x110
ret 4
push 1
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
mov eax, dword [esi + 0x108]
push ebx
push ebx
push 1
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
mov ecx, dword [esi + 0x108]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x10]
push ebx
push eax
mov dword [esp + 0x18], 0xc
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
cmp eax, ebx
mov dword [esi + 0x104], eax
je 0x402055
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x402055
mov ecx, dword [esi + 0x104]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x104], ebx
mov ecx, dword [esi + 0x104]
xor eax, eax
cmp ecx, ebx
pop edi
pop esi
pop ebx
sete al
add esp, 0x110
ret 4

Function at 0x402610
Capabilities:
Print debug messages

Disassembly:
mov eax, 0x1000
call fcn.004196c0
push ebx
mov ebx, dword [esp + 0x1010]
push ebp
push esi
xor eax, eax
xor esi, esi
test ebx, ebx
push edi
jle 0x402688
mov eax, dword [esp + 0x1018]
mov ecx, dword [esp + 0x1014]
push eax
push ecx
call fcn.004196ac
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x402686
mov ecx, 0x3ff
lea edi, [esp + 0x11]
mov byte [esp + 0x10], al
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [esp + 0x14]
push 0x42f0a8
push edx
call fcn.00419629
add esp, 0xc
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
inc esi
cmp esi, ebx
jl 0x40262d
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1000
ret

Function at 0x402920
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
push esi
add eax, 0x1c
mov edx, 8
mov esi, dword [eax]
sub eax, 4
xor esi, ecx
dec edx
mov dword [eax + 4], esi
mov ecx, esi
jne 0x402931
pop esi
ret

Function at 0x402950
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
mov edx, dword [esp + 8]
push esi
push edi
add eax, 0x1c
mov esi, 8
mov ecx, dword [eax]
sub eax, 4
mov edi, ecx
xor edi, edx
dec esi
mov dword [eax + 4], edi
mov edx, ecx
jne 0x402962
pop edi
pop esi
ret
Function at 0x403b80
Capabilities:
Enumerate processes

Disassembly:
push 0xffffffffffffffff
push 0x429ab5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x22c
push ebx
push ebp
push esi
xor ebp, ebp
push edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], ebp
call fcn.00401000
mov ebx, 1
mov dword [esp + 0x244], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push ebp
push 2
mov edi, eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x403bed
mov esi, dword [esp + 0x24c]
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.00401040
mov dword [esp + 0x14], ebx
jmp 0x403c97
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], 0x128
push ecx
push esi
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x403c0d
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x403c80
cmp edi, dword [esp + 0x20]
je 0x403c28
lea eax, [esp + 0x18]
push eax
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x403c2c
cmp edi, dword [esp + 0x20]
jne 0x403c13
mov ebp, dword [esp + 0x30]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call edi
push ebp
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x403c4b
lea ecx, [esp + 0x10]
push ecx
jmp 0x403c85
lea edx, [esp + 0x18]
mov dword [esp + 0x18], 0x224
push edx
push esi
call sub.KERNEL32.dll_Module32First
test eax, eax
jne 0x403c6c
push esi
call edi
lea eax, [esp + 0x10]
push eax
jmp 0x403c85
lea ecx, [esp + 0x138]
push ecx
lea ecx, [esp + 0x14]
call fcn.00401690
push esi
call edi
lea edx, [esp + 0x10]
push edx
mov esi, dword [esp + 0x250]
mov ecx, esi
call fcn.00401040
mov dword [esp + 0x14], ebx
lea ecx, [esp + 0x10]
mov byte [esp + 0x244], 0
call fcn.00401090
mov ecx, dword [esp + 0x23c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x238
ret
Function at 0x40a820
Capabilities:
Contain obfuscated stackstrings

Disassembly:
lea eax, [ebp - 0x354]
push eax
call fcn.00409f98
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00409f4d
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.00409f98
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00409f4d
add esp, 0xc
mov dword [ebp - 0x538], eax
and byte [ebp - 0x3ec], 0
and byte [ebp - 0x3eb], 0
mov byte [ebp - 0x3ea], 0x11
and byte [ebp - 0x3e9], 0
mov byte [ebp - 0x3e8], 0xa9
mov byte [ebp - 0x3e7], 0x8b
mov byte [ebp - 0x3e6], 0x9a
mov byte [ebp - 0x3e5], 0xa3
mov byte [ebp - 0x3e4], 0x81
mov byte [ebp - 0x3e3], 0x8a
mov byte [ebp - 0x3e2], 0x9b
mov byte [ebp - 0x3e1], 0x82
mov byte [ebp - 0x3e0], 0x8b
mov byte [ebp - 0x3df], 0xa6
mov byte [ebp - 0x3de], 0x8f
mov byte [ebp - 0x3dd], 0x80
mov byte [ebp - 0x3dc], 0x8a
mov byte [ebp - 0x3db], 0x82
mov byte [ebp - 0x3da], 0x8b
mov byte [ebp - 0x3d9], 0xaf
mov byte [ebp - 0x3d8], 0xee
lea eax, [ebp - 0x3ec]
push eax
call fcn.00409f98
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00409f4d
add esp, 0xc
mov dword [ebp - 0x340], eax
call fcn.00409f88
and eax, 0x8030b744
movsd dword es:[edi], dword [esi]
int3