joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4082fe
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x412188]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.00408976
mov dword [ebp - 0x14], eax
cmp dword [0x413b54], edi
jne 0x4083ef
push 0x800
push edi
push 0x40ec40
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x40837c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4084cf
push 0x40ec40
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x4084cf
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4084cf
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x413b54], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x413b58], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x413b5c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x413b64], eax
test eax, eax
je 0x4083ec
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x413b60], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x408414
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x408407
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x408429
push 4
pop eax
jmp 0x4084d1
cmp dword [ebp - 0x14], edi
je 0x408429
push dword [0x413b54]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40840e
mov eax, dword [0x413b60]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x408487
cmp dword [0x413b64], esi
je 0x408487
push eax
call ebx
push dword [0x413b64]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x408487
test eax, eax
je 0x408487
call ecx
test eax, eax
je 0x40847c
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40847c
test byte [ebp - 8], 1
jne 0x408487
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x4084b7
mov eax, dword [0x413b58]
cmp eax, esi
je 0x4084b4
push eax
call ebx
test eax, eax
je 0x4084b4
call eax
mov edi, eax
test edi, edi
je 0x4084b4
mov eax, dword [0x413b5c]
cmp eax, esi
je 0x4084b4
push eax
call ebx
test eax, eax
je 0x4084b4
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x413b54]
call ebx
test eax, eax
je 0x4084cf
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x4084d1
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040303e
leave
ret
Function at 0x489f59
Capabilities:
Encode data using xor

Disassembly:
popal
mov edi, 0xd4c0d796
xchg ecx, eax
mov bl, 0x67
xor ch, byte [eax + 5]
movsb byte es:[edi], byte [esi]
in al, 0x60
mov edx, 0x7323754
scasd eax, dword es:[edi]
rcl byte [esi + 0x77]
shl ecx, 0xd4
xchg edx, eax
sub bh, dl
mov dword [edi], ebx
in eax, 0xf4
mov bl, byte [edx + 0x21]
add dword [edi + 0x21453d26], edx
inc ecx
jo 0x489f88
pop es
pop es
xor edi, 0x67
xchg ebx, eax
dec esp
stc
jl 0x489fbb
out dx, al
xchg cl, dh
xor esi, ecx
stosb byte es:[edi], al
rcl byte [esi - 0x50], 0xf6
in al, 0xc3
invalid
lodsd eax, dword [esi]
dec ecx
xor eax, 0xeba3d19f
out 0x3d, al
xchg byte [ecx + 0x61731113], al
test dword [eax*4 - 0x491ca279], edx
inc ebx
jo 0x489fbb
invalid

Function at 0x494220
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 8
push esi
mov dword [esp + 4], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
test eax, eax
je 0x494258
lea ecx, [esp + 4]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
lea edx, [esp + 8]
push edx
push esi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
jmp 0x49425c
mov eax, dword [esp + 8]
test eax, eax
pop esi
je 0x494272
mov eax, dword [0x659684]
push 0x6593b8
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
mov eax, dword [esp]
add esp, 8
ret

Function at 0x49f936
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
movsb byte es:[edi], byte [esi]
push es
loope 0x49f9a8
int1
mov ch, 0xdd
call 0x61bb142d
rol esp, 1
and dword [ebp - 0x7a6aa9ef], esi
aas
fbstp tbyte [ecx]
dec edi
jo 0x49f994
cmp byte [esi - 0x6f7e2ae8], 0xb7
ljmp 0x3c41
push edi
mov byte [eax], ah
repz ret
cmpsd dword [esi], dword es:[edi]
and eax, 0xf1457c99
push edx
lahf
mov dword [0x5a164a04], eax
cmp dword [ecx + 0x91f8085], esp
mov esp, fs
wait
xor dword [edx], ecx
xor eax, 0xe52464b7
pushal
imul edx, edi, 0x70
push es
aaa
cmp dword [edi], eax
in eax, dx
stosb byte es:[edi], al
add dh, ah
sub eax, 0x8ac4d4ee
mov al, byte [0xbda48e98]
xor ch, ah
and ecx, esp
xor bh, byte [edi + 0x40]
dec edi
adc byte [esi + 0x7109f3e9], cl
cmp edx, dword [ebx]
invalid
Function at 0x5393b3
Capabilities:
Encode data using xor

Disassembly:
add eax, 0x39811d1e
arpl word [esi + 0x766e9484], ax
mov esi, 0xe3b2c59a
invalid
xor al, 0x4a
mov cl, 0xe0
add ch, byte [eax + 0x6d]
or edi, dword [ebp - 0x55]
stosd dword es:[edi], eax
add eax, 0x98b1d38c
loope 0x5393fb
jno 0x53939c
inc ecx
insb byte es:[edi], dx
in al, 0x86
dec esp
les esp, [ebp + 0x5cbb322]
jbe 0x5393d7
or eax, esp
std
cmc
adc eax, 0xdab26fb1
movsd dword es:[edi], dword [esi]
popfd
rol byte [edi - 0x77], 1
sbb byte [edi + 0x36], cl
cmp ebx, dword [esi + 0x22]
mov dword [ebx], ecx
mov ebp, 0x657261f
das
arpl word [edi], si
xchg byte [ecx + 0x6e], dl
outsb dx, byte [esi]
adc dword [ecx + eax], edx
sub ebp, dword [0xb191617b]
in eax, dx
popal
xchg ecx, eax
mov cl, 0xed
mov dh, 0xa2
imul ecx, dword [0xff2180a0], 0xbaf1e852
stosb byte es:[edi], al
xchg edi, eax
cmp al, 0xf4
and dword [eax + 0x2d], esi
jnp 0x539474
loopne 0x53944b
sbb byte [edi + 0x7a], bh
xor byte [esi*4 + 0xa444d38], cl
mov dh, 0xae
pop edi
nop
cmp eax, 0xb75e7691
pop ds
mov bh, 0x1f
mov edi, 0xc144a1a6
jl 0x539469
mov ebx, 0xeb3521ce
pop es
movsd dword es:[edi], dword [esi]
cmp dword [ecx + 0x6b], esi
adc dword [ebx + 0x12710962], eax
pop esi
dec ecx
popal
cmp dword [ebp - 0x2976f8af], esp
salc
stc
xor bl, byte [eax - 0x24e62c7]
mov dword [esi + 1], eax
js 0x539428
xchg ebx, eax
inc ebx
mov eax, dword [0xb9531641]
inc di
sahf
jnp 0x5393f4
cmp eax, 0x96ca8a03
mov ecx, 0x48acd2b6
or dword [ebx], edx
imul edi, dword [ebx], 0xab685152
cdq
cmp eax, 0xa38623c6
cli
sti
sahf
push 0xc63d99ab
and eax, dword [esi - 0x6104055d]
or eax, 0x3e8cf1e8

Function at 0x53abbf
Capabilities:
Encode data using xor

Disassembly:
pop eax
in al, dx
idiv byte [edi + 0xd8dd8ea]
mov ah, 0x40
invalid
Function at 0x61890d
Capabilities:
Encode data using xor

Disassembly:
sbb edx, dword [edx]
mov edx, 0x1b8fe002
cmp dl, al
jg 0x618948
xor byte [ecx], bh
sub dword [eax], edi
invalid
fstp xword [esi]
mov ah, 0xe0
dec ebx
pop esi
test bl, dh
jbe 0x6188df
insb byte es:[edi], dx
inc eax
invalid
int1
hlt

Function at 0x64fd6e
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x656260
cmp edx, dword [eax]
je 0x64fd90
add eax, 8
inc ecx
cmp eax, 0x6562f0
jl 0x64fd81
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x656260]
jne 0x64febe
mov eax, dword [0xa598a4]
cmp eax, 1
je 0x64fe98
test eax, eax
jne 0x64fdc1
cmp dword [0x6561a4], 1
je 0x64fe98
cmp edx, 0xfc
je 0x64febe
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x64fdf8
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00650480
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.006506b0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x64fe3b
lea eax, [ebp - 0x1a4]
push eax
call fcn.006506b0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x653750
push edi
call fcn.00651e80
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00650480
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00650490
lea eax, [ebp - 0xa0]
push 0x653730
push eax
call fcn.00650490
push dword [esi + 0x656264]
lea eax, [ebp - 0xa0]
push eax
call fcn.00650490
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00651df4
add esp, 0x2c
pop edi
jmp 0x64febe
lea eax, [ebp + 8]
lea esi, [esi + 0x656264]
push 0
push eax
push dword [esi]
call fcn.006506b0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x401940
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov dword [ebp - 0x114], str.777ll
push 0x104
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov ecx, dword [ebp - 0x114]
push ecx
lea edx, [ebp - 0x110]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0
push reloc.kernel32.dll_LockFile
push 3
push 0
push 3
push 1
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0xffffffff
je 0x4019af
cmp dword [ebp - 0x118], 0
je 0x4019af
jmp 0x401a13
mov ecx, dword [ebp + 8]
cmp dword [ecx + 4], 0
je 0x401a13
mov dword [ebp - 0x11c], 0x15f
mov edx, dword [ebp + 8]
add edx, 8
mov dword [0x440d34], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov dword [0x440d50], ecx
mov dword [ebp - 0x11c], 0x15f
mov dword [ebp - 0x11c], 0x15f
call fcn.004011b0
mov edx, dword [ebp + 8]
mov dword [0x440d4c], edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 1
call fcn.00401300
add esp, 0xc
mov dword [ebp + 8], eax
jmp 0x4019af
mov esp, ebp
pop ebp
ret

Function at 0x401ab0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [0x440d40], 0x24e1
mov eax, dword [0x440d40]
sub eax, 0x24e1
mov dword [0x440d40], eax
mov ecx, 1
test ecx, ecx
je 0x401b5b
mov edx, dword [0x440d40]
cmp edx, dword [ebp + 0xc]
jb 0x401ae7
jmp 0x401b5b
cmp dword [0x440d40], 0
jne 0x401b05
push 0x263
push 0
call dword [sym.imp.USER32.dll_LoadIconW]
test eax, eax
je 0x401b05
xor eax, eax
jmp 0x401b5b
mov eax, dword [ebp + 8]
add eax, dword [0x440d40]
mov ecx, dword [eax]
add ecx, dword [0x440d40]
mov edx, dword [ebp + 8]
add edx, dword [0x440d40]
mov dword [edx], ecx
mov dword [ebp - 4], 0xdaa90
mov eax, dword [0x440d40]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax + 2]
push edx
mov eax, dword [ebp + 8]
add eax, dword [0x440d40]
push eax
call fcn.004011c0
add esp, 8
mov ecx, dword [0x440d40]
add ecx, 4
mov dword [0x440d40], ecx
jmp 0x401acd
mov esp, ebp
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, 0xa4417cf
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
mov ecx, 0x59af624b
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x40a15c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [ebp + 0xc]
mov word [ebp + 0xc], ax
mov ebx, 0x19826993
mov eax, ebx
mul ebx
mov dword [ebp - 0x10], eax
mov ebx, eax
xor esi, esi
mov eax, ebx
mul ebx
mov dword [ebp - 0x14], eax
mov ebx, eax
mov word [ebp - 0xc], 0
jmp 0x40a272
mov eax, ebx
xor eax, ebx
mov ebx, eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
call fcn.00405066
pop ecx
mov edx, eax
mov byte [ebp - 1], dl
cmp byte [ebp - 1], 0
jne 0x40a1b3
mov byte [ebp - 2], 0
jmp 0x40a1dd
call fcn.0040ddd8
mov dword [ebp - 0x18], eax
mov eax, 0x7fff
mov edi, 7
movzx edx, byte [ebp - 1]
mov ecx, edi
sub ecx, edx
cdq
idiv ecx
mov ecx, eax
mov eax, dword [ebp - 0x18]
cdq
idiv ecx
mov edx, eax
mov byte [ebp - 2], dl
mov eax, dword [ebp + 8]
mov al, byte [esi + eax]
cmp al, 0x70
jb 0x40a1fc
cmp al, 0x7f
ja 0x40a1fc
mov eax, dword [ebp + 8]
add eax, esi
inc eax
movzx edx, byte [eax]
movzx ecx, byte [ebp - 2]
sub edx, ecx
mov byte [eax], dl
mov eax, dword [ebp + 8]
movzx eax, byte [esi + eax]
cmp eax, 0xe2
jne 0x40a21b
mov eax, dword [ebp + 8]
add eax, esi
inc eax
movzx edx, byte [eax]
movzx ecx, byte [ebp - 2]
sub edx, ecx
mov byte [eax], dl
mov eax, ebx
sub eax, ebx
mov ebx, eax
push 8
push 0x90
lea eax, [ebp - 0xa]
push eax
call fcn.0040ddc0
movzx eax, byte [ebp - 1]
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
lea eax, [ebp - 0xa]
movzx edx, byte [ebp - 2]
add eax, edx
push eax
call fcn.0040ddb4
mov eax, ebx
sub eax, ebx
mov ebx, eax
push 6
lea eax, [ebp - 0xa]
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
call fcn.0040ddb4
add esp, 0x24
mov eax, ebx
add eax, ebx
mov ebx, eax
add esi, 6
inc word [ebp - 0xc]
movzx eax, word [ebp + 0xc]
dec eax
cmp esi, eax
jb 0x40a190
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40915c
nop
mov ecx, 0x8ac0d90
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43104e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x431024
nop
nop
nop
nop
nop
mov eax, section..reloc
mov ebx, 0x42f3f8
nop
nop
mov ecx, 0x575029a2
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x431084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43106c
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x437c90
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4c509b
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.004b98e0
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x437d12
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004b7622
mov eax, dword [eax]
push 0xc64d08
push eax
call fcn.004a97d4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004b9b6b
test bl, bl
je 0x437d12
push 0xc64d08
lea ecx, [esp + 0xc]
call fcn.004b9efb
push 0xc64d14
lea ecx, [esp + 0xc]
call fcn.004b9efb
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 0x437d4e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004b9b6b
jmp 0x437e19
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 0x437dd2
lea edx, [esp + 0x7c]
push 0xc64d10
push edx
call fcn.004a97d4
add esp, 8
test eax, eax
je 0x437dd2
lea eax, [esp + 0x7c]
push 0xc64d0c
push eax
call fcn.004a97d4
add esp, 8
test eax, eax
je 0x437dd2
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 0x437d62
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.004b9b6b
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 0x438620
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 0x438682
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
Function at 0x438690
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4c511b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0xc741c8]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x4387c8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4386f6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004b9b6b
xor eax, eax
jmp 0x43883f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004b9ca8
push esi
lea ecx, [esp + 0xc]
call fcn.004b9f37
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x43881d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocString
call fcn.00438620
test eax, eax
jne 0x43881d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push SysReAllocString
mov ecx, edi
call fcn.00438620
test eax, eax
jne 0x43881d
lea eax, [esp + 0x14]
push 0xc64d24
push eax
call fcn.004aa920
mov esi, eax
add esp, 8
test esi, esi
jne 0x4387fc
lea ecx, [esp + 0x14]
push 0xc64d20
push ecx
call fcn.004aa8a0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4387fc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x4387ff
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004b9c58
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x43870e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004b9b6b
xor eax, eax
jmp 0x43883f
mov byte [esi], 0
push 0xc64d1c
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.004b9b6b
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4
Function at 0x449f60
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [eax + 8]
and ecx, 0xff
mov esi, ecx
cmp si, 0x60
jb 0x449fce
cmp si, 0x69
ja 0x449fce
add esi, 0xffd0
cmp si, 0x11
je 0x449f9e
push 0x11
call edi
test ax, ax
jge 0x449f9e
or esi, 0x2000
cmp si, 0x10
je 0x449fb3
push 0x10
call edi
test ax, ax
jge 0x449fb3
or esi, 0x4000
cmp si, 0x12
je 0x449fc8
push 0x12
call edi
test ax, ax
jge 0x449fc8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x449fdb
mov esi, 0xbd
jmp 0x449f8f
cmp si, 0x6e
jne 0x449fe8
mov esi, 0xbe
jmp 0x449f8f
cmp si, 0x6f
jne 0x449f89
mov esi, 0xbf
jmp 0x449f8f

Function at 0x44b920
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0xc84960]
xor edx, edx
cmp eax, edx
jne 0x44b946
xor eax, eax
mov byte [eax + 0xc84860], al
inc eax
cmp eax, 0x100
jl 0x44b92e
mov dword [0xc84960], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0xc84860
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x44b9d7
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x44b9aa
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x44b978
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x44ba50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x44baa3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x44ba8a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret