joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ea90
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x20
mov eax, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
sub esp, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
xor eax, 0xffffffff
mov edx, 0xffffffff
xor edx, 2
mov ecx, 0xffffffff
xor ecx, 0x6a8a68a2
or eax, edx
or ecx, 0x6a8a68a2
xor eax, 0xffffffff
and eax, ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], 0x2871798
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
sub eax, 0x8b163a43
je 0x40ec02
jmp 0x40eaf2
mov eax, dword [ebp - 0x1c]
sub eax, 0x97784466
je 0x40ec0e
jmp 0x40eb05
mov eax, dword [ebp - 0x1c]
sub eax, 0xe5636472
je 0x40ecf4
jmp 0x40eb18
mov eax, dword [ebp - 0x1c]
sub eax, 0xe64e7aed
je 0x40ec81
jmp 0x40eb2b
mov eax, dword [ebp - 0x1c]
sub eax, 0x2871798
je 0x40eb8f
jmp 0x40eb3e
mov eax, dword [ebp - 0x1c]
sub eax, 0xb72b779
je 0x40eba9
jmp 0x40eb51
mov eax, dword [ebp - 0x1c]
sub eax, 0x108feeb8
je 0x40ebc4
jmp 0x40eb64
mov eax, dword [ebp - 0x1c]
sub eax, 0x2c3e2515
je 0x40ecfa
jmp 0x40eb77
mov eax, dword [ebp - 0x1c]
sub eax, 0x6a89ae2f
je 0x40ebd6
jmp 0x40eb8a
jmp 0x40ed01
mov eax, dword [ebp - 0x10]
cmp eax, 0
sete al
and al, 1
mov byte [ebp - 9], al
mov dword [ebp - 0x18], 0xb72b779
jmp 0x40ed01
mov dl, byte [ebp - 9]
mov eax, 0x97784466
mov ecx, 0x108feeb8
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x18], eax
jmp 0x40ed01
mov eax, dword [ebp - 0x14]
mov dword [ebp - 8], eax
mov dword [ebp - 0x18], 0x6a89ae2f
jmp 0x40ed01
mov ecx, dword [ebp - 8]
mov eax, ecx
and eax, 2
xor ecx, 2
or eax, ecx
mov ecx, dword [ebp + 8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
sub esp, 8
mov dword [ebp - 0x18], 0x8b163a43
jmp 0x40ed01
mov dword [ebp - 0x18], 0x97784466
jmp 0x40ed01
mov ecx, dword [0x43f564]
mov eax, dword [0x43f560]
mov edx, ecx
add edx, 0x3639f854
sub edx, 1
sub edx, 0x3639f854
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete bl
cmp eax, 0xa
setl dh
mov al, bl
xor al, 0xff
mov ah, dh
xor ah, 0xff
mov cl, 1
xor cl, 0
mov dl, al
and dl, 0
and bl, cl
mov ch, ah
and ch, 0
and dh, cl
or dl, bl
or ch, dh
xor dl, ch
or al, ah
xor al, 0xff
or cl, 0
and al, cl
or dl, al
mov eax, 0x2c3e2515
mov ecx, 0xe64e7aed
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x18], eax
jmp 0x40ed01
mov ecx, dword [0x43f564]
mov eax, dword [0x43f560]
mov edx, ecx
sub edx, 0x82159b9e
sub edx, 1
add edx, 0x82159b9e
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete bl
cmp eax, 0xa
setl dh
mov al, bl
xor al, 0xff
mov ah, dh
xor ah, 0xff
mov cl, 1
xor cl, 0
mov dl, al
and dl, 0
and bl, cl
mov ch, ah
and ch, 0
and dh, cl
or dl, bl
or ch, dh
xor dl, ch
or al, ah
xor al, 0xff
or cl, 0
and al, cl
or dl, al
mov eax, 0x2c3e2515
mov ecx, 0xe5636472
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x18], eax
jmp 0x40ed01
add esp, 0x20
pop ebx
pop ebp
ret
mov dword [ebp - 0x18], 0xe64e7aed
jmp 0x40eadc
Function at 0x42772b
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x42776a
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42776a
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42776a
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x42776a
cmp dword [ecx + 0x74], 0xe
jbe 0x42776a
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x42eecb
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x42ef68
push ebx
push esi
call fcn.0042ee94
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0042ee28
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x42ef15
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x42ef67
push edi
push eax
call fcn.0042d960
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x42ef35
call fcn.0042d9ae
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x42ef66
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0042ee28
add esp, 0x20
test eax, eax
jne 0x42ef54
push edi
call fcn.0042d9ae
jmp 0x42ef5c
push ebx
call fcn.0042d9ae
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x430177
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x438ea0
push 0x438e98
push str.FlsAlloc
push 0x1f
call fcn.00430036
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4301ab
push dword [ebp + 8]
mov ecx, esi
call dword [0x436144]
call esi
jmp 0x4301b1
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x4301f5
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x438eb0
push 0x438ea8
push str.FlsGetValue
push 0x21
call fcn.00430036
mov esi, eax
add esp, 0x10
test esi, esi
je 0x43022c
push dword [ebp + 8]
mov ecx, esi
call dword [0x436144]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x430234
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x438eb8
push 0x438eb0
push str.FlsSetValue
push 0x22
call fcn.00430036
mov esi, eax
add esp, 0x10
test esi, esi
je 0x43026e
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x436144]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x435540
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43556d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43556d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x1001ae43
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1001ae82
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1001ae82
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1001ae82
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x1001ae82
cmp dword [ecx + 0x74], 0xe
jbe 0x1001ae82
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x1001daff
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1001db9c
push ebx
push esi
call fcn.1001dac8
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1001da5c
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1001db49
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1001db9b
push edi
push eax
call fcn.1001eaba
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1001db69
call fcn.1001c5a4
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1001db9a
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1001da5c
add esp, 0x20
test eax, eax
jne 0x1001db88
push edi
call fcn.1001c5a4
jmp 0x1001db90
push ebx
call fcn.1001c5a4
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x1001de09
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10025cc8
push 0x10025cc0
push str.FlsAlloc
push 0x1f
call fcn.1001dd25
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001de3d
push dword [ebp + 8]
mov ecx, esi
call dword [0x10024150]
call esi
jmp 0x1001de43
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1001de87
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10025cd8
push 0x10025cd0
push str.FlsGetValue
push 0x21
call fcn.1001dd25
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001debe
push dword [ebp + 8]
mov ecx, esi
call dword [0x10024150]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1001dec6
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10025ce0
push 0x10025cd8
push str.FlsSetValue
push 0x22
call fcn.1001dd25
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001df00
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x10024150]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x10023580
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100235ad
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100235ad
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x403384
Capabilities:
Query or enumerate registry value

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

Function at 0x404174
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x489044], 0
je 0x4041d5
cmp word [0x489218], 0xd7b2
jne 0x40419d
cmp dword [0x489220], 0
jbe 0x40419d
mov eax, 0x489214
call dword [0x489230]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x487054
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 0x4041fc
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x48701c], 0
jne 0x4041f1
push 0
push 0x487074
push 0x487054
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x405c00
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 0x405e30
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405c83
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405e30
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405c83
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405e4c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x405d0c
xor eax, eax
push ebp
push 0x405d05
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00405a48
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 0x405cea
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x405e6c
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x405cea
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 0x405d0c
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 0x405e26
cmp byte [ebp - 0xd], 0
jne 0x405d53
cmp byte [ebp - 0x12], 0
je 0x405e26
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x405d6c
dec ebx
cmp byte [ebx], 0x2e
je 0x405d7b
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x405d6b
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x405e26
inc ebx
cmp byte [ebp - 0x12], 0
je 0x405db8
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 0x405e26
cmp byte [ebp - 0xd], 0
je 0x405e26
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 0x405e26
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 0x40b29c
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 0x40b2d5
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004043e0
jmp 0x40b2de
mov eax, ebx
mov edx, esi
call fcn.00404344
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40b990
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b808
mov eax, dword [0x487fd0]
cmp byte [eax], 0
je 0x40b9fd
mov eax, dword [0x487e30]
call fcn.00402ca0
call fcn.00402870
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00408a68
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff5
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 0x40ba44
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40ba33
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x487dec]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x489710]
call fcn.00405a0c
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 0x40c6d4
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 0x40c738
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.00404558
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004085dc
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c73f
lea eax, [ebp - 0xc]
call fcn.004042f0
ret
Function at 0x423acc
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x489a7c
cmp dword [edi], 0
jne 0x423b48
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x489a78]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4875e0
mov ecx, 2
call fcn.00402904
mov edx, 0x423aa4
lea eax, [esi + 5]
call fcn.00423ac4
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00423ac4
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 0x423b1d
mov dword [0x489a78], 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 0x42545c
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 0x425462
ret

Function at 0x4278a4
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 0x4278f5
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x4278dc
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x4278cc
jmp 0x4278f5
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 0x4278dd
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42e688
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 0x42e5d4
call sub.user32.dll_EnumWindows
ret

Function at 0x42e7ac
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 0x42e829
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0042e1f8
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 0x42e7d1
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0042de50
cmp dword [ebp - 4], 0
je 0x42e813
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.004047a0
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 0x42e830
lea eax, [ebp - 4]
call fcn.004042f0
ret

Function at 0x43250c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x43255c]
test si, 4
je 0x432520
or bl, 1
test si, 8
je 0x43252a
or bl, 4
test si, 1
je 0x432534
or bl, 8
test si, 2
je 0x43253e
or bl, 0x10
test si, 0x10
je 0x432548
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x432557
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x432560
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x432598]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x432579
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x432588
or bl, 4
test esi, 0x20000000
je 0x432593
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x438bb4
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x438bc6
add esp, 0xfffffff0
call fcn.00403860
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00422a48
mov eax, dword [0x487df4]
mov dword [eax + 4], ebx
mov dword [eax], 0x438f58
mov eax, dword [0x487e00]
mov dword [eax + 4], ebx
mov dword [eax], 0x438f64
mov eax, ebx
call fcn.00438f70
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4189ec]
call fcn.004034e4
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4189ec]
call fcn.004034e4
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4189ec]
call fcn.004034e4
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4189ec]
call fcn.004034e4
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4189ec]
call fcn.004034e4
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x435438
push eax
push 0
push 0
mov eax, dword [0x487f14]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x424b60]
call fcn.00425fa4
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x424b60]
call fcn.00425fa4
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x424b60]
call fcn.00425fa4
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00439390
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x43926c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x43926c
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x43926c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x438d03
call fcn.004038b8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret