joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401810
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push ebx
push ebp
mov edx, dword [eax]
lea ebp, [ecx + 4]
push esi
mov dword [ecx], edx
lea esi, [eax + 4]
mov ebx, ebp
push edi
mov edi, dword [eax]
xor ecx, ecx
sub ebx, esi
mov eax, dword [esi]
add esi, 4
mov edx, eax
sub eax, ecx
xor edx, edi
add eax, edi
mov edi, ecx
mov dword [ebx + esi - 4], edx
imul edi, ecx
xor eax, edi
inc ecx
cmp ecx, 7
mov edi, eax
jl 0x40182e
mov ecx, dword [ebp]
xor eax, eax
pop edi
cmp ecx, 0x4e4e4f4b
pop esi
pop ebp
sete al
pop ebx
ret

Function at 0x401870
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
push ebx
mov ebx, eax
not eax
shr ebx, 2
add edx, eax
xor eax, eax
push esi
mov esi, dword [esp + 0x10]
test ebx, ebx
jle 0x4018b4
push ebp
mov ebp, dword [esp + 0x10]
push edi
sub ebp, esi
mov edi, dword [esi]
add esi, 4
mov ecx, edi
add edi, eax
xor ecx, edx
add edi, edx
mov edx, eax
mov dword [esi + ebp - 4], ecx
imul edx, eax
xor edx, edi
inc eax
cmp eax, ebx
jl 0x401895
pop edi
pop ebp
pop esi
pop ebx
ret

Function at 0x453f76
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, section.sect_0
call 0x453f76
lcall 0x5de5, 0x8b10c483
jmp loc.00969538
Function at 0x430172
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
pushal
mov edx, dword [ebp + 8]
mov ax, word [edx]
cmp ax, 0x5a4d
jne 0x4301a1
mov eax, dword [edx + 0x3c]
add edx, eax
mov eax, dword [edx]
cmp eax, 0x4550
jne 0x4301a1
add edx, 4
mov dword [ebp - 4], edx
popal
mov eax, dword [ebp - 4]
leave
ret 8
popal
sub eax, eax
leave
ret 8

Function at 0x430dff
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov ecx, 3
mov edx, 1
push ecx
push dword [ebp + 8]
call fcn.00430f02
rol eax, 8
push dword [ebp + 0xc]
push eax
call fcn.00430f1c
push edx
push dword [ebp + 0x10]
push eax
call fcn.00430eea
inc edx
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.00430f02
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.00430ecb
push ecx
push dword [ebp + 8]
call fcn.00430f02
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.00430f02
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.00430ecb
push ecx
push dword [ebp + 8]
call fcn.00430f02
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.00430f02
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.00430ecb
push ecx
push dword [ebp + 8]
call fcn.00430f02
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.00430f02
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.00430ecb
cmp ecx, 0x2b
jne 0x430e0f
leave
ret 0xc

Function at 0x432495
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
pushal
mov byte [ebp - 0x118], 0x42
mov byte [ebp - 0x117], 0x72
mov byte [ebp - 0x116], 0x75
mov byte [ebp - 0x115], 0x74
mov byte [ebp - 0x114], 0x65
mov byte [ebp - 0x113], 0x66
mov byte [ebp - 0x112], 0x6f
mov byte [ebp - 0x111], 0x72
mov byte [ebp - 0x110], 0x63
mov byte [ebp - 0x10f], 0x69
mov byte [ebp - 0x10e], 0x6e
mov byte [ebp - 0x10d], 0x67
mov byte [ebp - 0x10c], 0x20
mov byte [ebp - 0x10b], 0x4b
mov byte [ebp - 0x10a], 0x65
mov byte [ebp - 0x109], 0x79
mov byte [ebp - 0x108], 0
mov eax, 1
lea edi, [ebp - 0x14]
mov ecx, 0x10
mov al, 0
mov byte [edi], al
inc edi
dec ecx
jne 0x432525
mov eax, dword [ebp + 8]
push 4
push 0x3000
push 0xdad0
push 0
call dword [eax + 0x20]
test eax, eax
je 0x4325b7
mov dword [ebp - 4], eax
mov edi, eax
mov esi, dword [ebp + 0xc]
mov ecx, 0xdad0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0xc]
push dword [ebp + 0xc]
push 0xdad0
call fcn.004323d4
push 0xdad0
push dword [ebp + 0xc]
call fcn.004301a8
test eax, eax
jne 0x432599
mov esi, dword [ebp - 4]
mov edi, dword [ebp + 0xc]
mov ecx, 0xdad0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x14]
push eax
call fcn.004325be
test eax, eax
je 0x4325b7
jmp 0x432555
mov eax, dword [ebp + 8]
push 0x8000
push 0
push dword [ebp - 4]
call dword [eax + 0x28]
test eax, eax
je 0x4325b7
popal
mov eax, 1
leave
ret 8
popal
sub eax, eax
leave
ret 8
Function at 0x4325ec
Capabilities:
Terminate process

Disassembly:
call fcn.004325f9
push 0
call dword [sym.imp.KERNEL32.DLL_ExitProcess]

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219

Function at 0x403910
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
add ecx, 4
mov dword [0x4040fe], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x404670], eax
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x404604], eax
mov dword [0x4040f6], eax
mov dword [0x4045f0], 0x30
mov dword [0x4045f4], 2
jmp 0x403955
mov dword [0x4045f8], 0x402f69
mov dword [0x4045fc], 0
mov dword [0x404600], 0
mov dword [0x404618], 0x404564
mov dword [0x404610], 0xf
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x404608], eax
mov dword [0x40461c], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x40460c], eax
push 0x4045f0
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x4040f6]
push 0
push 0
push 0x1e5
push 0x203
push 0xfffff98e
push 0xfffff9c0
push 0xcf0000
push str.asdlkjalsdj_ai8
push str.first
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x404668], eax
push 5
push dword [0x404668]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x404668]
call dword [sym.imp.user32.dll_UpdateWindow]
xor edi, edi
lea ebx, [0x404620]
jmp 0x403a29
push ebx
call dword [sym.imp.user32.dll_TranslateMessage]
push ebx
call dword [sym.imp.user32.dll_DispatchMessageA]
push edi
push edi
push edi
push ebx
call dword [sym.imp.user32.dll_GetMessageA]
test al, al
jne 0x403a1b
mov eax, dword [0x404628]
jmp 0x403a44
call 0x402a90
ret
Function at 0x401208
Capabilities:
Stop service

Disassembly:
jmp 0x4fc4b0
push 0xffffffffffffffff
push 0x78a140
mov eax, dword fs:[0]
push eax
sub esp, 0x90
push ebx
push ebp
push esi
push edi
mov eax, dword [0x856918]
xor eax, esp
push eax
lea eax, [esp + 0xa4]
mov dword fs:[0], eax
mov edi, dword [esp + 0xb8]
xor ebx, ebx
mov dword [esp + 0x4c], ebx
cmp dword [edi + 0x14], ebx
jne 0x4fc516
mov esi, dword [esp + 0xb4]
push 0x1a
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
push str.CWFP::StopWFP___Wrong_data
mov ecx, esi
mov byte [esi + 4], bl
call fcn.00405920
jmp 0x4fc6db
lea eax, [esp + 0x14]
push eax
call fcn.00404c0a
mov ebp, 0x10
cmp dword [esp + 0x2c], ebp
jb 0x4fc538
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00564155
add esp, 4
push 2
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov esi, eax
cmp esi, ebx
jne 0x4fc56f
mov esi, dword [esp + 0xb4]
push 0x22
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
push str.CWFP::StopWFP___Failed_to_open_SCM
mov ecx, esi
mov byte [esi + 4], bl
call fcn.00405920
jmp 0x4fc6db
cmp dword [edi + 0x18], 8
jb 0x4fc57a
mov eax, dword [edi + 4]
jmp 0x4fc57d
lea eax, [edi + 4]
push 0xf01ff
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
cmp edi, ebx
jne 0x4fc621
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
lea edx, [esp + 0x50]
push edi
push edx
call fcn.004083af
add esp, 8
mov esi, eax
push str.CWFP::StopWFP___Failed_to_open_service_with_error:
lea ecx, [esp + 0x18]
mov dword [esp + 0xb0], ebx
call fcn.004062df
push esi
mov esi, dword [esp + 0xb8]
push eax
push esi
mov byte [esp + 0xb8], 1
call fcn.00402fd1
add esp, 0xc
cmp dword [esp + 0x2c], ebp
jb 0x4fc5f5
mov eax, dword [esp + 0x18]
push eax
call fcn.00564155
add esp, 4
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
cmp dword [esp + 0x68], ebp
jb 0x4fc6db
mov ecx, dword [esp + 0x54]
push ecx
call fcn.00564155
add esp, 4
jmp 0x4fc6db
xor eax, eax
lea edx, [esp + 0x30]
push edx
push 1
push edi
xor ebp, ebp
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x4fc65b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call edi
push esi
call edi
cmp ebp, ebx
je 0x4fc6c8
lea eax, [esp + 0x88]
push ebp
push eax
call fcn.004083af
add esp, 8
mov esi, eax
push str.Failed_to_stop_service_with_error
lea ecx, [esp + 0x70]
mov dword [esp + 0xb0], 2
call fcn.004062df
push esi
mov esi, dword [esp + 0xb8]
push eax
push esi
mov byte [esp + 0xb8], 3
call fcn.00402fd1
add esp, 0xc
lea ecx, [esp + 0x6c]
call fcn.00402ed7
lea ecx, [esp + 0x88]
call fcn.00402ed7
jmp 0x4fc6db
mov esi, dword [esp + 0xb4]
push 0x7bb877
mov ecx, esi
call fcn.004062df
mov eax, esi
mov ecx, dword [esp + 0xa4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x9c
ret 8
Function at 0x4017e4
Capabilities:
Enumerate processes
Terminate process

Disassembly:
jmp 0x4c4f70
sub esp, 0x134
mov eax, dword [0x856918]
xor eax, esp
mov dword [esp + 0x130], eax
mov eax, dword [esp + 0x138]
push esi
push 0x124
lea ecx, [esp + 0x14]
push 0
push ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0
call fcn.00566330
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [esp + 4], esi
cmp esi, 0xffffffff
je 0x4c5042
push ebp
lea edx, [esp + 0x10]
push edx
push esi
mov dword [esp + 0x18], 0x128
call sub.KERNEL32.dll_Process32First
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4c503e
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_OpenProcess]
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x40]
push ecx
call fcn.005687ea
add esp, 8
test eax, eax
jne 0x4c502d
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [esp + 0x20]
cmp ecx, eax
je 0x4c502d
push ecx
push 0
push 1
call edi
mov esi, eax
test esi, esi
je 0x4c5029
push 0
push esi
call ebx
push esi
call ebp
mov esi, dword [esp + 0x10]
lea edx, [esp + 0x18]
push edx
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x4c4ff0
pop edi
pop ebx
push esi
call ebp
pop ebp
mov ecx, dword [esp + 0x134]
pop esi
xor ecx, esp
call fcn.00564b24
add esp, 0x134
ret

Function at 0x401811
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x48b780
push 0xffffffffffffffff
push 0x780e30
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x856918]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, dword [edi + 0x18]
mov eax, dword [ecx + 4]
cmp byte [eax + 0x31], 0
mov ebx, dword [esp + 0x70]
mov ebp, ecx
jne 0x48b7d4
mov ecx, dword [ebx]
lea ecx, [ecx]
cmp dword [eax + 0xc], ecx
jae 0x48b7ca
mov eax, dword [eax + 8]
jmp 0x48b7ce
mov ebp, eax
mov eax, dword [eax]
cmp byte [eax + 0x31], 0
je 0x48b7c0
mov esi, dword [edi]
mov eax, dword [edi + 0x18]
mov dword [esp + 0x18], eax
test esi, esi
je 0x48b7e5
cmp esi, esi
je 0x48b7ea
call fcn.00565471
cmp ebp, dword [esp + 0x18]
je 0x48b7f7
mov ecx, dword [ebx]
cmp ecx, dword [ebp + 0xc]
jae 0x48b862
lea edx, [esp + 0x70]
push edx
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x24]
call fcn.00405b7d
mov ecx, dword [ebx]
lea edx, [esp + 0x1c]
mov dword [esp + 0x3c], ecx
push edx
lea ecx, [esp + 0x44]
mov dword [esp + 0x6c], 0
call fcn.00402752
lea eax, [esp + 0x3c]
push eax
push ebp
push esi
lea ecx, [esp + 0x20]
push ecx
mov ecx, edi
mov byte [esp + 0x78], 1
call fcn.00407cc5
mov esi, dword [eax]
mov ebp, dword [eax + 4]
lea ecx, [esp + 0x40]
mov byte [esp + 0x68], 0
call fcn.00407c25
lea ecx, [esp + 0x1c]
mov dword [esp + 0x68], 0xffffffff
call fcn.00407c25
test esi, esi
jne 0x48b88e
call fcn.00565471
cmp ebp, dword [esi + 0x18]
jne 0x48b875
call fcn.00565471
lea eax, [ebp + 0x10]
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 4
mov esi, dword [esi]
jmp 0x48b86b
Function at 0x4019a6
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x4ab4b0
push 0xffffffffffffffff
push 0x783c78
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x856918]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
push esi
push edi
mov eax, dword [0x856918]
xor eax, esp
push eax
lea eax, [esp + 0xb4]
mov dword fs:[0], eax
mov esi, dword [esp + 0xc4]
xor ebx, ebx
cmp dword [esi + 0x14], ebx
je 0x4ab6f9
cmp word [esi + 0x1c], bx
je 0x4ab6f9
push 0x7b4c48
lea ecx, [esp + 0x3c]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], ebx
call fcn.00403706
push 0x2b
mov edi, 0xf
push str.http:__www.keepmyfamilysecure.com_test.html
lea ecx, [esp + 0x20]
mov dword [esp + 0xc4], ebx
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
call fcn.00405920
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x70], esp
push ebx
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push 0x7b3a8b
mov byte [esp + 0xe0], 1
mov byte [ecx + 4], bl
call fcn.00405920
movzx eax, word [esi + 0x1c]
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x70], esp
push 0xffffffffffffffff
push ebx
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push esi
mov byte [esp + 0x104], 2
mov byte [ecx + 4], bl
call fcn.00403fb2
mov esi, dword [esp + 0x104]
push esi
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x58]
push edx
push ebx
push ebx
lea eax, [esp + 0x88]
push eax
push ebx
lea ecx, [esp + 0x70]
push ecx
lea edx, [esp + 0xb4]
push edx
mov byte [esp + 0x11c], 3
call fcn.00408a71
mov ecx, eax
mov byte [esp + 0x11c], 1
call fcn.00407e23
cmp dword [esp + 0x30], 0x10
jb 0x4ab5eb
mov eax, dword [esp + 0x1c]
push eax
call fcn.00564155
add esp, 4
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
cmp dword [esp + 0x50], 8
mov byte [esp + 0xbc], 6
jb 0x4ab613
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.00564155
add esp, 4
xor edx, edx
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], dx
cmp dword [esp + 0x6c], ebx
je 0x4ab641
cmp dword [esp + 0x70], 0x10
jb 0x4ab6f9
mov eax, dword [esp + 0x5c]
push eax
jmp 0x4ab6f1
mov ecx, dword [esp + 0x14]
cmp ecx, ebx
je 0x4ab6e5
cmp dword [esp + 0x10], ebx
je 0x4ab6e5
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
add esi, 0x64
push esi
call eax
test eax, eax
je 0x4ab674
lea ecx, [esp + 0x58]
call fcn.00402ed7
jmp 0x4ab6f9
mov ecx, dword [esp + 0x10]
push ecx
lea edx, [esp + 0x78]
push edx
call fcn.00408a71
mov ecx, eax
call fcn.0040160e
cmp dword [esp + 0x88], ebx
jne 0x4ab6dc
mov eax, dword [esp + 0xa8]
sub eax, dword [esp + 0xa4]
cmp eax, 4
jne 0x4ab6dc
push eax
push 0x7b4c78
push ebx
lea ecx, [esp + 0xa4]
call fcn.004067e4
push eax
call fcn.0056748b
add esp, 0xc
test eax, eax
jne 0x4ab6dc
lea ecx, [esp + 0x74]
call fcn.00407d4c
lea ecx, [esp + 0x58]
call fcn.00402ed7
mov al, 1
jmp 0x4ab6fb
lea ecx, [esp + 0x74]
call fcn.00407d4c
cmp dword [esp + 0x70], 0x10
jb 0x4ab6f9
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.00564155
add esp, 4
xor al, al
mov ecx, dword [esp + 0xb4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.00564b24
add esp, 0xb0
ret
Function at 0x401a69
Capabilities:
Enumerate processes
Resolve function by parsing pe exports

Disassembly:
jmp 0x4d96b0
push 0xffffffffffffffff
push 0x786fd1
mov eax, dword fs:[0]
push eax
sub esp, 0x188
mov eax, dword [0x856918]
xor eax, esp
mov dword [esp + 0x184], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x856918]
xor eax, esp
push eax
lea eax, [esp + 0x19c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x1ac]
xor ebx, ebx
push 0x124
lea eax, [esp + 0x78]
push ebx
push eax
mov dword [esp + 0x7c], ebx
call fcn.00566330
add esp, 0xc
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [esp + 0x18], esi
cmp esi, 0xffffffff
jne 0x4d9725
xor al, al
jmp 0x4d987a
lea ecx, [esp + 0x70]
push ecx
push esi
mov dword [esp + 0x78], 0x128
mov byte [esp + 0x1e], bl
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x4d986f
mov edi, 0x10
lea esp, [esp]
lea eax, [esp + 0x94]
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4d9770
sub eax, edx
push eax
lea edx, [esp + 0x98]
push edx
lea ecx, [esp + 0x24]
call fcn.00405920
lea eax, [esp + 0x38]
push ebp
push eax
mov dword [esp + 0x1ac], ebx
call fcn.004037e7
mov esi, eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x60]
push edx
mov byte [esp + 0x1b4], 1
call fcn.004037e7
add esp, 0x10
mov ecx, dword [esi + 0x14]
mov byte [esp + 0x1a4], 2
cmp dword [esi + 0x18], edi
jb 0x4d97ce
mov esi, dword [esi + 4]
jmp 0x4d97d1
add esi, 4
push ecx
mov ecx, dword [eax + 0x14]
push esi
push ecx
push ebx
mov ecx, eax
call fcn.00408076
test eax, eax
sete byte [esp + 0x17]
cmp dword [esp + 0x6c], edi
jb 0x4d97f9
mov edx, dword [esp + 0x58]
push edx
call fcn.00564155
add esp, 4
mov esi, 0xf
mov dword [esp + 0x6c], esi
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
cmp dword [esp + 0x50], edi
jb 0x4d981d
mov eax, dword [esp + 0x3c]
push eax
call fcn.00564155
add esp, 4
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
mov dword [esp + 0x1a4], 0xffffffff
cmp dword [esp + 0x34], edi
jb 0x4d9847
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00564155
add esp, 4
cmp byte [esp + 0x17], bl
jne 0x4d9866
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x70]
push edx
push eax
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x4d9750
jmp 0x4d986b
mov byte [esp + 0x16], 1
mov esi, dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [esp + 0x16]
mov ecx, dword [esp + 0x19c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x184]
xor ecx, esp
call fcn.00564b24
add esp, 0x194
ret 4

Function at 0x401ad7
Capabilities:
Set registry value

Disassembly:
jmp 0x4c50c0
push esi
mov esi, dword [esp + 0xc]
push edi
push esi
xor edi, edi
call dword [sym.imp.ADVAPI32.dll_GetSecurityDescriptorLength]
push eax
mov eax, dword [esp + 0x10]
push esi
push 3
push edi
push str.LaunchPermission
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
lea eax, [edi + 1]
je 0x4c50ed
mov eax, edi
pop edi
pop esi
ret 8
Function at 0x401ce9
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x4ddbb0
push ecx
mov eax, dword [esp + 0xc]
push esi
mov esi, 0x10
cmp dword [eax + 0x18], esi
jb 0x4ddbc5
mov eax, dword [eax + 4]
jmp 0x4ddbc8
add eax, 4
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push ecx
push 0x20019
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4ddbe9
xor al, al
pop esi
pop ecx
ret
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x18], esi
jb 0x4ddbf7
mov eax, dword [eax + 4]
jmp 0x4ddbfa
add eax, 4
mov edx, dword [esp + 0x10]
push 0
push 0
lea ecx, [esp + 0xc]
push ecx
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
pop esi
pop ecx
ret
Function at 0x402040
Capabilities:
Set registry value

Disassembly:
jmp 0x4cdee0
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, ecx
test esi, esi
jne 0x4cdef4
pop edi
lea eax, [esi + 0xd]
pop esi
ret 0xc
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [esp + 0xc]
mov edx, dword [edi]
inc eax
push eax
mov eax, dword [esp + 0x18]
push esi
push eax
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
ret 0xc

Function at 0x402248
Capabilities:
Enumerate processes

Disassembly:
jmp 0x4c4ea0
sub esp, 0x12c
mov eax, dword [0x856918]
xor eax, esp
mov dword [esp + 0x128], eax
push ebx
push esi
push edi
mov edi, dword [esp + 0x13c]
xor ebx, ebx
push 0x124
lea eax, [esp + 0x14]
push ebx
push eax
mov dword [esp + 0x18], ebx
call fcn.00566330
add esp, 0xc
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x4c4f00
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.00564b24
add esp, 0x12c
ret
lea ecx, [esp + 0xc]
push ecx
push esi
mov dword [esp + 0x14], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x4c4f4e
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edi, edi
lea edx, [esp + 0x34]
push edi
push edx
call fcn.005687ea
add esp, 8
test eax, eax
jne 0x4c4f3a
call ebp
cmp dword [esp + 0x18], eax
jne 0x4c4f4b
lea eax, [esp + 0x10]
push eax
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x4c4f20
jmp 0x4c4f4d
mov bl, 1
pop ebp
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x134]
pop edi
pop esi
mov al, bl
pop ebx
xor ecx, esp
call fcn.00564b24
add esp, 0x12c
ret