joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5296a0
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 0x5296fe
mov edx, dword [ebp + 0x10]
add edx, 0xc
xor eax, eax
cmp dword [edx], ecx
je 0x5296fe
add edx, 0x10
inc eax
cmp dword [edx], ecx
jne 0x5296f6
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.004c1d70
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 0x529737
push eax
lea edi, [esp + 0x14]
call fcn.004eddf0
add esp, 4
mov esi, eax
mov ebp, dword [ebx + 0x1c]
test esi, esi
jne 0x52988d
test ebp, ebp
je 0x52988d
mov eax, dword [ebp + 8]
mov ebx, dword [esp + 0x84]
test eax, eax
je 0x529770
lea edx, [esp + 0x10]
push edx
push eax
push ebx
call fcn.004fd5b0
add esp, 0xc
cmp dword [ebx + 0x24], 0
je 0x529770
mov esi, dword [ebx + 0xc]
test esi, esi
jne 0x529882
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x529882
mov ecx, dword [esp + 0x88]
push ecx
push eax
push esi
push ebx
call fcn.00528cc0
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x5297a4
lea esi, [eax + 1]
jmp 0x529882
push edi
mov eax, ebx
call fcn.004fa4a0
mov esi, eax
add esp, 4
test esi, esi
jne 0x529882
push 0x50
push eax
lea edx, [esp + 0x38]
push edx
call fcn.00585e50
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 0x5297fa
push eax
lea edi, [esp + 0x14]
call fcn.004eddf0
add esp, 4
mov esi, eax
test esi, esi
jne 0x529810
mov edx, dword [ebp + 0x14]
push edx
lea eax, [esp + 0x14]
call fcn.004edec0
add esp, 4
mov esi, eax
mov ebx, dword [ebp + 0x1c]
test ebx, ebx
je 0x529882
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.004edec0
mov esi, eax
add esp, 4
test esi, esi
jne 0x52987b
mov eax, dword [ebx + 8]
push eax
lea eax, [esp + 0x14]
call fcn.004edec0
mov esi, eax
add esp, 4
test esi, esi
jne 0x52987b
mov eax, dword [ebx + 0xc]
push eax
lea edi, [esp + 0x14]
call fcn.004eddf0
mov esi, eax
add esp, 4
test esi, esi
jne 0x52987b
mov ecx, dword [ebx + 4]
push ecx
call fcn.004eddf0
add esp, 4
mov esi, eax
xor edx, edx
mov word [esp + 0x28], dx
mov ebp, dword [ebp + 0x24]
test esi, esi
je 0x529742
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret
Function at 0x53b2c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5c93a8
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.00537360
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 0x548a7d
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 0x548ac4
call fcn.005587d2
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x548ac4
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x548ae0
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.005485f5
mov esi, eax
test edi, edi
je 0x548ade
test ebx, ebx
je 0x548ade
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x549db1
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x5ca2f2
call fcn.0058e57a
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x549dd6
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x549e1c
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.0053ea9b
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.0058e652
ret 8

Function at 0x54f9e7
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 0x54fa12
call fcn.005587d2
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 0x54fa35
push eax
push dword [esi + 4]
call fcn.0054f96d
push esi
push eax
mov ecx, 0x643198
call fcn.0054f3c0
mov eax, esi
pop esi
pop ebp
ret 0x18
Function at 0x556e64
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 0x556eac
call fcn.005587d2
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x556eac
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x556eef
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 0x556ed8
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 0x556ed8
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x556eec
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 0x559aaf
Capabilities:
Query or enumerate registry value

Disassembly:
push 0
mov eax, 0x5cb821
call fcn.0058e57a
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.00405b50
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x559b11
call fcn.00557c1d
cmp eax, 1
jne 0x559b11
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push str.SoftwareClasses_
push eax
call fcn.0055927a
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.0058e652
ret 0x10

Function at 0x559b3a
Capabilities:
Set registry value

Disassembly:
push 0
mov eax, 0x5cb84c
call fcn.0058e57a
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.00405b50
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x559b9c
call fcn.00557c1d
cmp eax, 1
jne 0x559b9c
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push str.SoftwareClasses_
push eax
call fcn.0055927a
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.0058e652
ret 0x14
Function at 0x559bc8
Capabilities:
Delete registry key

Disassembly:
push 0
mov eax, 0x5cb877
call fcn.0058e57a
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.00405b50
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x559c2a
call fcn.00557c1d
cmp eax, 1
jne 0x559c2a
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push str.SoftwareClasses_
push eax
call fcn.0055927a
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.0058e652
ret 8

Function at 0x568e68
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 0x568e8c
cmp dword [edi + 0x54], 0
jne 0x568e8c
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.005587d2
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.00568e29
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 0x584267
Capabilities:
Terminate process

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

Function at 0x58cfa8
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 0x58cfd9
call fcn.0058d06c
mov dword [eax], esi
call fcn.0058d059
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.00585023
add esp, 0x14
or eax, 0xffffffff
jmp 0x58d014
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x58cff6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0058d07f
pop ecx
jmp 0x58cfd4
test byte [ebp + 0xc], 0x80
je 0x58d001
and eax, 0xfffffffe
jmp 0x58d004
or eax, 1
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
je 0x58cfe7
xor eax, eax
pop esi
pop ebp
ret

Function at 0x58d747
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 0x58d778
call fcn.0058d06c
mov dword [eax], esi
call fcn.0058d059
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.00585023
add esp, 0x14
push 0x16
pop eax
jmp 0x58d7cd
test dword [ebp + 0xc], 0xfffffff9
jne 0x58d754
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x58d7a5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0058d07f
pop ecx
call fcn.0058d059
mov eax, dword [eax]
jmp 0x58d7cd
test al, 0x10
jne 0x58d7cb
test al, 1
je 0x58d7cb
test byte [ebp + 0xc], 2
je 0x58d7cb
call fcn.0058d06c
mov dword [eax], 5
call fcn.0058d059
mov dword [eax], 0xd
jmp 0x58d79c
xor eax, eax
pop esi
pop ebp
ret
Function at 0x5ab870
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.00593559
and dword [ebp - 4], 0
cmp dword [0x64430c], 0
mov ebx, eax
jne 0x5ab921
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x5ab9d2
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x5ab9d2
push eax
call fcn.005934e7
mov dword [esp], 0x5fdebc
push edi
mov dword [0x64430c], eax
call esi
push eax
call fcn.005934e7
mov dword [esp], 0x5fdea8
push edi
mov dword [0x644310], eax
call esi
push eax
call fcn.005934e7
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x644314], eax
call esi
push eax
call fcn.005934e7
pop ecx
mov dword [0x64431c], eax
test eax, eax
je 0x5ab921
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.005934e7
pop ecx
mov dword [0x644318], eax
mov eax, dword [0x644318]
cmp eax, ebx
je 0x5ab979
cmp dword [0x64431c], ebx
je 0x5ab979
push eax
call fcn.00593562
push dword [0x64431c]
mov esi, eax
call fcn.00593562
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x5ab979
test edi, edi
je 0x5ab979
call esi
test eax, eax
je 0x5ab970
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x5ab970
test byte [ebp - 0xc], 1
jne 0x5ab979
or dword [ebp + 0x10], 0x200000
jmp 0x5ab9b2
mov eax, dword [0x644310]
cmp eax, ebx
je 0x5ab9b2
push eax
call fcn.00593562
pop ecx
test eax, eax
je 0x5ab9b2
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x5ab9b2
mov eax, dword [0x644314]
cmp eax, ebx
je 0x5ab9b2
push eax
call fcn.00593562
pop ecx
test eax, eax
je 0x5ab9b2
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x64430c]
call fcn.00593562
pop ecx
test eax, eax
je 0x5ab9d2
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x5ab9d4
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x407190
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x461f4b
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.00456d88
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x407212
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00454cd7
mov eax, dword [eax]
push 0x54e1c0
push eax
call fcn.00447bd4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00457013
test bl, bl
je 0x407212
push 0x54e1c0
lea ecx, [esp + 0xc]
call fcn.004573a3
push 0x551d20
lea ecx, [esp + 0xc]
call fcn.004573a3
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 0x40724e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00457013
jmp 0x407319
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 0x4072d2
lea edx, [esp + 0x7c]
push 0x551d1c
push edx
call fcn.00447bd4
add esp, 8
test eax, eax
je 0x4072d2
lea eax, [esp + 0x7c]
push 0x551d18
push eax
call fcn.00447bd4
add esp, 8
test eax, eax
je 0x4072d2
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 0x407262
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.00457013
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 0x407b10
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 0x407b72
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 0x407b80
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x461fcb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x5581c0]
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 0x407cb8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x407be6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00457013
xor eax, eax
jmp 0x407d2f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00457150
push esi
lea ecx, [esp + 0xc]
call fcn.004573df
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 0x407d0d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.00407b10
test eax, eax
jne 0x407d0d
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.00407b10
test eax, eax
jne 0x407d0d
lea eax, [esp + 0x14]
push 0x551d34
push eax
call fcn.00448c10
mov esi, eax
add esp, 8
test esi, esi
jne 0x407cec
lea ecx, [esp + 0x14]
push 0x551d30
push ecx
call fcn.00448b90
mov esi, eax
add esp, 8
test esi, esi
jne 0x407cec
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x407cef
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00457100
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x407bfe
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00457013
xor eax, eax
jmp 0x407d2f
mov byte [esi], 0
push 0x551d2c
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.00457013
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 0x418340
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 0x4183ae
cmp si, 0x69
ja 0x4183ae
add esi, 0xffd0
cmp si, 0x11
je 0x41837e
push 0x11
call edi
test ax, ax
jge 0x41837e
or esi, 0x2000
cmp si, 0x10
je 0x418393
push 0x10
call edi
test ax, ax
jge 0x418393
or esi, 0x4000
cmp si, 0x12
je 0x4183a8
push 0x12
call edi
test ax, ax
jge 0x4183a8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x4183bb
mov esi, 0xbd
jmp 0x41836f
cmp si, 0x6e
jne 0x4183c8
mov esi, 0xbe
jmp 0x41836f
cmp si, 0x6f
jne 0x418369
mov esi, 0xbf
jmp 0x41836f

Function at 0x419a60
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x5687f8]
xor edx, edx
cmp eax, edx
jne 0x419a86
xor eax, eax
mov byte [eax + 0x5686f8], al
inc eax
cmp eax, 0x100
jl 0x419a6e
mov dword [0x5687f8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x5686f8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x419b17
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 0x419aea
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 0x419ab8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x419b90
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 0x419be3
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 0x419bca
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