joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41077c
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
mov eax, 0x4207b9
call sub.msvcrt.dll__EH_prolog
sub esp, 0x40
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp - 0x10], esp
push esi
mov dword [ebp - 0x24], esi
push esi
mov dword [ebp - 4], esi
call dword [sym.imp.ole32.dll_CoInitializeEx]
push esi
push esi
push esi
push 3
push esi
push esi
push esi
push 0xffffffffffffffff
push esi
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
lea eax, [ebp - 0x18]
push eax
push 0x426e84
push 1
push esi
push 0x426f54
mov dword [ebp - 0x18], esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
push edx
push esi
push esi
push esi
push esi
push esi
push esi
push str.ROOTCIMV2
mov dword [ebp - 0x14], esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
cmp eax, esi
jl 0x410914
push esi
push esi
push 3
push 3
push esi
push esi
push 0xa
push dword [ebp - 0x14]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x1c]
push edx
push esi
push 0x20
push str.Select__From_Win32_OperatingSystem
push 0x426340
mov dword [ebp - 0x1c], esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
cmp eax, esi
jl 0x41090d
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
cmp eax, esi
je 0x4108ea
mov ecx, dword [eax]
lea edx, [ebp - 0x20]
push edx
lea edx, [ebp - 0x24]
push edx
push 1
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
cmp dword [ebp - 0x20], esi
je 0x4108ea
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
push esi
push esi
lea edx, [ebp - 0x4c]
push edx
push esi
push str.InstallDate
push eax
mov byte [ebp - 4], 1
call dword [ecx + 0x10]
push 1
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x44]
call fcn.004106c4
add esp, 0xc
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
call dword [0x640164]
push 0x104
push esi
push eax
call dword [0x6400fc]
mov esi, eax
movzx eax, word [ebp - 0x30]
push eax
movzx eax, word [ebp - 0x32]
push eax
movzx eax, word [ebp - 0x34]
push eax
movzx eax, word [ebp - 0x3c]
push eax
movzx eax, word [ebp - 0x3a]
push eax
movzx eax, word [ebp - 0x36]
push eax
push str._d__d__d__d:_d:_d
push esi
call dword [0x63ff8c]
mov ecx, dword [ebp + 8]
add esp, 0x20
push esi
call fcn.0040f923
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
jmp 0x4108fb
or dword [ebp - 4], 0xffffffff
push 0x426384
mov ecx, dword [ebp + 8]
call fcn.0040f923
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
push 0x426374
jmp 0x4108f3
push 0x42637c
jmp 0x4108f3
Function at 0x410925
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
mov eax, 0x4207cb
call sub.msvcrt.dll__EH_prolog
sub esp, 0x28
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp - 0x10], esp
push esi
mov dword [ebp - 0x24], esi
push esi
mov dword [ebp - 4], esi
call dword [sym.imp.ole32.dll_CoInitializeEx]
push esi
push esi
push esi
push 3
push esi
push esi
push esi
push 0xffffffffffffffff
push esi
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
lea eax, [ebp - 0x18]
push eax
push 0x426e84
push 1
push esi
push 0x426f54
mov dword [ebp - 0x18], esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
push edx
push esi
push esi
push esi
push esi
push esi
push esi
push str.rootSecurityCenter2
mov dword [ebp - 0x14], esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
cmp eax, esi
jl 0x410a5d
push esi
push esi
push 3
push 3
push esi
push esi
push 0xa
push dword [ebp - 0x14]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x1c]
push edx
push esi
push 0x20
push str.Select__From_AntiVirusProduct
push 0x4263f8
mov dword [ebp - 0x1c], esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
cmp eax, esi
jl 0x410a56
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
cmp eax, esi
je 0x410a33
mov ecx, dword [eax]
lea edx, [ebp - 0x20]
push edx
lea edx, [ebp - 0x24]
push edx
push 1
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
cmp dword [ebp - 0x20], esi
je 0x410a33
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
push esi
push esi
lea edx, [ebp - 0x34]
push edx
push esi
push str.displayName
push eax
mov byte [ebp - 4], 1
call dword [ecx + 0x10]
push dword [ebp - 0x2c]
call fcn.00410c8d
pop ecx
mov ecx, dword [ebp + 8]
push eax
call fcn.0040f923
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
jmp 0x410a44
or dword [ebp - 4], 0xffffffff
push str.Unknown
mov ecx, dword [ebp + 8]
call fcn.0040f923
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
push 0x426418
jmp 0x410a3c
push 0x426420
jmp 0x410a3c

Function at 0x411250
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0xe], eax
mov dword [ebp - 0xa], eax
mov dword [ebp - 0x18], ecx
lea eax, [ebp - 0x20]
mov ecx, 0x414
push eax
mov dword [ebp - 0x1c], 3
mov dword [ebp - 0x14], 0x426441
mov word [ebp - 0x10], cx
mov dword [ebp - 6], 0x426442
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
leave
ret
Function at 0x412d62
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
mov eax, 0x41e5f2
call sub.msvcrt.dll__EH_prolog
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.0040f95a
and dword [ebp - 4], 0
lea eax, [edi + 0xc]
push eax
lea ecx, [esi + 0xc]
call fcn.0040f95a
lea eax, [edi + 0x18]
push eax
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 1
call fcn.0040f95a
mov eax, dword [edi + 0x24]
mov dword [esi + 0x24], eax
mov eax, dword [edi + 0x28]
mov dword [esi + 0x28], eax
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x2c], eax
mov eax, dword [edi + 0x30]
add edi, 0x34
push edi
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 2
mov dword [esi + 0x30], eax
call fcn.0040f95a
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0x414437
Capabilities:
Create thread

Disassembly:
mov eax, 0x421045
call sub.msvcrt.dll__EH_prolog
sub esp, 0x48
push ebx
xor ebx, ebx
push esi
mov dword [ebp - 0x10], ebx
lea ecx, [ebp - 0x54]
mov dword [ebp - 4], 2
call fcn.00413460
test byte [0x63ff28], 1
mov eax, dword [ebp + 0x30]
mov byte [ebp - 4], 3
je 0x41446d
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x54], eax
lea eax, [ebp + 0x74]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040f9e1
mov eax, dword [ebp + 0x80]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x84]
mov dword [ebp - 0x1c], eax
lea eax, [ebp + 0x38]
push eax
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call fcn.0040f9e1
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x44]
call fcn.0040f9e1
lea eax, [ebp + 0x18]
push eax
lea ecx, [ebp - 0x38]
call fcn.0040f9e1
mov esi, 0x3e8
jmp 0x4144c6
push esi
call dword [0x63ffa4]
cmp dword [0x63ff28], 2
jae 0x4144bf
inc dword [0x63ff28]
push ebx
push ebx
lea eax, [ebp - 0x54]
push eax
push 0x413326
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp + 8]
push 0x42655a
call fcn.0040f923
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x10], 1
mov byte [ebp - 4], 2
call fcn.004134ac
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00401061
lea ecx, [ebp + 0x74]
mov byte [ebp - 4], bl
call fcn.0040f98e
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x415843
Capabilities:
Get disk information

Disassembly:
mov eax, 0x4213d0
call sub.msvcrt.dll__EH_prolog
sub esp, 0x454
push ebx
push esi
push edi
xor ebx, ebx
xor esi, esi
push ebx
inc esi
push 0x42682c
lea ecx, [ebp + 0x7c]
mov dword [ebp - 4], esi
xor edi, edi
mov dword [ebp - 0x10], ebx
call fcn.0040fb4d
push eax
call dword [0x640098]
test eax, eax
je 0x41587e
mov edi, esi
push ebx
push 0x42683c
lea ecx, [ebp + 0x7c]
call fcn.0040fb4d
push eax
call dword [0x640098]
test eax, eax
je 0x41589c
mov edi, esi
mov dword [ebp - 0x10], esi
cmp edi, ebx
je 0x4159ac
lea eax, [ebp - 0x78]
push eax
push 0x64
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
lea esi, [ebp - 0x78]
cmp byte [ebp - 0x78], bl
je 0x415a0c
push 0x3e8
lea eax, [ebp - 0x460]
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp dword [ebp - 0x10], ebx
je 0x415900
cmp eax, 2
jne 0x415900
lea ecx, [ebp + 0x7c]
call fcn.0040fb4d
push eax
lea eax, [ebp - 0x460]
push eax
call dword [0x6401a8]
push esi
push str._DRIVE_REMOVABLE_
jmp 0x41591c
lea ecx, [ebp + 0x7c]
call fcn.0040fb4d
push eax
lea eax, [ebp - 0x460]
push eax
call dword [0x6401a8]
push esi
push str._DRIVE_FIXED_
lea eax, [ebp - 0x460]
push eax
call fcn.00410eb9
add esp, 0xc
push eax
lea eax, [ebp - 0x460]
push eax
call dword [0x6401a8]
push ebx
push dword [ebp + 0xa0]
lea ecx, [ebp + 0x88]
push edi
push dword [ebp + 0x98]
push ebx
push dword [ebp + 0x94]
call fcn.0040fb4d
push eax
lea eax, [ebp - 0x460]
push eax
lea ecx, [ebp + 0x70]
call fcn.0040fb4d
push eax
push 0x42651a
lea ecx, [ebp + 0xa4]
call fcn.0040fb4d
push eax
sub esp, 0x68
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.004010b1
call fcn.004153f6
add esp, 0x94
push esi
call dword [0x640020]
lea esi, [esi + eax + 1]
cmp byte [esi], bl
jne 0x4158bc
jmp 0x415a0c
push ebx
push dword [ebp + 0xa0]
lea ecx, [ebp + 0x88]
push ebx
push dword [ebp + 0x98]
push ebx
push dword [ebp + 0x94]
call fcn.0040fb4d
push eax
lea ecx, [ebp + 0x7c]
call fcn.0040fb4d
push eax
lea ecx, [ebp + 0x70]
call fcn.0040fb4d
push eax
push 0x42651b
lea ecx, [ebp + 0xa4]
call fcn.0040fb4d
push eax
sub esp, 0x68
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.004010b1
call fcn.004153f6
add esp, 0x94
mov eax, dword [ebp + 0xb0]
lea ecx, [ebp + 8]
mov dword [eax], ebx
mov byte [ebp - 4], bl
call fcn.00401061
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x70]
call fcn.00412d12
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x466ea0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x4e000]
push edi
jmp 0x466eba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x466ec1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x466eb0
mov eax, 1
add ebx, ebx
jne 0x466ed3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x466ee4
jne 0x466f03
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x466f03
dec eax
add ebx, ebx
jne 0x466ef0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x466ec8
add ebx, ebx
jne 0x466eff
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x466f55
xor ecx, ecx
sub eax, 3
jb 0x466f1b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x466f8a
sar eax, 1
mov ebp, eax
jmp 0x466f26
add ebx, ebx
jne 0x466f26
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x466ef4
inc ecx
add ebx, ebx
jne 0x466f34
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x466ef4
add ebx, ebx
jne 0x466f41
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x466f36
jne 0x466f52
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x466f36
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x466f74
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x466f66
jmp 0x466eb6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x466f74
add edi, ecx
jmp 0x466eb6
pop esi
mov edi, esi
mov ecx, 0x15ab
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x466f92
cmp byte [edi], 0xa
jne 0x466f92
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 al, bl
loop 0x466f97
lea edi, [esi + 0x64000]
mov eax, dword [edi]
or eax, eax
je 0x46700f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x6b288]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x6b374]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x466fc4
mov ecx, edi
jns 0x466ff3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x6b37c]
or eax, eax
je 0x467009
mov dword [ebx], eax
add ebx, 4
jmp 0x466fe1
call dword [esi + 0x6b378]
mov ebp, dword [esi + 0x6b380]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x467043
sub esp, 0xffffff80
jmp 0x432db0
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x449348
Capabilities:
Encode data using xor

Disassembly:
in al, dx
cmp al, 6
mov bl, 0xf2
adc dl, byte [ebp + 0x15]
outsb dx, byte [esi]
dec ebx
add eax, 0x43ee2012
add al, 0x20
out dx, eax
inc ebx
add esp, dword [eax]
invalid

Function at 0x628062
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, pe_nt_image_headers32
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.006280e5
jae 0x628070
xor ecx, ecx
call fcn.006280e5
jae 0x62809f
xor eax, eax
call fcn.006280e5
jae 0x6280af
mov bl, 2
inc ecx
mov al, 0x10
call fcn.006280e5
adc al, al
jae 0x628091
jne 0x6280db
stosb byte es:[edi], al
jmp 0x628073
call fcn.006280f1
sub ecx, ebx
jne 0x6280b8
call fcn.006280ef
jmp 0x6280d7
lodsb al, byte [esi]
shr eax, 1
je 0x628101
adc ecx, ecx
jmp 0x6280d4
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.006280ef
cmp eax, 0x7d00
jae 0x6280d4
cmp ah, 5
jae 0x6280d5
cmp eax, 0x7f
ja 0x6280d6
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x628073
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret
Function at 0x401000
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x130
mov eax, dword [0x40e004]
xor eax, esp
mov dword [esp + 0x12c], eax
mov eax, dword [esp + 0x134]
push ebx
mov ebx, dword [esp + 0x13c]
push ebp
push edi
mov dword [esp + 0xc], eax
xor eax, eax
push eax
push 2
xor edi, edi
mov dword [esp + 0x18], 0x128
mov dword [0x40f040], eax
mov dword [0x40f044], eax
mov dword [0x40f048], eax
mov dword [0x40f04c], eax
mov dword [0x40f050], eax
mov dword [0x40f054], eax
mov dword [0x40f058], eax
mov dword [0x40f05c], eax
mov dword [0x40f060], eax
mov dword [0x40f064], eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebp, eax
test ebp, ebp
je 0x4010c6
lea ecx, [esp + 0x10]
push ecx
push ebp
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x4010c6
push esi
mov esi, 0x40f040
lea ebx, [ebx]
mov edx, dword [esp + 0x10]
push edx
lea eax, [esp + 0x3c]
push eax
call fcn.0040a381
add esp, 8
test eax, eax
jne 0x4010b6
mov eax, dword [esp + 0x1c]
mov dword [ebx], eax
mov dword [esi], eax
mov edi, 1
add esi, 4
lea ecx, [esp + 0x14]
push ecx
push ebp
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x401090
pop esi
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x138]
mov eax, edi
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.00401880
add esp, 0x130
ret

Function at 0x401190
Capabilities:
Enumerate gui resources

Disassembly:
sub esp, 8
mov eax, dword [esp + 0xc]
lea ecx, [esp]
push ecx
push 0x4010f0
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [esp + 4]
add esp, 8
ret
Function at 0x401880
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40e004]
jne 0x40188a
repz ret
jmp fcn.004022d9

Function at 0x4087a5
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0040408c
xor ebx, ebx
cmp dword [0x40fa7c], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x40887a
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x4087e5
xor eax, eax
jmp 0x40893e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x40b9c8
push edi
call esi
cmp eax, ebx
je 0x4087de
push eax
call fcn.00404029
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x40fa7c], eax
call esi
push eax
call fcn.00404029
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x40fa80], eax
call esi
push eax
call fcn.00404029
mov dword [0x40fa84], eax
lea eax, [ebp - 8]
push eax
call fcn.00401dab
test eax, eax
pop ecx
pop ecx
je 0x408848
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004027b6
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x40887a
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00404029
cmp eax, ebx
pop ecx
mov dword [0x40fa8c], eax
je 0x40887a
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404029
pop ecx
mov dword [0x40fa88], eax
mov eax, dword [0x40fa88]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x4088f3
cmp dword [0x40fa8c], esi
je 0x4088f3
push eax
call fcn.00404095
pop ecx
call eax
cmp eax, ebx
je 0x4088c0
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x40fa8c]
call fcn.00404095
pop ecx
call eax
test eax, eax
je 0x4088c0
test byte [ebp - 0x18], 1
jne 0x4088f3
lea eax, [ebp - 0xc]
push eax
call fcn.00401de2
test eax, eax
pop ecx
je 0x4088db
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004027b6
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x4088ea
or dword [ebp + 0x10], 0x200000
jmp 0x408924
or dword [ebp + 0x10], 0x40000
jmp 0x408924
mov eax, dword [0x40fa80]
cmp eax, esi
je 0x408924
push eax
call fcn.00404095
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x408924
mov eax, dword [0x40fa84]
cmp eax, esi
je 0x408924
push dword [ebp - 4]
push eax
call fcn.00404095
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x40fa7c]
call fcn.00404095
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0xdd5f24
Capabilities:
Encode data using xor

Disassembly:
jmp 0xdd5f2e
pushal
call 0xdd5f34
pop ebp
sub ebp, 0x10
sub ebp, 0x9d5f24
jmp 0xdd5f4a
mov eax, 0x9d5f24
add eax, ebp
add eax, 0x4c
mov ecx, 0x5bd
mov edx, 0x1ea03fd2
xor byte [eax], dl
inc eax
dec ecx
jne 0xdd5f61
jmp 0xdd5f74
pop ecx
pop ds
pop ecx
pop ebx
out dx, al
rcl dl, cl
rcl byte [ebx + 0x13], cl
sub dl, dl
rcl dl, cl
rcr dword [edi], 1
push 0xffffffffffffffd7
rcl dl, cl
shr byte [eax - 6], cl
rcl dl, cl
shl byte [0x591ad130], cl
push ebx
invalid
Function at 0x4023b5
Capabilities:
Check for time delay via gettickcount
Terminate process

Disassembly:
push esi
mov esi, dword [sym.imp.KERNEL32.DLL_GetTickCount]
push edi
call esi
push 0x7d0
mov edi, eax
call dword [sym.imp.KERNEL32.DLL_Sleep]
call esi
sub eax, edi
cmp eax, 0x5dc
pop edi
pop esi
ja 0x4023e1
push 0
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
xor eax, eax
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
push esi
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
push eax
call fcn.00403d55
pop ecx
mov esi, str.ws2_32.dll
push esi
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
push str.WSAStartup
push esi
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
lea ecx, [ebp - 0x194]
push ecx
push 2
call eax
push 0xa365
push 0x232
push 0x10
push 0
push str.__srvmgr32
call dword [sym.imp.USER32.dll_FindWindowA]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [ebp - 4]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov esi, str.ZwQueryService
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.00402530
test eax, eax
je 0x40276b
call fcn.0040319d
test eax, eax
jne 0x402772
xor eax, eax
jmp 0x402819
call fcn.004032c8
push dword [0x406068]
call fcn.0040218b
mov dword [esp], 0x40103d
push 0xbb8
push 0x161
push dword [0x406074]
call dword [sym.imp.USER32.dll_SetTimer]
call fcn.00403477
test eax, eax
jne 0x4027ad
call fcn.004034fd
call fcn.00401b50
call fcn.00401b36
push 0x5c
push dword [0x406068]
call fcn.0040382a
push eax
call fcn.00402337
push 0x5c
push dword [0x40606c]
call fcn.0040382a
push eax
call fcn.00402337
push 0x5c
push dword [0x406070]
call fcn.0040382a
push eax
call fcn.00402337
call fcn.00402329
push esi
call fcn.00402352
push 0x5c
push dword [0x40606c]
call fcn.0040382a
push eax
call fcn.00402352
add esp, 0x34
call fcn.004026ac
xor eax, eax
inc eax
pop esi
leave
ret