joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403a74
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x390
mov eax, dword [0x44608c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
mov eax, 0x101
push 0
push eax
mov ecx, esi
mov dword [ebp - 0x390], eax
call fcn.004046c1
cmp dword [esi + 0x14], 8
jb 0x403aaa
mov eax, dword [esi]
jmp 0x403aac
mov eax, esi
lea ecx, [ebp - 0x390]
push ecx
push eax
push 2
call sub.Secur32.dll_GetUserNameExW
test al, al
je 0x403adf
push 0
push dword [ebp - 0x390]
mov ecx, esi
call fcn.004046c1
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004065bb
mov esp, ebp
pop ebp
ret 4
push 0x4243c0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xf
lea ecx, [ebp - 0x38c]
call fcn.004018f5
push 0x442bc0
lea eax, [ebp - 0x38c]
push eax
call fcn.004073d4
int3

Function at 0x461f20
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x455015
lea edi, [esi - 0x54015]
push edi
or ebp, 0xffffffff
jmp 0x461f42
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x461f49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x461f38
mov eax, 1
add ebx, ebx
jne 0x461f5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x461f50
jne 0x461f6c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x461f50
xor ecx, ecx
sub eax, 3
jb 0x461f80
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x461ff2
mov ebp, eax
add ebx, ebx
jne 0x461f8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x461f98
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x461fbc
inc ecx
add ebx, ebx
jne 0x461fa8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x461f9d
jne 0x461fb9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x461f9d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x461fdc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x461fcd
jmp 0x461f3e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x461fdc
add edi, ecx
jmp 0x461f3e
pop esi
mov edi, esi
mov ecx, 0x32d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x461ffa
cmp byte [edi], 0
jne 0x461ffa
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x461fff
lea edi, [esi + 0x5f000]
mov eax, dword [edi]
or eax, eax
je 0x46206e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x621f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x62254]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x46202c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x62258]
or eax, eax
je 0x462068
mov dword [ebx], eax
add ebx, 4
jmp 0x462049
call dword [esi + 0x6225c]
popal
jmp 0x4095a4
Function at 0x10015217
Capabilities:
Enumerate processes

Disassembly:
push 0x238
mov eax, 0x1002d711
call fcn.10017005
mov ebx, dword [ebp + 8]
test ebx, ebx
jne 0x10015234
xor eax, eax
jmp 0x10015311
xor edi, edi
push edi
push 2
call sub.kernel32.dll_CreateToolhelp32Snapshot
mov esi, eax
test esi, esi
je 0x1001530f
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x23c], 0x22c
push eax
push esi
call sub.kernel32.dll_Process32FirstW
jmp 0x100152e5
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x244]
call fcn.1000128b
push ebx
lea ecx, [ebp - 0x240]
mov dword [ebp - 4], edi
call fcn.1000128b
lea ecx, [ebp - 0x244]
mov byte [ebp - 4], 1
call fcn.10001cc6
lea ecx, [ebp - 0x240]
call fcn.10001cc6
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x240]
push eax
call fcn.10023f77
pop ecx
pop ecx
mov ecx, dword [ebp - 0x240]
lea ecx, [ecx - 0x10]
test al, al
jne 0x100152ef
call fcn.10001eb4
mov ecx, dword [ebp - 0x244]
or dword [ebp - 4], 0xffffffff
lea ecx, [ecx - 0x10]
call fcn.10001eb4
lea eax, [ebp - 0x23c]
push eax
push esi
call sub.kernel32.dll_Process32NextW
test eax, eax
jne 0x10015264
jmp 0x10015308
mov edi, dword [ebp - 0x234]
call fcn.10001eb4
mov ecx, dword [ebp - 0x244]
add ecx, 0xfffffff0
call fcn.10001eb4
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, edi
call fcn.10016faf
ret

Function at 0x10023f77
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x10023f86
pop dword [ebp - 0xc]
mov eax, 0x10023f86
sub dword [ebp - 0xc], eax
push 0x40
push 0x1000
push 0x40d76
push 0
mov eax, 0x1c3a9340
sub eax, 0xc37a1e4
add eax, dword [ebp - 0xc]
call dword [eax]
mov ecx, 0xee18429b
add ecx, 0x11e807ae
xor edi, edi
add edi, eax
mov esi, 0xe54a1fbc
sub esi, 0xd54573bc
add esi, dword [ebp - 0xc]
mov ebx, 0xf639cfb2
add ebx, 0x5d83a4e7
mov edx, dword [esi]
add dword [ebp - 8], 0x23805e6f
xor edx, ebx
mov dword [edi], edx
sub dword [ebp - 8], edi
add edi, 4
add esi, 4
loop 0x10023fe2
add eax, 0x11bf7
xor ebx, ebx
add ebx, eax
add eax, 0x4c2f0710
sub eax, 0x4c2f070b
mov ecx, 0x10000000
add ecx, dword [ebp - 0xc]
call ebx
leave
ret
Function at 0x401f2e69
Capabilities:
Inspect section memory permissions

Disassembly:
mov eax, dword [ecx + 4]
mov esi, dword [ecx]
add eax, esi
cmp dword [ebp - 8], eax
jae 0x401f2e68
mov dword [ebp - 8], eax
add ecx, 0x28
dec edx
shr dword [eax], 0x4a
jne 0x401f2e59
mov byte [ebp - 0x58], bl
mov byte [ebp - 0x57], bl
mov byte [ebp - 0x56], 0x58
mov byte [ebp - 0x55], bl
mov byte [ebp - 0x54], 0xe0
mov byte [ebp - 0x53], 0xc2
mov byte [ebp - 0x52], 0xd3
mov byte [ebp - 0x51], 0xf4
invalid

Function at 0x401f2f77
Capabilities:
Contain obfuscated stackstrings
Inspect section memory permissions

Disassembly:
add edx, dword [esi + 0x458d8fba]
call 0x91078d0a
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.401f2c24
push eax
push esi
push dword [ebp + 8]
call fcn.401f2bd9
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.401f2c24
push eax
push esi
push dword [ebp + 8]
call fcn.401f2bd9
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
inc ebp
loopne 0x401f30af
Function at 0x401f38f6
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc dword [eax]
je 0x401f3ad2
cmp dword [ebp + 0xc], 1
je 0x401f3ad2
cmp dword [ebp + 0xc], 8
jne 0x401f3a9a
and byte [ebp - 0x6b8], 0
invalid
movsd dword es:[edi], dword [esi]
dec ecx
stc
invalid
invalid

Function at 0x401f5dee
Capabilities:
Hash data with md5

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
pop ebp
ret 4
Function at 0x4013c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x45b854]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x124], ecx
mov byte [ebp - 0x110], 0
push 0x104
push 0
lea eax, [ebp - 0x10f]
push eax
call fcn.00430be0
add esp, 0xc
lea ecx, [ebp - 0x110]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 0x448918
lea edx, [ebp - 0x110]
push edx
call fcn.00430900
add esp, 8
push 0x44892c
lea eax, [ebp - 0x110]
push eax
call fcn.00430bc8
add esp, 8
mov ecx, dword [ebp - 0x124]
mov dword [ecx], eax
mov edx, dword [ebp - 0x124]
mov byte [edx + 4], 0
push str._______________Start_n
mov eax, dword [ebp - 0x124]
mov ecx, dword [eax]
push ecx
call fcn.004309e8
add esp, 8
lea edx, [ebp - 0x120]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
movzx eax, word [ebp - 0x114]
push eax
movzx ecx, word [ebp - 0x116]
push ecx
movzx edx, word [ebp - 0x118]
push edx
movzx eax, word [ebp - 0x11a]
push eax
movzx ecx, word [ebp - 0x11e]
push ecx
movzx edx, word [ebp - 0x120]
push edx
push str.Time_:__d._d._d____d:_d:_d_n
mov eax, dword [ebp - 0x124]
mov ecx, dword [eax]
push ecx
call fcn.004309e8
add esp, 0x20
mov eax, dword [ebp - 0x124]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004308d4
mov esp, ebp
pop ebp
ret
Function at 0x4016d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x445c5e
mov eax, dword fs:[0]
push eax
sub esp, 0x140
mov eax, dword [0x45b854]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14c], ecx
mov ecx, dword [ebp - 0x14c]
add ecx, 8
call fcn.004013c0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x14c]
mov dword [eax + 4], 0
call fcn.004059c0
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLCID]
cmp eax, 0x412
jne 0x40176b
push 0x4489c0
mov ecx, dword [ebp - 0x14c]
add ecx, 0x110
push ecx
call fcn.004308f0
add esp, 8
push 0x4489cc
mov edx, dword [ebp - 0x14c]
add edx, 0x128
push edx
call fcn.004308f0
add esp, 8
jmp 0x40179e
push 0x4489d8
mov eax, dword [ebp - 0x14c]
add eax, 0x110
push eax
call fcn.004308f0
add esp, 8
push str.Hancom_PDF
mov ecx, dword [ebp - 0x14c]
add ecx, 0x128
push ecx
call fcn.004308f0
add esp, 8
mov byte [ebp - 0x11c], 0
push 0x104
push 0
lea edx, [ebp - 0x11b]
push edx
call fcn.00430be0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0x4489f0
lea ecx, [ebp - 0x11c]
push ecx
call fcn.00430900
add esp, 8
lea edx, [ebp - 0x11c]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 0
je 0x4018c5
push 0x24
push 0
lea eax, [ebp - 0x148]
push eax
call fcn.00430be0
add esp, 0xc
push str.GetNativeSystemInfo
mov ecx, dword [ebp - 0x124]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x120], eax
cmp dword [ebp - 0x120], 0
jne 0x40185d
mov edx, dword [ebp - 0x124]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0x448a14
mov eax, dword [ebp - 0x14c]
add eax, 0x140
push eax
call fcn.004308f0
add esp, 8
jmp 0x4018c3
lea ecx, [ebp - 0x148]
push ecx
call dword [ebp - 0x120]
movzx edx, word [ebp - 0x148]
cmp edx, 6
je 0x40188e
movzx eax, word [ebp - 0x148]
cmp eax, 0xa
je 0x40188e
movzx ecx, word [ebp - 0x148]
cmp ecx, 9
jne 0x4018aa
push 0x448a24
mov edx, dword [ebp - 0x14c]
add edx, 0x140
push edx
call fcn.004308f0
add esp, 8
jmp 0x4018c3
push 0x448a30
mov eax, dword [ebp - 0x14c]
add eax, 0x140
push eax
call fcn.004308f0
add esp, 8
jmp 0x4018df
push 0x448a40
mov ecx, dword [ebp - 0x14c]
add ecx, 0x140
push ecx
call fcn.004308f0
add esp, 8
mov edx, dword [ebp - 0x14c]
add edx, 0x140
push edx
mov ecx, dword [ebp - 0x14c]
add ecx, 8
call fcn.00401520
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004308d4
mov esp, ebp
pop ebp
ret
Function at 0x4019c0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
mov eax, dword [0x45b854]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xac], ecx
push 0x9c
push 0
lea eax, [ebp - 0xa8]
push eax
call fcn.00430be0
add esp, 0xc
mov dword [ebp - 0xa8], 0x9c
lea ecx, [ebp - 0xa8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0xa4], 5
jne 0x401a1f
cmp dword [ebp - 0xa0], 0
jne 0x401a1f
mov eax, 1
jmp 0x401a21
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004308d4
mov esp, ebp
pop ebp
ret
Function at 0x402270
Capabilities:
Query service status
Start service
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 0x34], ecx
push 0x448bcc
mov ecx, dword [ebp - 0x34]
add ecx, 8
call fcn.00401520
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push SysReAllocStringLen
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4022c9
jmp 0x40244e
push 0xf01ff
push 0x448c08
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4022f5
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x40244e
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push 0x20000000
push 0x448c10
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x30]
push ecx
push 1
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_ControlService]
push 0x448c18
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, dword [ebp - 0x34]
add ecx, 8
call fcn.004015d0
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push 0x80
push 0x448c2c
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x30]
push edx
push 4
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_ControlService]
cmp dword [ebp - 0x2c], 1
jne 0x40235e
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 0x34]
call fcn.004019c0
cmp eax, 1
jne 0x402396
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x14
push str.spooler
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov dword [ebp - 8], eax
push 0x7f02
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
cmp eax, 1
jne 0x402416
push 0x448c3c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, dword [ebp - 0x34]
add ecx, 8
call fcn.004015d0
lea ecx, [ebp - 0x30]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
cmp dword [ebp - 0x18], 0
je 0x402416
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp - 0x30]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
jmp 0x4023f6
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push 0x448c50
mov ecx, dword [ebp - 0x34]
add ecx, 8
call fcn.00401520
mov esp, ebp
pop ebp
ret
Function at 0x405780
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 0xc]
push eax
call fcn.00431630
add esp, 4
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 1
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esp, ebp
pop ebp
ret 8

Function at 0x4059c0
Capabilities:
Delete registry value
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push 0x449fac
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4059fc
push 0x449fe0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret

Function at 0x405a00
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x405a51
mov ecx, dword [ebp + 8]
push ecx
call fcn.00431630
add esp, 4
push eax
mov edx, dword [ebp + 8]
push edx
push 1
push 0
push str.PDF_driver
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret
Function at 0x405db0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1228
call fcn.004316c0
mov eax, dword [0x45b854]
xor eax, ebp
mov dword [ebp - 0x1014], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 1
mov eax, dword [ebp + 8]
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x405e0a
jmp 0x405f86
lea ecx, [ebp - 0x10]
push ecx
push 0x1000
lea edx, [ebp - 0x1010]
push edx
mov eax, dword [ebp - 4]
push eax
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x405f86
mov ecx, dword [ebp + 0xc]
and ecx, 1
je 0x405ec7
mov byte [ebp - 0x1120], 0
push 0x104
push 0
lea edx, [ebp - 0x111f]
push edx
call fcn.00430be0
add esp, 0xc
push 0x105
lea eax, [ebp - 0x1120]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + ecx*4 - 0x1010]
push edx
mov eax, dword [ebp - 4]
push eax
call sub.PSAPI.DLL_GetModuleBaseNameA
test eax, eax
jne 0x405e82
jmp 0x405f86
push 1
lea ecx, [ebp - 0x1120]
push ecx
call fcn.00405cf0
add esp, 8
movzx edx, al
test edx, edx
je 0x405ec7
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x1120]
push ecx
push str._nMatching_Process_:__s__PID_:__u_
mov edx, dword [ebp + 0x10]
push edx
call fcn.004309e8
add esp, 0x10
mov dword [ebp - 0xc], 0
jmp 0x405f86
mov eax, dword [ebp + 0xc]
and eax, 2
je 0x405f86
mov dword [ebp - 8], 0
jmp 0x405ee5
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x10]
shr edx, 2
cmp dword [ebp - 8], edx
jae 0x405f86
mov byte [ebp - 0x1228], 0
push 0x104
push 0
lea eax, [ebp - 0x1227]
push eax
call fcn.00430be0
add esp, 0xc
push 0x105
lea ecx, [ebp - 0x1228]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp + edx*4 - 0x1010]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.PSAPI.DLL_GetModuleFileNameExA
test eax, eax
je 0x405f7d
push 2
lea edx, [ebp - 0x1228]
push edx
call fcn.00405cf0
add esp, 8
movzx eax, al
test eax, eax
je 0x405f7b
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + ecx*4 - 0x1010]
push edx
lea eax, [ebp - 0x1228]
push eax
push str._nMatchingModule_:__s__0x_08X_
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.004309e8
add esp, 0x10
mov dword [ebp - 0xc], 0
jmp 0x405f86
jmp 0x405f81
jmp 0x405f86
jmp 0x405edc
cmp dword [ebp - 4], 0
je 0x405f96
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1014]
xor ecx, ebp
call fcn.004308d4
mov esp, ebp
pop ebp
ret
Function at 0x405fb0
Capabilities:
Enumerate process modules
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1138
call fcn.004316c0
mov eax, dword [0x45b854]
xor eax, ebp
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
call fcn.00405a60
add esp, 4
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 8], 0
lea ecx, [ebp - 0x134]
push ecx
push 0x1000
lea edx, [ebp - 0x1138]
push edx
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
jne 0x40601c
xor eax, eax
jmp 0x40613b
mov eax, dword [ebp - 0x134]
shr eax, 2
mov dword [ebp - 0x24], eax
mov dword [ebp - 0xc], 0
mov byte [ebp - 0x130], 0
push 0x104
push 0
lea ecx, [ebp - 0x12f]
push ecx
call fcn.00430be0
add esp, 0xc
lea edx, [ebp - 0x130]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push str.ProcessList.txt
lea eax, [ebp - 0x130]
push eax
call fcn.00430900
add esp, 8
push 0x44a09c
lea ecx, [ebp - 0x130]
push ecx
call fcn.00430bc8
add esp, 8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x406099
mov eax, 2
jmp 0x40613b
xor edx, edx
mov word [ebp - 0x20], dx
xor eax, eax
mov dword [ebp - 0x1e], eax
mov dword [ebp - 0x1a], eax
mov dword [ebp - 0x16], eax
mov word [ebp - 0x12], ax
lea ecx, [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
movzx edx, word [ebp - 0x14]
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 - 0x1e]
push eax
movzx ecx, word [ebp - 0x20]
push ecx
push str._n__________________________________________d._d._d__d:_d:_d_
mov edx, dword [ebp - 0xc]
push edx
call fcn.004309e8
add esp, 0x20
mov dword [ebp - 8], 0
jmp 0x4060f9
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp - 0x24]
jae 0x406124
mov edx, dword [ebp - 0xc]
push edx
push 2
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + eax*4 - 0x1138]
push ecx
call fcn.00405db0
add esp, 0xc
test eax, eax
jne 0x406122
xor eax, eax
jmp 0x40613b
jmp 0x4060f0
cmp dword [ebp - 0xc], 0
je 0x406136
mov edx, dword [ebp - 0xc]
push edx
call fcn.00430cd1
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0x28]
xor ecx, ebp
call fcn.004308d4
mov esp, ebp
pop ebp
ret
Function at 0x40d351
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x40d398
call fcn.0041cec3
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x40d398
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x40d3b4
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0040cecb
mov esi, eax
test edi, edi
je 0x40d3b2
test ebx, ebx
je 0x40d3b2
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x40e27e
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x446884
call fcn.004328c3
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x40e2a3
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x40e2e9
lea ecx, [ebp - 0x10]
call fcn.0040a568
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040db09
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.0040720c
mov eax, esi
call fcn.0043299b
ret 8

Function at 0x410cd9
Capabilities:
Contain obfuscated stackstrings

Disassembly:
or byte [eax + 0x2ff845c6], ah
mov byte [ebp - 0x24], 0x34
and byte [ebp - 0x36c], 0
and byte [ebp - 0x36b], 0
mov byte [ebp - 0x36a], 0xaa
stosb byte es:[edi], al