joyce8/EMBER2024-capa huggingface dataset:
Function at 0x529870
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x70
push ebx
xor eax, eax
push ebp
push esi
push edi
mov edi, dword [esp + 0x84]
mov ebx, dword [edi + 0xe8]
mov ebp, dword [edi]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x10], edi
mov ecx, dword [ebx + 0x18]
xor esi, esi
mov eax, 0xfff0bdc0
test ecx, ecx
je 0x5298ce
mov edx, dword [ebp + 0x10]
add edx, 0xc
xor eax, eax
cmp dword [edx], ecx
je 0x5298ce
add edx, 0x10
inc eax
cmp dword [edx], ecx
jne 0x5298c6
mov ecx, dword [ebp + 0x10]
shl eax, 4
mov edx, dword [eax + ecx]
mov eax, dword [ebx + 4]
push edx
push eax
push ebp
call fcn.004c1f20
mov dword [edi + 0x78], eax
mov cl, byte [ebx + 8]
mov byte [edi + 0x8c], cl
mov eax, dword [ebx + 0xc]
add esp, 0xc
test eax, eax
je 0x529907
push eax
lea edi, [esp + 0x14]
call fcn.004edfb0
add esp, 4
mov esi, eax
mov ebp, dword [ebx + 0x1c]
test esi, esi
jne 0x529a5d
test ebp, ebp
je 0x529a5d
mov eax, dword [ebp + 8]
mov ebx, dword [esp + 0x84]
test eax, eax
je 0x529940
lea edx, [esp + 0x10]
push edx
push eax
push ebx
call fcn.004fd770
add esp, 0xc
cmp dword [ebx + 0x24], 0
je 0x529940
mov esi, dword [ebx + 0xc]
test esi, esi
jne 0x529a52
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x529a52
mov ecx, dword [esp + 0x88]
push ecx
push eax
push esi
push ebx
call fcn.00528e90
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x529974
lea esi, [eax + 1]
jmp 0x529a52
push edi
mov eax, ebx
call fcn.004fa660
mov esi, eax
add esp, 4
test esi, esi
jne 0x529a52
push 0x50
push eax
lea edx, [esp + 0x38]
push edx
call fcn.00586030
mov eax, dword [ebp + 0xc]
lea ecx, [esp + 0x3c]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x20], ecx
mov eax, dword [ebp + 0x10]
add esp, 0xc
mov dword [esp + 0x30], 1
mov dword [esp + 0x48], edi
test eax, eax
je 0x5299ca
push eax
lea edi, [esp + 0x14]
call fcn.004edfb0
add esp, 4
mov esi, eax
test esi, esi
jne 0x5299e0
mov edx, dword [ebp + 0x14]
push edx
lea eax, [esp + 0x14]
call fcn.004ee080
add esp, 4
mov esi, eax
mov ebx, dword [ebp + 0x1c]
test ebx, ebx
je 0x529a52
lea eax, [esp + 0x30]
mov dword [ebx + 0x14], eax
mov ecx, 0x200
mov dword [esp + 0x18], ebx
mov word [esp + 0x28], cx
mov edx, dword [ebx]
push edx
lea eax, [esp + 0x14]
call fcn.004ee080
mov esi, eax
add esp, 4
test esi, esi
jne 0x529a4b
mov eax, dword [ebx + 8]
push eax
lea eax, [esp + 0x14]
call fcn.004ee080
mov esi, eax
add esp, 4
test esi, esi
jne 0x529a4b
mov eax, dword [ebx + 0xc]
push eax
lea edi, [esp + 0x14]
call fcn.004edfb0
mov esi, eax
add esp, 4
test esi, esi
jne 0x529a4b
mov ecx, dword [ebx + 4]
push ecx
call fcn.004edfb0
add esp, 4
mov esi, eax
xor edx, edx
mov word [esp + 0x28], dx
mov ebp, dword [ebp + 0x24]
test esi, esi
je 0x529912
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret
Function at 0x53b4a0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5c95d8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x63727c]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor ebx, ebx
lea ecx, [esi + 4]
mov dword [esp + 0x18], ebx
mov dword [esi], vtable.Json::StyledWriter.0
call fcn.00537540
mov dword [esi + 0x30], ebx
mov eax, 0xf
mov dword [esi + 0x34], eax
mov byte [esi + 0x20], bl
mov dword [esi + 0x50], eax
mov dword [esi + 0x4c], ebx
mov byte [esi + 0x3c], bl
mov dword [esi + 0x54], 0x4a
mov dword [esi + 0x58], 3
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x548c5d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x548ca4
call fcn.005589b2
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x548ca4
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x548cc0
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.005487d5
mov esi, eax
test edi, edi
je 0x548cbe
test ebx, ebx
je 0x548cbe
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x549f91
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x5ca522
call fcn.0058e75a
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x549fb6
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x549ffc
lea ecx, [ebp - 0x10]
call fcn.004013d0
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0053ec7b
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401100
mov eax, esi
call fcn.0058e832
ret 8

Function at 0x54fbc7
Capabilities:
Create http request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
mov dword [esi], vtable.CInternetSession.0
test eax, eax
jne 0x54fbf2
call fcn.005589b2
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esi + 8], eax
test eax, eax
jne 0x54fc15
push eax
push dword [esi + 4]
call fcn.0054fb4d
push esi
push eax
mov ecx, 0x643198
call fcn.0054f5a0
mov eax, esi
pop esi
pop ebp
ret 0x18
Function at 0x557044
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x55708c
call fcn.005589b2
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x55708c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x5570cf
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x5570b8
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x5570b8
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x5570cc
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x559c8f
Capabilities:
Query or enumerate registry value

Disassembly:
push 0
mov eax, 0x5cba51
call fcn.0058e75a
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.00405b50
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x559cf1
call fcn.00557dfd
cmp eax, 1
jne 0x559cf1
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push str.SoftwareClasses_
push eax
call fcn.0055945a
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00404490
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00401100
mov dword [ebp + 8], reloc.Languages.dll_Ordinal_1
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401100
mov eax, esi
call fcn.0058e832
ret 0x10

Function at 0x559d1a
Capabilities:
Set registry value

Disassembly:
push 0
mov eax, 0x5cba7c
call fcn.0058e75a
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.00405b50
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x559d7c
call fcn.00557dfd
cmp eax, 1
jne 0x559d7c
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push str.SoftwareClasses_
push eax
call fcn.0055945a
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00404490
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00401100
mov dword [ebp + 8], reloc.Languages.dll_Ordinal_1
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueW]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401100
mov eax, esi
call fcn.0058e832
ret 0x14
Function at 0x559da8
Capabilities:
Delete registry key

Disassembly:
push 0
mov eax, 0x5cbaa7
call fcn.0058e75a
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.00405b50
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x559e0a
call fcn.00557dfd
cmp eax, 1
jne 0x559e0a
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push str.SoftwareClasses_
push eax
call fcn.0055945a
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00404490
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00401100
mov dword [ebp + 8], reloc.Languages.dll_Ordinal_1
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401100
mov eax, esi
call fcn.0058e832
ret 8

Function at 0x569044
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x569068
cmp dword [edi + 0x54], 0
jne 0x569068
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.005589b2
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.00569005
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x584447
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x63727c]
jne 0x584451
repz ret
jmp fcn.0059552c

Function at 0x58d18b
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x58d1bc
call fcn.0058d24f
mov dword [eax], esi
call fcn.0058d23c
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.00585203
add esp, 0x14
or eax, 0xffffffff
jmp 0x58d1f7
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x58d1d9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0058d262
pop ecx
jmp 0x58d1b7
test byte [ebp + 0xc], 0x80
je 0x58d1e4
and eax, 0xfffffffe
jmp 0x58d1e7
or eax, 1
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
je 0x58d1ca
xor eax, eax
pop esi
pop ebp
ret

Function at 0x58d927
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x58d958
call fcn.0058d24f
mov dword [eax], esi
call fcn.0058d23c
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.00585203
add esp, 0x14
push 0x16
pop eax
jmp 0x58d9ad
test dword [ebp + 0xc], 0xfffffff9
jne 0x58d934
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x58d985
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0058d262
pop ecx
call fcn.0058d23c
mov eax, dword [eax]
jmp 0x58d9ad
test al, 0x10
jne 0x58d9ab
test al, 1
je 0x58d9ab
test byte [ebp + 0xc], 2
je 0x58d9ab
call fcn.0058d24f
mov dword [eax], 5
call fcn.0058d23c
mov dword [eax], 0xd
jmp 0x58d97c
xor eax, eax
pop esi
pop ebp
ret
Function at 0x5aba50
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.00593739
and dword [ebp - 4], 0
cmp dword [0x64430c], 0
mov ebx, eax
jne 0x5abb01
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x5abbb2
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x5abbb2
push eax
call fcn.005936c7
mov dword [esp], 0x5fddfc
push edi
mov dword [0x64430c], eax
call esi
push eax
call fcn.005936c7
mov dword [esp], 0x5fdde8
push edi
mov dword [0x644310], eax
call esi
push eax
call fcn.005936c7
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x644314], eax
call esi
push eax
call fcn.005936c7
pop ecx
mov dword [0x64431c], eax
test eax, eax
je 0x5abb01
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.005936c7
pop ecx
mov dword [0x644318], eax
mov eax, dword [0x644318]
cmp eax, ebx
je 0x5abb59
cmp dword [0x64431c], ebx
je 0x5abb59
push eax
call fcn.00593742
push dword [0x64431c]
mov esi, eax
call fcn.00593742
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x5abb59
test edi, edi
je 0x5abb59
call esi
test eax, eax
je 0x5abb50
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x5abb50
test byte [ebp - 0xc], 1
jne 0x5abb59
or dword [ebp + 0x10], 0x200000
jmp 0x5abb92
mov eax, dword [0x644310]
cmp eax, ebx
je 0x5abb92
push eax
call fcn.00593742
pop ecx
test eax, eax
je 0x5abb92
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x5abb92
mov eax, dword [0x644314]
cmp eax, ebx
je 0x5abb92
push eax
call fcn.00593742
pop ecx
test eax, eax
je 0x5abb92
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x64430c]
call fcn.00593742
pop ecx
test eax, eax
je 0x5abbb2
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x5abbb4
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x408f90
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4645ab
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.00459196
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x409012
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004570ad
mov eax, dword [eax]
push 0x4791d0
push eax
call fcn.00449f14
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00459421
test bl, bl
je 0x409012
push 0x4791d0
lea ecx, [esp + 0xc]
call fcn.004597b1
push 0x47cd34
lea ecx, [esp + 0xc]
call fcn.004597b1
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 0x40904e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00459421
jmp 0x409119
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 0x4090d2
lea edx, [esp + 0x7c]
push 0x47cd30
push edx
call fcn.00449f14
add esp, 8
test eax, eax
je 0x4090d2
lea eax, [esp + 0x7c]
push 0x47cd2c
push eax
call fcn.00449f14
add esp, 8
test eax, eax
je 0x4090d2
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 0x409062
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.00459421
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 0x409910
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 0x409972
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 0x409980
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x46462b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4831d8]
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 0x409ab8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4099e6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00459421
xor eax, eax
jmp 0x409b2f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0045955e
push esi
lea ecx, [esp + 0xc]
call fcn.004597ed
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 0x409b0d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.00409910
test eax, eax
jne 0x409b0d
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.00409910
test eax, eax
jne 0x409b0d
lea eax, [esp + 0x14]
push 0x47cd48
push eax
call fcn.0044af50
mov esi, eax
add esp, 8
test esi, esi
jne 0x409aec
lea ecx, [esp + 0x14]
push 0x47cd44
push ecx
call fcn.0044aed0
mov esi, eax
add esp, 8
test esi, esi
jne 0x409aec
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x409aef
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0045950e
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4099fe
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00459421
xor eax, eax
jmp 0x409b2f
mov byte [esi], 0
push 0x47cd40
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.00459421
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 0x41a5d0
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 0x41a63e
cmp si, 0x69
ja 0x41a63e
add esi, 0xffd0
cmp si, 0x11
je 0x41a60e
push 0x11
call edi
test ax, ax
jge 0x41a60e
or esi, 0x2000
cmp si, 0x10
je 0x41a623
push 0x10
call edi
test ax, ax
jge 0x41a623
or esi, 0x4000
cmp si, 0x12
je 0x41a638
push 0x12
call edi
test ax, ax
jge 0x41a638
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x41a64b
mov esi, 0xbd
jmp 0x41a5ff
cmp si, 0x6e
jne 0x41a658
mov esi, 0xbe
jmp 0x41a5ff
cmp si, 0x6f
jne 0x41a5f9
mov esi, 0xbf
jmp 0x41a5ff

Function at 0x41bcf0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x493830]
xor edx, edx
cmp eax, edx
jne 0x41bd16
xor eax, eax
mov byte [eax + 0x493730], al
inc eax
cmp eax, 0x100
jl 0x41bcfe
mov dword [0x493830], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x493730
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x41bda7
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 0x41bd7a
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 0x41bd48
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x41be20
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 0x41be73
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 0x41be5a
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