joyce8/EMBER2024-capa huggingface dataset:
Function at 0x458514
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x45854a
lea eax, [ebp + 0x18]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
push eax
push 1
push 0x6071
push 0x44d8
push 1
call fcn.0045860d
add esp, 0x14
jmp 0x458609
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x28], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x20], eax
lea eax, [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x458596
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push 0
call fcn.004499dd
add esp, 0xc
jmp 0x458609
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax]
test eax, eax
je 0x4585ff
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x4585e0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 2
jge 0x4585fd
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x40]
call fcn.0043532a
mov dword [eax], 0xbafcb143
jmp 0x4585d5
jmp 0x458609
push 0
push 0
call dword [sym.imp.USER32.dll_EnumWindows]
mov esp, ebp
pop ebp
ret
Function at 0x46d38c
Capabilities:
Delete file
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
push 2
lea ecx, [ebp - 0x18]
mov dword [ebp - 0xc], ebx
call fcn.0043523c
mov dword [ebp - 8], 0x3532fe22
mov dword [ebp - 8], ebx
jmp 0x46d3bf
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x18]
or dword [eax + ecx*4], 0xffffffff
inc dword [ebp - 8]
cmp dword [ebp - 8], 2
jl 0x46d3b2
xor esi, esi
mov dword [ebp - 8], ebx
inc esi
jmp 0x46d3db
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x18]
cmp dword [eax + ecx*4], ebx
jne 0x46d3e0
inc dword [ebp - 8]
cmp dword [ebp - 8], esi
jle 0x46d3cd
lea ecx, [ebp - 0x18]
call fcn.0043530e
push 0x31d2
push esi
push esi
push edi
push 0x531f
push esi
call fcn.0046005d
add esp, 0x18
lea ecx, [ebp - 0x3c]
push 4
pop esi
push esi
call fcn.0043523c
push esi
lea ecx, [ebp - 0x30]
call fcn.0043523c
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
jmp 0x46d42f
push dword [ebp - 8]
lea ecx, [ebp - 0x3c]
call fcn.0043532a
mov dword [eax], 2
inc dword [ebp - 8]
cmp dword [ebp - 8], esi
jl 0x46d41b
mov dword [ebp - 8], ebx
jmp 0x46d446
push dword [ebp - 8]
call fcn.0043532a
mov dword [eax], ebx
inc dword [ebp - 8]
lea ecx, [ebp - 0x30]
cmp dword [ebp - 8], esi
jl 0x46d439
push 2
call fcn.0043532a
mov esi, eax
mov dword [esi], 3
mov dword [ebp - 8], 0x748f69f7
mov dword [ebp - 8], ebx
jmp 0x46d4b8
push 3
lea ecx, [ebp - 0x24]
call fcn.0043523c
mov dword [ebp - 0xc], ebx
jmp 0x46d48c
push dword [ebp - 0xc]
lea ecx, [ebp - 0x24]
call fcn.0043532a
mov dword [eax], 1
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 3
jl 0x46d478
mov byte [ebp - 1], bl
cmp byte [ebp - 1], bl
je 0x46d4a1
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 1
lea ecx, [ebp - 0x24]
call fcn.0043532a
lea ecx, [ebp - 0x24]
mov dword [eax], ebx
call fcn.0043530e
inc dword [ebp - 8]
cmp dword [ebp - 8], 3
jle 0x46d469
push dword [esi]
lea ecx, [ebp - 0x3c]
call fcn.0043532a
mov ecx, dword [eax]
mov dword [eax], ecx
dec dword [esi]
mov dword [ebp - 8], ecx
jns 0x46d45d
lea ecx, [ebp - 0x30]
call fcn.0043530e
lea ecx, [ebp - 0x3c]
call fcn.0043530e
push edi
call fcn.004313dd
pop ecx
push 2
lea ecx, [ebp - 0x48]
mov esi, eax
call fcn.0043523c
mov dword [ebp - 0xc], 5
mov dword [ebp - 0xc], ebx
jmp 0x46d516
push dword [ebp - 0xc]
lea ecx, [ebp - 0x48]
call fcn.0043532a
mov dword [eax], 0xeac8
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 2
jl 0x46d502
mov byte [ebp - 1], bl
cmp byte [ebp - 1], bl
je 0x46d52f
push 0x23ec
call dword [sym.imp.USER32.dll_GetKeyState]
mov dword [ebp - 0xc], 1
cmp dword [ebp - 0xc], ebx
jl 0x46d54e
mov byte [ebp - 1], bl
cmp byte [ebp - 1], bl
je 0x46d549
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
dec dword [ebp - 0xc]
jns 0x46d53b
lea ecx, [ebp - 0x48]
call fcn.0043530e
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x48eae5
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x49ca0f
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4af484]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0048c944
mov dword [ebp - 0x14], eax
cmp dword [0xaa8e10], esi
jne 0x49cb02
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x49ca8f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x49cbe2
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x49cbe2
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x49cbe2
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0xaa8e10], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0xaa8e14], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0xaa8e18], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0xaa8e20], eax
test eax, eax
je 0x49caff
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0xaa8e1c], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x49cb27
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x49cb1a
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x49cb3c
push 4
pop eax
jmp 0x49cbe4
cmp dword [ebp - 0x14], esi
je 0x49cb3c
push dword [0xaa8e10]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x49cb21
mov eax, dword [0xaa8e1c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x49cb9a
cmp dword [0xaa8e20], edi
je 0x49cb9a
push eax
call ebx
push dword [0xaa8e20]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x49cb9a
test eax, eax
je 0x49cb9a
call ecx
test eax, eax
je 0x49cb8f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x49cb8f
test byte [ebp - 8], 1
jne 0x49cb9a
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x49cbca
mov eax, dword [0xaa8e14]
cmp eax, edi
je 0x49cbc7
push eax
call ebx
test eax, eax
je 0x49cbc7
call eax
mov esi, eax
test esi, esi
je 0x49cbc7
mov eax, dword [0xaa8e18]
cmp eax, edi
je 0x49cbc7
push eax
call ebx
test eax, eax
je 0x49cbc7
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0xaa8e10]
call ebx
test eax, eax
je 0x49cbe2
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x49cbe4
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048bdeb
mov esp, ebp
pop ebp
ret
Function at 0x4033e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x467020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403478
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403458
xor eax, eax
push ebp
push 0x403451
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 0x403494
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 0x403458
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x467020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x467020], ax
mov esp, ebp
pop ebp
ret

Function at 0x4042e4
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x46904c], 0
je 0x404345
cmp word [0x469220], 0xd7b2
jne 0x40430d
cmp dword [0x469228], 0
jbe 0x40430d
mov eax, 0x46921c
call dword [0x469238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x46706c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40436c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x467030], 0
jne 0x404361
push 0
push 0x467064
push 0x46706c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x4064bc
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x406522
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.004046d8
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402fa4
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x40650c
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406529
lea eax, [ebp - 0x10]
call fcn.00404468
ret

Function at 0x40b75c
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 pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40b795
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404558
jmp 0x40b79e
mov eax, ebx
mov edx, esi
call fcn.004044bc
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40b7a8
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_1
test eax, eax
jle 0x40b7c9
mov al, byte [esp]
jmp 0x40b7cb
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40be60
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40bcc8
mov eax, dword [0x4683e0]
cmp byte [eax], 0
je 0x40bedc
mov eax, dword [0x4681e4]
call fcn.00402e10
call fcn.00402c4c
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00408f04
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40bf24
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40bf12
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x468190]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x469668]
call fcn.0040590c
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x40c7c8
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 0x40c89e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404500
lea eax, [ebp - 8]
call fcn.00404978
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404928
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40c888
mov eax, ebx
call fcn.00402ac0
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40c881
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.00404928
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40c86b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40c8b0
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40c86b
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 0x40c888
mov eax, dword [ebp - 0x10]
call fcn.00402af0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c8a5
lea eax, [ebp - 8]
call fcn.00404468
ret

Function at 0x40ce0c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40ce70
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.004046d8
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004089a0
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ce77
lea eax, [ebp - 0xc]
call fcn.00404468
ret
Function at 0x42053c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
lea ebx, [ebp - 0xc]
mov esi, 0x46988c
cmp dword [esi], 0
jne 0x4205e2
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov edx, dword [0x469888]
mov dword [eax], edx
mov eax, dword [ebp - 8]
lea edx, [eax + 4]
mov eax, 0x467514
mov ecx, 2
call fcn.00402d18
mov edx, 0x420514
mov eax, dword [ebp - 8]
add eax, 5
call fcn.00420534
mov edx, dword [ebp - 8]
mov dword [edx + 6], eax
mov eax, dword [ebp - 8]
add eax, 0xa
mov dword [ebx], eax
mov eax, dword [ebx]
mov byte [eax], 0xe8
mov eax, dword [ebp - 8]
lea edx, [eax + 4]
mov eax, dword [ebx]
call fcn.00420534
mov edx, dword [ebx]
mov dword [edx + 1], eax
mov eax, dword [ebx]
mov edx, dword [esi]
mov dword [eax + 5], edx
mov eax, dword [ebx]
mov dword [esi], eax
add dword [ebx], 0xd
mov eax, dword [ebx]
sub eax, dword [ebp - 8]
cmp eax, 0xffc
jl 0x4205a9
mov eax, dword [ebp - 8]
mov dword [0x469888], eax
mov eax, dword [esi]
mov dword [ebp - 4], eax
mov eax, dword [esi]
mov dword [ebx], eax
mov eax, dword [ebx]
mov eax, dword [eax + 5]
mov dword [esi], eax
mov eax, dword [ebx]
mov edx, dword [ebp + 8]
mov dword [eax + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [eax + 9], edx
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x422300
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 0x422306
ret

Function at 0x4247cc
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x42481d
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x424804
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x4247f4
jmp 0x42481d
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x424805
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x430500
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404918
xor eax, eax
push ebp
push 0x430630
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x430603
xor eax, eax
push ebp
push 0x4305fc
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404728
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4305d1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4305c0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404728
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00404928
mov edx, dword [ebp - 0xc]
pop ecx
call fcn.00402d18
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4305c7
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x46812c]
mov dl, 1
mov eax, dword [0x4078b4]
call fcn.0040bfe4
call fcn.00403dd8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x430637
lea eax, [ebp - 4]
call fcn.00404468
ret
Function at 0x430640
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4307f1
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00404b18
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x430808
call fcn.00404774
mov eax, ebx
call fcn.0041fab8
mov edi, eax
dec edi
test edi, edi
jl 0x4306f8
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.0041fa8c
mov edx, dword [0x42d804]
call fcn.0040370c
test al, al
je 0x4306f4
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.0041fa8c
lea edx, [ebp - 0x14]
call fcn.0044c6e4
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00404b18
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004047e8
inc esi
dec edi
jne 0x4306a6
mov al, byte [0x43080c]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x430818
mov eax, dword [ebp - 0xc]
call fcn.0040d3e8
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.00404500
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.0044c6e4
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x430808
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x2f8]
call fcn.0044c6e4
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x430808
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x430808
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x430824
call fcn.00409624
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4307f8
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.0040448c
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.0040448c
lea eax, [ebp - 0x14]
call fcn.00404468
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.0040448c
ret

Function at 0x431dcc
Capabilities:
Enumerate gui resources

Disassembly:
mov byte [eax + 0xc], 0
mov byte [eax + 0xd], 0
xor edx, edx
mov dword [eax + 4], edx
push eax
push 0x431d18
call sub.user32.dll_EnumWindows
ret
Function at 0x431eec
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x431f69
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0043194c
call sub.kernel32.dll_GetTickCount
mov ebx, eax
push 0
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount
sub eax, ebx
cmp eax, 0x3e8
jbe 0x431f11
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0043154c
cmp dword [ebp - 4], 0
je 0x431f53
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00404928
push eax
mov eax, dword [esi + 0x1c]
mov edx, dword [eax]
call dword [edx + 0xc]
push eax
call sub.user32.dll_WinHelpA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x431f70
lea eax, [ebp - 4]
call fcn.00404468
ret

Function at 0x435480
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4354d0]
test si, 4
je 0x435494
or bl, 1
test si, 8
je 0x43549e
or bl, 4
test si, 1
je 0x4354a8
or bl, 8
test si, 2
je 0x4354b2
or bl, 0x10
test si, 0x10
je 0x4354bc
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4354cb
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4354d4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x43550c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4354ed
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4354fc
or bl, 4
test esi, 0x20000000
je 0x435507
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x43bbe8
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x43bbfa
add esp, 0xfffffff0
call fcn.004038ac
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041f494
mov eax, dword [0x468198]
mov dword [eax + 4], ebx
mov dword [eax], 0x43bf8c
mov eax, dword [0x4681a4]
mov dword [eax + 4], ebx
mov dword [eax], 0x43bf98
mov eax, ebx
call fcn.0043bfa4
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4176ac]
call fcn.00403544
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4176ac]
call fcn.00403544
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4176ac]
call fcn.00403544
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4176ac]
call fcn.00403544
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4176ac]
call fcn.00403544
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x4383bc
push eax
push 0
push 0
mov eax, dword [0x4682f0]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x4216d4]
call fcn.00422e6c
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x4216d4]
call fcn.00422e6c
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x4216d4]
call fcn.00422e6c
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0043c418
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x43c2e0
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x43c2e0
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x43c2e0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x43bd37
call fcn.00403904
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret