joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43a945
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.0042f88a
and dword [ebp - 4], 0
cmp dword [0x454778], 0
mov ebx, eax
jne 0x43a9f6
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x43aaa7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x447118
push edi
call esi
test eax, eax
je 0x43aaa7
push eax
call fcn.0042f818
mov dword [esp], 0x447108
push edi
mov dword [0x454778], eax
call esi
push eax
call fcn.0042f818
mov dword [esp], 0x4470f4
push edi
mov dword [0x45477c], eax
call esi
push eax
call fcn.0042f818
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x454780], eax
call esi
push eax
call fcn.0042f818
pop ecx
mov dword [0x454788], eax
test eax, eax
je 0x43a9f6
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0042f818
pop ecx
mov dword [0x454784], eax
mov eax, dword [0x454784]
cmp eax, ebx
je 0x43aa4e
cmp dword [0x454788], ebx
je 0x43aa4e
push eax
call fcn.0042f893
push dword [0x454788]
mov esi, eax
call fcn.0042f893
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x43aa4e
test edi, edi
je 0x43aa4e
call esi
test eax, eax
je 0x43aa45
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x43aa45
test byte [ebp - 0xc], 1
jne 0x43aa4e
or dword [ebp + 0x10], 0x200000
jmp 0x43aa87
mov eax, dword [0x45477c]
cmp eax, ebx
je 0x43aa87
push eax
call fcn.0042f893
pop ecx
test eax, eax
je 0x43aa87
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x43aa87
mov eax, dword [0x454780]
cmp eax, ebx
je 0x43aa87
push eax
call fcn.0042f893
pop ecx
test eax, eax
je 0x43aa87
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x454778]
call fcn.0042f893
pop ecx
test eax, eax
je 0x43aaa7
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x43aaa9
xor eax, eax
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
call 0x43100c
nop
nop
nop
nop
pop eax
nop
add eax, 0x403e6a
nop
nop
sub eax, 0x403e10
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x431030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43101e
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp int.00401219
Function at 0x423df8
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.0041ad13
and dword [ebp - 4], 0
cmp dword [0x433660], 0
mov ebx, eax
jne 0x423ea9
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x423f5a
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x423f5a
push eax
call fcn.0041aca1
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x433660], eax
call esi
push eax
call fcn.0041aca1
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x433664], eax
call esi
push eax
call fcn.0041aca1
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x433668], eax
call esi
push eax
call fcn.0041aca1
pop ecx
mov dword [0x433670], eax
test eax, eax
je 0x423ea9
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041aca1
pop ecx
mov dword [0x43366c], eax
mov eax, dword [0x43366c]
cmp eax, ebx
je 0x423f01
cmp dword [0x433670], ebx
je 0x423f01
push eax
call fcn.0041ad1c
push dword [0x433670]
mov esi, eax
call fcn.0041ad1c
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x423f01
test edi, edi
je 0x423f01
call esi
test eax, eax
je 0x423ef8
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x423ef8
test byte [ebp - 0xc], 1
jne 0x423f01
or dword [ebp + 0x10], 0x200000
jmp 0x423f3a
mov eax, dword [0x433664]
cmp eax, ebx
je 0x423f3a
push eax
call fcn.0041ad1c
pop ecx
test eax, eax
je 0x423f3a
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x423f3a
mov eax, dword [0x433668]
cmp eax, ebx
je 0x423f3a
push eax
call fcn.0041ad1c
pop ecx
test eax, eax
je 0x423f3a
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x433660]
call fcn.0041ad1c
pop ecx
test eax, eax
je 0x423f5a
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x423f5c
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x7b9dd0
Capabilities:
Encode data using xor

Disassembly:
jmp 0x7b9dda
pushal
call 0x7b9de0
pop ebp
sub ebp, 0x10
sub ebp, 0x3b9dd0
mov al, byte [esp + 0x28]
cmp al, 1
je 0x7b9e04
popal
xor eax, eax
inc eax
ret 0xc
jmp 0x7b9e0d
mov eax, 0x3b9dd0
add eax, ebp
add eax, 0x63
mov ecx, 0x5f1
mov edx, 0x14666e1e
xor byte [eax], dl
inc eax
dec ecx
jne 0x7b9e24
jmp 0x7b9e37
xchg ebp, eax
rcl dword [ebp + 0x1e1e2297], cl
push ds
lahf
invalid
Function at 0x401981
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x401990
pop dword [ebp - 0x34]
mov eax, 0x74ae852d
sub eax, 0x746e6b9d
sub dword [ebp - 0x34], eax
mov dword [ebp - 0x44], 0x49937bdc
add dword [ebp - 0x44], 0x4bec96f
mov dword [ebp - 0x40], 0x189a7bf2
add dword [ebp - 0x40], 0x1998d053
mov dword [ebp - 0x3c], 0xe27afd98
sub dword [ebp - 0x3c], 0x962eb96a
mov dword [ebp - 0x38], 0x2805e92d
sub dword [ebp - 0x38], 0x2805e92d
lea eax, [ebp - 0x44]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x34]
call dword [eax]
mov dword [ebp - 0x44], 0xf4162b0c
sub dword [ebp - 0x44], 0x7fa3c1b6
mov dword [ebp - 0x40], 0xd422b581
add dword [ebp - 0x40], 0x6d49abf4
mov dword [ebp - 0x3c], 0x83e06cac
add dword [ebp - 0x3c], 0xdf8effc0
mov dword [ebp - 0x38], 0x99e8ca90
add dword [ebp - 0x38], 0x66173570
lea ebx, [ebp - 0x44]
push ebx
push eax
mov eax, 0xb4fd0559
add eax, 0x4b43caf3
add eax, dword [ebp - 0x34]
call dword [eax]
push 0x40
push 0x1000
push 0x3a98d
push 0
call eax
mov ecx, 0x2601cb95
sub ecx, 0x26017f5c
mov edx, eax
mov ebx, 0x41b000
add ebx, dword [ebp - 0x34]
mov edi, 0x51a31c02
add edi, 0x45c23980
xor dword [ebp - 0x1c], edi
mov esi, dword [ebx]
xor dword [ebp - 0x30], 0x7e170a23
add esi, edi
xor dword [ebp - 0x30], 0xb7f1a7e6
mov dword [edx], esi
add dword [ebp - 0x30], eax
add edx, 0xd6f88540
sub edx, 0xd6f8853c
add ebx, 4
loop 0x401aa7
add eax, 0x123b7
mov ebx, eax
add eax, 5
mov ecx, 0xb220c157
add ecx, 0x4e1f3ea9
add ecx, dword [ebp - 0x34]
call ebx
leave
ret

Function at 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53
Function at 0x4010f0
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
mov edx, ecx
push edi
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
mov ecx, dword [edx + 4]
push esi
push 1
push eax
mov eax, dword [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
ret 8

Function at 0x401120
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xd0
lea eax, [esp]
push esi
push eax
lea edx, [esp + 0x10]
lea eax, [esp + 0xc]
push edx
mov edx, dword [esp + 0xe0]
push eax
mov eax, dword [ecx + 4]
push 0
push edx
push eax
mov dword [esp + 0x1c], 0xc8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
test esi, esi
jne 0x401169
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0xe0]
call sub.MFC42.DLL_CString::operator_1
mov eax, esi
pop esi
add esp, 0xd0
ret 8

Function at 0x401f80
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
sub esp, 0x414
mov eax, 0x100
push esi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
lea eax, [esp + 4]
mov esi, ecx
push eax
push 0
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x402089
mov edx, dword [esp + 4]
lea ecx, [esp + 8]
push ecx
push 0xf003f
push eax
push str.htmlfile_shellopencommand
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x402089
push ebx
lea eax, [esp + 0x10]
push edi
lea ecx, [esp + 0x120]
push eax
lea edx, [esp + 0x20]
push ecx
push edx
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x24]
push 0
lea ecx, [esp + 0x330]
push eax
push ecx
push 0
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov eax, dword [esi + 0x274]
lea ecx, [esp + 0x220]
push eax
push 0x404030
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
lea edi, [esp + 0x12c]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x20]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x20]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
push 5
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x224]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x24]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_WinExec]
pop edi
pop ebx
jmp 0x40209c
push 0
push 0x4041bc
push 0x4041a8
mov ecx, esi
call sub.MFC42.DLL_CWnd::MessageBoxA
mov ecx, dword [esp + 8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
call esi
mov edx, dword [esp + 4]
push edx
call esi
pop esi
add esp, 0x414
ret
Function at 0x10006773
Capabilities:
Contain obfuscated stackstrings

Disassembly:
and al, 0xc6
inc ebp
movsb byte es:[edi], byte [esi]
and al, dh
inc ebp
movsd dword es:[edi], dword [esi]
xor eax, 0x41a645c6
call fcn.10006389
push eax
push esi
push dword [ebp + 8]
call fcn.1000633e
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
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.10006389
push eax
push esi
push dword [ebp + 8]
call fcn.1000633e
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.10006379
mov ah, 0xaf
sub byte [edx - 0x836278], ah
invalid
Function at 0x10006bb0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
test dword [ecx + 0x40fffffc], esi
mov byte [ebp - 0x34e], 0x51
mov byte [ebp - 0x34d], 0x75
mov byte [ebp - 0x34c], 0x57
mov byte [ebp - 0x34b], 0x4a
mov byte [ebp - 0x34a], 0x46
mov byte [ebp - 0x349], 0x40
mov byte [ebp - 0x348], 0x56
mov byte [ebp - 0x347], 0x56
mov byte [ebp - 0x346], 0x6d
mov byte [ebp - 0x345], 0x40
mov byte [ebp - 0x344], 0x44
mov byte [ebp - 0x343], 0x55
mov byte [ebp - 0x342], 0x25
lea eax, [ebp - 0x354]
push eax
call fcn.10006389
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.1000633e
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.10006389
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.1000633e
add esp, 0xc
mov dword [ebp - 0x538], eax
and byte [ebp - 0x3ec], 0
and byte [ebp - 0x3eb], 0
mov byte [ebp - 0x3ea], 0x11
and byte [ebp - 0x3e9], 0
mov byte [ebp - 0x3e8], 0xa9
mov byte [ebp - 0x3e7], 0x8b
mov byte [ebp - 0x3e6], 0x9a
mov byte [ebp - 0x3e5], 0xa3
mov byte [ebp - 0x3e4], 0x81
mov byte [ebp - 0x3e3], 0x8a
mov byte [ebp - 0x3e2], 0x9b
mov byte [ebp - 0x3e1], 0x82
mov byte [ebp - 0x3e0], 0x8b
mov byte [ebp - 0x3df], 0xa6
mov byte [ebp - 0x3de], 0x8f
mov byte [ebp - 0x3dd], 0x80
mov byte [ebp - 0x3dc], 0x8a
mov byte [ebp - 0x3db], 0x82
mov byte [ebp - 0x3da], 0x8b
mov byte [ebp - 0x3d9], 0xaf
mov byte [ebp - 0x3d8], 0xee
lea eax, [ebp - 0x3ec]
push eax
call fcn.10006389
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.1000633e
add esp, 0xc
mov dword [ebp - 0x340], eax
call fcn.10006379
sbb ecx, dword [ebx]
inc esi
add dword [eax - 0x5335b], 0xa58000ff
int 0xfa
invalid

Function at 0x100076f9
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call fcn.10006389
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.1000633e
add esp, 0xc
mov dword [ebp - 0x6c8], eax
push 0
lea eax, [ebp - 0x6e0]
push eax
push dword [ebp - 0x378]
push dword [ebp - 4]
push dword [ebp - 0x66c]
call dword [ebp - 0x6c8]
mov dword [ebp - 0x6cc], eax
invalid
mov ch, 0x94
stc
invalid
Function at 0x92ff78
Capabilities:
Encode data using xor

Disassembly:
pushal
call 0x92ff7e
pop ebp
sub ebp, 6
sub ebp, 0x52ff78
jmp 0x92ffdc
jmp 0x92ffe5
mov eax, 0x52ff78
add eax, ebp
add eax, 0x93
mov ecx, 0x622
mov edx, 0x45caafb6
xor byte [eax], dl
inc eax
dec ecx
jne 0x92fffc
jmp 0x93000f
fdivr st(6), st(0)
fidiv word [esi - 0x2149495a]
mov dh, 0x7a
lcall 0x2349, 0xe67685b6
into
idiv edi
mov dh, 0xe6
cmp eax, 0x8a3f3d7b
mov dh, 0xb6
mov dh, 0x37
ja 0x93007e
mov dh, 0xb6
mov dh, 0xb5
jnp 0x930044
mov al, 0xb6
mov dh, 0xb6
or al, 0x9e
mov dh, 0xb6
mov dh, 0xc
sahf
mov dh, 0xb6
mov dh, 0x41
push esp
mov ch, 0x7e
cmp eax, 0xb6b6ba37
mov dh, 0xb5
aaa
mov edx, 0xb5b6b6b6
jae 0x930032
ficom word [ebx]
cmp byte [edi + 0x7c65deb6], 0xff
mov dh, 0xb7
lcall 0xb6b6, 0xb6b6de92
pop esi
mov bl, 0xb6
mov dh, 0xb6
pop edi
sahf
mov dh, 0xb6
mov dh, 0xe3
cmp eax, 0xbe333d5a
mov dh, 0xb6
mov dh, 0x3d
and edi, dword [edx + 0x3db6b6b6]
cmp esp, dword [esi + 0x77b6b6b6]
pop edi
mov ah, 0x87
mov ah, 0x35
je 0x930037
invalid
Function at 0x40d780
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x47bf8b
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.0047065a
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40d802
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0046df8d
mov eax, dword [eax]
push 0x4a8220
push eax
call fcn.00460b94
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004708e5
test bl, bl
je 0x40d802
push 0x4a8220
lea ecx, [esp + 0xc]
call fcn.00470c75
push 0x4abdb0
lea ecx, [esp + 0xc]
call fcn.00470c75
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 0x40d83e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004708e5
jmp 0x40d909
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 0x40d8c2
lea edx, [esp + 0x7c]
push 0x4abdac
push edx
call fcn.00460b94
add esp, 8
test eax, eax
je 0x40d8c2
lea eax, [esp + 0x7c]
push 0x4abda8
push eax
call fcn.00460b94
add esp, 8
test eax, eax
je 0x40d8c2
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 0x40d852
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.004708e5
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 0x40e100
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 0x40e162
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 0x40e170
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x47c00b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4b8668]
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 0x40e2a8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40e1d6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004708e5
xor eax, eax
jmp 0x40e31f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00470a22
push esi
lea ecx, [esp + 0xc]
call fcn.00470cb1
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 0x40e2fd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.0040e100
test eax, eax
jne 0x40e2fd
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 accept
mov ecx, edi
call fcn.0040e100
test eax, eax
jne 0x40e2fd
lea eax, [esp + 0x14]
push 0x4abdc4
push eax
call fcn.00461bd0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40e2dc
lea ecx, [esp + 0x14]
push 0x4abdc0
push ecx
call fcn.00461b50
mov esi, eax
add esp, 8
test esi, esi
jne 0x40e2dc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40e2df
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004709d2
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40e1ee
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004708e5
xor eax, eax
jmp 0x40e31f
mov byte [esi], 0
push 0x4abdbc
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.004708e5
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 0x420830
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 0x42089e
cmp si, 0x69
ja 0x42089e
add esi, 0xffd0
cmp si, 0x11
je 0x42086e
push 0x11
call edi
test ax, ax
jge 0x42086e
or esi, 0x2000
cmp si, 0x10
je 0x420883
push 0x10
call edi
test ax, ax
jge 0x420883
or esi, 0x4000
cmp si, 0x12
je 0x420898
push 0x12
call edi
test ax, ax
jge 0x420898
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x4208ab
mov esi, 0xbd
jmp 0x42085f
cmp si, 0x6e
jne 0x4208b8
mov esi, 0xbe
jmp 0x42085f
cmp si, 0x6f
jne 0x420859
mov esi, 0xbf
jmp 0x42085f

Function at 0x421f10
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4c8d90]
xor edx, edx
cmp eax, edx
jne 0x421f36
xor eax, eax
mov byte [eax + 0x4c8c90], al
inc eax
cmp eax, 0x100
jl 0x421f1e
mov dword [0x4c8d90], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4c8c90
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x421fc7
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 0x421f9a
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 0x421f68
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x422040
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 0x422093
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 0x42207a
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