joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43edc0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46f348
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.00468181
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.0043e760
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.004680af
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.00464978
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.00464978
push 1
push 0
push 0
mov ecx, esi
call fcn.00464920
push 1
push 0
push 1
mov ecx, esi
call fcn.00464920
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004681f3
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x43ef40
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46f368
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.00468181
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0043e760
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.004680af
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x43f004
cmp dword [esp + 0x40], 1
jne 0x43f002
cmp ecx, eax
jge 0x43f004
mov eax, ecx
cmp eax, 0xc8
jge 0x43f010
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0043edc0
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004681f3
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x43f790
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46f3d3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00462d93
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.00468429
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00469945
test eax, eax
je 0x43f8ac
mov ecx, dword [esp + 0x3c]
call fcn.00468456
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x43f870
push edi
mov ecx, esi
call fcn.00465ac3
mov ecx, esi
call fcn.0043fa10
cmp dword [esp + 0x38], 1
jne 0x43f8a5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.00465bfe
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x4422e0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x442313
push esi
call fcn.004453f0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x44230c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x442399
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x442382
mov eax, dword [esi + 8]
test eax, eax
je 0x442337
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x44237e
cmp eax, 2
je 0x442382
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44232a
cmp eax, 3
je 0x44235d
cmp eax, 1
jne 0x44232a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x44232a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x44232a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.004423c0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4423a8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.004423c0
add esp, 4
pop esi
ret

Function at 0x44e300
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x44e3a3
test eax, eax
jbe 0x44e3a3
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x44e3a3
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x44e34e
xor esi, esi
jmp 0x44e354
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x44e37f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.00407dc0
add esi, eax
push esi
mov ebx, esi
call fcn.00407dc0
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x44e360
pop ebp
test edi, edi
pop edi
jne 0x44e3a3
test ebx, ebx
je 0x44e3a3
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.004527f0
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x44e4e5
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x44e5fd
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x44e5fd
mov eax, dword [esi + 0x3c]
push eax
call fcn.004631e5
mov esi, eax
test esi, esi
je 0x44e5fd
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x44e5fd
mov ecx, esi
call fcn.0044e450
cmp edi, eax
jge 0x44e5fd
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x44e583
mov dword [esp + 0x34], 1
jmp 0x44e5de
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x44e5fd
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.0044da30
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x463b89
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x463bc1
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00461c13
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00461beb
jmp 0x463bcd
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x465280
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4652c2
call fcn.0046ad35
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4652c2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4652b9
xor eax, eax
jmp 0x4652ca
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004652d0
pop edi
pop esi
pop ebx
ret 4
Function at 0x46b265
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x46b293
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46b2b1
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0046b1cb
jmp 0x46b2b1
mov eax, dword [esi + 0x14]
test eax, eax
je 0x46b2b1
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0046b1cb
test edi, edi
mov eax, edi
jne 0x46b29b
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x1005bee
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
cmp byte [ecx], al
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], eax
je 0x1005c24
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
jne 0x1005c28
xor eax, eax
jmp 0x1005c3e
mov eax, dword [ebp - 8]
push 0x400
imul eax, dword [ebp - 0xc]
push dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
leave
ret 4

Function at 0x1006ec9
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov eax, esi
shr eax, 2
push edi
mov edi, eax
dec eax
test edi, edi
jle 0x1006f09
lea edi, [eax + 1]
movzx eax, byte [ecx]
inc ecx
xor ebx, ebx
mov bh, byte [ecx]
or eax, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x10
or eax, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x18
or eax, ebx
inc ecx
xor edx, eax
dec edi
jne 0x1006ee7
and esi, 3
xor eax, eax
dec esi
je 0x1006f25
dec esi
je 0x1006f1e
dec esi
jne 0x1006f2a
movzx eax, byte [ecx]
shl eax, 0x10
inc ecx
xor ebx, ebx
mov bh, byte [ecx]
or eax, ebx
inc ecx
movzx ecx, byte [ecx]
or eax, ecx
pop edi
pop esi
xor eax, edx
pop ebx
ret 0xc

Function at 0x43fcae
Capabilities:
Encrypt data using dpapi

Disassembly:
push esi
push edi
push 0x46b5d8
push str.AdvApi32.dll
call main
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
mov esi, eax
test esi, esi
js 0x43fcf1
push str.SystemFunction040
push dword [0x46b5d8]
call edi
push str.SystemFunction041
push dword [0x46b5d8]
mov dword [0x46b5e0], eax
call edi
mov dword [0x46b5e4], eax
jmp 0x43fcf6
mov eax, dword [0x46b5e4]
cmp dword [0x46b5e0], 0
je 0x43fd07
test eax, eax
jne 0x43fdae
push 0x46b5dc
push str.Crypt32.dll
call main
mov esi, eax
test esi, esi
js 0x43fdb8
push str.CryptProtectMemory
push dword [0x46b5dc]
call edi
cmp dword [0x46b5e0], 0
mov dword [0x46b5e8], eax
jne 0x43fd6c
test eax, eax
jne 0x43fd6c
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x43fd56
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x43fd5d
mov esi, 0x80004005
push esi
push 0x28
push str.cryputil.cpp
call fcn.00403821
jmp 0x43fdb8
push str.CryptUnprotectMemory
push dword [0x46b5dc]
call edi
cmp dword [0x46b5e4], 0
mov dword [0x46b5ec], eax
jne 0x43fdae
test eax, eax
jne 0x43fdae
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x43fda2
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x43fda9
mov esi, 0x80004005
push esi
push 0x2d
jmp 0x43fd60
mov dword [0x46b5f0], 1
pop edi
mov eax, esi
pop esi
ret
Function at 0x41a5d0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x12000]
push edi
or ebp, 0xffffffff
jmp 0x41a5f2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41a5f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41a5e8
mov eax, 1
add ebx, ebx
jne 0x41a60b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41a600
jne 0x41a61c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41a600
xor ecx, ecx
sub eax, 3
jb 0x41a630
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41a6a2
mov ebp, eax
add ebx, ebx
jne 0x41a63b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41a648
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41a66c
inc ecx
add ebx, ebx
jne 0x41a658
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41a64d
jne 0x41a669
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41a64d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41a68c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41a67d
jmp 0x41a5ee
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41a68c
add edi, ecx
jmp 0x41a5ee
pop esi
mov edi, esi
mov ecx, 0x2d2
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41a6aa
cmp byte [edi], 1
jne 0x41a6aa
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 0x41a6af
lea edi, [esi + 0x18000]
mov eax, dword [edi]
or eax, eax
je 0x41a71e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1dd70]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1de38]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41a6dc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1de3c]
or eax, eax
je 0x41a718
mov dword [ebx], eax
add ebx, 4
jmp 0x41a6f9
call dword [esi + 0x1de4c]
mov ebp, dword [esi + 0x1de40]
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 0x41a752
sub esp, 0xffffff80
jmp 0x40c712
Function at 0x4039a0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
lea ecx, [esp]
push ebx
push esi
push edi
call sub.MFC42.DLL_CFile::CFile
mov al, byte [esp + 0x20]
mov ebx, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
mov byte [0x430ead], al
mov eax, dword [0x430058]
mov ecx, ebx
sar ecx, 8
cmp eax, 1
mov byte [0x430eac], 2
mov byte [0x430eae], cl
mov byte [0x430eaf], bl
mov byte [0x430eb0], 0xff
mov esi, 0x430eb1
jne 0x4039fc
push 0x42e29c
call dword [sym.imp.MSVCRT.dll_printf]
add esp, 4
lea eax, [edi + ebx]
cmp edi, eax
jae 0x403a0d
mov dl, byte [edi]
mov byte [esi], dl
inc esi
inc edi
cmp edi, eax
jb 0x403a03
mov byte [esi], 3
inc esi
mov eax, 0x430ead
xor cl, cl
lea edx, [esi - 1]
cmp edx, eax
jbe 0x403a28
mov bl, byte [eax]
xor cl, bl
inc eax
cmp eax, edx
jb 0x403a1f
mov eax, dword [0x430058]
mov byte [0x430eb0], cl
inc eax
lea ecx, [esp + 0xc]
mov dword [0x430058], eax
call fcn.0042121a
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x10
ret 0xc
Function at 0x407610
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
lea ecx, [esp]
push esi
call sub.MFC42.DLL_CFile::CFile
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov al, byte [esp + 0x18]
mov byte [0x430eac], 3
lea esi, [ecx + edx]
mov byte [0x430ead], al
cmp ecx, esi
mov eax, 0x430eae
jae 0x40764b
mov dl, byte [ecx]
mov byte [eax], dl
inc eax
inc ecx
cmp ecx, esi
jb 0x407641
mov byte [eax], 4
inc eax
mov ecx, 0x430eac
xor dl, dl
mov byte [eax], 0
inc eax
cmp eax, ecx
pop esi
jbe 0x40766a
push ebx
mov bl, byte [ecx]
xor dl, bl
inc ecx
cmp ecx, eax
jb 0x407660
pop ebx
mov eax, dword [0x43005c]
lea ecx, [esp]
inc eax
mov byte [0x4310af], dl
mov dword [0x43005c], eax
call fcn.0042121a
mov eax, 1
add esp, 0x10
ret 0xc

Function at 0x407690
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
lea ecx, [esp]
call sub.MFC42.DLL_CFile::CFile
mov al, byte [esp + 0x14]
xor ecx, ecx
mov byte [0x430ead], al
mov byte [0x430eac], 3
mov byte [0x430eae], 0xf
mov byte [0x430eaf], 4
mov byte [0x430eb0], cl
xor eax, eax
mov dl, byte [eax + 0x430eac]
xor cl, dl
inc eax
cmp eax, 5
jl 0x4076c4
mov eax, dword [0x430060]
mov byte [0x430eb0], cl
inc eax
lea ecx, [esp]
mov dword [0x430060], eax
call fcn.0042121a
mov eax, 1
add esp, 0x10
ret 0xc

Function at 0x408530
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
lea ecx, [esp]
push ebx
push esi
push edi
call sub.MFC42.DLL_CFile::CFile
mov al, byte [esp + 0x20]
mov ebx, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
mov byte [0x430ead], al
mov eax, dword [0x430064]
mov ecx, ebx
sar ecx, 8
cmp eax, 1
mov byte [0x430eac], 2
mov byte [0x430eae], cl
mov byte [0x430eaf], bl
mov byte [0x430eb0], 0xff
mov esi, 0x430eb1
jne 0x40858c
push 0x42e29c
call dword [sym.imp.MSVCRT.dll_printf]
add esp, 4
lea eax, [edi + ebx]
cmp edi, eax
jae 0x40859d
mov dl, byte [edi]
mov byte [esi], dl
inc esi
inc edi
cmp edi, eax
jb 0x408593
mov byte [esi], 3
inc esi
mov eax, 0x430ead
xor cl, cl
lea edx, [esi - 1]
cmp edx, eax
jbe 0x4085b8
mov bl, byte [eax]
xor cl, bl
inc eax
cmp eax, edx
jb 0x4085af
mov eax, dword [0x430064]
mov byte [0x430eb0], cl
inc eax
lea ecx, [esp + 0xc]
mov dword [0x430064], eax
call fcn.0042121a
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x10
ret 0xc
Function at 0x40d340
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x422740
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
lea ecx, [esp]
mov dword [esp + 0x2c], 0
call fcn.00421016
lea ecx, [esp + 0x20]
mov byte [esp + 0x2c], 1
call fcn.00421016
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c], 2
call fcn.00421016
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 3
call fcn.00421016
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 4
call fcn.00421016
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 5
call fcn.00421016
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 6
call fcn.00421016
lea ecx, [esp + 8]
mov byte [esp + 0x2c], 7
call fcn.00421016
lea ecx, [esp + 4]
mov byte [esp + 0x2c], 8
call fcn.00421016
mov eax, dword [esp + 0x34]
mov ecx, dword [0x43191c]
push eax
push ecx
lea edx, [esp + 8]
push 0x42e1cc
push edx
mov byte [esp + 0x3c], 9
call sub.MFC42.DLL_CString::Format_1
mov eax, dword [esp + 0x10]
add esp, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 4]
mov byte [esp + 0x2c], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov byte [esp + 0x2c], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x2c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp]
mov byte [esp + 0x2c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret 4
Function at 0x40d4b0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x422758
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push esi
push edi
mov ecx, 0x14
xor eax, eax
lea edi, [esp + 0x14]
xor ebx, ebx
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x19c]
mov dword [esp + 0x194], ebx
call sub.MFC42.DLL_CString::MakeUpper
mov eax, dword [esp + 0x19c]
lea ecx, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, 0x49
xor eax, eax
lea edi, [esp + 0x68]
mov dword [esp + 0x64], ebx
push ebx
push 2
rep stosd dword es:[edi], eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x10], esi
je 0x40d5e4
lea edx, [esp + 0x64]
mov dword [esp + 0x64], 0x128
push edx
push esi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x40d5dd
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetPriorityClass]
mov dword [esp + 0x10], ebx
mov ebx, dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0xa
call edi
mov eax, dword [esp + 0x70]
push eax
push 0
push 0x1f0fff
call ebx
mov esi, eax
push esi
call ebp
lea ecx, [esp + 0x8c]
push ecx
call dword [sym.imp.MSVCRT.dll__strupr]
lea edx, [esp + 0x1c]
push edx
push eax
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 0xc
test eax, eax
je 0x40d5be
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ecx, dword [esp + 0x10]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x40d5d8
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [esp + 0x10], eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x68]
push edx
push eax
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x40d55d
mov esi, dword [esp + 0x14]
pop ebp
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x19c]
mov dword [esp + 0x194], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x18c]
pop edi
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4