joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42d528
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
mov byte [0x54eb18], 0
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
call sub.kernel32.dll_GetTickCount
mov dword [0x54f520], eax
xor edx, edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x20], edx
xor eax, eax
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0xc]
mov dl, byte [eax]
mov byte [ebp - 0xd], dl
inc dword [ebp - 0xc]
mov ecx, dword [ebp - 0x24]
mov al, byte [ebp - 0xd]
mov byte [ecx], al
cmp byte [ebp - 0xd], 0
je 0x42d583
movsx edx, byte [ebp - 0xd]
cmp edx, 0x2c
jne 0x42d58b
mov ecx, dword [ebp - 0x24]
mov byte [ecx], 0
jmp 0x42d597
inc dword [ebp - 0x14]
inc dword [ebp - 0x24]
cmp dword [ebp - 0x14], 0x20
jl 0x42d561
movsx eax, byte [ebp - 0xd]
cmp eax, 0x2c
jne 0x42d5c7
mov edx, dword [ebp - 0xc]
push edx
call fcn.00408de8
pop ecx
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0xc]
mov al, byte [ecx]
mov byte [ebp - 0xd], al
inc dword [ebp - 0xc]
cmp byte [ebp - 0xd], 0
je 0x42d5c7
movsx edx, byte [ebp - 0xd]
cmp edx, 0x2c
jne 0x42d5ad
movsx ecx, byte [ebp - 0xd]
cmp ecx, 0x2c
jne 0x42d5f7
mov eax, dword [ebp - 0xc]
push eax
call fcn.00408de8
pop ecx
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0xc]
mov cl, byte [edx]
mov byte [ebp - 0xd], cl
inc dword [ebp - 0xc]
cmp byte [ebp - 0xd], 0
je 0x42d5f7
movsx eax, byte [ebp - 0xd]
cmp eax, 0x2c
jne 0x42d5dd
movsx edx, byte [ebp - 0xd]
cmp edx, 0x2c
jne 0x42d60d
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.00408de8
pop ecx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x694]
lea edx, [ebp - 0x44]
mov eax, dword [ebp - 4]
call fcn.004710bc
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x694]
push ecx
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x2f8]
mov eax, dword [edx + 0x160]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
call fcn.004c8788
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f8]
mov edx, dword [eax]
call dword [edx + 0x88]
jmp 0x42d665
mov ecx, dword [0x54a9f0]
mov eax, dword [ecx]
call fcn.004db894
call sub.kernel32.dll_GetTickCount
sub eax, dword [0x54f520]
cmp eax, dword [ebp - 0x20]
jb 0x42d658
mov byte [0x54eb18], 1
mov esp, ebp
pop ebp
ret
Function at 0x43c9cc
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 8]
mov ecx, edx
mov dword [ebp - 0x14], ecx
jmp 0x43ca12
mov eax, dword [ebp - 0x14]
xor edx, edx
mov dl, byte [eax]
mov eax, dword [ebp + 8]
xor edx, dword [ebp + 8]
and edx, 0xff
shr eax, 8
mov ecx, dword [edx*4 + 0x539174]
xor ecx, eax
mov dword [ebp + 8], ecx
inc dword [ebp - 0x10]
inc dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp - 0xc]
jb 0x43c9ea
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret 4
Function at 0x455000
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x55eac8
cmp dword [edi], 0
jne 0x45507c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc
mov esi, eax
mov eax, dword [0x55eac4]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x53acd8
mov ecx, 2
call fcn.00469dfc
mov edx, 0x454fd8
lea eax, [esi + 5]
call fcn.00454ff8
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00454ff8
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 0x455051
mov dword [0x55eac4], 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 0x455198
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], 1
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x45521c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x45520d
xor eax, eax
push ebp
push 0x455206
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 0x455244
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 0x45520d
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
cmp dword [ebp - 8], 0
setne byte [0x53acd0]
mov esp, ebp
pop ebp
ret

Function at 0x456790
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.004562d8
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.0046bc70
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x4567ee
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x54a7c8]
mov dl, 1
mov eax, dword [0x456164]
call fcn.0045d338
call fcn.0046b420
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4567f8
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.0046bc70
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x456850
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x54a7c4]
mov dl, 1
mov eax, dword [0x456164]
call fcn.0045d338
call fcn.0046b420
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00456308
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 0x459a6c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.0046bc70
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x459a85
test al, 0x10
jne 0x459a89
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x45ca94
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 0x45cacd
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.0046b8b0
jmp 0x45cad6
mov eax, ebx
mov edx, esi
call fcn.0046b814
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x45d188
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x45d000
mov eax, dword [0x54a9b8]
cmp byte [eax], 0
je 0x45d1f5
mov eax, dword [0x54a9bc]
call fcn.0046a374
call fcn.00469c48
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00459f5c
push eax
lea eax, [esp + 0x50]
push eax
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 0x45d23c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
jmp 0x45d22b
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x54a874]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x54ac84]
call fcn.0046cf38
push eax
call sub.user32.dll_LoadStringA
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA
add esp, 0x444
ret
Function at 0x45e154
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 0x45e1b8
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
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.0046ba28
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.0045975c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45e1bf
lea eax, [ebp - 0xc]
call fcn.0046b7c0
ret

Function at 0x469cf4
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebx
push esi
add esp, 0xfffffdf0
mov esi, edx
mov ebx, eax
test bl, bl
je 0x469d31
xor eax, eax
mov al, bl
add eax, 0x41
dec eax
mov byte [esp], al
mov byte [esp + 1], 0x3a
mov byte [esp + 2], 0
lea eax, [esp + 0x109]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryA
push esp
call sub.kernel32.dll_SetCurrentDirectoryA
lea eax, [esp + 4]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryA
test bl, bl
je 0x469d51
lea eax, [esp + 0x109]
push eax
call sub.kernel32.dll_SetCurrentDirectoryA
mov eax, esi
lea edx, [esp + 4]
mov ecx, 0x105
call fcn.0046ba28
add esp, 0x210
pop esi
pop ebx
ret

Function at 0x469f88
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.0046b7c0
test esi, esi
jne 0x469fbe
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.0046b8b0
jmp 0x469fdc
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00469e3c
mov edi, eax
test esi, esi
je 0x469fdc
cmp dword [ebx], 0
je 0x469fdc
dec esi
jmp 0x469fc5
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x46aae4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x53b21c]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x46ab7c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x46ab5c
xor eax, eax
push ebp
push 0x46ab55
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 0x46ab98
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 0x46ab5c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x53b21c]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x53b21c], ax
mov esp, ebp
pop ebp
ret
Function at 0x46b644
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x55edec], 0
je 0x46b6a5
cmp word [0x55efc0], 0xd7b2
jne 0x46b66d
cmp dword [0x55efc8], 0
jbe 0x46b66d
mov eax, 0x55efbc
call dword [fcn.0055efd8]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x53b264
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 0x46b6cc
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x53b22c], 0
jne 0x46b6c1
push 0
push 0x53b284
push 0x53b264
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x46d12c
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 0xf0019
push 0
push 0x46d35c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x46d1af
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x46d35c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x46d1af
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x46d378
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x46d238
xor eax, eax
push ebp
push 0x46d231
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.0046cf74
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x46d216
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x46d398
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x46d216
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46d238
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
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 0x46d352
cmp byte [ebp - 0xd], 0
jne 0x46d27f
cmp byte [ebp - 0x12], 0
je 0x46d352
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x46d298
dec ebx
cmp byte [ebx], 0x2e
je 0x46d2a7
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x46d297
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x46d352
inc ebx
cmp byte [ebp - 0x12], 0
je 0x46d2e4
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x46d352
cmp byte [ebp - 0xd], 0
je 0x46d352
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x46d352
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
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 0x46db04
Capabilities:
Accept command line arguments

Disassembly:
sub dword [0x55f360], 1
jae 0x46db8a
mov byte [0x53b218], 2
mov dword [fcn.0055edb0], sub.kernel32.dll_RaiseException
mov dword [0x55edb4], 0x52e728
mov byte [0x55edee], 2
mov dword [0x55ed9c], 0x46c75c
call fcn.0046aab4
test al, al
je 0x46db47
call fcn.0046aae4
call fcn.0046aba8
mov word [0x55edf4], 0xd7b0
mov word [0x55efc0], 0xd7b0
mov word [0x55f18c], 0xd7b0
call fcn.0046c63c
call sub.kernel32.dll_GetCommandLineA
mov dword [0x55ede0], eax
call fcn.00468714
mov dword [0x55eddc], eax
call sub.kernel32.dll_GetCurrentThreadId
mov dword [0x55edd4], eax
ret
Function at 0x4919a4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
push edi
mov eax, 0x544370
call fcn.0050f344
mov dword [ebp - 0x2c], 0x100
mov dword [ebp - 0x30], 0x100
push dword [ebp - 0x30]
call fcn.0050e8f8
pop ecx
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x491a19
push dword [ebp - 0x34]
push dword [ebp - 0x30]
call sub.kernel32.dll_GetCurrentDirectoryA
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x100
jbe 0x491a19
push dword [ebp - 0x30]
push dword [ebp - 0x34]
call fcn.0050e918
add esp, 8
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x491a19
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x34], edx
push dword [ebp - 0x34]
push dword [ebp - 0x30]
call sub.kernel32.dll_GetCurrentDirectoryA
mov dword [ebp - 0x30], eax
mov word [ebp - 0x18], 8
mov word [ebp - 0x18], 0x14
cmp dword [ebp - 0x30], 0
je 0x491a36
cmp dword [ebp - 0x34], 0
je 0x491a36
mov edx, dword [ebp - 0x34]
jmp 0x491a3b
mov edx, 0x543fe4
lea eax, [ebp - 4]
call fcn.0051ac20
inc dword [ebp - 0xc]
mov word [ebp - 0x18], 0x20
push dword [ebp - 0x34]
call fcn.0050e908
pop ecx
mov word [ebp - 0x18], 0x2c
lea edx, [ebp - 4]
mov eax, dword [ebp + 8]
call fcn.0051adb0
mov eax, dword [ebp + 8]
mov word [ebp - 0x18], 0x38
push eax
dec dword [ebp - 0xc]
lea eax, [ebp - 4]
mov edx, 2
call fcn.0051ad80
pop eax
mov word [ebp - 0x18], 0x20
mov edx, dword [ebp - 0x28]
mov dword fs:[0], edx
jmp 0x491ab9
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x49dcac
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x118], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x49de1d
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x49ddf8
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x111], 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x105
lea eax, [ebp - 0x111]
push eax
lea eax, [ebp - 0x118]
mov edx, ebx
call fcn.0046b9a0
lea eax, [ebp - 0x118]
mov edx, 0x49de34
call fcn.0046ba80
mov eax, dword [ebp - 0x118]
call fcn.0046bc70
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
je 0x49dd6a
lea eax, [ebp - 0x111]
call fcn.00459f5c
mov ecx, eax
lea edx, [ebp - 0x111]
mov eax, esi
call fcn.0046b8b0
jmp 0x49dd71
mov eax, esi
call fcn.0046b7c0
cmp bl, 0x61
jae 0x49dd92
lea edx, [ebp - 0x11c]
mov eax, dword [esi]
call fcn.0045e028
mov edx, dword [ebp - 0x11c]
mov eax, esi
call fcn.0046b814
jmp 0x49ddac
lea edx, [ebp - 0x120]
mov eax, dword [esi]
call fcn.0045df9c
mov edx, dword [ebp - 0x120]
mov eax, esi
call fcn.0046b814
lea eax, [ebp - 0x124]
push eax
mov eax, dword [esi]
mov dword [ebp - 0x12c], eax
mov byte [ebp - 0x128], 0xb
lea edx, [ebp - 0x12c]
xor ecx, ecx
mov eax, 0x49de40
call fcn.0045a6cc
mov edx, dword [ebp - 0x124]
mov eax, esi
call fcn.0046b814
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49ddff
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret

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

Function at 0x4a4808
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 0x4a4885
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004a4254
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 0x4a482d
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.004a3eac
cmp dword [ebp - 4], 0
je 0x4a486f
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.0046bc70
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 0x4a488c
lea eax, [ebp - 4]
call fcn.0046b7c0
ret
Function at 0x4b4b58
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea ebx, [ebp - 4]
xor eax, eax
push ebp
push 0x4b4d18
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 8]
mov eax, dword [ebx]
call fcn.004edbd0
mov eax, dword [ebx]
cmp byte [eax + 0x210], 0
je 0x4b4cfd
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebx]
sub eax, dword [edx + 0x220]
cmp eax, 0x1f4
jb 0x4b4bbb
mov eax, dword [ebx]
add eax, 0x21c
call fcn.0046b7c0
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebx]
mov dword [edx + 0x220], eax
mov eax, dword [ebp - 8]
mov al, byte [eax]
cmp al, 8
je 0x4b4c8c
mov eax, dword [ebp - 8]
mov al, byte [eax]
mov edx, dword [0x54a9dc]
and eax, 0xff
bt dword [edx], eax
jae 0x4b4c4e
push 1
push 0x102
push 0x102
mov eax, dword [ebx]
call fcn.004eec48
push eax
lea eax, [ebp - 0x24]
push eax
call sub.user32.dll_PeekMessageA
test eax, eax
je 0x4b4ccc
mov eax, dword [ebx]
push dword [eax + 0x21c]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 8]
mov dl, byte [edx]
call fcn.0046b9a0
push dword [ebp - 0x28]
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
call fcn.0046b9a0
push dword [ebp - 0x2c]
mov eax, dword [ebx]
add eax, 0x21c
mov edx, 3
call fcn.0046bb38
mov eax, dword [ebp - 8]
mov byte [eax], 0
jmp 0x4b4ccc
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 8]
mov dl, byte [edx]
call fcn.0046b9a0
mov edx, dword [ebp - 0x30]
mov eax, dword [ebx]
add eax, 0x21c
call fcn.0046ba80
jmp 0x4b4ccc
mov eax, dword [ebx]
mov eax, dword [eax + 0x21c]
call fcn.0046ba78
mov edx, eax
mov eax, dword [ebx]
add eax, 0x21c
mov ecx, 1
call fcn.0046bd10
mov eax, dword [ebx]
mov eax, dword [eax + 0x21c]
call fcn.0046ba78
mov edx, eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x21c]
call fcn.0045dae4
cmp al, 2
je 0x4b4c6c
mov eax, dword [ebx]
mov eax, dword [eax + 0x21c]
call fcn.0046ba78
mov edx, eax
mov eax, dword [ebx]
add eax, 0x21c
mov ecx, 1
call fcn.0046bd10
mov eax, dword [ebx]
mov eax, dword [eax + 0x21c]
call fcn.0046ba78
test eax, eax
jle 0x4b4ce6
push ebp
call fcn.004b4a70
pop ecx
jmp 0x4b4cfd
xor edx, edx
mov eax, dword [ebx]
mov ecx, dword [eax]
call dword [ecx + 0xcc]
mov eax, dword [ebx]
mov si, 0xffeb
call fcn.0046ae70
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b4d1f
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.0046b7e4
ret

Function at 0x4b6210
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.0046b7c0
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x4b625f
push 0x100
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, 0x100
call fcn.0046ba28
pop ebx
mov esp, ebp
pop ebp
ret