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

Disassembly:
pop eax
pop ebp
pop ss
sub dl, byte [eax + eax*4 + 0x44]
call dword [ecx - 0x611ab5dc]
pop edx
insd dword es:[edi], dx
invalid
aas
lahf
fisub dword [eax + 0x78]
dec ebx
adc dl, dh
xchg ebx, eax
add esi, dword [eax + 0x2bb01245]
jp 0x5c5d5d
out dx, eax
rol ecx, 1
pop es
and edx, ebx
sbb edx, dword [esp + edi*8]
imul eax, dword [ebx + 0x50b6c5dd], 0xfffffffb
and eax, 0xbe5382ab
shl byte [ecx - 0x3c], 0x14
and al, 0xd0
les edx, [esi + esi]
and al, 0xd0
in eax, dx
shr dword [eax], 1
sub al, 0x4a
and esp, dword [ebx]
and esp, dword [ecx + 0x74]
invalid
and esp, dword [ecx + 0x74]
or dword [edi + 0x76d64cd2], 0xffffffc0
fidiv dword [ebx + 0x7020d0b8]
xchg ebp, eax
invalid
mov eax, 0xf37020d0
xchg ebp, eax
xor edx, dword [ebp + esi*8 - 0x3b]
dec eax
pop esi
xor dh, byte [edx + 0x2f]
add eax, 0x729b674c
pop eax
push edx
fisubr dword [edi + 0x2768a1a5]
push eax
mov al, byte [0xce07baaa]
rcl eax, 0x9a
jo 0x5c5d19
jne 0x5c5d40
invalid
xor dword [eax + 0x41435a64], ecx
mov edi, 0x16b21a12
fisttp dword [ebp - 0x18238f5c]
test ebx, eax
jae 0x5c5cd7
out 0x85, eax
ret
or al, 0x9a
xchg esp, eax
xor byte [edx + 0x76ddb69d], 0xe0
mov dh, 0xdd
jbe 0x5c5d41
call 0x37719518
loopne 0x5c5d52
loope 0x5c5d01
inc esi
push edx
push ss
mov eax, gs
push esi
push edx
mov dh, 0x79
mov eax, eax
invalid

Function at 0x614d9c
Capabilities:
Encode data using xor

Disassembly:
cmpsb byte [esi], byte es:[edi]
xor byte [ecx], ch
pushal
xchg edi, eax
jmp 0x8bb83d5c
loopne 0x614da5
xchg dword [esi - 0x594d020e], ecx
inc edi
or dword [ebp - 0x29], 0x1447a37b
push ds
xchg bl, bl
cmpsd dword [esi], dword es:[edi]
stc
loop 0x614e03
loop 0x614e03
not byte [eax - 0x31]
salc
add ah, byte [esi]
xchg esi, eax
adc al, 0xa4
push ss
xor al, 0x36
cmp eax, 0x9ee747c1
jle 0x614db2
push ds
daa
mov eax, 0x131c8126
dec ebx
enter 0xffffffffffffbf87, 0xffffffffffffffe6
mov byte [0xa5a71656], al
mul byte [esi + 0x1e880186]
pop ds
sbb eax, 0x97b525fa
mov dh, cl
jp 0x614e40
inc edi
sub dword [eax - 0x20e862e9], ebp
jno 0x614e67
add byte [edi], 0x57
push eax
loop 0x614d80
ret 0xbf69
add al, 0x66
invalid
in al, 0x60
cmc
hlt
pop es
imul byte [eax + 0x28]
cmpsb byte [esi], byte es:[edi]
and esp, dword [eax]
inc ecx
aas
push esp
jnp 0x614ef1
fild word [ecx - 0x32]
mov dword [0xc646d7b7], eax
pop ss
invalid
xchg esi, eax
aad 0x5d
pop ebp
sub dword [edi - 0x38d21c0e], eax
push ss
out 0x58, al
salc
mov dh, ch
invalid
ja 0x614edc
sbb byte [ebx], cl
mov esp, 0x37544bb9
xchg esi, eax
call 0x2aaa127
and esi, dword [ecx - 0x3e0c088a]
jecxz 0x614f33
out 0x9d, al
jbe 0x614eda
dec ebp
xchg esi, eax
cmpsd dword [esi], dword es:[edi]
dec ebx
not bh
out 0xc0, al
or dword [ebx - 0x39], 0x17
mov bh, 0xff
cmpsb byte [esi], byte es:[edi]
dec edi
xchg edi, eax
fiadd word [ebp - 0x38c65ce5]
mov ebx, 0x17c7c48d
xchg ebp, eax
cdq
xchg ecx, eax
in al, 0x69
cmpsd dword [esi], dword es:[edi]
sbb eax, dword [esi]
jmp esi
jbe 0x614f06
clc
xchg edi, eax
test edi, 0x3cb4b8a3
and al, 0x27
push ebx
imul edi, eax, 0x22
rol cl, 1
lds edx, [ebp - 0x79b13da4]
lock add dl, byte [ebx + 0x24]
adc dl, dh
test al, 0xc2
scasd eax, dword es:[edi]
hlt
Function at 0x61d5e5
Capabilities:
Check for vm using instruction vpcext

Disassembly:
or dl, bh
xlatb
salc
push es
popal
dec dword [ecx - 0x2f1b80b1]
in al, 0xd0
mov ebx, 0xa453a787
neg dword [ebx - 0x4f]
and esp, dword [edi - 0xc]
jo 0x61d56a
push esp
pop es
xchg edi, eax
jnp 0x61d56d
mov eax, 0x870b07a6
push ss
adc ch, al
and eax, 0x8ad747e9
invalid
or al, 0x16
push edi
clc
add al, 0x5a
enter 0x5997, 0xffffffffffffff96
jg 0x61d575
add eax, 0xc3fc1fcd
xchg edi, eax
loop 0x61d5a2
inc edi
pop edi
cmc
shl dword [esi - 0x68e96757], 6
scasd eax, dword es:[edi]
mov dh, 0x62
push edi
les ebp, [eax + 0x33]
mov byte [ebp - 0x6d], ch
bound ebp, qword [ebx + 0x62]
add al, 0x84
cmpsb byte [esi], byte es:[edi]
xlatb
invalid
mov dh, 0x10
call 0x80248bd1
outsb dx, byte [esi]
imul ebp, dword [edx - 0x67], 0xffffffff
lodsd eax, dword [esi]
outsd dx, dword [esi]
sub dword [esi + 0x5c5c9f55], ecx
mov ebx, 0x157541da
adc byte [ebx], 0xf7
jg 0xa23811bd
cmp dl, byte [esi + 0x51b6a1c3]
xchg edi, eax
add al, 0x5f
mov ch, 0x16
xchg byte [esi], ah
pop esi
jp 0x61d61b
mov ebp, 0xe02cf707
xchg esi, eax
loopne 0x61d5b3
sub al, 0x41
pop esp
mov cl, 0x23
pop edi
out dx, eax
and al, 0x12
shl ebx, 1
je 0x61d650
retf 0x15c1
xor cl, cl
aaa
add eax, 0xb112d6c7
cmp dl, dh
scasd eax, dword es:[edi]
aad 0xac
movsd dword es:[edi], dword [esi]
invalid
Function at 0x61e8b3
Capabilities:
Encode data using xor

Disassembly:
into
xor eax, 0x9403b556
mov esp, 0x7aa2c5bd
aas
xlatb
rcl esi, cl
xor dword [edi + ebx*2 - 0x52f2711d], edi
dec edx
jb 0x61e8c0
push ebp
and al, byte [edi]
in al, dx
jae 0x61e86a
dec esi
clc
psrad mm6, qword [ebp - 0x3fcc0bd2]
inc ebp
xor byte [esi + 0x20], 0x90
test al, 0x87
inc esi
loopne 0x61e8ea
aaa
insb byte es:[edi], dx
shr dword [edi - 0xa], cl
sal byte [edi - 0x60d89287], 0xaf
test al, 0xb7
jns 0x61e8f9
daa
lahf
scasd eax, dword es:[edi]
and bh, dh
in al, dx
pop esp
pushal
ret 0x4266
div dword [edx + 0x52]
jo 0x61e852
xchg ecx, eax
out 0xa4, eax
xor eax, 0x65e54975
test edi, edi
sub byte [ebp + 0x57], ch
jg 0x61e919
dec edx
bound esp, qword [ebx + 0x607ee09]
push edx
mov dword [0xf7e1138b], eax
aaa
cmpsd dword [esi], dword es:[edi]
ja 0x61e887
pop ebp
and dword [0xf771a939], edi
daa
test dword [ecx], 0x861af36a
push ecx
pop ss
cmp eax, 0x15e0595e
pop ecx
loopne 0x61e902
dec eax
fldenv [esi - 0x5b]
not bh
outsb dx, byte [esi]
and al, 0xfb
inc ebp
dec ebx
dec ebx
mov ebx, 0x89118726
jno 0x61e8bb
or ebx, ebx
invalid
invalid
add ah, byte [edx]
add eax, 0xc8c974d
push es
dec ebp
xchg edi, eax
mov word [esi + eax], cs
or byte [esi], cl
xor eax, 0x7b0f673e
salc
inc edi
inc ebp
mov bh, 0xa1
test al, 0x36
stc
jbe 0x61e916
jbe 0x61e959
in eax, dx
add byte [eax + 0x4b59e7bd], dh
and esi, edi
sub ecx, dword [ecx - 0x6bac7cc9]
pop ecx
jle 0x61e8ed
pop esp
leave
inc edx
inc edi
daa
push es
ret
daa
xor esp, ebp
adc eax, 0xe09d6ff5
xor ecx, dword [esi + eax*2]
int1
movsb byte es:[edi], byte [esi]
mov dword [0xb7aa3727], eax
aas
xchg ebp, eax
xchg esi, edi
sti
imul edx, ebx, 0x7d
dec ebx
add dword [edx + 0x5d], esp
jbe 0x61e999
cmpsb byte [esi], byte es:[edi]
mov edi, 0xb5ef0ad5
mov bh, 0x4e
cmovne ebp, dword [ecx]
in eax, dx
out 0xeb, eax
xchg ebp, eax
mov bh, 0x85
ljmp 0x6248:0x669a3525
aaa
dec esi
cmp eax, 0x2de62140
pop ebp
jle 0x61e9ef
in al, 0x7b
xchg byte [edi + 0x7a], dl
and dl, byte [esi + 0x4faca3a3]
cmp byte [esi - 0x10], bl
lahf
invalid
insd dword es:[edi], dx
aaa
insd dword es:[edi], dx
aaa
fisubr word [ecx]
fisubr word [ecx]
out dx, eax
inc eax
add bl, byte [ebx + 0x66d4eb4b]
sub ebx, dword [eax - 0x58]
ja 0x61e98c
jo 0x61e9e9
imul ebx, dword [esi], 0xffffffe7
adc byte [ebx], cl
invalid
Function at 0x401a8c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4b00d0]
jne 0x401a96
repz ret
jmp fcn.00402bc6

Function at 0x40f895
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00403616
and dword [ebp - 4], 0
cmp dword [0x4b22fc], 0
mov ebx, eax
jne 0x40f946
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40f9f7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40f9f7
push eax
call fcn.004035a4
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4b22fc], eax
call esi
push eax
call fcn.004035a4
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4b2300], eax
call esi
push eax
call fcn.004035a4
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4b2304], eax
call esi
push eax
call fcn.004035a4
pop ecx
mov dword [0x4b230c], eax
test eax, eax
je 0x40f946
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004035a4
pop ecx
mov dword [0x4b2308], eax
mov eax, dword [0x4b2308]
cmp eax, ebx
je 0x40f99e
cmp dword [0x4b230c], ebx
je 0x40f99e
push eax
call fcn.0040361f
push dword [0x4b230c]
mov esi, eax
call fcn.0040361f
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40f99e
test edi, edi
je 0x40f99e
call esi
test eax, eax
je 0x40f995
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40f995
test byte [ebp - 0xc], 1
jne 0x40f99e
or dword [ebp + 0x10], 0x200000
jmp 0x40f9d7
mov eax, dword [0x4b2300]
cmp eax, ebx
je 0x40f9d7
push eax
call fcn.0040361f
pop ecx
test eax, eax
je 0x40f9d7
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40f9d7
mov eax, dword [0x4b2304]
cmp eax, ebx
je 0x40f9d7
push eax
call fcn.0040361f
pop ecx
test eax, eax
je 0x40f9d7
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4b22fc]
call fcn.0040361f
pop ecx
test eax, eax
je 0x40f9f7
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40f9f9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4aa5f0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
xor esi, esi
cmp esi, 0x5026c
jne 0x4aa68d
mov dword [ebp - 4], 0x20
add dword [ebp - 4], 0x20
push 0x4b23e0
mov byte [0x4b23e0], 0x6b
mov byte [0x4b23e1], 0x65
mov byte [0x4b23e2], 0x72
mov byte [0x4b23e3], 0x6e
mov byte [0x4b23e4], 0x65
mov byte [0x4b23e5], 0x6c
mov byte [0x4b23e6], 0x33
mov byte [0x4b23e7], 0x32
mov byte [0x4b23e8], 0x2e
mov byte [0x4b23e9], 0x64
mov byte [0x4b23ea], 0x6c
mov byte [0x4b23eb], 0x6c
mov byte [0x4b23ec], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea eax, [ebp - 8]
push eax
push 0x40
push dword [0x4b27a4]
push dword [0x4b26ec]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
inc esi
cmp esi, 0x36edcb
jl 0x4aa5f8
pop esi
leave
ret
Function at 0x4aa867
Capabilities:
Clear file content
Create pipe
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x4b27a4]
push ebx
mov ebx, dword [0x4b26ec]
push esi
xor esi, esi
mov dword [ebp - 0x10], eax
cmp eax, 0x5dd
jne 0x4aa88d
push esi
call dword [sym.imp.KERNEL32.dll_LocalUnlock]
mov eax, dword [ebp + 8]
push dword [eax]
call fcn.004aa791
cmp dword [0x4b27a4], 0x2f
pop ecx
jne 0x4aa8e8
push edi
xor eax, eax
mov word [ebp - 0xc], ax
lea edi, [ebp - 0xa]
stosw word es:[edi], ax
mov word [ebp - 4], ax
lea edi, [ebp - 2]
stosw word es:[edi], ax
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
lea eax, [ebp - 0xc]
push dword [ebp - 0xc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteConsoleOutputA]
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
pop edi
push ebx
mov ebx, dword [ebp - 0x10]
call fcn.004aa7db
cmp dword [0x4b27a4], 0x568
pop ecx
jne 0x4aa905
push esi
call dword [sym.imp.KERNEL32.dll_DeleteAtom]
pop esi
pop ebx
leave
ret
Function at 0x4aaccd
Capabilities:
Set file attributes

Disassembly:
sub esp, 0x804
mov eax, dword [0x4b00d0]
xor eax, esp
mov dword [esp + 0x800], eax
push esi
push edi
mov edi, 0x13ba1f
xor esi, esi
cmp dword [0x4b27a4], 0xbf9
jne 0x4aacfd
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleDisplayMode]
cmp dword [0x4b27a4], 0x3dc
mov dword [0x4b2798], 0x8e55ceaa
jne 0x4aad28
push esi
push str.sutejoyuvefejavasayoz_kuradahehihugas
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_OpenWaitableTimerW]
dec edi
jne 0x4aacea
cmp esi, 0x8465cd
jne 0x4aad42
mov eax, dword [0x4b1780]
add eax, 0xa231
mov dword [0x4b27a4], eax
cmp dword [0x4b27a4], 0x141
jne 0x4aad6f
push str.gacepelorawagemuyutajewelaxizebu_hiyupehiliyi_toxayekuxo_ziyapemiket_siwiyorosahasopisuzofuwuxuv
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
or dword [0x4b246c], 0xffffffff
mov dword [0x4b2468], 0xec58acac
inc esi
cmp esi, 0x125483c
jl 0x4aad2b
call fcn.004aa909
mov ecx, dword [esp + 0x808]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.00401a8c
add esp, 0x804
ret 0x10
Function at 0x432003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..rsrc
nop
nop
mov ebx, 0x40c7d0
mov ecx, 0x4ae67a51
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x432024
nop
mov eax, section..data
nop
mov ebx, 0x42f314
nop
mov ecx, 0x3337127a
nop
nop
nop
test eax, eax
nop
je 0x432084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x402898
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebx
push esi
add esp, 0xfffffdf4
mov esi, edx
mov ebx, eax
test bl, bl
je 0x4028d5
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 + 0x108]
push eax
push 0x104
call sub.kernel32.dll_GetCurrentDirectoryA
push esp
call sub.kernel32.dll_SetCurrentDirectoryA
lea eax, [esp + 4]
push eax
push 0x104
call sub.kernel32.dll_GetCurrentDirectoryA
test bl, bl
je 0x4028f5
lea eax, [esp + 0x108]
push eax
call sub.kernel32.dll_SetCurrentDirectoryA
mov eax, esi
lea edx, [esp + 4]
mov ecx, 0x104
call fcn.00403dfc
add esp, 0x20c
pop esi
pop ebx
ret

Function at 0x402a90
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov esi, edx
mov ebx, eax
test ebx, ebx
jne 0x402abf
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403cb4
jmp 0x402add
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, esi
mov eax, edi
call fcn.004029c4
mov edi, eax
test ebx, ebx
je 0x402add
cmp dword [esi], 0
je 0x402add
dec ebx
jmp 0x402ac6
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x402f28
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [section.DATA]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x402fc0
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x402fa0
xor eax, eax
push ebp
push 0x402f99
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 0x402fdc
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 0x402fa0
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [section.DATA]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [section.DATA], ax
mov esp, ebp
pop ebp
ret
Function at 0x4051f4
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 0xf003f
push 0
push 0x405390
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4052a4
xor eax, eax
push ebp
push 0x40529d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
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 0x405286
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x4053b0
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4052a4
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpyA
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 0x405385
cmp byte [ebp - 0xd], 0
jne 0x4052e6
cmp byte [ebp - 0x12], 0
je 0x405385
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x4052ff
dec ebx
cmp byte [ebx], 0x2e
je 0x40530e
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x4052fe
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x405385
inc ebx
cmp byte [ebp - 0x12], 0
je 0x40533b
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x405385
cmp byte [ebp - 0xd], 0
je 0x405385
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x405385
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
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 0x40aa5c
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 0x40aa95
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403cb4
jmp 0x40aa9e
mov eax, ebx
mov edx, esi
call fcn.00403c68
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40aaa8
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 0x40aac9
mov al, byte [esp]
jmp 0x40aacb
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x417548
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 0x41754e
ret

Function at 0x419ea0
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 0x419ef1
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x419ed8
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x419ec8
jmp 0x419ef1
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 0x419ed9
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x421d2c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4c76a4
cmp dword [edi], 0
jne 0x421da8
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4c76a0]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4c464c
mov ecx, 2
call fcn.00402984
mov edx, 0x421d04
lea eax, [esi + 5]
call fcn.00421d24
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00421d24
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 0x421d7d
mov dword [0x4c76a0], 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 0x421ecc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x421f1c]
test si, 4
je 0x421ee0
or bl, 1
test si, 8
je 0x421eea
or bl, 4
test si, 1
je 0x421ef4
or bl, 8
test si, 2
je 0x421efe
or bl, 0x10
test si, 0x10
je 0x421f08
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x421f17
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x421f20
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x421f58]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x421f39
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x421f48
or bl, 4
test esi, 0x20000000
je 0x421f53
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x426368
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x42650d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x40e8b8]
call fcn.00403080
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 4]
add eax, 0x2c
call fcn.00403bd0
push 0
call sub.user32.dll_GetKeyboardLayout
mov edx, dword [ebp - 4]
mov dword [edx + 0x30], eax
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4264e3
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00431878
test al, al
je 0x4264d6
lea eax, [ebp - 0xc]
push eax
push 0xf003f
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x42651c
lea eax, [ebp - 0x254]
call fcn.00408c54
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4264d6
xor eax, eax
push ebp
push 0x4264cf
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x426554
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4264b8
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00403dfc
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov ebx, dword [eax]
call dword [ebx + 0x38]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x30]
jne 0x4264b8
mov eax, dword [ebp - 4]
add eax, 0x2c
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00403dfc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4264d6
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4263d9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov byte [eax + 0x19], 0
mov dl, 1
call fcn.00411e4c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x426514
lea eax, [ebp - 0x260]
call fcn.00403bd0
ret

Function at 0x426788
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x4c7678]
cmp byte [eax + 0x85], 0
jne 0x4267f9
cmp dword [0x4c76b0], 0
jne 0x4267ba
call sub.kernel32.dll_GetCurrentThreadId
push eax
push 0
mov eax, 0x426744
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4c76b0], eax
cmp dword [0x4c76ac], 0
jne 0x4267d5
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4c76ac], eax
cmp dword [0x4c76b4], 0
jne 0x4267f9
push esp
push 0
push 0
push 0x4266e8
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x4c76b4], eax
pop edx
ret