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

Disassembly:
add byte [eax], al
mov edx, dword [esi - 0x20fff7bc]
sub ecx, eax
xor al, byte [esi + 0x84c]
lcall 0x7c0a, 0xdfc085c2
add al, 0x85

Function at 0x406200
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
std
cmpsb byte [esi], byte es:[edi]
cmpsd dword [esi], dword es:[edi]
push ebx
push esi
push edi
cmp dword [eax + 4], 1
pcmpgtd mm6, qword [edi + 1]
js 0x406213
add dword [edi], ecx
ja 0x406215
add dword [eax], eax
add byte [eax], al
xchg ecx, eax
pop eax
or al, 0x8b
inc ebp
add byte [ecx + 0x458b0c58], dl
inc ebx
xor ecx, ecx
mov edx, dword [eax + 4]
mov edi, dword [ebx + 4]
test edx, edx
mov dword [ebp + 0x5a], edi
jbe 0x406240
mov ebp, 0x581c35
add byte [ebx + 0x1e3b0c28], al
je 0x40624e
inc ecx
add esi, 0x14
xor dl, cl
jb 0x4062a1
pop edi
test al, 0x9c
jg 0x406278
add dword [eax], eax
pop ebx
mov esp, ebp
cmp dl, al
or byte [eax], al
mov eax, dword [edi + 0x41]
lea esi, [edx - 1]
cmp edi, dword [esi]
mov dword [eax + 4], esi
jae 0x4062aa
lea ebx, [ebx + ebx*4]
lea edi, [ecx + ecx*4]
mov al, byte [0xbec102e3]
and byte [ebx], ch
ror dword [ecx + 0x55c5087d], 1
cld
mov ecx, dword [eax + 0x301c]
mov esi, ebp
pop edi
mov esp, dword [ebx + 0xf34360c]
cmp ebx, dword [esi - 0x26]
jne 0x406288
dec dword [eax + 4]
jmp 0x4062f3
jg 0x40620d
mov ecx, 0x505b9
add bl, dh
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 0x14c38308]
mov ecx, dword [ebp - 4]
or byte [ebx + 0x4d8b14c3], al
cld
sbb dword [edi + 0x7d891a14], 8
mov dword [ebp - 0x67], ecx
popfd
and byte [ebx + 0x508bf87d], cl
or al, 0xc3
leave
test edx, edx
and eax, 0x1070af2e
cmp dword [esi], edi
je 0x4062c4
or byte [ecx + 0x209d994d], cl
mov edi, dword [ebp - 8]
mov edx, dword [eax + 0xc]
ret
inc ecx
cmpsb byte [esi], byte es:[edi]
mov byte [ebx + edi], 0xca
stosd dword es:[edi], eax
hlt
dec edx
cmp ecx, edx
jae 0x4062de
lea edx, [eax + ecx*4 + 0x10]
test byte [edx + 4], dh
inc ecx
mov dword [edx], esi
xchg edi, eax
retf
invalid
cmp dword [esi], edi
je 0x406301
inc ecx
add esi, 0x12
cmp ecx, edx
jb 0x406294
jmp 0x406352
dec edx
cmp ecx, edx
jae 0x4062f8
popfd
xchg esp, eax
sbb dl, byte [esp + edx*2]
add byte [eax], al
mov esi, dword [edx + 4]
inc ecx
mov dword [edx], esi
mov edx, dword [eax + 0x1010]
xor dword [ecx + 4], 0x4e
cmp ecx, esi
jb 0x40630d
dec dword [eax + 0x1810]
mov edx, dword [eax + 0xbb2056]
xor ebx, dword [ecx]
insd dword es:[edi], dx
js 0x4063a8
cmp cl, byte [ebp + 0x201850]
add byte [ecx], bh
xor dword [edx + ecx - 0x6e], esi
add esi, 4
cmp ecx, edx
inc edi
hlt
add byte [ebx - 0x76befb8e], cl
xor cl, byte [ebx + 0x3014b0]
add byte [ebx + 0x6eed04c2], al
mov esi, dword [edx + 4]
inc ecx
mov dword [edx], esi
mov esi, dword [eax + 0x3014]
add edx, 4
in eax, dx
outsb dx, byte [esi]
into
jb 0x406353
dec dword [eax + 0x2014]
mov ecx, dword [eax - 0x76ff02e8]
cmp edi, ecx
salc
test ecx, ecx
jle 0x406382
dec ecx
xor cl, byte [eax + 0x6c18]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
mov word [eax + ecx], cs
pop edi
pop esi
mov eax, 0xd1000009
dec ecx
mov ebx, eax
pop ebp
ret 8
Function at 0x40b266
Capabilities:
Encode data using xor

Disassembly:
pop esi
push esi
xor dword [esi], ebx
lodsd eax, dword [esi]
add ebx, eax
test eax, eax
jne 0x40b268
ret
Function at 0x40e910
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4292cc]
add eax, 0x40
push 0x4261ba
push 0x426184
push eax
call fcn.0040e8f0
mov eax, dword [0x428328]
add esp, 0x10
test eax, eax
je 0x40e941
mov eax, 1
leave
ret
push ecx
push ecx
push 1
push 0x428e38
call 0x420eb0
nop

Function at 0x40e950
Capabilities:
Hash data using sha1

Disassembly:
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
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x18], 0
mov dword [eax + 0x14], 0
pop ebp
ret

Function at 0x412940
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
mov edx, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
xor edx, 0xffffffff
mov esi, dword [ebp + 0xc]
test ebx, ebx
je 0x412970
xor ecx, ecx
mov al, byte [ecx + esi]
inc ecx
xor eax, edx
shr edx, 8
and eax, 0xff
xor edx, dword [eax*4 + 0x426580]
cmp ecx, ebx
jne 0x412957
xor edx, 0xffffffff
pop ebx
mov eax, edx
pop esi
pop ebp
ret
Function at 0x412722
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
cmp dword [0x4186e0], 0
push ebx
push esi
mov esi, 0x4186e8
jne 0x41274e
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
push esi
mov dword [0x418700], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x4186e0], 1
push dword [0x418700]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
test ebx, ebx
jne 0x4127eb
push 0x14
push 8
push dword [0x418068]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
test ebx, ebx
je 0x412815
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x4186e4]
test eax, eax
je 0x412790
mov dword [eax], ebx
push edi
push esi
mov dword [ebx + 4], eax
mov dword [0x4186e4], ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea edi, [ebx + 0x10]
push 0
push 0
push 0x100000
push edi
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push 8
push 0xffffffffffffffff
push ebx
push 0x41281a
push dword [edi]
lea eax, [ebx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
push ebx
push dword [0x418700]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop edi
push 0xc
push 0
push dword [0x418068]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x412815
mov ecx, dword [esp + 0xc]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x10]
mov dword [eax + 8], ecx
mov ecx, dword [ebx + 8]
mov dword [eax], ecx
mov dword [ebx + 8], eax
pop esi
pop ebx
ret 8

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
nop
nop
mov ecx, 0x47f676eb
nop
nop
nop
test eax, eax
nop
nop
je 0x42e04e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x42e024
nop
mov eax, section..data
nop
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x20092081
nop
nop
nop
test eax, eax
nop
je 0x42e084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x5d8aa6
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x5d87dc
mov edi, edi
call fcn.005d8ad6
sub edi, 1
inc ebx
xor dword [ecx], eax
mov edi, 0x8030bc4f
dec edi
add ecx, 2
sub ebx, ebx
cmp ecx, edx
jl fcn.005d8aa6
sub edi, 0x9d25916b
ret
Function at 0x401219
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40201c
push 0x40109a
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push eax
fnstcw word [esp]
or word [esp], 0x300
fldcw word [esp]
add esp, 4
push 0
push 0
push 0x402028
push 0x402024
push 0x402020
call sub.CRTDLL.DLL___GetMainArgs
push dword [0x402028]
push dword [0x402024]
push dword [0x402020]
mov dword [0x402014], esp
call fcn.0040177c
add esp, 0x18
xor ecx, ecx
mov dword [ebp - 4], ecx
push eax
call sub.CRTDLL.DLL_exit
leave
ret

Function at 0x401327
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
push eax
push edi
and dword [ebp - 4], 0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call sub.ADVAPI32.DLL_RegCreateKeyExA
push dword [ebp + 0x10]
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegDeleteKeyA
xor edi, edi
cmp eax, edi
xchg edi, eax
sete al
xchg edi, eax
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegCloseKey
mov eax, edi
pop edi
leave
ret

Function at 0x40148a
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0x14]
and dword [ebp - 4], 0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call sub.ADVAPI32.DLL_RegCreateKeyExA
mov ecx, edi
or eax, 0xffffffff
inc eax
cmp byte [ecx + eax], 0
jne 0x4014be
mov dword [ebp - 8], eax
push dword [ebp - 8]
push edi
push 1
push 0
push dword [ebp + 0x10]
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegSetValueExA
mov esi, eax
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegCloseKey
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401040
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebx
push str.Executing_shellcode..._n
call fcn.00401010
add esp, 4
push 0x40
push 0x1000
push 0x2b063
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ebx, eax
test ebx, ebx
jne 0x40107a
push str.Error_allocating_memory_for_shellcode._n
call fcn.00401010
add esp, 4
lea eax, [ebx + 1]
pop ebx
ret
push esi
push edi
push str.hello
call fcn.00401010
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 4
xor esi, esi
push 0
call edi
mov al, byte [esi + 0x402190]
add al, 3
push esi
push 0x402158
mov byte [esi + 0x4593e0], al
call fcn.00401010
inc esi
add esp, 8
cmp esi, 0x2b063
jb 0x401091
xor esi, esi
nop dword [eax]
mov eax, esi
imul eax, esi
push eax
push 0x40215c
call fcn.00401010
inc esi
add esp, 8
cmp esi, 0x64
jl 0x4010c0
push 0x2b063
push 0x2b063
push 0x2b063
push str._d__d__d
call fcn.00401010
add esp, 0x10
xor esi, esi
push 0
call edi
mov al, byte [esi + 0x4593e0]
sub al, 3
push esi
push 0x402158
mov byte [esi + 0x42e378], al
call fcn.00401010
inc esi
add esp, 8
cmp esi, 0x2b063
jb 0x4010f7
pop edi
pop esi
push 0x40216c
call fcn.00401010
push 0x2b063
push 0x2b063
push 0x2b063
push str._d__d__d
call fcn.00401010
push 0x2b063
push 0x42e378
push ebx
call sub.VCRUNTIME140.dll_memcpy
call ebx
push str.Shellcode_execution_complete._n
call fcn.00401010
add esp, 0x24
push 0x8000
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
pop ebx
ret

Function at 0x40197b
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4019ba
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4019ba
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4019ba
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4019ba
cmp dword [ecx + 0x74], 0xe
jbe 0x4019ba
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

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

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

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x4b000]
push edi
jmp 0x4748ba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4748c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4748b0
mov eax, 1
add ebx, ebx
jne 0x4748d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4748e4
jne 0x474903
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x474903
dec eax
add ebx, ebx
jne 0x4748f0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4748c8
add ebx, ebx
jne 0x4748ff
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x474955
xor ecx, ecx
sub eax, 3
jb 0x47491b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x47498a
sar eax, 1
mov ebp, eax
jmp 0x474926
add ebx, ebx
jne 0x474926
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4748f4
inc ecx
add ebx, ebx
jne 0x474934
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4748f4
add ebx, ebx
jne 0x474941
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x474936
jne 0x474952
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x474936
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x474974
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x474966
jmp 0x4748b6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x474974
add edi, ecx
jmp 0x4748b6
pop esi
mov edi, esi
mov ecx, 0x1cc9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x474992
cmp byte [edi], 0xa
jne 0x474992
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 0x474997
lea edi, [esi + 0x6f000]
mov eax, dword [edi]
or eax, eax
je 0x474a06
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x7a2ec]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x7a3b4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4749c4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x7a3b8]
or eax, eax
je 0x474a00
mov dword [ebx], eax
add ebx, 4
jmp 0x4749e1
call dword [esi + 0x7a3c8]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x474a37
cmp al, 0xef
ja 0x474a2a
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x474a0c
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x474a19
mov ebp, dword [esi + 0x7a3bc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
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 0x474a6b
sub esp, 0xffffff80
jmp 0x42a9a5
Function at 0x401d40
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
sbb esi, 0xca
not edi
imul edx
rcl edx, 0xee
add esi, 0x9a
neg edx
inc esi
add edx, 0xc7
or edi, 0x99
ror esi, 0x8e
sbb eax, 0xe4
ror edx, 0x43
dec ebx
or ebx, 0x50
rcl ebx, 0x8d
neg edi
rcl edi, 0xbd
imul ebx
rcr eax, 0xb8
and esi, 0xd4
imul ebx
imul edx
dec esi
ror ebx, 0x11
rcl ebx, 0xe7
bswap edx
rol ebx, 0x32
ror esi, 0xa8
add esi, 0x26
not edx
ror eax, 0x8b
imul eax
imul esi
dec esi
sbb ebx, 0x58
ror eax, 0xa5
imul edx
neg edx
neg edx
rol edx, 0xba
neg eax
rcl esi, 0x46
rcr eax, 0xd0
add eax, 0x73
imul edx
sub edx, 0xd4
add eax, 0x24
sub esi, 0x21
rcr esi, 0xbb
sbb edx, 0x9e
xor ecx, ecx
xor edi, edi
not esi
dec edx
imul edx
dec eax
dec edi
not eax
bswap esi
add edi, 0x7c
rol eax, 0x28
sub edi, 0xf2
sub edi, 0x31
inc esi
add eax, 0x6f
or edi, 0x73
dec edi
and esi, 0x30
bswap eax
rol esi, 0x92
neg edx
sub esi, 0xa6
and eax, 0x28
inc edx
mov eax, 0xa7
bswap edx
inc ebx
imul edx
neg ebx
rol ebx, 0x7a
rcl edi, 0x90
rcr ebx, 5
bswap edi
imul edi
mov ebx, 0x6e
or eax, 0xa9
dec edx
rcr edx, 0x23
rol eax, 0x3e
bswap esi
rol ebx, 0xc7
not eax
inc ebx
rcl edx, 0x82
add edi, 0xb1
bswap esi
add eax, 0xd4
dec eax
or eax, 0x71
bswap eax
or eax, 0x63
dec edi
mov ecx, dword [ebp + 0xc]
mov edi, 0xa8
or esi, 0x2e
bswap esi
add edx, 0x97
neg edx
sub eax, 0x1e
dec edx
rol eax, 0x5c
rcl edx, 0x44
mov ebx, 0xd8
dec eax
neg edi
neg ebx
ror edx, 0xea
rcl eax, 0xda
bswap edx
dec edi
and esi, 0xf9
rol esi, 3
dec eax
sub edi, 0xc3
sub eax, 0x5f
and esi, 0x8a
inc esi
mov esi, 0x7d
imul edi
rcr eax, 0x50
bswap eax
not edi
sbb edx, 0x34
add esi, 0xb0
sbb eax, 0x25
rol ebx, 0xd3
not edi
rcl edi, 0xf8
bswap eax
neg edx
sbb edi, 0xb7
not edx
ror edx, 0xf3
sbb esi, 0xcf
rol edx, 0xde
or edi, 0x19
sbb eax, 0x55
or esi, 0x12
dec edx
sbb edi, 0xbb
bswap ebx
bswap ebx
rcr esi, 0xb9
mov edi, dword [ebp + 8]
xor esi, esi
xor esi, ebx
mov esi, eax
not byte [edi]
xor eax, eax
mov ebx, ebx
mov ebx, esi
xor eax, ebx
xor eax, ebx
mov eax, esi
mov esi, ebx
xor esi, eax
mov ebx, eax
add byte [edi], 0x79
xor ebx, esi
mov ebx, esi
xor eax, ebx
xor eax, ebx
mov esi, eax
mov eax, ebx
xor ebx, eax
mov esi, esi
mov eax, eax
sub byte [edi], 0x30
mov eax, esi
mov eax, ebx
xor ebx, eax
mov esi, eax
xor eax, eax
mov ebx, esi
mov esi, esi
mov ebx, esi
mov eax, esi
imul byte [edi]
inc edi
loop 0x401f07
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407464
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x438694]
jne 0x40746e
repz ret
jmp fcn.0040be46
Function at 0x40d64d
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040a40f
and dword [ebp - 4], 0
cmp dword [0x439c14], 0
mov ebx, eax
jne 0x40d6fe
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40d7af
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40d7af
push eax
call fcn.0040a39d
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x439c14], eax
call esi
push eax
call fcn.0040a39d
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x439c18], eax
call esi
push eax
call fcn.0040a39d
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x439c1c], eax
call esi
push eax
call fcn.0040a39d
pop ecx
mov dword [0x439c24], eax
test eax, eax
je 0x40d6fe
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040a39d
pop ecx
mov dword [0x439c20], eax
mov eax, dword [0x439c20]
cmp eax, ebx
je 0x40d756
cmp dword [0x439c24], ebx
je 0x40d756
push eax
call fcn.0040a418
push dword [0x439c24]
mov esi, eax
call fcn.0040a418
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40d756
test edi, edi
je 0x40d756
call esi
test eax, eax
je 0x40d74d
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40d74d
test byte [ebp - 0xc], 1
jne 0x40d756
or dword [ebp + 0x10], 0x200000
jmp 0x40d78f
mov eax, dword [0x439c18]
cmp eax, ebx
je 0x40d78f
push eax
call fcn.0040a418
pop ecx
test eax, eax
je 0x40d78f
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40d78f
mov eax, dword [0x439c1c]
cmp eax, ebx
je 0x40d78f
push eax
call fcn.0040a418
pop ecx
test eax, eax
je 0x40d78f
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x439c14]
call fcn.0040a418
pop ecx
test eax, eax
je 0x40d7af
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40d7b1
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x488fd0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x57fe9b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.00570e17
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x489052
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0056d8f4
mov eax, dword [eax]
push 0x707020
push eax
call fcn.0055e084
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.005710a2
test bl, bl
je 0x489052
push 0x707020
lea ecx, [esp + 0xc]
call fcn.0057147e
push 0x70702c
lea ecx, [esp + 0xc]
call fcn.0057147e
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x48908e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.005710a2
jmp 0x489159
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x489112
lea edx, [esp + 0x7c]
push 0x707028
push edx
call fcn.0055e084
add esp, 8
test eax, eax
je 0x489112
lea eax, [esp + 0x7c]
push 0x707024
push eax
call fcn.0055e084
add esp, 8
test eax, eax
je 0x489112
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4890a2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.005710a2
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x489960
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x4899c2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc