joyce8/EMBER2024-capa huggingface dataset:
Function at 0x103fe7d
Capabilities:
Get number of processors

Disassembly:
and bh, byte [esi]
xor byte [ecx + esi], ch
sub al, 0x32
sub al, 0x33
sub al, 0x34
sub al, 0x35
sub al, 0x36
sub al, 0x37
sub al, 0x38
sub al, 0x39
sub al, 0x31
xor byte [ecx + esi], ch
xor dword [ecx + esi], ebp
xor ch, byte [ecx + esi]
xor ebp, dword [ecx + esi]
xor al, 0x2c
xor dword [0x2c36312c], esi
xor dword [edi], esi
sub al, 0x31
cmp byte [ecx + esi], ch
cmp dword [edx + esi], ebp
xor byte [edx + esi], ch
xor dword [edx + esi], ebp
xor bh, byte [edi + ebp]
imul sp, word [ebp + 0x6c], 0x3e64
or eax, 0x69663c0a
insb byte es:[edi], dx
and byte fs:[esi + 0x61], ch
insd dword es:[edi], dx
cmp eax, 0x78616d22
pop edi
arpl word [edi + 0x75], bp
outsb dx, byte [esi]
je 0x103fe53
xor dword ds:[0x69662f3c], esi
insb byte es:[edi], dx
or eax, 0x69663c0a
insb byte es:[edi], dx
and byte fs:[esi + 0x61], ch
insd dword es:[edi], dx
cmp eax, 0x76656c22
insb byte es:[edi], dx
jbe 0x103feb4
insb byte es:[edi], dx
and bh, byte [esi]
xor bh, byte [edi + ebp]
cmp al, 0x2f
imul sp, word [ebp + 0x6c], 0x3e64
or eax, 0x692f3c0a
je 0x103fec7
insd dword es:[edi], dx
or eax, 0x74693c0a
insd dword es:[edi], dx
or eax, 0x69663c0a
insb byte es:[edi], dx
and byte fs:[esi + 0x61], ch
insd dword es:[edi], dx
cmp eax, 0x64726f22
jb 0x103fee0
imul esp, dword [edx + 0x3e], 0x31343331
xor eax, 0x662f3c38
imul esp, dword [ebp + 0x6c], 0xa0d3e64
cmp al, 0x66
imul esp, dword [ebp + 0x6c], 0x616e2064
insd dword es:[edi], dx
cmp eax, 0x636f6c22
popal
je 0x103ff12
outsd dx, dword [esi]
outsb dx, byte [esi]
pop edi
imul esp, dword [edx + 0x3e], 0x756f7267
jo 0x103ff15
bound esp, qword [ecx + 0x6e]
outsb dx, byte [esi]
imul sp, word [ebp + 0x6c], 0x2064
outsb dx, byte [esi]
popal
Function at 0x1040b35
Capabilities:
Get number of processors

Disassembly:
out dx, eax
mov esp, 0x662f3c81
imul esp, dword [ebp + 0x6c], 0xa0d3e64
cmp al, 0x66
imul esp, dword [ebp + 0x6c], 0x616e2064
insd dword es:[edi], dx
cmp eax, 0x696c6322
arpl word [ebx + 0x5f], bp
jne 0x1040bc9
insb byte es:[edi], dx
and bh, byte [esi]
push 0x3a707474
xor eax, 0x67706a2e
cmp al, 0x2f
Function at 0x10031e45
Capabilities:
Encrypt data using rc4 prga

Disassembly:
invalid
add byte [ecx], al
add byte [eax], al
add byte [ebp + ebx*4 + 0x10000], al
add byte [eax], al
add byte [eax - 0x4ffffffb], dl
add eax, 0x3ed400
add al, ch
pop eax
add byte [eax], al
add byte [ecx], dh
and ecx, dword [ebp - 0x397fb682]
in al, dx
call 0x10031e45
xor dword [ebx], esp
lea edi, [esi + 0x49]
add dh, 0xec
sahf
pop ss
ljmp 0x6c00
pop eax
stc
sbb bl, dl
mov dword [0xf1eb7fd7], eax
push edx
clc
push esi
push edi
push eax
push ebx
push ecx
jae 0x10031de8
mov bh, 0xdd
in al, dx
sbb edx, edi
stc
cld
insb byte es:[edi], dx
test al, 0x7f
lds eax, [edx + eax*8 - 0x7a]
int1
cmp dh, byte [eax + esi*2 - 0x27ae32d1]
jnp 0x10031dcf
packssdw mm4, qword [ecx - 0x306522c]
in eax, dx
sbb ebx, ecx
test byte [ecx - 0xaf7c770], bl
pop es
pop esi
jae 0x10032040
jnp 0x10031e05
add cl, dl
cmpsd dword [esi], dword es:[edi]
in eax, 0x59
arpl word [esi + 0xc], ax
sbb bh, byte [ebp - 0x76d9ee62]
jne 0x10031fa3
jmp 0x10032065
insd dword es:[edi], dx
fdiv dword [ebx - 4]
mov dl, dl
iretd
test dword [esi], 0xffffffff
stc
jmp 0x100320af
cmp byte [eax - 0x7e], cl
inc eax
mov al, 0x96
mov ah, 0x96
sub al, 0xe5
mov ebp, 0x78db7adc
push cs
cmc
js 0x10031e78
inc ebx
test eax, 0xb8df91a6
adc ecx, ecx
or ebp, edi
cmp byte [ebp - 0x7af011a0], dh
inc ebp
add al, byte [eax]
add cl, bh
jne 0x10032117
stc
jb 0x100320c1
sub al, 0xe9
invalid
sub dword [edi], 1
clc
jae 0x10031ecc
mov bh, 0x91
int1
cmpsb byte ss:[esi], byte es:[edi]
dec esp
push 0xb
test eax, 0xbb535c00
dec ebx
cmp cl, cl
jle 0x10031edb
push edx
add dword [eax - 0x423bbd75], 0x661b8a03
jp 0x10031ebc
loope 0x10031eab
push ecx
mov edi, 0xaba5f711
xlatb
dec eax
add eax, 0x83f9d9d1
fdivp st(3)
stc
sbb esi, 0xfffffffb
jmp 0x10032117
pop ecx
pop ebx
pop eax
pop edi
pop esi
pop edx
stc
jb 0x1003212c
aas
sbb eax, 0x45b59fe3
or ecx, dword [ecx + 0x3552420b]
lds ebx, [ebx]
cli
ljmp 0xa30b
pop es
push es
inc ebx
invalid
call 0x1003213f
jmp 0x10031f4b
add dword [eax], 0x6a00bc91
jmp 0x10032006
adc dword [ecx - 1], ebp
jbe 0x10031fc2
push dword [esi + 4]
pop edx
jae 0x10031fa3
invalid
movsd dword es:[edi], dword [esi]
jecxz 0x10031f7e
jns 0x10031fb9
add dword [esi - 0x47], ebx
mov ebp, 0x4bc28924
mov edi, 0x7ce4c02b
cdq
invalid
sub edx, 1
jmp 0x10031e5c
add eax, 4
jmp 0x10031fdb
sub esi, 0x49
jmp 0x10031e9a
stc
adc esi, 7
jmp 0x10031ee8
mov edi, esi
jb 0x10031f1f
jno 0x100320a1
sbb al, byte [eax + 0xfd4a70a]
test byte [esi + 0xffffffe], dl
and ah, 0xff
invalid
je 0x10031f4b
jb 0x1003209f
scasd eax, dword es:[edi]
wait
dec eax
xor dword [ecx + 0xfde8b24], ebx
cmp byte [esi + 0x2efffffe], 0x46
mov ebx, esi
jb 0x10031f87
inc esi
int3
add eax, esi
clc
jae 0x10031fbb
les edx, [ebp + 0x34c7af94]
xchg ebp, eax
xchg esp, eax
scasd eax, dword es:[edi]
invalid
add eax, 0xdbe4ceba
mov esi, 0x4f803571
add byte [ebx], 0x68
fidivr word [ecx]
loop 0x100320e7
cmp edi, dword [esi - 0x39a6b140]
lds esp, [edi]
push edx
xchg edx, eax
jle 0x100320ec
stosb byte es:[edi], al
and edi, dword [ebx]
mov al, byte [0x41b5aad8]
add al, byte [eax - 0xc]
ror dword [ecx], 0xd7
mov eax, dword [esi]
jmp 0x100320dd
jmp 0x1001ad0c
Function at 0x402d90
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.00404dac
test esi, esi
jne 0x402dc6
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.00404e9c
jmp 0x402de4
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402ca4
mov edi, eax
test esi, esi
je 0x402de4
cmp dword [ebx], 0
je 0x402de4
dec esi
jmp 0x402dcd
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x40358c
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x4f6008], 0x8088405
inc edx
mov dword [ebx + 0x4f6008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x403d68
Capabilities:
Query or enumerate registry value

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

Function at 0x404b8c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4ff04c], 0
je 0x404bed
cmp word [0x4ff220], 0xd7b2
jne 0x404bb5
cmp dword [0x4ff228], 0
jbe 0x404bb5
mov eax, 0x4ff21c
call dword [0x4ff238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x4f6078
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 0x404c14
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4f6020], 0
jne 0x404c09
push 0
push 0x4f6098
push 0x4f6078
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x404d60
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.00402a38
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x4ff04d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404d28
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x406bd0
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 0x406e00
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x406c53
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x406e00
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x406c53
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x406e1c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x406cdc
xor eax, eax
push ebp
push 0x406cd5
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00406a18
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 0x406cba
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x406e3c
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x406cba
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 0x406cdc
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 0x406df6
cmp byte [ebp - 0xd], 0
jne 0x406d23
cmp byte [ebp - 0x12], 0
je 0x406df6
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x406d3c
dec ebx
cmp byte [ebx], 0x2e
je 0x406d4b
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x406d3b
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x406df6
inc ebx
cmp byte [ebp - 0x12], 0
je 0x406d88
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 0x406df6
cmp byte [ebp - 0xd], 0
je 0x406df6
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 0x406df6
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 0x40e84c
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 0x40e885
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404e9c
jmp 0x40e88e
mov eax, ebx
mov edx, esi
call fcn.00404e00
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40ef40
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40edb8
mov eax, dword [0x4fdfb0]
cmp byte [eax], 0
je 0x40efa8
mov eax, dword [0x4fdcec]
call fcn.00403244
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.0040b858
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 0x40eff0
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40efde
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4fdc78]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4ff718]
call fcn.004069dc
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 0x40fecc
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 0x40ff30
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.00405014
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.0040b248
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ff37
lea eax, [ebp - 0xc]
call fcn.00404dac
ret
Function at 0x412804
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
add esp, 0xffffffc0
push esp
push 0x40
push pe_nt_image_headers32
mov ebx, fcn.00402c64
push ebx
call sub.kernel32.dll_VirtualProtect
mov eax, dword [0x4fe0f8]
test byte [eax + 0x12], 0x80
je 0x41282e
mov esi, 0x4127cc
jmp 0x412845
mov eax, dword [0x4fe0f8]
test byte [eax + 0x12], 0x20
je 0x412840
mov esi, 0x412794
jmp 0x412845
mov esi, 0x41275c
push esp
push 0x40
push pe_nt_image_headers32
push fcn.00402c64
call sub.kernel32.dll_VirtualProtect
mov eax, ebx
cmp byte [eax], 0xe9
je 0x4128b3
cmp word [eax], 0x25ff
jne 0x412874
mov byte [eax], 0xe9
mov eax, ebx
sub esi, eax
sub esi, 5
inc eax
mov dword [eax], esi
jmp 0x4128b3
lea edx, [esp + 8]
mov eax, esi
mov ecx, 0x38
call fcn.00402c64
mov eax, esi
sub eax, ebx
add dword [esp + 0x16], eax
add dword [esp + 0x1c], eax
add dword [esp + 0x27], eax
add dword [esp + 0x36], eax
add dword [esp + 0x3b], eax
lea edx, [esp + 8]
mov ecx, fcn.00402c64
xor eax, eax
mov bl, byte [edx + eax]
mov byte [ecx + eax], bl
inc eax
cmp eax, 0x38
jne 0x4128a7
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 4]
push eax
push pe_nt_image_headers32
push fcn.00402c64
call sub.kernel32.dll_VirtualProtect
push 0x38
push fcn.00402c64
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_FlushInstructionCache
add esp, 0x40
pop esi
pop ebx
ret

Function at 0x424114
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.00423f88
dec esi
jne 0x424136
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x425274
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x501bcc
cmp dword [edi], 0
jne 0x4252f0
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x501bc8]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4f6c58
mov ecx, 2
call fcn.00402c64
mov edx, 0x42524c
lea eax, [esi + 5]
call fcn.0042526c
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0042526c
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 0x4252c5
mov dword [0x501bc8], 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 0x4267e4
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 0x4267ea
ret
Function at 0x428cf8
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 0x428d49
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x428d30
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x428d20
jmp 0x428d49
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 0x428d31
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4375f8
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00405268
xor eax, eax
push ebp
push 0x437726
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x4376f9
xor eax, eax
push ebp
push 0x4376f2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00405080
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4376c7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov ebx, eax
xor eax, eax
push ebp
push 0x4376b6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00405080
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00405278
mov edx, ebx
pop ecx
call fcn.00402c64
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4376bd
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x4fdbe8]
mov dl, 1
mov eax, dword [0x409f0c]
call fcn.0040f0b0
call fcn.004046c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43772d
lea eax, [ebp - 4]
call fcn.00404dac
ret
Function at 0x437734
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4378e5
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00405468
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x4378fc
call fcn.004050cc
mov eax, ebx
call fcn.00424800
mov edi, eax
dec edi
test edi, edi
jl 0x4377ec
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.004247d4
mov edx, dword [0x431d04]
call fcn.00404084
test al, al
je 0x4377e8
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.004247d4
lea edx, [ebp - 0x14]
call fcn.0043fcbc
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00405468
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405140
inc esi
dec edi
jne 0x43779a
mov al, byte [0x437900]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x43790c
mov eax, dword [ebp - 0xc]
call fcn.004104a4
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.00404e44
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.0043fcbc
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x4378fc
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x2f0]
call fcn.0043fcbc
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x4378fc
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x4378fc
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x437918
call fcn.0040bfcc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4378ec
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00404dd0
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404dd0
lea eax, [ebp - 0x14]
call fcn.00404dac
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404dd0
ret

Function at 0x43a2cc
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 0x43a218
call sub.user32.dll_EnumWindows
ret
Function at 0x43a3f0
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 0x43a46d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00439e3c
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 0x43a415
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.00439a94
cmp dword [ebp - 4], 0
je 0x43a457
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00405278
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 0x43a474
lea eax, [ebp - 4]
call fcn.00404dac
ret

Function at 0x43d7fc
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 [0x501d88], 0
je 0x43d94b
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x4fdf24]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x43d94b
mov eax, dword [0x501d8c]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x501d88]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x43d91a
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x501d88]
call fcn.0041b3f0
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x43d912
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x43d912
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x43d912
mov eax, dword [ebp - 0x14]
call fcn.004463c4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x43d912
push ebp
call fcn.0043d7b8
pop ecx
test al, al
jne 0x43d912
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x43d8ce
mov eax, dword [ebp - 0x14]
call fcn.00444f58
dec eax
jle 0x43d912
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.004040f4
cmp byte [ebp - 1], 0
je 0x43d912
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x43d912
mov edx, dword [ebp - 0x14]
mov eax, dword [0x501d8c]
call fcn.0043cf80
inc edi
dec ebx
jne 0x43d861
mov eax, dword [0x501d8c]
cmp dword [eax + 8], 0
jle 0x43d932
mov eax, dword [0x501d8c]
call fcn.0043d010
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x43d94b
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0043d620
pop ecx
test al, al
jne 0x43d94b
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