joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b2f0
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, dword [esp + 0x30]
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x419
push esi
call edi
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, eax
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 6
push eax
push 0
push 0x101b
push ebx
mov dword [esp + 0x28], 0x4c
mov dword [esp + 0x2c], str.Ordinal
call ebp
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0x41c90c
push ecx
push 1
push 0x101b
push ebx
call ebp
lea edx, [esp + 0x10]
mov dword [esp + 0x1c], str.Offset
push edx
push 2
push 0x101b
push ebx
call ebp
lea eax, [esp + 0x10]
mov dword [esp + 0x1c], str.Function_Name
push eax
push 3
push 0x101b
push ebx
mov dword [esp + 0x28], 0x258
call ebp
push ebx
call fcn.00401b60
add esp, 4
push 0x41b
push esi
call edi
push eax
call fcn.00401bb0
add esp, 4
push 0x41c
push esi
call edi
push eax
call fcn.00401bb0
add esp, 4
push 0x41d
push esi
call edi
push eax
call fcn.00401bb0
add esp, 4
push 0x41f
push esi
call edi
push eax
call fcn.00401bb0
add esp, 4
push 0x420
push esi
call edi
push eax
call fcn.00401bb0
add esp, 4
push 0x421
push esi
call edi
push eax
call fcn.00401bb0
add esp, 4
push 0x422
push esi
call edi
push eax
call fcn.00401bb0
add esp, 4
push 0x423
push esi
call edi
push eax
call fcn.00401bb0
add esp, 4
call dword [sym.imp.USER32.dll_CreatePopupMenu]
push str.edit...
push 0x4002
push 0
push eax
mov dword [0x41e130], eax
call dword [sym.imp.USER32.dll_AppendMenuA]
mov eax, dword [0x41dfe8]
test eax, eax
je 0x40b44e
push 0
push 0x45d
push esi
call edi
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
Function at 0x415470
Capabilities:
Copy file
Create process on windows
Get common file path

Disassembly:
sub esp, 0x360
lea eax, [esp + 0x158]
push esi
push edi
push 0x41e540
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [esp + 0x160]
push str.MiscMetaPuck.exe
push ecx
call esi
lea edx, [esp + 0x5c]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 0x41dec0
call fcn.00401aa0
add esp, 4
push eax
lea eax, [esp + 0x60]
push eax
call esi
lea ecx, [esp + 0x5c]
push 0
push ecx
push 0x41dec0
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x4154f9
mov edx, dword [esp + 0x36c]
push str.Couldnt_copy_target_file_into_temporary_directory__
push edx
call fcn.004043a0
add esp, 8
pop edi
pop esi
add esp, 0x360
ret
lea eax, [esp + 0x160]
push 0x41d838
push eax
call esi
lea ecx, [esp + 0x5c]
lea edx, [esp + 0x160]
push ecx
push edx
call esi
lea eax, [esp + 0x160]
push 0x41ccb4
push eax
call esi
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x18]
lea edx, [esp + 0x18]
rep stosd dword es:[edi], eax
lea ecx, [esp + 8]
mov dword [esp + 0x18], 0x44
push ecx
push edx
push eax
push eax
push eax
push eax
push eax
push eax
lea eax, [esp + 0x180]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x41557d
mov ecx, dword [esp + 0x36c]
push str.Couldnt_execute_external_utility__MetaPuck.exe___
push ecx
call fcn.004043a0
add esp, 8
pop edi
pop esi
add esp, 0x360
ret
mov esi, dword [esp + 0x36c]
mov edi, dword [sym.imp.USER32.dll_EnableWindow]
push 0
push esi
call edi
mov edx, dword [esp + 8]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 1
push esi
call edi
mov eax, dword [esp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [esp + 0xc]
push ecx
call esi
pop edi
pop esi
add esp, 0x360
ret
Function at 0x415ce0
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
sub esp, 0x164
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x10], 0
call fcn.00415bf0
test eax, eax
jne 0x415d1d
mov eax, dword [esp + 0x178]
push str.Not_enough_room_in_the_header_available__
push eax
call fcn.004043a0
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x164
ret
lea ecx, [esp + 0x24]
push ecx
call fcn.004017b0
mov esi, dword [esp + 0x17c]
add esp, 4
lea eax, [esp + 0x24]
lea edx, [esp + 0x70]
push eax
mov dword [esp + 0x34], 0x41b228
mov dword [esp + 0x5c], 0x1804
mov dword [esp + 0x44], edx
mov byte [esp + 0x74], 0
mov dword [esp + 0x2c], esi
call sub.comdlg32.dll_GetOpenFileNameA
test eax, eax
jne 0x415d6b
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x164
ret
push 0
push 0x80
push 3
push 0
push 1
lea ecx, [esp + 0x84]
push 0x80000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x415daf
mov edx, dword [str.File_access_error__]
push edx
push esi
call fcn.004043a0
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x164
ret
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0
push ebx
call ebp
mov esi, eax
push esi
call fcn.00401a60
mov edi, eax
add esp, 4
test edi, edi
jne 0x415df9
mov eax, dword [str.Not_enough_memory__]
mov ecx, dword [esp + 0x178]
push eax
push ecx
call fcn.004043a0
mov esi, dword [esp + 0x18]
add esp, 8
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x164
ret
lea edx, [esp + 0x14]
push 0
push edx
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
call fcn.00415cc0
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0x10]
add ecx, edx
mov edx, dword [0x41dfd8]
push ecx
mov eax, dword [edx + 0x3c]
push eax
call fcn.00415bc0
mov ecx, dword [0x41dfc4]
add esp, 8
push 0
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [0x41dfc4]
lea edx, [esp + 0x14]
push 0
push edx
push esi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call fcn.00401a90
call fcn.00415c20
call fcn.00415cc0
mov edi, eax
push esi
push 0x1000
mov dword [edi + 0x10], esi
call fcn.00415bc0
lea ecx, [esp + 0x7c]
mov dword [edi + 8], eax
push ecx
call fcn.00401aa0
add esp, 0x10
lea edx, [esp + 0x18]
push 9
push eax
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov eax, dword [esp + 0x18]
push 0
mov dword [edi], eax
mov ecx, dword [esp + 0x20]
mov dword [edi + 4], ecx
mov edx, dword [0x41dfc4]
push edx
call ebp
push 0x41dec0
mov dword [0x41dfc8], eax
call fcn.00415b50
add esp, 4
test eax, eax
je 0x415ed9
mov eax, dword [esp + 0x178]
push eax
call fcn.0040ffb0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x164
ret
mov esi, 1
call fcn.00416120
mov ecx, dword [0x41de9c]
push ecx
call fcn.004093d0
mov edx, dword [0x41e138]
push edx
call fcn.00409f70
mov eax, dword [esp + 0x180]
push str.Section_loaded_successfully_:_
push eax
call fcn.004043e0
add esp, 0x10
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x164
ret
Function at 0x416dc0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov esi, 5
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov ebx, dword [esp + 0x20]
mov edi, eax
mov dword [esp + 0x14], edi
mov eax, dword [ebx + 0x10c]
push eax
call fcn.00416d70
add esp, 4
cmp eax, 0x1000
jb 0x416e0a
push str.The_maximum_SizeOfHeaders__0x1000__is_already_reached__
push edi
call fcn.004043a0
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov ecx, dword [ebx + 0x10c]
push ecx
call fcn.00416d70
mov esi, dword [ebx + 0x108]
mov ebp, eax
sub esi, ebp
push esi
mov dword [esp + 0x28], esi
call fcn.00401a60
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
jne 0x416e42
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0xc
ret
mov edx, dword [ebx + 0x10c]
mov ecx, esi
mov esi, ebp
mov edi, eax
add esi, edx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
add ebp, 0x200
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 0x118]
xor ecx, ecx
mov dword [eax + 0x54], ebp
mov edx, dword [ebx + 0x118]
mov eax, dword [ebx + 0x124]
cmp word [edx + 6], cx
jbe 0x416ea6
add eax, 0x14
mov edx, dword [eax]
test edx, edx
je 0x416e92
add edx, 0x200
mov dword [eax], edx
mov edx, dword [ebx + 0x118]
xor esi, esi
add eax, 0x28
inc ecx
mov si, word [edx + 6]
cmp ecx, esi
jb 0x416e84
push ebx
call fcn.00415a00
push 1
push ebx
call fcn.00416ce0
add esp, 0xc
mov esi, eax
push 0
push 0
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x18]
push 0
push eax
push ecx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.00401a90
push ebx
call fcn.00415890
add esp, 8
test eax, eax
je 0x416f11
mov edx, dword [esp + 0x14]
push edx
call fcn.0040ffb0
add esp, 4
mov eax, 5
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov eax, dword [0x41de9c]
push eax
call fcn.004093d0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x402aac
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.00404694
test esi, esi
jne 0x402ae2
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.00404784
jmp 0x402b00
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.004029c0
mov edi, eax
test esi, esi
je 0x402b00
cmp dword [ebx], 0
je 0x402b00
dec esi
jmp 0x402ae9
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x40362c
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 0x4036c4
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4036a4
xor eax, eax
push ebp
push 0x40369d
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 0x4036e0
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 0x4036a4
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 0x404494
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x48d04c], 0
je 0x4044f5
cmp word [0x48d220], 0xd7b2
jne 0x4044bd
cmp dword [0x48d228], 0
jbe 0x4044bd
mov eax, 0x48d21c
call dword [0x48d238]
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 0x40451c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x48b030], 0
jne 0x404511
push 0
push 0x48b068
push 0x48b070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x404648
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.0040274c
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x48d04d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404610
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x406644
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 0x4066aa
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.00404904
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00403094
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x406694
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4066b1
lea eax, [ebp - 0x10]
call fcn.00404694
ret

Function at 0x40bc5c
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 0x40bc95
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404784
jmp 0x40bc9e
mov eax, ebx
mov edx, esi
call fcn.004046e8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40c350
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40c1c8
mov eax, dword [0x48ca1c]
cmp byte [eax], 0
je 0x40c3cc
mov eax, dword [0x48c7e4]
call fcn.00402ef4
call fcn.004028b4
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.00409388
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 0x40c414
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40c402
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x48c790]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x48d668]
call fcn.00405b3c
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 0x40ccd4
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 0x40cdaa
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.0040472c
lea eax, [ebp - 8]
call fcn.00404ba4
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404b54
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40cd94
mov eax, ebx
call fcn.0040274c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40cd8d
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.00404b54
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40cd77
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40cdbc
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40cd77
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 0x40cd94
mov eax, dword [ebp - 0x10]
call fcn.0040276c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cdb1
lea eax, [ebp - 8]
call fcn.00404694
ret

Function at 0x40d300
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 0x40d364
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.00404904
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408c44
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d36b
lea eax, [ebp - 0xc]
call fcn.00404694
ret

Function at 0x421fcc
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.00421df8
dec esi
jne 0x421fee
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x423130
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x48d88c
cmp dword [edi], 0
jne 0x4231ac
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x48d888]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x48b4c0
mov ecx, 2
call fcn.00402980
mov edx, 0x423108
lea eax, [esi + 5]
call fcn.00423128
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00423128
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 0x423181
mov dword [0x48d888], 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 0x425158
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 0x42515e
ret

Function at 0x4276e8
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 0x427739
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x427720
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x427710
jmp 0x427739
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 0x427721
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4313e8
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.00404b54
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x431440
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x48cb60]
mov dl, 1
mov eax, dword [0x430fcc]
call fcn.0040c534
call fcn.0040404c
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004310d4
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 0x44c958
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 0x44c8a4
call sub.user32.dll_EnumWindows
ret

Function at 0x44ca78
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 0x44caf5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0044c4d8
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 0x44ca9d
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0044c0d8
cmp dword [ebp - 4], 0
je 0x44cadf
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00404b54
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 0x44cafc
lea eax, [ebp - 4]
call fcn.00404694
ret
Function at 0x4500e4
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 [0x48db5c], 0
je 0x450233
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x48c9a4]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x450233
mov eax, dword [0x48db60]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x48db5c]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x450202
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x48db5c]
call fcn.004194c8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x4501fa
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x4501fa
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x4501fa
mov eax, dword [ebp - 0x14]
call fcn.00458d7c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4501fa
push ebp
call fcn.004500a0
pop ecx
test al, al
jne 0x4501fa
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x4501b6
mov eax, dword [ebp - 0x14]
call fcn.004578ac
dec eax
jle 0x4501fa
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.004039b8
cmp byte [ebp - 1], 0
je 0x4501fa
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x4501fa
mov edx, dword [ebp - 0x14]
mov eax, dword [0x48db60]
call fcn.0044f86c
inc edi
dec ebx
jne 0x450149
mov eax, dword [0x48db60]
cmp dword [eax + 8], 0
jle 0x45021a
mov eax, dword [0x48db60]
call fcn.0044f8fc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x450233
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0044ff08
pop ecx
test al, al
jne 0x450233
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