joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4028bf
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411094]
jne 0x4028c9
repz ret
jmp fcn.00404f14

Function at 0x40b991
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.00405663
and dword [ebp - 4], 0
cmp dword [0x412724], 0
mov ebx, eax
jne 0x40ba42
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40baf3
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40baf3
push eax
call fcn.004055f1
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x412724], eax
call esi
push eax
call fcn.004055f1
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x412728], eax
call esi
push eax
call fcn.004055f1
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x41272c], eax
call esi
push eax
call fcn.004055f1
pop ecx
mov dword [0x412734], eax
test eax, eax
je 0x40ba42
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004055f1
pop ecx
mov dword [0x412730], eax
mov eax, dword [0x412730]
cmp eax, ebx
je 0x40ba9a
cmp dword [0x412734], ebx
je 0x40ba9a
push eax
call fcn.0040566c
push dword [0x412734]
mov esi, eax
call fcn.0040566c
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40ba9a
test edi, edi
je 0x40ba9a
call esi
test eax, eax
je 0x40ba91
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40ba91
test byte [ebp - 0xc], 1
jne 0x40ba9a
or dword [ebp + 0x10], 0x200000
jmp 0x40bad3
mov eax, dword [0x412728]
cmp eax, ebx
je 0x40bad3
push eax
call fcn.0040566c
pop ecx
test eax, eax
je 0x40bad3
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40bad3
mov eax, dword [0x41272c]
cmp eax, ebx
je 0x40bad3
push eax
call fcn.0040566c
pop ecx
test eax, eax
je 0x40bad3
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x412724]
call fcn.0040566c
pop ecx
test eax, eax
je 0x40baf3
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40baf5
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40d1e0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x411094]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
push 0x104
lea ecx, [ebp - 0x3c]
call fcn.00402310
push 0x104
push 0
lea ecx, [ebp - 0x3c]
call fcn.004012b0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov eax, dword [0x40facc]
push eax
push 0x5c
lea ecx, [ebp - 0x3c]
call fcn.00401350
push eax
push 0
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x3c]
call fcn.00401370
push 0x40fa7c
call fcn.00404509
add esp, 4
push eax
push str...System_
lea edx, [ebp - 0x58]
push edx
push str.PATH
lea eax, [ebp - 0xf4]
push eax
call fcn.00402370
add esp, 0xc
push eax
lea ecx, [ebp - 0x110]
push ecx
call fcn.00402400
add esp, 0xc
push eax
lea edx, [ebp - 0xd0]
push edx
call fcn.00402400
add esp, 0xc
lea ecx, [ebp - 0x110]
call fcn.00401220
lea ecx, [ebp - 0xf4]
call fcn.00401220
lea ecx, [ebp - 0xd0]
call fcn.004012e0
push eax
call fcn.004047ef
add esp, 4
push 0
push str.Launcher.exe
lea ecx, [ebp - 0x3c]
call fcn.00401320
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xd8]
cmp eax, dword [0x40facc]
jne 0x40d301
mov dword [ebp - 0x114], 1
lea ecx, [ebp - 0xd0]
call fcn.00401220
lea ecx, [ebp - 0x58]
call fcn.00401220
lea ecx, [ebp - 0x3c]
call fcn.00401220
mov eax, dword [ebp - 0x114]
jmp 0x40d47c
push str..exe
push 0xc
mov ecx, dword [ebp - 0xd8]
push ecx
lea ecx, [ebp - 0x3c]
call fcn.00401280
lea ecx, [ebp - 0x3c]
call fcn.004012e0
push eax
lea ecx, [ebp - 0x3c]
call fcn.00401240
mov dword [ebp - 0xd4], 0
mov edx, dword [ebp + 0x10]
push edx
call fcn.004040d0
add esp, 4
sub eax, 1
mov dword [ebp - 0xb4], eax
cmp dword [ebp + 0x10], 0
je 0x40d373
mov eax, dword [ebp + 0x10]
movsx ecx, byte [eax]
cmp ecx, 0x22
jne 0x40d373
mov edx, dword [ebp + 0x10]
add edx, dword [ebp - 0xb4]
movsx eax, byte [edx]
cmp eax, 0x22
jne 0x40d373
mov dword [ebp - 0xd4], 1
lea ecx, [ebp - 0xb0]
call fcn.00401170
cmp dword [ebp - 0xd4], 0
je 0x40d398
mov ecx, dword [ebp + 0x10]
push ecx
lea ecx, [ebp - 0xb0]
call fcn.00401240
jmp 0x40d3c7
push 0x40fab0
lea ecx, [ebp - 0xb0]
call fcn.00401240
mov edx, dword [ebp + 0x10]
push edx
lea ecx, [ebp - 0xb0]
call fcn.00401260
push 0x40fab4
lea ecx, [ebp - 0xb0]
call fcn.00401260
push str...System
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x20]
push ecx
call fcn.00402400
add esp, 0xc
push 0x3c
push 0
lea edx, [ebp - 0x94]
push edx
call fcn.00404380
add esp, 0xc
mov dword [ebp - 0x94], 0x3c
mov dword [ebp - 0x88], str.open
lea ecx, [ebp - 0x3c]
call fcn.004012e0
mov dword [ebp - 0x84], eax
lea ecx, [ebp - 0xb0]
call fcn.004012e0
mov dword [ebp - 0x80], eax
lea ecx, [ebp - 0x20]
call fcn.004012e0
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], 1
lea eax, [ebp - 0x94]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov dword [ebp - 0x118], 0
lea ecx, [ebp - 0x20]
call fcn.00401220
lea ecx, [ebp - 0xb0]
call fcn.00401220
lea ecx, [ebp - 0xd0]
call fcn.00401220
lea ecx, [ebp - 0x58]
call fcn.00401220
lea ecx, [ebp - 0x3c]
call fcn.00401220
mov eax, dword [ebp - 0x118]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004028bf
mov esp, ebp
pop ebp
ret 0x10
Function at 0x402a44
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404550
test esi, esi
jne 0x402a7a
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00404640
jmp 0x402a98
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402958
mov edi, eax
test esi, esi
je 0x402a98
cmp dword [ebx], 0
je 0x402a98
dec esi
jmp 0x402a81
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x4035f4
Capabilities:
Query or enumerate registry value

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

Function at 0x404350
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x491048], 0
je 0x4043b1
cmp word [0x49121c], 0xd7b2
jne 0x404379
cmp dword [0x491224], 0
jbe 0x404379
mov eax, 0x491218
call dword [0x491234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x48b070
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 0x4043d8
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x48b030], 0
jne 0x4043cd
push 0
push 0x48b068
push 0x48b070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x404504
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.0040271c
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x491049], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x4044cc
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x406234
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 0x40629a
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.004047c0
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.0040302c
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x406284
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4062a1
lea eax, [ebp - 0x10]
call fcn.00404550
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404a10
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x408d59
test al, 0x10
jne 0x408d5d
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40ba04
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 0x40ba3d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404640
jmp 0x40ba46
mov eax, ebx
mov edx, esi
call fcn.004045a4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40ba50
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 0x40ba71
mov al, byte [esp]
jmp 0x40ba73
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40c0f8
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40bf70
mov eax, dword [0x490848]
cmp byte [eax], 0
je 0x40c174
mov eax, dword [0x4904c8]
call fcn.00402e8c
call fcn.00402884
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.00409054
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 0x40c1bc
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40c1aa
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x490434]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x491664]
call fcn.00405748
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 0x40ca10
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 0x40cae6
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.004045e8
lea eax, [ebp - 8]
call fcn.00404a60
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404a10
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40cad0
mov eax, ebx
call fcn.0040271c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40cac9
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.00404a10
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40cab3
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40caf8
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40cab3
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 0x40cad0
mov eax, dword [ebp - 0x10]
call fcn.0040273c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40caed
lea eax, [ebp - 8]
call fcn.00404550
ret

Function at 0x40d064
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 0x40d0c8
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.004047c0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004089c0
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d0cf
lea eax, [ebp - 0xc]
call fcn.00404550
ret

Function at 0x41be48
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.0041bca0
dec esi
jne 0x41be6a
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x41cfac
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x491888
cmp dword [edi], 0
jne 0x41d028
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x491884]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x48b470
mov ecx, 2
call fcn.00402918
mov edx, 0x41cf84
lea eax, [esi + 5]
call fcn.0041cfa4
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041cfa4
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x41cffd
mov dword [0x491884], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x41e59c
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 0x41e5a2
ret

Function at 0x420e9c
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 0x420eed
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x420ed4
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x420ec4
jmp 0x420eed
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 0x420ed5
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42c6c8
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x42c831
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.004045e8
mov eax, dword [ebp - 0x10]
call fcn.0042c424
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x42c71a
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 1
call fcn.00404ab0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0042ca3c
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x42c7ef
xor eax, eax
push ebp
push 0x42c7e8
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.0042c5a0
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.0042c860
test al, al
je 0x42c7c6
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.00404640
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x42c7c6
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00404a10
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x42c7c0
mov eax, dword [ebp - 0x14]
call fcn.00404a10
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00404748
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.0042c6c8
dec ebx
cmp ebx, 0xffffffff
jne 0x42c779
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42c7ef
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0042c5a0
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x10]
call fcn.00404a10
push eax
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 4]
call fcn.0042c58c
push eax
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42c838
lea eax, [ebp - 0x3c]
call fcn.00404550
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00404574
ret
Function at 0x42c7ef
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x42c831
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.004045e8
mov eax, dword [ebp - 0x10]
call fcn.0042c424
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x42c71a
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 1
call fcn.00404ab0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0042ca3c
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x42c7ef
xor eax, eax
push ebp
push 0x42c7e8
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.0042c5a0
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.0042c860
test al, al
je 0x42c7c6
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.00404640
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x42c7c6
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00404a10
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x42c7c0
mov eax, dword [ebp - 0x14]
call fcn.00404a10
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00404748
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.0042c6c8
dec ebx
cmp ebx, 0xffffffff
jne 0x42c779
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42c7ef
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0042c5a0
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x10]
call fcn.00404a10
push eax
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 4]
call fcn.0042c58c
push eax
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42c838
lea eax, [ebp - 0x3c]
call fcn.00404550
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00404574
ret

Function at 0x42c860
Capabilities:
Query or enumerate registry key

Disassembly:
push ebx
push esi
mov ebx, edx
mov esi, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x1c
call fcn.0040300c
lea eax, [ebx + 0x14]
push eax
push 0
lea eax, [ebx + 0x10]
push eax
lea eax, [ebx + 0xc]
push eax
lea eax, [ebx + 8]
push eax
push 0
lea eax, [ebx + 4]
push eax
push ebx
push 0
push 0
push 0
mov eax, dword [esi + 4]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
test eax, eax
sete al
mov edx, dword [0x490a04]
cmp byte [edx + 0xc], 0
je 0x42c8c4
mov edx, dword [0x4909f4]
cmp dword [edx], 2
jne 0x42c8c4
mov edx, dword [ebx + 4]
add dword [ebx + 4], edx
mov edx, dword [ebx + 0xc]
add dword [ebx + 0xc], edx
pop esi
pop ebx
ret
Function at 0x42c9b8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00404a10
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x42ca10
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x490a10]
mov dl, 1
mov eax, dword [0x42c2c4]
call fcn.0040c2b8
call fcn.00403f08
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0042c438
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x42f4d0
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 0x42f41c
call sub.user32.dll_EnumWindows
ret

Function at 0x42f5f0
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 0x42f66d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0042f050
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 0x42f615
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0042ec50
cmp dword [ebp - 4], 0
je 0x42f657
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00404a10
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 0x42f674
lea eax, [ebp - 4]
call fcn.00404550
ret
Function at 0x4324c0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x491b58], 0
je 0x43260f
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x49079c]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x43260f
mov eax, dword [0x491b5c]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x491b58]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x4325de
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x491b58]
call fcn.004152b8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x4325d6
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x4325d6
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x4325d6
mov eax, dword [ebp - 0x14]
call fcn.0043b0d0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4325d6
push ebp
call fcn.0043247c
pop ecx
test al, al
jne 0x4325d6
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x432592
mov eax, dword [ebp - 0x14]
call fcn.00439c00
dec eax
jle 0x4325d6
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbd
call fcn.00403978
cmp byte [ebp - 1], 0
je 0x4325d6
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x4325d6
mov edx, dword [ebp - 0x14]
mov eax, dword [0x491b5c]
call fcn.00431c48
inc edi
dec ebx
jne 0x432525
mov eax, dword [0x491b5c]
cmp dword [eax + 8], 0
jle 0x4325f6
mov eax, dword [0x491b5c]
call fcn.00431cd8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x43260f
push ebp
mov eax, dword [ebp - 0x18]
call fcn.004322e4
pop ecx
test al, al
jne 0x43260f
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret