joyce8/EMBER2024-capa huggingface dataset:
Function at 0x431118
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
mov eax, dword [esi]
cmp eax, 0x84
jg 0x431149
je 0x4311a3
sub eax, 7
je 0x43116a
dec eax
je 0x431194
sub eax, 0x17
je 0x431248
jmp 0x431286
add eax, 0xffffff00
sub eax, 9
jb 0x431234
add eax, 0xffffff09
sub eax, 0xb
jb 0x4311fc
jmp 0x431286
mov eax, ebx
call fcn.0041eaf8
mov edi, eax
test edi, edi
je 0x4312e6
mov edx, ebx
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0xd4]
test al, al
je 0x4312ef
jmp 0x4312e6
test byte [ebx + 0x44], 0x20
jne 0x4312ef
jmp 0x4312e6
mov edx, esi
mov eax, ebx
call fcn.0042e718
cmp dword [esi + 0xc], 0xffffffff
jne 0x4312ef
push 0
lea edx, [ebp - 0x120]
mov eax, dword [esi + 8]
call fcn.0044af40
lea edx, [ebp - 0x120]
lea ecx, [ebp - 0x118]
mov eax, ebx
call fcn.0042d24c
lea edx, [ebp - 0x118]
xor ecx, ecx
mov eax, ebx
call fcn.00430ff0
test eax, eax
je 0x4312ef
mov dword [esi + 0xc], 1
jmp 0x4312ef
mov edx, esi
mov eax, ebx
call fcn.00431084
test al, al
je 0x4312e6
cmp dword [esi + 0xc], 0
jne 0x4312ef
mov eax, dword [esi + 8]
push eax
mov eax, dword [esi + 4]
push eax
mov eax, dword [esi]
push eax
mov eax, ebx
call fcn.00433780
push eax
call sub.USER32.DLL_DefWindowProcA
jmp 0x4312ef
mov eax, ebx
call fcn.0042ddb4
test al, al
jne 0x4312ef
jmp 0x4312e6
mov eax, ebx
call fcn.00433780
mov edi, eax
call sub.USER32.DLL_GetCapture
cmp edi, eax
jne 0x4312e6
cmp dword [0x4611e4], 0
je 0x4312e6
mov eax, dword [0x4611e4]
cmp ebx, dword [eax + 0x24]
jne 0x4312e6
push 0
xor ecx, ecx
mov edx, 0x1f
mov eax, dword [0x4611e4]
call fcn.0042e64c
jmp 0x4312e6
mov eax, dword [0x464f88]
cmp byte [eax + 0x20], 0
je 0x4312e6
mov eax, dword [0x464f88]
cmp dword [eax + 0x1c], 0
je 0x4312e6
mov eax, dword [esi]
mov edx, dword [0x464f88]
cmp eax, dword [edx + 0x1c]
jne 0x4312e6
lea eax, [ebp - 0x110]
push eax
call sub.USER32.DLL_GetKeyboardState
mov eax, dword [esi]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x110]
call fcn.0041ea3c
mov byte [ebp - 0xc], al
mov ax, word [esi + 4]
mov word [ebp - 0xa], ax
mov eax, dword [esi + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, ebx
mov bx, 0xffb7
call fcn.0045271c
jmp 0x4312ef
mov edx, esi
mov eax, ebx
call fcn.0042e718
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4317b0
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1e8], 0
je 0x4317cc
cmp dword [esi + 4], 0
je 0x4317f9
test byte [ebx + 0x45], 1
jne 0x4317eb
mov eax, ebx
call fcn.004306e8
test eax, eax
jne 0x4317eb
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x431909
mov edx, esi
mov eax, ebx
call fcn.00431428
jmp 0x431909
push 0
call sub.USER32.DLL_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.GDI32.DLL_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.USER32.DLL_ReleaseDC
push 0
call sub.GDI32.DLL_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.GDI32.DLL_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x431902
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00433780
push eax
call sub.USER32.DLL_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.0042e64c
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.004317b0
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.GDI32.DLL_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00433780
push eax
call sub.USER32.DLL_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x431909
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.GDI32.DLL_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.GDI32.DLL_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.GDI32.DLL_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43ac50
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43ad28
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x46500c], 0
jne 0x43ad0c
lea eax, [ebp - 4]
mov edx, 0x43ad40
call fcn.0045321c
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.004535c8
mov esi, eax
push esi
call sub.VERSION.DLL_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x43ad0c
mov eax, ebx
call fcn.00451ef0
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x43ad05
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
push ebx
mov eax, dword [ebp - 8]
push eax
push esi
call sub.VERSION.DLL_GetFileVersionInfoA
test eax, eax
je 0x43acef
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x43ad50
mov eax, dword [ebp - 0xc]
push eax
call sub.VERSION.DLL_VerQueryValueA
test eax, eax
je 0x43acef
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [0x46500c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43ad0c
mov eax, dword [ebp - 0xc]
call fcn.00451f08
ret
mov ebx, dword [0x46500c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43ad2f
lea eax, [ebp - 4]
call fcn.00453184
ret

Function at 0x44163c
Capabilities:
Set global application hook

Disassembly:
cmp dword [0x465030], 0
jne 0x44165f
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, 0x4415c0
push eax
push 3
call sub.USER32.DLL_SetWindowsHookExA
mov dword [0x465030], eax
ret

Function at 0x449218
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.KERNEL32.DLL_ResumeThread
cmp eax, 1
jne 0x44922d
mov byte [ebx + 0xd], 0
pop ebx
ret

Function at 0x44db2c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push 0x100
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
test eax, eax
jle 0x44db65
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.0045326c
jmp 0x44db6e
mov eax, ebx
mov edx, esi
call fcn.004531d8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x44db78
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.KERNEL32.DLL_GetLocaleInfoA
test eax, eax
jle 0x44db99
mov al, byte [esp]
jmp 0x44db9b
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x4523b8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x4615ac]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x452450
push reloc.WSOCK32.DLL_bind
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x452430
xor eax, eax
push ebp
push 0x452429
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x45246c
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x452430
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
mov ax, word [0x4615ac]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x4615ac], ax
mov esp, ebp
pop ebp
ret

Function at 0x453138
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.00451ef0
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x465295], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x453100
push eax
push esi
push ebx
call sub.KERNEL32.DLL_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x454690
Capabilities:
Get geographical location
Query or enumerate registry value

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_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x45484c
push reloc.WSOCK32.DLL_accept
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
je 0x4546f1
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x454868
push reloc.WSOCK32.DLL_accept
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x454763
xor eax, eax
push ebp
push 0x45475c
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
call fcn.004544e8
push eax
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
je 0x454745
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x454888
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x454763
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_lstrcpyA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.KERNEL32.DLL_GetThreadLocale
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x454844
cmp byte [ebp - 0xd], 0
jne 0x4547a5
cmp byte [ebp - 0x12], 0
je 0x454844
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x4547be
dec ebx
cmp byte [ebx], 0x2e
je 0x4547cd
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x4547bd
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x454844
inc ebx
cmp byte [ebp - 0x12], 0
je 0x4547fa
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.KERNEL32.DLL_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x454844
cmp byte [ebp - 0xd], 0
je 0x454844
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.KERNEL32.DLL_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x454844
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.KERNEL32.DLL_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x454c38
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
push ebp
push 0x454d20
push dword fs:[eax]
mov dword fs:[eax], esp
sub dword [0x465678], 1
jae 0x454d12
xor eax, eax
mov dword [0x465284], eax
xor eax, eax
mov dword [0x46528c], eax
xor eax, eax
mov dword [0x465290], eax
mov byte [0x465296], 2
mov byte [0x465297], 2
mov byte [0x465298], 3
mov word [0x465640], 0
mov word [0x465650], 1
mov word [0x465660], 0xa
mov dword [0x465668], 0x80020004
mov dword [0x465634], 0x453e24
mov dword [0x465638], 0x453e1c
mov dword [0x46563c], 0x453e24
call fcn.00452388
test al, al
je 0x454cd1
call fcn.004523b8
call fcn.0045247c
mov eax, 0x46529c
mov edx, 0x454d2c
call fcn.0044fc46
mov eax, 0x465468
mov edx, 0x454d2c
call fcn.0044fc46
call sub.KERNEL32.DLL_GetCommandLineA
mov dword [0x46527c], eax
call fcn.00450bac
mov dword [0x465278], eax
call sub.KERNEL32.DLL_GetCurrentThreadId
mov dword [0x465270], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x454d27
ret

Function at 0x459470
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_CreateFileA
mov ebx, eax
test eax, eax
je 0x4594d2
call fcn.00459420
mov esi, eax
lea eax, [ebp - 4]
push 0
push eax
push esi
call fcn.004557f4
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push edi
call fcn.004557f4
pop ecx
push eax
push edi
push ebx
call sub.KERNEL32.DLL_WriteFile
push ebx
call sub.KERNEL32.DLL_CloseHandle
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x459550
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
cmp dword [0x463190], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x45962a
cmp dword [0x46318c], 0
jne 0x45962a
cmp dword [0x463370], 0
je 0x4595e4
push 0x80
lea eax, [ebp - 0x84]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push 0x5c
lea edx, [ebp - 0x84]
push edx
call fcn.00459320
add esp, 8
mov ebx, eax
test eax, eax
jne 0x4595ca
push 0x3a
lea edx, [ebp - 0x84]
push edx
call fcn.00459320
add esp, 8
mov ebx, eax
test eax, eax
jne 0x4595ca
lea ebx, [ebp - 0x84]
jmp 0x4595cb
inc ebx
call fcn.0045950c
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.USER32.DLL_MessageBoxA
jmp 0x459665
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x463194
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.004557f4
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x463197
push ebx
call sub.KERNEL32.DLL_WriteFile
jmp 0x459665
cmp dword [0x46318c], 0
je 0x459644
cmp dword [0x46318c], 0xffffffff
je 0x459665
push esi
call dword [0x46318c]
pop ecx
mov eax, dword [0x463190]
test eax, eax
je 0x459665
cmp dword [0x463190], 0xffffffff
je 0x459665
cmp byte [eax], 0
je 0x459665
push esi
push eax
call fcn.00459470
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x459dfc
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
cmp dword [0x465f7c], 0
jne 0x459e7d
cmp dword [0x465f9c], 0
jne 0x459e2c
call sub.KERNEL32.DLL_GetEnvironmentStrings
mov dword [0x465f9c], eax
test eax, eax
jne 0x459e2c
push str.GetEnvironmentStrings_failed
call fcn.0045967c
pop ecx
xor ebp, ebp
xor esi, esi
mov ebx, dword [0x465f9c]
jmp 0x459e40
lea eax, [edi + 1]
inc esi
add ebp, eax
add ebx, eax
push ebx
call fcn.004557f4
pop ecx
mov edi, eax
test eax, eax
jne 0x459e38
lea edi, [ebp + 1]
push edi
call fcn.00455254
pop ecx
mov ebx, eax
mov dword [0x465f80], ebx
test ebx, ebx
jne 0x459e6a
xor eax, eax
jmp 0x459f40
push edi
mov edx, dword [0x465f9c]
push edx
push ebx
call fcn.004556a4
add esp, 0xc
jmp 0x459e9d
xor esi, esi
mov ebx, dword [0x465f7c]
jmp 0x459e97
push eax
call fcn.004557f4
pop ecx
test eax, eax
jne 0x459e93
dec esi
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x459e87
lea ebx, [esi + 4]
push 4
mov dword [0x465f84], ebx
inc ebx
push ebx
call fcn.00454d30
add esp, 8
test eax, eax
mov dword [esp], eax
jne 0x459ec0
xor eax, eax
jmp 0x459f40
cmp dword [0x465f7c], 0
jne 0x459ef1
xor esi, esi
mov ebx, dword [0x465f80]
mov eax, dword [esp]
mov ebp, eax
jmp 0x459ee2
mov dword [ebp], ebx
add ebp, 4
inc esi
inc edi
add ebx, edi
push ebx
call fcn.004557f4
pop ecx
mov edi, eax
test eax, eax
jne 0x459ed8
jmp 0x459f22
xor esi, esi
mov ebx, dword [0x465f7c]
mov eax, dword [esp]
mov edi, eax
jmp 0x459f1c
push eax
call fcn.004557f4
pop ecx
test eax, eax
je 0x459f11
mov eax, dword [ebx]
mov dword [edi], eax
jmp 0x459f15
dec esi
add edi, 0xfffffffc
add edi, 4
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x459f00
mov eax, dword [0x465f7c]
test eax, eax
je 0x459f32
push eax
call fcn.00455264
pop ecx
mov edx, dword [esp]
mov eax, 1
mov dword [0x465f7c], edx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x408948
Capabilities:
Encode data using xor

Disassembly:
push 0x4085d8
pop eax
and ecx, ebx
call fcn.00408982
xor dword [esi], eax
sub ecx, 0x4c06093b
sub ecx, 0xc929a01
add esi, 1
add ebx, 0x8b068eb6
add ebx, 1
cmp esi, edx
jne fcn.00408948
add ebx, ebx
ret
Function at 0x41fe70
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a9cdb
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.0049e044
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x41fef2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0049ba8b
mov eax, dword [eax]
push 0x5a1224
push eax
call fcn.0047b444
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0049e2cf
test bl, bl
je 0x41fef2
push 0x5a1224
lea ecx, [esp + 0xc]
call fcn.0049e65f
push 0x5a4d94
lea ecx, [esp + 0xc]
call fcn.0049e65f
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 0x41ff2e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0049e2cf
jmp 0x41fff9
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 0x41ffb2
lea edx, [esp + 0x7c]
push 0x5a4d90
push edx
call fcn.0047b444
add esp, 8
test eax, eax
je 0x41ffb2
lea eax, [esp + 0x7c]
push 0x5a4d8c
push eax
call fcn.0047b444
add esp, 8
test eax, eax
je 0x41ffb2
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 0x41ff42
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.0049e2cf
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 0x420810
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 0x420872
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 0x420880
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a9d5b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x5abacc]
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 0x4209b8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4208e6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0049e2cf
xor eax, eax
jmp 0x420a2f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0049e40c
push esi
lea ecx, [esp + 0xc]
call fcn.0049e69b
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 0x420a0d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocString
call fcn.00420810
test eax, eax
jne 0x420a0d
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.00420810
test eax, eax
jne 0x420a0d
lea eax, [esp + 0x14]
push 0x5a4da8
push eax
call fcn.0047c560
mov esi, eax
add esp, 8
test esi, esi
jne 0x4209ec
lea ecx, [esp + 0x14]
push 0x5a4da4
push ecx
call fcn.0047c4e0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4209ec
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x4209ef
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0049e3bc
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4208fe
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0049e2cf
xor eax, eax
jmp 0x420a2f
mov byte [esi], 0
push 0x5a4da0
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.0049e2cf
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 0x4337a0
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 0x43380e
cmp si, 0x69
ja 0x43380e
add esi, 0xffd0
cmp si, 0x11
je 0x4337de
push 0x11
call edi
test ax, ax
jge 0x4337de
or esi, 0x2000
cmp si, 0x10
je 0x4337f3
push 0x10
call edi
test ax, ax
jge 0x4337f3
or esi, 0x4000
cmp si, 0x12
je 0x433808
push 0x12
call edi
test ax, ax
jge 0x433808
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x43381b
mov esi, 0xbd
jmp 0x4337cf
cmp si, 0x6e
jne 0x433828
mov esi, 0xbe
jmp 0x4337cf
cmp si, 0x6f
jne 0x4337c9
mov esi, 0xbf
jmp 0x4337cf

Function at 0x435060
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x5bd030]
xor edx, edx
cmp eax, edx
jne 0x435086
xor eax, eax
mov byte [eax + 0x5bcf30], al
inc eax
cmp eax, 0x100
jl 0x43506e
mov dword [0x5bd030], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x5bcf30
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x435117
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 0x4350ea
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 0x4350b8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x435190
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 0x4351e3
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 0x4351ca
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