joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10cb7058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.10cb71a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x10cb707e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x10cb706a
add dl, dl
jne 0x10cb7089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x10cb70dc
xor eax, eax
add dl, dl
jne 0x10cb7096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x10cb717d
add dl, dl
jne 0x10cb70a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10cb70b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10cb70bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10cb70c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x10cb70d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x10cb7075
mov eax, 1
add dl, dl
jne 0x10cb70ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10cb70f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10cb70e1
sub eax, ebx
mov ebx, 1
jne 0x10cb7128
mov ecx, 1
add dl, dl
jne 0x10cb710e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x10cb7119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10cb7105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10cb7075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x10cb713f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x10cb714a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10cb7136
cmp eax, 0x7d00
jae 0x10cb716d
cmp eax, 0x500
jb 0x10cb7168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10cb7075
cmp eax, 0x7f
ja 0x10cb7170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10cb7075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x10cb719e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x10cb7075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x100134e6
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc ebp
lcall 0xc635, 0x9b45c633
inc ebp
pushfd
xor al, 0xc6
inc ebp
popfd
and dh, al
inc ebp
sahf
sub eax, 0x119f45c6
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.10013122
push eax
push esi
push dword [ebp + 8]
call fcn.100130d7
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.10013122
push eax
push esi
push dword [ebp + 8]
call fcn.100130d7
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.10013112
loopne 0x10013582
mov ecx, 0x7c9d880e
invalid
Function at 0x1b40cf0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x11f3000]
add word [edi + 0x17494e8], 8
push edi
or ebp, 0xffffffff
jmp 0x1b40d1a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1b40d21
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1b40d10
mov eax, 1
add ebx, ebx
jne 0x1b40d33
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1b40d44
jne 0x1b40d54
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1b40d54
dec eax
add ebx, ebx
jne 0x1b40d50
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x1b40d28
xor ecx, ecx
sub eax, 3
jb 0x1b40d6c
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1b40dde
sar eax, 1
mov ebp, eax
jmp 0x1b40d77
add ebx, ebx
jne 0x1b40d77
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x1b40d84
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x1b40da8
inc ecx
add ebx, ebx
jne 0x1b40d94
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1b40d89
jne 0x1b40da5
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1b40d89
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1b40dc8
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1b40db9
jmp 0x1b40d16
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1b40dc8
add edi, ecx
jmp 0x1b40d16
pop esi
mov edi, esi
mov ecx, 0x4e89bf
mov al, 0xe8
repne scasb al, byte es:[edi]
jne 0x1b40e03
cmp byte [edi], 0x34
jne 0x1b40de8
mov eax, dword [edi]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
add eax, esi
stosd dword es:[edi], eax
jmp 0x1b40de6
lea edi, [esi + 0x1701000]
mov eax, dword [edi]
or eax, eax
je 0x1b40e4b
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1749808]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1749934]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1b40e09
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1749938]
or eax, eax
je 0x1b40e45
mov dword [ebx], eax
add ebx, 4
jmp 0x1b40e26
call dword [esi + 0x1749948]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x1b40e7c
cmp al, 0xef
ja 0x1b40e6f
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x1b40e51
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x1b40e5e
mov ebp, dword [esi + 0x174993c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x1b40eb0
sub esp, 0xffffff80
jmp 0x949b6c
Function at 0x40310c
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebx
push esi
add esp, 0xfffffdf0
mov esi, edx
mov ebx, eax
test bl, bl
je 0x403149
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 + 0x109]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryA
push esp
call sub.kernel32.dll_SetCurrentDirectoryA
lea eax, [esp + 4]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryA
test bl, bl
je 0x403169
lea eax, [esp + 0x109]
push eax
call sub.kernel32.dll_SetCurrentDirectoryA
mov eax, esi
lea edx, [esp + 4]
mov ecx, 0x105
call fcn.00405728
add esp, 0x210
pop esi
pop ebx
ret

Function at 0x403348
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4033a1
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
call sub.kernel32.dll_GetCommandLineA
lea edx, [ebp - 8]
call fcn.004031e4
mov dword [ebp - 4], eax
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004031e4
mov dword [ebp - 4], eax
cmp dword [ebp - 8], 0
je 0x40338b
inc ebx
jmp 0x403374
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4033a8
lea eax, [ebp - 8]
call fcn.004054a8
ret

Function at 0x4033b0
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.004054a8
test esi, esi
jne 0x4033e7
push 0x105
lea eax, [esp + 8]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
lea edx, [esp + 4]
mov eax, ebx
call fcn.00405598
jmp 0x403408
call sub.kernel32.dll_GetCommandLineA
mov dword [esp], eax
mov edx, ebx
mov eax, dword [esp]
call fcn.004031e4
mov dword [esp], eax
test esi, esi
je 0x403408
cmp dword [ebx], 0
je 0x403408
dec esi
jmp 0x4033ef
add esp, 0x10c
pop esi
pop ebx
ret

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

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

Function at 0x4044a4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x4f0024]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x40453c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x40451c
xor eax, eax
push ebp
push 0x404515
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 0x404558
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 0x40451c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x4f0024]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x4f0024], ax
mov esp, ebp
pop ebp
ret
Function at 0x405280
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4f804c], 0
je 0x4052e1
cmp word [0x4f8220], 0xd7b2
jne 0x4052a9
cmp dword [0x4f8228], 0
jbe 0x4052a9
mov eax, 0x4f821c
call dword [0x4f8238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x4f0094
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 0x405308
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4f0034], 0
jne 0x4052fd
push 0
push 0x4f008c
push 0x4f0094
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x40545c
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.00402e98
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x4f804d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x405424
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x407688
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 0x4076ee
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.00405728
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00403edc
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4076d8
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4076f5
lea eax, [ebp - 0x10]
call fcn.004054a8
ret

Function at 0x40ca8c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00405978
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x40caa5
test al, 0x10
jne 0x40caa9
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40f7dc
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 0x40f815
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00405598
jmp 0x40f81e
mov eax, ebx
mov edx, esi
call fcn.004054fc
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x410854
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 0x41092a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00405540
lea eax, [ebp - 8]
call fcn.004059c8
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00405978
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x410914
mov eax, ebx
call fcn.00402e98
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x41090d
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.00405978
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x4108f7
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x41093c
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4108f7
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 0x410914
mov eax, dword [ebp - 0x10]
call fcn.00402ec8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x410931
lea eax, [ebp - 8]
call fcn.004054a8
ret
Function at 0x410ed4
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 0x410f38
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.00405728
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.0040c6ec
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x410f3f
lea eax, [ebp - 0xc]
call fcn.004054a8
ret

Function at 0x42711c
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov al, byte [eax + 0xe]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x427169
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xe], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.00426f0c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x427181
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x427188
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.00426f0c
dec esi
jne 0x4271aa
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x4282ec
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4faab0
cmp dword [edi], 0
jne 0x428368
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4faaac]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4f0ce0
mov ecx, 2
call fcn.004031a4
mov edx, 0x4282c4
lea eax, [esi + 5]
call fcn.004282e4
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.004282e4
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 0x42833d
mov dword [0x4faaac], 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 0x4299d4
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 0x4299da
ret
Function at 0x42c044
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 0x42c095
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x42c07c
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x42c06c
jmp 0x42c095
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 0x42c07d
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43be88
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.0043b818
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.00405978
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x43bee6
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4f7278]
mov dl, 1
mov eax, dword [0x43b6a4]
call fcn.004100ac
call fcn.00404e18
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x43bef0
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.00405978
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x43bf48
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4f7604]
mov dl, 1
mov eax, dword [0x43b6a4]
call fcn.004100ac
call fcn.00404e18
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0043b848
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 0x441ff0
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 0x441f3c
call sub.user32.dll_EnumWindows
ret

Function at 0x442110
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 0x44218d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00441b70
call sub.kernel32.dll_GetTickCount_1
mov ebx, eax
push 0
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount_1
sub eax, ebx
cmp eax, 0x3e8
jbe 0x442135
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.00441770
cmp dword [ebp - 4], 0
je 0x442177
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00405978
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 0x442194
lea eax, [ebp - 4]
call fcn.004054a8
ret
Function at 0x4454c0
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 [0x4fad80], 0
je 0x44560f
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x4f7348]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x44560f
mov eax, dword [0x4fad84]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x4fad80]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x4455de
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x4fad80]
call fcn.0041f04c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x4455d6
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x4455d6
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x4455d6
mov eax, dword [ebp - 0x14]
call fcn.0044e190
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4455d6
push ebp
call fcn.0044547c
pop ecx
test al, al
jne 0x4455d6
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x445592
mov eax, dword [ebp - 0x14]
call fcn.0044cc88
dec eax
jle 0x4455d6
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.00404840
cmp byte [ebp - 1], 0
je 0x4455d6
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x4455d6
mov edx, dword [ebp - 0x14]
mov eax, dword [0x4fad84]
call fcn.00444c48
inc edi
dec ebx
jne 0x445525
mov eax, dword [0x4fad84]
cmp dword [eax + 8], 0
jle 0x4455f6
mov eax, dword [0x4fad84]
call fcn.00444cd8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x44560f
push ebp
mov eax, dword [ebp - 0x18]
call fcn.004452e4
pop ecx
test al, al
jne 0x44560f
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
Function at 0x448bf0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x448c3c
mov eax, esi
call fcn.0045eb88
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x448c3c
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x448c3c
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x448d7b
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x448c7c
cmp eax, 0x108
ja 0x448c7c
mov eax, esi
call fcn.0045eb88
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x448d72
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x448d7b
jmp 0x448d72
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x448d5b
cmp eax, 0x20a
ja 0x448d5b
test byte [esi + 0x50], 0x80
jne 0x448cae
sub eax, 0x203
je 0x448cab
sub eax, 3
je 0x448cab
sub eax, 3
jne 0x448cae
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x448cc2
dec eax
je 0x448cd7
dec eax
je 0x448cf4
dec eax
je 0x448cd7
jmp 0x448cfb
mov ecx, ebx
mov eax, dword [0x4f7348]
mov eax, dword [eax]
mov edx, esi
call fcn.004685bc
jmp 0x448d72
cmp byte [esi + 0x5d], 1
jne 0x448ced
mov eax, esi
mov si, 0xffed
call fcn.00404840
jmp 0x448d7b
or word [esi + 0x54], 1
jmp 0x448d72
and word [esi + 0x54], 0xfffe
jmp 0x448d72
mov eax, dword [0x4fad3c]
cmp byte [eax + 0x20], 0
je 0x448d72
mov eax, dword [0x4fad3c]
cmp dword [eax + 0x1c], 0
je 0x448d72
mov eax, dword [ebx]
mov edx, dword [0x4fad3c]
cmp eax, dword [edx + 0x1c]
jne 0x448d72
lea eax, [ebp - 0x114]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.0045eacc
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.00404840
jmp 0x448d7b
cmp eax, 0xb00b
jne 0x448d72
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.00447510
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret