joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48cf6c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov al, byte [eax]
dec al
je 0x48cf9d
dec al
je 0x48cfd9
dec al
je 0x48d01d
dec al
je 0x48d088
jmp 0x48d112
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x48d112
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
mov dl, byte [ecx + edx]
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x48cfad
jmp 0x48d112
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x48d112
mov esi, 1
mov al, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov dl, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x48cfe9
jmp 0x48d112
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x48d112
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x48d04b
xor ebp, ebp
jmp 0x48d05c
mov ecx, esi
sub ecx, edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x48d065
adc eax, 0
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x48d02d
jmp 0x48d112
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x48d112
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x48d0e0
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
mov dl, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
mov cl, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.0048a9a0
add al, byte [esp]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x48d09c
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x490c9c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffedc
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404a44
xor eax, eax
push ebp
push 0x490d50
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x490d30
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x22]
xor ecx, ecx
mov edx, 0x1e
call fcn.00403114
lea eax, [ebp - 0x122]
xor ecx, ecx
mov edx, pe_nt_image_headers32
call fcn.00403114
lea eax, [ebp - 0x122]
mov edx, dword [ebp - 4]
call fcn.00409344
xor eax, eax
mov dword [ebp - 0x22], eax
lea eax, [ebp - 0x122]
mov dword [ebp - 0x1a], eax
mov dword [ebp - 0x1e], 3
or word [ebp - 0x12], 0x10
or word [ebp - 0x12], 4
lea eax, [ebp - 0x22]
push eax
call sub.shell32.dll_SHFileOperationA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x490d3a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x490d57
lea eax, [ebp - 4]
call fcn.00404594
ret
Function at 0x401a00
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x54
push ebx
push ebp
mov ebx, dword [0x407048]
push esi
push edi
mov ecx, 0xa
xor eax, eax
lea edi, [esp + 0x3c]
rep stosd dword es:[edi], eax
mov dword [esp + 0x3c], eax
mov eax, dword [0x407154]
push 0
mov dword [esp + 0x44], eax
call ebx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x4c], eax
push ecx
mov dword [esp + 0x64], str.Warcraft_III_Root
call dword [0x407174]
mov ebp, dword [0x407178]
lea edx, [esp + 0x10]
push edx
call ebp
push eax
call dword [0x40717c]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
add eax, ecx
push 0
cdq
sub eax, edx
mov edx, dword [esp + 0x18]
mov esi, eax
mov eax, dword [esp + 0x20]
add eax, edx
push 0
cdq
sub eax, edx
mov edi, eax
sar esi, 1
sar edi, 1
sub esi, 0x10
sub edi, 0x10
call ebx
push eax
push 0
call ebp
push eax
push 0x10
push 0x10
push edi
push esi
push 0x80000000
push str.Launching_Warcraft_III
push str.Warcraft_III_Root
push 0
call dword [0x407180]
push 1
push eax
mov dword [0x40aad0], eax
call dword [0x407184]
mov ecx, dword [0x40aad0]
push ecx
call dword [0x40716c]
mov edx, dword [0x40aad0]
mov esi, dword [0x407168]
push 0
push 0
push 0
lea eax, [esp + 0x2c]
push edx
push eax
call esi
test eax, eax
je 0x401b2a
mov edi, dword [0x407164]
mov ebx, dword [0x407160]
mov ebp, dword [0x40715c]
mov ecx, dword [0x40aad0]
push 0
push 0
lea edx, [esp + 0x28]
push ecx
push edx
call edi
lea eax, [esp + 0x20]
push eax
call ebx
lea ecx, [esp + 0x20]
push ecx
call ebp
mov edx, dword [0x40aad0]
push 0
push 0
push 0
lea eax, [esp + 0x2c]
push edx
push eax
call esi
test eax, eax
jne 0x401af2
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret

Function at 0x401b40
Capabilities:
Create thread

Disassembly:
push esi
call fcn.00401a00
mov esi, dword [0x407050]
push 0
push 0
push 1
push 0
mov dword [0x40aadc], 1
call esi
push 0
push 0
push 1
push 0
mov dword [0x40aad4], eax
call esi
push 0
push 0x2000
push 0x401850
mov dword [0x40aad8], eax
call fcn.00401ffb
mov eax, dword [0x40aad0]
add esp, 0xc
push eax
call dword [0x407170]
mov eax, dword [0x40aad0]
pop esi
ret
Function at 0x40699a
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42c574], 0
push esi
jne 0x4069d1
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4069ab
mov dword [ecx*4 + 0x42c570], eax
inc ecx
cmp ecx, 0x100
jl 0x4069a6
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406a02
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x42c570]
xor eax, esi
inc ecx
dec edx
jne 0x4069e4
pop edi
not eax
pop esi
ret 0xc

Function at 0x40100b
Capabilities:
Query or enumerate registry value

Disassembly:
call 0x40100b
push eax
call sub.KERNEL32.dll_ExitProcess
push ebp
mov ebp, esp
add esp, 0xfffffef0
jmp 0x40109c
lea eax, [ebp - 0x104]
push eax
call fcn.004011ec
push 0x401019
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
jne 0x401165
lea eax, [ebp - 0x10c]
push eax
push 0x20019
push 0
push 0x401038
push 0x80000001
call sub.ADVAPI32.dll_RegOpenKeyExA
cmp eax, 0
jne 0x4011a5
mov dword [ebp - 0x110], 0x103
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push 0x401052
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegQueryValueExA
push eax
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegCloseKey
pop eax
cmp eax, 0
jne 0x4011a5
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrlenA
lea ebx, [ebp - 0x104]
add ebx, eax
dec ebx
cmp byte [ebx], 0x5c
je 0x40114a
mov word [ebx], 0x5c
push 0x401023
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
je 0x4011a5
mov dword [ebp - 0x108], eax
push 0x40102d
push eax
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x40119a
push 0x3e8
call eax
test eax, eax
je 0x40119a
call 0x40118a
add dword [esp], 0x1e76
call eax
push 0
call sub.KERNEL32.dll_ExitProcess
push dword [ebp - 0x108]
call sub.KERNEL32.dll_FreeLibrary
push 0x10
push 0x401096
push 0x401057
push 0
call sub.USER32.dll_MessageBoxA
mov eax, 0xffffffff
leave
ret
Function at 0x402fe4
Capabilities:
Query or enumerate registry value

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

Function at 0x403d48
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x46204c], 0
je 0x403da9
cmp word [0x462220], 0xd7b2
jne 0x403d71
cmp dword [0x462228], 0
jbe 0x403d71
mov eax, 0x46221c
call dword [0x462238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x46006c
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 0x403dd0
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x460030], 0
jne 0x403dc5
push 0
push 0x460064
push 0x46006c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x405d50
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 0x405db6
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.00404134
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402ba8
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405da0
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405dbd
lea eax, [ebp - 0x10]
call fcn.00403ec4
ret

Function at 0x40ae70
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 0x40aea9
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403fb4
jmp 0x40aeb2
mov eax, ebx
mov edx, esi
call fcn.00403f18
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40b564
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b3dc
mov eax, dword [0x4612b0]
cmp byte [eax], 0
je 0x40b5e0
mov eax, dword [0x46109c]
call fcn.00402a14
call fcn.004028ac
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.004086b0
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 0x40b628
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b616
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x461048]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x462668]
call fcn.00405248
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 0x40bed0
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 0x40bfa6
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00403f5c
lea eax, [ebp - 8]
call fcn.004043d4
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404384
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40bf90
mov eax, ebx
call fcn.00402744
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40bf89
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.00404384
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40bf73
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40bfb8
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40bf73
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 0x40bf90
mov eax, dword [ebp - 0x10]
call fcn.00402764
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40bfad
lea eax, [ebp - 8]
call fcn.00403ec4
ret

Function at 0x40c4b0
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 0x40c514
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.00404134
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004081d8
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c51b
lea eax, [ebp - 0xc]
call fcn.00403ec4
ret

Function at 0x41f204
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x462888
cmp dword [edi], 0
jne 0x41f280
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x462884]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4604a4
mov ecx, 2
call fcn.00402940
mov edx, 0x41f1dc
lea eax, [esi + 5]
call fcn.0041f1fc
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041f1fc
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 0x41f255
mov dword [0x462884], 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 0x4207c4
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 0x4207ca
ret
Function at 0x422c18
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 0x422c69
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x422c50
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x422c40
jmp 0x422c69
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 0x422c51
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42cb98
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.0042c7e8
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.00404384
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x42cbf6
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4611c0]
mov dl, 1
mov eax, dword [0x42c6e0]
call fcn.0040b730
call fcn.00403900
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x42cc00
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.00404384
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x42cc58
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4613e0]
mov dl, 1
mov eax, dword [0x42c6e0]
call fcn.0040b730
call fcn.00403900
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0042c818
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 0x4301ec
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 0x430138
call sub.user32.dll_EnumWindows
ret

Function at 0x43030c
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 0x430389
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0042fd6c
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 0x430331
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0042f96c
cmp dword [ebp - 4], 0
je 0x430373
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00404384
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 0x430390
lea eax, [ebp - 4]
call fcn.00403ec4
ret
Function at 0x4330a0
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 [0x462b60], 0
je 0x4331ef
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x461244]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x4331ef
mov eax, dword [0x462b64]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x462b60]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x4331be
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x462b60]
call fcn.0041802c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x4331b6
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x4331b6
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x4331b6
mov eax, dword [ebp - 0x14]
call fcn.0043be08
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4331b6
push ebp
call fcn.0043305c
pop ecx
test al, al
jne 0x4331b6
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x433172
mov eax, dword [ebp - 0x14]
call fcn.0043a900
dec eax
jle 0x4331b6
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.00403370
cmp byte [ebp - 1], 0
je 0x4331b6
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x4331b6
mov edx, dword [ebp - 0x14]
mov eax, dword [0x462b64]
call fcn.00432828
inc edi
dec ebx
jne 0x433105
mov eax, dword [0x462b64]
cmp dword [eax + 8], 0
jle 0x4331d6
mov eax, dword [0x462b64]
call fcn.004328b8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4331ef
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00432ec4
pop ecx
test al, al
jne 0x4331ef
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
Function at 0x4367b4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x436800
mov eax, esi
call fcn.0044bec8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x436800
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x436800
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x43693f
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x436840
cmp eax, 0x108
ja 0x436840
mov eax, esi
call fcn.0044bec8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x436936
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x43693f
jmp 0x436936
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x43691f
cmp eax, 0x20a
ja 0x43691f
test byte [esi + 0x50], 0x80
jne 0x436872
sub eax, 0x203
je 0x43686f
sub eax, 3
je 0x43686f
sub eax, 3
jne 0x436872
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x436886
dec eax
je 0x43689b
dec eax
je 0x4368b8
dec eax
je 0x43689b
jmp 0x4368bf
mov ecx, ebx
mov eax, dword [0x461244]
mov eax, dword [eax]
mov edx, esi
call fcn.00455674
jmp 0x436936
cmp byte [esi + 0x5d], 1
jne 0x4368b1
mov eax, esi
mov si, 0xffed
call fcn.00403370
jmp 0x43693f
or word [esi + 0x54], 1
jmp 0x436936
and word [esi + 0x54], 0xfffe
jmp 0x436936
mov eax, dword [0x462b1c]
cmp byte [eax + 0x20], 0
je 0x436936
mov eax, dword [0x462b1c]
cmp dword [eax + 0x1c], 0
je 0x436936
mov eax, dword [ebx]
mov edx, dword [0x462b1c]
cmp eax, dword [edx + 0x1c]
jne 0x436936
lea eax, [ebp - 0x114]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.0044be0c
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.00403370
jmp 0x43693f
cmp eax, 0xb00b
jne 0x436936
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.004350f0
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret