joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403e80
Capabilities:
Get system information on windows

Disassembly:
push ecx
cmp byte [0x458048], 0
je 0x403ee1
cmp word [0x45821c], 0xd7b2
jne 0x403ea9
cmp dword [0x458224], 0
jbe 0x403ea9
mov eax, 0x458218
call dword [0x458234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x45406c
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetSystemInfo
push eax
call sub.KERNEL32.DLL_GetVersionExA
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x403f08
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetSystemInfo
push eax
call sub.KERNEL32.DLL_GetVersionExA
pop edx
ret
cmp byte [0x454030], 0
jne 0x403efd
push 0
push 0x454064
push 0x45406c
push 0
call sub.user32.dll_WindowFromPoint
pop edx
ret

Function at 0x4050a4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdb0
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
push 0x405238
call sub.KERNEL32.DLL_GlobalReAlloc
mov esi, eax
test esi, esi
je 0x40510c
push 0x405248
push esi
call sub.KERNEL32.DLL_GlobalUnlock
mov ebx, eax
test ebx, ebx
je 0x40510c
push 0x105
lea eax, [ebp - 0x24f]
push eax
mov eax, dword [ebp - 4]
push eax
call ebx
test eax, eax
je 0x40510c
mov eax, dword [ebp - 8]
push eax
lea eax, [ebp - 0x24f]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_LoadResource
jmp 0x40522e
mov eax, dword [ebp - 4]
cmp byte [eax], 0x5c
jne 0x40514c
mov eax, dword [ebp - 4]
cmp byte [eax + 1], 0x5c
jne 0x40522e
mov eax, dword [ebp - 4]
add eax, 2
call fcn.00405090
mov esi, eax
cmp byte [esi], 0
je 0x40522e
lea eax, [esi + 1]
call fcn.00405090
mov esi, eax
cmp byte [esi], 0
je 0x40522e
jmp 0x405152
mov esi, dword [ebp - 4]
add esi, 2
mov ebx, esi
sub ebx, dword [ebp - 4]
lea eax, [ebx + 1]
push eax
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x24f]
push eax
call sub.KERNEL32.DLL_LoadResource
jmp 0x405211
lea eax, [esi + 1]
call fcn.00405090
mov edi, eax
mov eax, edi
sub eax, esi
mov edx, eax
add edx, ebx
inc edx
cmp edx, 0x105
jg 0x40522e
inc eax
push eax
push esi
lea eax, [ebp - 0x24f]
add eax, ebx
push eax
call sub.KERNEL32.DLL_LoadResource
lea eax, [ebp - 0x14a]
push eax
lea eax, [ebp - 0x24f]
push eax
call sub.KERNEL32.DLL_GlobalDeleteAtom
mov esi, eax
cmp esi, 0xffffffff
je 0x40522e
push esi
call sub.KERNEL32.DLL_GlobalAlloc
lea eax, [ebp - 0x11e]
push eax
call sub.KERNEL32.DLL_LockResource
lea edx, [ebx + 1]
add eax, edx
inc eax
cmp eax, 0x105
jg 0x40522e
mov byte [ebp + ebx - 0x24f], 0x5c
mov eax, 0x105
sub eax, ebx
dec eax
push eax
lea eax, [ebp - 0x11e]
push eax
lea eax, [ebp - 0x24f]
add eax, ebx
inc eax
push eax
call sub.KERNEL32.DLL_LoadResource
lea eax, [ebp - 0x11e]
push eax
call sub.KERNEL32.DLL_LockResource
inc eax
add ebx, eax
mov esi, edi
cmp byte [esi], 0
jne 0x405170
mov eax, dword [ebp - 8]
push eax
lea eax, [ebp - 0x24f]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_LoadResource
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40525c
Capabilities:
Extract resource via kernel32 functions
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.KERNEL32.DLL_GlobalHandle
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x40548c
push 0x80000001
call sub.user32.dll_UpdateWindow
test eax, eax
je 0x4052df
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x40548c
push 0x80000002
call sub.user32.dll_UpdateWindow
test eax, eax
je 0x4052df
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4054a8
push 0x80000001
call sub.user32.dll_UpdateWindow
test eax, eax
jne 0x405368
xor eax, eax
push ebp
push 0x405361
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.004050a4
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_VkKeyScanA
test eax, eax
je 0x405346
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x4054c8
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_VkKeyScanA
test eax, eax
je 0x405346
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405368
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_UnregisterClassA
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadResource
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.KERNEL32.DLL_LeaveCriticalSection
push eax
call sub.KERNEL32.DLL_GlobalLock
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x405482
cmp byte [ebp - 0xd], 0
jne 0x4053af
cmp byte [ebp - 0x12], 0
je 0x405482
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LockResource
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x4053c8
dec ebx
cmp byte [ebx], 0x2e
je 0x4053d7
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x4053c7
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x405482
inc ebx
cmp byte [ebp - 0x12], 0
je 0x405414
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.KERNEL32.DLL_LoadResource
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadLibraryA
mov esi, eax
test esi, esi
jne 0x405482
cmp byte [ebp - 0xd], 0
je 0x405482
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.KERNEL32.DLL_LoadResource
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadLibraryA
mov esi, eax
test esi, esi
jne 0x405482
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.KERNEL32.DLL_LoadResource
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadLibraryA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4099e0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x118], ecx
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x409b2e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00403ffc
mov eax, dword [ebp + 8]
mov ax, word [eax - 0xe]
mov word [ebp - 0x14], ax
mov eax, dword [ebp + 8]
mov ax, word [eax - 0x10]
mov word [ebp - 0x12], ax
mov eax, dword [ebp + 8]
mov ax, word [eax - 0x12]
mov word [ebp - 0xe], ax
lea eax, [ebp - 4]
mov edx, 0x409b44
call fcn.00404094
push 0x100
lea eax, [ebp - 0x114]
push eax
mov eax, dword [ebp - 4]
call fcn.004044bc
push eax
lea eax, [ebp - 0x14]
push eax
push 4
call sub.user32.dll_KillTimer
push eax
call sub.user32.dll_GetWindowTextA
test eax, eax
je 0x409b0d
mov eax, ebx
lea edx, [ebp - 0x114]
mov ecx, 0x100
call fcn.0040426c
dec esi
jne 0x409b0d
mov eax, dword [0x458744]
sub eax, 4
je 0x409ab0
sub eax, 0xd
jne 0x409b0d
push ebx
mov eax, dword [ebx]
mov edx, 1
call fcn.0040c098
mov ecx, eax
mov eax, dword [ebx]
mov edx, 1
call fcn.0040451c
jmp 0x409b0d
cmp dword [0x458748], 1
jne 0x409b0d
mov eax, dword [ebx]
call fcn.004042bc
mov edx, eax
mov eax, dword [ebx]
call fcn.0040bf24
cmp eax, 4
jne 0x409b0d
mov eax, dword [ebx]
mov edx, 3
call fcn.0040c034
mov esi, eax
lea eax, [ebp - 0x114]
add esi, eax
dec esi
lea eax, [ebp - 0x118]
mov edx, esi
call fcn.004041f4
mov eax, dword [ebp - 0x118]
mov edx, 2
call fcn.0040c098
mov ecx, eax
mov eax, ebx
mov edx, esi
call fcn.004040ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409b35
lea eax, [ebp - 0x118]
call fcn.00403ffc
lea eax, [ebp - 4]
call fcn.00403ffc
ret

Function at 0x409b48
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x409c26
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00403ffc
mov eax, dword [ebp + 8]
mov ax, word [eax - 0xe]
mov word [ebp - 0x14], ax
mov eax, dword [ebp + 8]
mov ax, word [eax - 0x10]
mov word [ebp - 0x12], ax
mov eax, dword [ebp + 8]
mov ax, word [eax - 0x12]
mov word [ebp - 0xe], ax
cmp esi, 2
jg 0x409ba6
lea eax, [ebp - 4]
mov edx, 0x409c3c
call fcn.00404094
jmp 0x409bb3
lea eax, [ebp - 4]
mov edx, 0x409c48
call fcn.00404094
push 0x100
lea eax, [ebp - 0x114]
push eax
mov eax, dword [ebp - 4]
call fcn.004044bc
push eax
lea eax, [ebp - 0x14]
push eax
push 4
call sub.user32.dll_KillTimer
push eax
call sub.user32.dll_GetWindowTextA
test eax, eax
je 0x409c10
mov eax, ebx
lea edx, [ebp - 0x114]
mov ecx, 0x100
call fcn.0040426c
dec esi
jne 0x409c10
mov eax, dword [ebx]
cmp byte [eax], 0x30
jne 0x409c10
push ebx
mov eax, dword [ebx]
call fcn.004042bc
mov ecx, eax
dec ecx
mov eax, dword [ebx]
mov edx, 2
call fcn.0040451c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409c2d
lea eax, [ebp - 4]
call fcn.00403ffc
ret
Function at 0x40bd84
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40be5a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404094
lea eax, [ebp - 8]
call fcn.0040450c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004044bc
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40be44
mov eax, ebx
call fcn.004026bc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40be3d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004044bc
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40be27
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40be6c
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40be27
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40be44
mov eax, dword [ebp - 0x10]
call fcn.004026dc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40be61
lea eax, [ebp - 8]
call fcn.00403ffc
ret

Function at 0x41b71c
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x41b722
ret
Function at 0x41e514
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov ebx, ecx
mov edi, edx
mov esi, eax
mov edx, ebx
mov ecx, dword [ebp + 8]
mov eax, esi
call fcn.0041e3c4
xor eax, eax
mov dword [ebp - 8], eax
push 0
call sub.user32.dll_CharToOemA
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x41e5b1
push dword fs:[eax]
mov dword fs:[eax], esp
test edi, edi
je 0x41e568
push 0
push edi
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_GetActiveWindow
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_EnumWindows
push 0
push ebx
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebx + 8]
push eax
push 0
push esi
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_DestroyMenu
test eax, eax
setne byte [ebp - 1]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41e5b8
cmp dword [ebp - 8], 0
je 0x41e5a7
push 0
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_GetActiveWindow
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_CreateIcon
ret

Function at 0x41f0b4
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff68
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x18], 0
je 0x41f0f1
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x1c], 0
je 0x41f709
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x20], 0
je 0x41f709
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x18], 0
jne 0x41f114
mov eax, dword [ebp + 0xc]
cmp dword [eax + 4], 0
je 0x41f709
mov eax, dword [ebp + 0xc]
cmp dword [eax + 8], 0
je 0x41f709
mov eax, dword [ebp - 4]
call fcn.0041ec70
xor eax, eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 4], 0
je 0x41f143
lea eax, [ebp - 0x88]
push eax
push 0x54
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_DispatchMessageA
cmp eax, 0x18
jge 0x41f143
call fcn.0041d568
push 0
call fcn.00406544
call fcn.0041d67c
mov dword [ebp - 0x18], eax
inc ebp
call 0x512a36e1
Function at 0x424eca
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.0042507a
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x424fc8
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x424f6b
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x424fae
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x424f82
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x424f9d
test al, 0x40
je 0x424f94
mov ecx, dword [edi + 0x20]
jmp 0x424f9b
test al, 0x80
je 0x424fae
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x424fae
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x424f3a
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x435450
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4c037b
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.004b50df
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4354d2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004b2ff1
mov eax, dword [eax]
push 0x50ccd8
push eax
call fcn.004a4fe4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004b536a
test bl, bl
je 0x4354d2
push 0x50ccd8
lea ecx, [esp + 0xc]
call fcn.004b56fa
push 0x50cce4
lea ecx, [esp + 0xc]
call fcn.004b56fa
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 0x43550e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004b536a
jmp 0x4355d9
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 0x435592
lea edx, [esp + 0x7c]
push 0x50cce0
push edx
call fcn.004a4fe4
add esp, 8
test eax, eax
je 0x435592
lea eax, [esp + 0x7c]
push 0x50ccdc
push eax
call fcn.004a4fe4
add esp, 8
test eax, eax
je 0x435592
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 0x435522
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.004b536a
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 0x435de0
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 0x435e42
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 0x435e50
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4c03fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x51c318]
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 0x435f88
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x435eb6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004b536a
xor eax, eax
jmp 0x435fff
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004b54a7
push esi
lea ecx, [esp + 0xc]
call fcn.004b5736
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 0x435fdd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00435de0
test eax, eax
jne 0x435fdd
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 closesocket
mov ecx, edi
call fcn.00435de0
test eax, eax
jne 0x435fdd
lea eax, [esp + 0x14]
push 0x50ccf4
push eax
call fcn.004a6150
mov esi, eax
add esp, 8
test esi, esi
jne 0x435fbc
lea ecx, [esp + 0x14]
push 0x50ccf0
push ecx
call fcn.004a60d0
mov esi, eax
add esp, 8
test esi, esi
jne 0x435fbc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x435fbf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004b5457
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x435ece
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004b536a
xor eax, eax
jmp 0x435fff
mov byte [esi], 0
push 0x50ccec
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.004b536a
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 0x446dd0
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 0x446e3e
cmp si, 0x69
ja 0x446e3e
add esi, 0xffd0
cmp si, 0x11
je 0x446e0e
push 0x11
call edi
test ax, ax
jge 0x446e0e
or esi, 0x2000
cmp si, 0x10
je 0x446e23
push 0x10
call edi
test ax, ax
jge 0x446e23
or esi, 0x4000
cmp si, 0x12
je 0x446e38
push 0x12
call edi
test ax, ax
jge 0x446e38
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x446e4b
mov esi, 0xbd
jmp 0x446dff
cmp si, 0x6e
jne 0x446e58
mov esi, 0xbe
jmp 0x446dff
cmp si, 0x6f
jne 0x446df9
mov esi, 0xbf
jmp 0x446dff

Function at 0x4487e0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x52cc48]
xor edx, edx
cmp eax, edx
jne 0x448806
xor eax, eax
mov byte [eax + 0x52cb48], al
inc eax
cmp eax, 0x100
jl 0x4487ee
mov dword [0x52cc48], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x52cb48
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x448897
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 0x44886a
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 0x448838
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x448910
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 0x448963
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 0x44894a
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