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

Disassembly:
pushal
mov dh, cl
popal
pushal
jmp 0x662752
mov dword [esp + 0x14], esi
mov byte [esp + 1], bh
lea esp, [esp + 2]
lea esp, [esp + 0x1c]
jmp 0x647202
push word [esp + 0x10]
mov dword [esp + 9], esi
pop dword [esp + 0xa]
jmp 0x662736

Function at 0x762502
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov si, dx
xchg al, dh
setbe dh
mov byte [esp + 0x11], dl
lea esp, [esp + 0x1b]
jmp 0x7624a7
mov al, byte [esp + 0xd]
mov dl, 0x8a
bt eax, esp
mov byte [esp], bh
cld
mov al, byte [esp + 4]
jmp 0x762443
clc
lea esi, [ecx + ebp]
inc edx
pop dword [esp + 3]
push dword [esp + 0x10]
lea eax, [edi*4]
jmp 0x762459
setp dh
xor dx, 0xf5a1
mov word [esp + 7], bp
add esp, 0x16
jmp 0x7624db
lea esi, [edx + ebx]
lea esp, [esp]
xchg byte [esp], ah
pushal
mov word [esp + 0xc], di
cld
jmp 0x762491
mov esi, ebp
mov dl, 0x5b
pushal
lea esp, [esp + 0xa]
bswap eax
mov eax, edi
jmp 0x76247b
bswap esi
mov edx, eax
push word [esp]
mov eax, 0xab485b65
mov dh, 0x5d
add esp, 7
jmp 0x76251c
pop si
jmp 0x7624cc
bsf dx, si
lea edx, reloc.MSVFW32.dll_DrawDibDraw
jmp 0x762531
btr esi, esp
lea esp, [esp + 4]
mov dx, word [esp]
cld
xchg word [esp], ax
bsf eax, ebp
jmp 0x762506
lea edx, [ecx*4]
xchg dx, ax
push word [esp + 1]
mov ah, byte [esp + 2]
xchg word [esp], si
jmp 0x762577
lea esp, [esp + 1]
neg ax
stc
neg dx
neg ah
push word [esp + 1]
jmp 0x762561

Function at 0x762660
Capabilities:
Execute anti-debugging instructions

Disassembly:
clc
lea esi, reloc.MSVFW32.dll_DrawDibDraw
rdtsc
bsf dx, cx
jmp 0x762647

Function at 0x762937
Capabilities:
Execute anti-debugging instructions

Disassembly:
setno ah
mov si, 0xfc8b
mov byte [esp + 5], dl

Function at 0x762a3e
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov si, bx
push dword [esp + 5]
rdtsc
jmp 0x7629fb

Function at 0x762dc3
Capabilities:
Execute anti-debugging instructions

Disassembly:
xchg dl, al
bts esi, esp
bswap esi
jmp 0x762e6b
rdtsc
rdtsc
mov eax, edx
rcl dl, 6
lea esi, reloc.MSVFW32.dll_DrawDibDraw
lea eax, [ebx*4]
jmp 0x762e47
bswap esi
inc dx
add esp, 0xf
xchg word [esp], dx
rdtsc
not dl
jmp 0x762df7
mov dl, ch
mov dh, 0xce
lea esp, [esp + 3]
lea edx, [edi + edi]
xchg dx, ax
xchg ah, dl
jmp 0x762e7e
add esp, 0
mov dh, 0x35
xchg word [esp], ax
mov byte [esp], ch
std
pushfd
jmp 0x762e31
dec edx
std
mov si, sp
xchg byte [esp + 5], dl
xchg word [esp + 2], dx
sub esp, 0xa
jmp 0x762e20
neg dh
mov byte [esp], ah
add esp, 0
shl si, cl
mov ah, 0x3b
lea esi, [ebx*4]
jmp 0x762ed4
add esp, 0
pushal
pop dword [esp + 0xa]
mov dword [esp + 0x16], esi
jmp 0x762f14
mov ah, 0xc2
lea edx, [esi - 0xb4]
mov dx, di
lea esp, [esp]
pop ax
mov byte [esp], cl
jmp 0x762ebe
xchg byte [esp + 9], ah
xchg word [esp + 0x15], dx
xchg word [esp + 9], ax
pop eax
mov ah, 0x1d
mov dword [esp + 3], ebx
jmp 0x762f29
mov word [esp + 0x18], si
mov ax, si
push cx
mov dx, sp
lea esp, [esp + 2]
xchg ah, dl
jmp 0x762ee9
mov ax, word [esp + 9]
pop dword [esp + 8]
push word [esp + 0xf]
add esp, 8
cmc
not edx
jmp 0x7630df
sub esp, 0x19
Function at 0x76685c
Capabilities:
Execute anti-debugging instructions

Disassembly:
bswap ebx
lea ebp, [ebx*4]
mov ah, 0x8c
not ebx
jmp 0x76687e

Function at 0x766f9b
Capabilities:
Execute anti-debugging instructions

Disassembly:
neg di
xchg ecx, eax
xchg dl, dh
jmp 0x76709c
pop esi
shr ebp, 0xf
xchg ah, bh
neg bx
inc ch
cpuid
jmp 0x766fe2
sub esp, 1
mov word [esp + 6], bp
cpuid
push dword [esp + 0x11]
lea ebp, [esp + ebp]
cpuid
jmp 0x766ff8
mov al, byte [esp + 5]
xchg ebx, edi
setbe bl
neg ch
mov dx, 0x5988
mov ch, byte [esp]
jmp 0x767068
Function at 0x71e6d0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x224000]
push edi
jmp 0x71e6ea
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x71e6f1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x71e6e0
mov eax, 1
add ebx, ebx
jne 0x71e703
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x71e714
jne 0x71e733
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x71e733
dec eax
add ebx, ebx
jne 0x71e720
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x71e6f8
add ebx, ebx
jne 0x71e72f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x71e785
xor ecx, ecx
sub eax, 3
jb 0x71e74b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x71e7ba
sar eax, 1
mov ebp, eax
jmp 0x71e756
add ebx, ebx
jne 0x71e756
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x71e724
inc ecx
add ebx, ebx
jne 0x71e764
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x71e724
add ebx, ebx
jne 0x71e771
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x71e766
jne 0x71e782
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x71e766
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x71e7a4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x71e796
jmp 0x71e6e6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x71e7a4
add edi, ecx
jmp 0x71e6e6
pop esi
mov edi, esi
mov ecx, 0x2ddf
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x71e7c2
cmp byte [edi], 0x29
jne 0x71e7c2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x71e7c7
lea edi, [esi + 0x31b000]
mov eax, dword [edi]
or eax, eax
je 0x71e83f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3205d0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x3206ec]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x71e7f4
mov ecx, edi
jns 0x71e823
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x3206f4]
or eax, eax
je 0x71e839
mov dword [ebx], eax
add ebx, 4
jmp 0x71e811
call dword [esi + 0x3206f0]
mov ebp, dword [esi + 0x3206f8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x71e873
sub esp, 0xffffff80
jmp 0x49ba99
Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x430072
mov ebx, 0x408f6c
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x13b3a88
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
loop 0x430060
nop
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
je 0x4300d2
nop
nop
nop
nop
nop
mov ebx, 0x42e3d0
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x7611604b
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4300c0
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x402f84
Capabilities:
Query or enumerate registry value

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

Function at 0x403cd0
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x45c04c], 0
je 0x403d31
cmp word [0x45c220], 0xd7b2
jne 0x403cf9
cmp dword [0x45c228], 0
jbe 0x403cf9
mov eax, 0x45c21c
call dword [0x45c238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x45a06c
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 0x403d58
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x45a030], 0
jne 0x403d4d
push 0
push 0x45a064
push 0x45a06c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x405330
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 0x405560
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x4053b3
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405560
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x4053b3
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x40557c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x40543c
xor eax, eax
push ebp
push 0x405435
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00405178
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 0x40541a
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x40559c
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x40541a
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 0x40543c
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 0x405556
cmp byte [ebp - 0xd], 0
jne 0x405483
cmp byte [ebp - 0x12], 0
je 0x405556
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x40549c
dec ebx
cmp byte [ebx], 0x2e
je 0x4054ab
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x40549b
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x405556
inc ebx
cmp byte [ebp - 0x12], 0
je 0x4054e8
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 0x405556
cmp byte [ebp - 0xd], 0
je 0x405556
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 0x405556
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 0x405c28
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 0x405c8e
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.004040bc
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402b48
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405c78
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405c95
lea eax, [ebp - 0x10]
call fcn.00403e4c
ret

Function at 0x40ad18
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 0x40ad51
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403f3c
jmp 0x40ad5a
mov eax, ebx
mov edx, esi
call fcn.00403ea0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40b40c
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b284
mov eax, dword [0x45b150]
cmp byte [eax], 0
je 0x40b488
mov eax, dword [0x45af48]
call fcn.004029b4
call fcn.0040284c
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.00408544
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 0x40b4d0
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b4be
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x45aef4]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x45c668]
call fcn.0040513c
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 0x40bd6c
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 0x40be42
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00403ee4
lea eax, [ebp - 8]
call fcn.0040435c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.0040430c
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40be2c
mov eax, ebx
call fcn.004026e4
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40be25
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.0040430c
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40be0f
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40be54
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40be0f
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 0x40be2c
mov eax, dword [ebp - 0x10]
call fcn.00402704
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40be49
lea eax, [ebp - 8]
call fcn.00403e4c
ret

Function at 0x40c2c0
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 0x40c324
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.004040bc
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00407ff0
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c32b
lea eax, [ebp - 0xc]
call fcn.00403e4c
ret

Function at 0x41d654
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x45c888
cmp dword [edi], 0
jne 0x41d6d0
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x45c884]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x45a3fc
mov ecx, 2
call fcn.004028e0
mov edx, 0x41d62c
lea eax, [esi + 5]
call fcn.0041d64c
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041d64c
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 0x41d6a5
mov dword [0x45c884], 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 0x41e8fc
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 0x41e902
ret
Function at 0x420d80
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 0x420dd1
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x420db8
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x420da8
jmp 0x420dd1
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 0x420db9
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x428ee4
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.00428c60
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.0040430c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x428f42
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x45b068]
mov dl, 1
mov eax, dword [0x428b84]
call fcn.0040b5cc
call fcn.00403888
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

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

Function at 0x432400
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 0x43247d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00431e60
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 0x432425
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.00431a60
cmp dword [ebp - 4], 0
je 0x432467
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.0040430c
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 0x432484
lea eax, [ebp - 4]
call fcn.00403e4c
ret
Function at 0x435448
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 [0x45cb60], 0
je 0x435597
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x45b0e8]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x435597
mov eax, dword [0x45cb64]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x45cb60]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x435566
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x45cb60]
call fcn.00416b5c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x43555e
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x43555e
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x43555e
mov eax, dword [ebp - 0x14]
call fcn.0043e0d4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x43555e
push ebp
call fcn.00435404
pop ecx
test al, al
jne 0x43555e
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x43551a
mov eax, dword [ebp - 0x14]
call fcn.0043cc04
dec eax
jle 0x43555e
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.00403310
cmp byte [ebp - 1], 0
je 0x43555e
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x43555e
mov edx, dword [ebp - 0x14]
mov eax, dword [0x45cb64]
call fcn.00434bd0
inc edi
dec ebx
jne 0x4354ad
mov eax, dword [0x45cb64]
cmp dword [eax + 8], 0
jle 0x43557e
mov eax, dword [0x45cb64]
call fcn.00434c60
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x435597
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0043526c
pop ecx
test al, al
jne 0x435597
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