joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6d70b0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1e5000]
push edi
or ebp, 0xffffffff
jmp 0x6d70d2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x6d70d9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6d70c8
mov eax, 1
add ebx, ebx
jne 0x6d70eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x6d70fc
jne 0x6d711b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6d711b
dec eax
add ebx, ebx
jne 0x6d7108
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x6d70e0
add ebx, ebx
jne 0x6d7117
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x6d716d
xor ecx, ecx
sub eax, 3
jb 0x6d7133
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x6d71a2
sar eax, 1
mov ebp, eax
jmp 0x6d713e
add ebx, ebx
jne 0x6d713e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6d710c
inc ecx
add ebx, ebx
jne 0x6d714c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6d710c
add ebx, ebx
jne 0x6d7159
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x6d714e
jne 0x6d716a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x6d714e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x6d718c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x6d717e
jmp 0x6d70ce
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x6d718c
add edi, ecx
jmp 0x6d70ce
pop esi
mov edi, esi
mov ecx, 0x52ad
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x6d71aa
cmp byte [edi], 0x12
jne 0x6d71aa
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 0x6d71af
lea edi, [esi + 0x2cd000]
mov eax, dword [edi]
or eax, eax
je 0x6d7227
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2ed7f4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2eda28]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x6d71dc
mov ecx, edi
jns 0x6d720b
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 + 0x2eda30]
or eax, eax
je 0x6d7221
mov dword [ebx], eax
add ebx, 4
jmp 0x6d71f9
call dword [esi + 0x2eda2c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x6d7258
cmp al, 0xef
ja 0x6d724b
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x6d722d
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x6d723a
mov ebp, dword [esi + 0x2eda34]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x24f]
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 0x6d728c
sub esp, 0xffffff80
jmp 0x497ff5
Function at 0x1001542
Capabilities:
Terminate process

Disassembly:
push 0x5c
push 0x1001cd0
call fcn.010016d4
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 1
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x20], ebx
mov edi, 0x1003398
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0x10012fd
cmp eax, esi
jne 0x10012f0
xor esi, esi
inc esi
mov dword [ebp - 0x20], esi
jmp 0x1001300
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10012d7
xor esi, esi
inc esi
mov eax, dword [0x1003394]
cmp eax, esi
jne 0x1001313
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x1001342
mov eax, dword [0x1003394]
test eax, eax
jne 0x100133c
mov dword [0x1003394], esi
push 0x10010f4
push 0x10010e8
call fcn.01001239
pop ecx
pop ecx
test eax, eax
je 0x1001342
jmp 0x1001466
mov dword [0x100303c], esi
mov eax, dword [0x1003394]
cmp eax, esi
jne 0x1001366
push 0x10010e4
push 0x10010dc
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x1003394], 2
cmp dword [ebp - 0x20], ebx
jne 0x1001373
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x100339c], ebx
je 0x1001394
push 0x100339c
call fcn.01001649
pop ecx
test eax, eax
je 0x1001394
push ebx
push 2
push ebx
call dword [0x100339c]
mov eax, dword [sym.imp.msvcrt.dll__wcmdln]
cmp dword [eax], ebx
je 0x1001466
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
movzx ecx, word [eax]
cmp cx, 0x20
ja 0x10013fe
cmp cx, bx
je 0x10013b9
cmp dword [ebp - 0x1c], ebx
jne 0x10013fe
movzx ecx, word [eax]
cmp cx, bx
je 0x10013ce
cmp cx, 0x20
ja 0x10013ce
inc eax
inc eax
mov dword [ebp - 0x24], eax
jmp 0x10013b9
test byte [ebp - 0x40], 1
je 0x10013da
movzx ecx, word [ebp - 0x3c]
jmp 0x10013dd
push 0xa
pop ecx
push ecx
push eax
push ebx
push 0x1000000
call main
mov dword [0x1003038], eax
cmp dword [0x100302c], ebx
jne 0x1001443
push eax
call dword [sym.imp.msvcrt.dll_exit]
cmp cx, 0x22
jne 0x100140f
xor ecx, ecx
cmp dword [ebp - 0x1c], ebx
sete cl
mov dword [ebp - 0x1c], ecx
inc eax
inc eax
jmp 0x10013a3
cmp dword [0x100303c], ebx
jne 0x1001451
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x1003038]
jmp 0x1001472
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.01001719
ret
call fcn.01001821
jmp 0x100129a

Function at 0x710c74
Capabilities:
Encode data using xor

Disassembly:
mov ecx, 0x7109ec
sub ebx, 0x53fd5f5f
push 0x7aad0dab
pop eax
call fcn.00710cc1
or eax, ebx
add ebx, 0x1ee9cf0a
inc ebx
xor dword [edx], ecx
add eax, eax
and eax, ebx
add edx, 1
mov eax, 0x6a64638d
inc ebx
add eax, 0xaebfc1a2
cmp edx, esi
jne fcn.00710c74
add eax, ebx
and eax, eax
add ebx, ebx
ret
Function at 0x403860
Capabilities:
Query or enumerate registry value

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

Function at 0x404714
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x472048], 0
je 0x404775
cmp word [0x47221c], 0xd7b2
jne 0x40473d
cmp dword [0x472224], 0
jbe 0x40473d
mov eax, 0x472218
call dword [0x472234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push str.Runtime_error_____at_00000000
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 0x40479c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x47002c], 0
jne 0x404791
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x405e6c
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 0x40609c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405eef
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x40609c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405eef
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4060b8
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x405f78
xor eax, eax
push ebp
push 0x405f71
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00405ca8
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 0x405f56
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x4060d8
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x405f56
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 0x405f78
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 0x406092
cmp byte [ebp - 0xd], 0
jne 0x405fbf
cmp byte [ebp - 0x12], 0
je 0x406092
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x405fd8
dec ebx
cmp byte [ebx], 0x2e
je 0x405fe7
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x405fd7
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x406092
inc ebx
cmp byte [ebp - 0x12], 0
je 0x406024
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 0x406092
cmp byte [ebp - 0xd], 0
je 0x406092
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 0x406092
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 0x408634
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x408686
test eax, edx
je 0x408689
movzx ecx, byte [edx]
cmp cl, byte [eax]
je 0x408649
movzx eax, byte [eax]
sub eax, ecx
ret
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x40866f
add ecx, 4
js 0x40865f
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 3
add ecx, ebx
jns 0x40866c
movzx eax, byte [ecx + eax]
movzx edx, byte [ecx + edx]
sub eax, edx
pop ebx
pop ebx
ret
xor eax, eax
ret
test eax, eax
je 0x408695
test edx, edx
jne 0x40863c
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x40be2c
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 0x40be65
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404984
jmp 0x40be6e
mov eax, ebx
mov edx, esi
call fcn.004048e8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40be78
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 0x40be9a
movzx eax, byte [esp]
jmp 0x40be9c
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40c52c
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40c3a4
mov eax, dword [0x471d38]
cmp byte [eax], 0
je 0x40c5a8
mov eax, dword [0x471b20]
call fcn.00403228
call fcn.00402fdc
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.004090b4
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 0x40c5f0
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40c5de
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x471ac4]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4747f4]
call fcn.00405c50
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 0x40ce68
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40cf3e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040492c
lea eax, [ebp - 4]
call fcn.00404d7c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00404d24
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40cf28
mov eax, ebx
call fcn.00402e80
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40cf21
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 - 4]
call fcn.00404d24
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40cf0b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40cf50
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40cf0b
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cf28
mov eax, dword [ebp - 0x10]
call fcn.00402e9c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cf45
lea eax, [ebp - 4]
call fcn.00404894
ret

Function at 0x41f8b4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4769e8
cmp dword [edi], 0
jne 0x41f930
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4769e4]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x470b7c
mov ecx, 2
call fcn.00403070
mov edx, 0x41f88c
lea eax, [esi + 5]
call fcn.0041f8ac
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041f8ac
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 0x41f905
mov dword [0x4769e4], 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 0x4221cc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00404d24
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x422224
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x471e70]
mov dl, 1
mov eax, dword [0x421cd8]
call fcn.0040c6ec
call fcn.004042dc
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00421de0
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4233b4
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 0x4233ba
ret
Function at 0x43619c
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.00404d14
xor eax, eax
push ebp
push 0x4362d1
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x4362a4
xor edx, edx
push ebp
push 0x43629d
push dword fs:[edx]
mov dword fs:[edx], esp
mov ebx, dword [ebp - 4]
mov eax, ebx
test eax, eax
je 0x4361e9
sub eax, 4
mov eax, dword [eax]
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x436272
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov esi, eax
xor eax, eax
push ebp
push 0x436261
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
je 0x436228
sub ebx, 4
mov ebx, dword [ebx]
mov eax, dword [ebp - 4]
call fcn.00404d24
lea ecx, [ebx + 1]
mov edx, esi
call fcn.00403070
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 0x436268
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x471a60]
mov dl, 1
mov eax, dword [0x407878]
call fcn.0040c6b0
call fcn.004042dc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4362d8
lea eax, [ebp - 4]
call fcn.00404894
ret
Function at 0x4362e0
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 - 4], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x43649b
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00405018
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 4]
mov ecx, 0x4364b4
call fcn.00404bac
mov eax, ebx
call fcn.0041ee20
mov edi, eax
dec edi
test edi, edi
jl 0x436398
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.0041edf4
mov edx, dword [0x42e610]
call fcn.00403bf4
test al, al
je 0x436394
push dword [ebp - 8]
mov edx, esi
mov eax, ebx
call fcn.0041edf4
lea edx, [ebp - 0x14]
call fcn.004456b0
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00405018
push dword [ebp - 0x18]
lea eax, [ebp - 8]
mov edx, 3
call fcn.00404c28
inc esi
dec edi
jne 0x436346
movzx eax, byte [0x4364b8]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x4364c4
mov eax, dword [ebp - 8]
call fcn.0040d92c
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 8]
call fcn.0040492c
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.004456b0
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x4364b4
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x360]
call fcn.004456b0
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x4364b4
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x4364b4
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x4364d0
call fcn.004097d0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4364a2
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.004048b8
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004048b8
lea eax, [ebp - 0x14]
call fcn.00404894
lea eax, [ebp - 0x10]
call fcn.00404894
lea eax, [ebp - 8]
mov edx, 2
call fcn.004048b8
ret
Function at 0x4389e4
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00404894
push 0
movzx eax, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x438a32
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00404b04
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x43db14
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43dc47
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x16], 0
lea eax, [ebp - 0x16]
push eax
call sub.user32.dll_GetKeyboardLayoutNameA
mov dl, 1
mov eax, dword [0x421d38]
call fcn.00421e08
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x43dc1d
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.00421ea8
lea eax, [ebp - 0x20]
lea edx, [ebp - 0x16]
mov ecx, 0xa
call fcn.00404b04
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
mov edx, 0x43dc5c
call fcn.00404bac
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.00421f0c
lea ecx, [ebp - 4]
mov edx, 0x43dc98
mov eax, dword [ebp - 0xc]
call fcn.00422154
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.0040e280
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x43dc00
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x43dca4
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov ebx, eax
call ebx
movzx eax, word [eax + 0x28]
and ax, 1
cmp ax, 1
sete byte [0x4715ac]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43dc07
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FreeLibrary_1
ret

Function at 0x43dcf4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov esi, eax
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movzx ebx, byte [esp + 4]
test bx, bx
je 0x43dd3b
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x43dd1e
add bx, 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x43dd2f
add bx, 0x4000
test byte [esp + 0xb], 0x20
je 0x43dd3b
add bx, 0x8000
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret