joyce8/EMBER2024-capa huggingface dataset:
Function at 0x431672
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30c
push edi
push 0x7d
pop ecx
xor eax, eax
lea edi, [ebp - 0x308]
push 0x45
rep stosd dword es:[edi], eax
pop ecx
lea edi, [ebp - 0x114]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x30c], 0x1f8
push eax
mov dword [ebp - 0x114], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x110], 6
pop edi
jae 0x4316c6
sub dword [ebp - 0x30c], 4
lea eax, [ebp - 0x30c]
push 0
push eax
push 0x1f8
push 0x29
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
lea eax, [ebp - 0x174]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
leave
ret

Function at 0x4359ad
Capabilities:
Create process on windows

Disassembly:
xor eax, eax
push 1
push eax
push eax
push str.http:__megadowl.com_terms_ru.html
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
ret

Function at 0x439a85
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp byte [ebp + 8], 0
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, ecx
push 0x41e
push dword [esi + 0xc]
je 0x439af2
call edi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push eax
call ebx
push 0x41f
push dword [esi + 0xc]
call edi
push 5
push eax
call ebx
push 0x420
push dword [esi + 0xc]
call edi
push 5
push eax
call ebx
push 0x421
push dword [esi + 0xc]
call edi
push 0
push eax
call ebx
mov esi, dword [esi + 0x244]
test esi, esi
je 0x439b2c
mov eax, dword [esi]
push 0xffffffffffffffff
push esi
call dword [eax + 0xa4]
jmp 0x439b2c
call edi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call ebx
push 0x41f
push dword [esi + 0xc]
call edi
push 0
push eax
call ebx
push 0x420
push dword [esi + 0xc]
call edi
push 0
push eax
call ebx
push 0x421
push dword [esi + 0xc]
call edi
push 5
push eax
call ebx
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x43b61c
Capabilities:
Create thread

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
push 8
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
xor edi, edi
pop ecx
cmp eax, edi
je 0x43b636
mov dword [eax], edi
mov dword [eax + 4], edi
jmp 0x43b638
xor eax, eax
mov ecx, dword [esi + 4]
mov ebx, dword [sym.imp.MSVCRT.dll__beginthreadex]
push edi
push edi
push eax
mov dword [eax], ecx
mov ecx, dword [esi + 0xc]
push 0x409ce7
push edi
push edi
mov dword [eax + 4], ecx
call ebx
push 8
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 0x1c
cmp eax, edi
je 0x43b66a
mov dword [eax], edi
mov dword [eax + 4], edi
jmp 0x43b66c
xor eax, eax
mov ecx, dword [esi + 4]
push edi
push edi
push eax
mov dword [eax], ecx
mov ecx, dword [esi + 0xc]
push 0x409caf
push edi
push edi
mov dword [eax + 4], ecx
call ebx
add esp, 0x18
pop edi
pop esi
pop ebx
ret

Function at 0x43ba47
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
push edi
xor edi, edi
mov eax, dword [esi]
push edi
call dword [eax + 0x10]
push 1
mov ecx, esi
call fcn.0043bb15
mov ecx, dword [esi + 0x14]
cmp ecx, edi
je 0x43ba69
mov eax, dword [ecx]
push edi
call dword [eax + 0x10]
push 8
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, edi
pop ecx
je 0x43ba7c
mov dword [eax], edi
mov dword [eax + 4], edi
jmp 0x43ba7e
xor eax, eax
mov ecx, dword [esi + 4]
push edi
push edi
push eax
mov dword [eax], ecx
mov ecx, dword [esi + 0xc]
push 0x409ce7
push edi
push edi
mov dword [eax + 4], ecx
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
pop edi
pop esi
ret

Function at 0x43bdad
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push dword [ebp + 8]
call fcn.00433939
xor eax, eax
push eax
push eax
push esi
push 0x43c200
push eax
push eax
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
push 1
pop eax
pop esi
pop ebp
ret 4

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x405d7e
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x7a1244], 0
push esi
jne 0x405db5
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405d8f
mov dword [ecx*4 + 0x7a1240], eax
inc ecx
cmp ecx, 0x100
jl 0x405d8a
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405de6
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x7a1240]
xor eax, esi
inc ecx
dec edx
jne 0x405dc8
pop edi
not eax
pop esi
ret 0xc

Function at 0x40891f
Capabilities:
Encode data using xor

Disassembly:
push 0x4085d8
pop edx
call fcn.00408959
add ecx, 0x6c246c58
xor dword [edi], edx
add ecx, 1
add esi, 1
add edi, 1
mov esi, ecx
add ecx, 0x149a185d
cmp edi, eax
jne fcn.0040891f
sub ecx, 0x54cfbb82
push esi
pop esi
ret
Function at 0x402acc
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.004040e4
test esi, esi
jne 0x402b02
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.004041d4
jmp 0x402b20
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402980
mov edi, eax
test esi, esi
je 0x402b20
cmp dword [ebx], 0
je 0x402b20
dec esi
jmp 0x402b09
add esp, 0x108
pop edi
pop esi
pop ebx
ret

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

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

Function at 0x403204
Capabilities:
Query or enumerate registry value

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

Function at 0x403f68
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x46c04c], 0
je 0x403fc9
cmp word [0x46c220], 0xd7b2
jne 0x403f91
cmp dword [0x46c228], 0
jbe 0x403f91
mov eax, 0x46c21c
call dword [0x46c238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x46a070
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 0x403ff0
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x46a034], 0
jne 0x403fe5
push 0
push 0x46a068
push 0x46a070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x40612c
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 0x406192
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.00404354
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402d98
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x40617c
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406199
lea eax, [ebp - 0x10]
call fcn.004040e4
ret

Function at 0x40c050
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 0x40c089
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004041d4
jmp 0x40c092
mov eax, ebx
mov edx, esi
call fcn.00404138
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40c744
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40c5bc
mov eax, dword [0x46b33c]
cmp byte [eax], 0
je 0x40c7c0
mov eax, dword [0x46b12c]
call fcn.00402be8
call fcn.004028ac
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.0040918c
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 0x40c808
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40c7f6
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x46b0d4]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x46c668]
call fcn.00405640
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 0x40d0b0
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 0x40d186
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.0040417c
lea eax, [ebp - 8]
call fcn.004045f4
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004045a4
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40d170
mov eax, ebx
call fcn.00402744
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40d169
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.004045a4
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40d153
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40d198
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40d153
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 0x40d170
mov eax, dword [ebp - 0x10]
call fcn.00402764
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d18d
lea eax, [ebp - 8]
call fcn.004040e4
ret

Function at 0x40d690
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 0x40d6f4
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.00404354
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408ad8
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d6fb
lea eax, [ebp - 0xc]
call fcn.004040e4
ret

Function at 0x41f1d4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x46c888
cmp dword [edi], 0
jne 0x41f250
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x46c884]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x46a480
mov ecx, 2
call fcn.00402940
mov edx, 0x41f1ac
lea eax, [esi + 5]
call fcn.0041f1cc
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041f1cc
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 0x41f225
mov dword [0x46c884], 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 0x41fed4
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 0x41ff38
push dword fs:[edx]
mov dword fs:[edx], esp
push 6
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.00404354
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408ad8
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41ff3f
lea eax, [ebp - 0xc]
call fcn.004040e4
ret

Function at 0x41ff48
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffec
mov esi, edx
lea edi, [esp + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, dword [esp + 8]
test ebx, ebx
je 0x41ffa4
push esp
push 0x40
push 6
push ebx
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x41ff73
call fcn.0040dc70
mov edx, dword [esp + 8]
lea eax, [esp + 0xc]
mov ecx, 6
call fcn.00402940
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 4]
push eax
push 6
mov eax, dword [esp + 0x14]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x41ffa4
call fcn.0040dc70
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0x420bc4
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x40e7ec]
call fcn.00404b78
xor eax, eax
push ebp
push 0x420d08
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x46a4c0], 0
jne 0x420c17
mov ecx, dword [0x46b00c]
mov dl, 1
mov eax, dword [0x4075d4]
call fcn.0040c8d4
call fcn.00403b20
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00402d5c
mov eax, ebx
call fcn.004049c4
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x420d18
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00405c10
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.004049d4
test eax, eax
jle 0x420caf
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x420ca8
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.0040436c
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404354
mov eax, dword [ebp - 0x48]
pop edx
call fcn.004084f4
test eax, eax
jne 0x420ca8
mov ebx, 0x15
jmp 0x420cb4
mov ebx, 0x10
jmp 0x420cb4
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x46a4c0]
call fcn.00420b1c
mov eax, dword [ebp - 8]
call fcn.00420b1c
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00405c28
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x420d0f
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404108
lea eax, [ebp - 0x10]
mov edx, dword [0x40e7ec]
call fcn.00404c48
ret

Function at 0x423254
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.00422e30
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.004045a4
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x4232b2
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x46b250]
mov dl, 1
mov eax, dword [0x422d28]
call fcn.0040c910
call fcn.00403b20
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4232bc
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.004045a4
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x423314
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x46b464]
mov dl, 1
mov eax, dword [0x422d28]
call fcn.0040c910
call fcn.00403b20
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00422e60
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 0x4245e4
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 0x4245ea
ret

Function at 0x426aa8
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 0x426af9
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x426ae0
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x426ad0
jmp 0x426af9
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 0x426ae1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4303e0
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 0x43032c
call sub.user32.dll_EnumWindows
ret

Function at 0x430500
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 0x43057d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0042ff60
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 0x430525
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0042fb60
cmp dword [ebp - 4], 0
je 0x430567
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.004045a4
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 0x430584
lea eax, [ebp - 4]
call fcn.004040e4
ret

Function at 0x439e0c
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 [0x46ccb8], 0
je 0x439f5b
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x46b2d0]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x439f5b
mov eax, dword [0x46ccbc]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x46ccb8]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x439f2a
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x46ccb8]
call fcn.00418630
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x439f22
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x439f22
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x439f22
mov eax, dword [ebp - 0x14]
call fcn.00442b1c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x439f22
push ebp
call fcn.00439dc8
pop ecx
test al, al
jne 0x439f22
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x439ede
mov eax, dword [ebp - 0x14]
call fcn.00441614
dec eax
jle 0x439f22
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.00403590
cmp byte [ebp - 1], 0
je 0x439f22
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x439f22
mov edx, dword [ebp - 0x14]
mov eax, dword [0x46ccbc]
call fcn.00439594
inc edi
dec ebx
jne 0x439e71
mov eax, dword [0x46ccbc]
cmp dword [eax + 8], 0
jle 0x439f42
mov eax, dword [0x46ccbc]
call fcn.00439624
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x439f5b
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00439c30
pop ecx
test al, al
jne 0x439f5b
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 0x43d53c
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 0x43d588
mov eax, esi
call fcn.00452fec
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x43d588
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x43d588
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 0x43d6c7
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x43d5c8
cmp eax, 0x108
ja 0x43d5c8
mov eax, esi
call fcn.00452fec
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x43d6be
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x43d6c7
jmp 0x43d6be
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x43d6a7
cmp eax, 0x20a
ja 0x43d6a7
test byte [esi + 0x50], 0x80
jne 0x43d5fa
sub eax, 0x203
je 0x43d5f7
sub eax, 3
je 0x43d5f7
sub eax, 3
jne 0x43d5fa
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x43d60e
dec eax
je 0x43d623
dec eax
je 0x43d640
dec eax
je 0x43d623
jmp 0x43d647
mov ecx, ebx
mov eax, dword [0x46b2d0]
mov eax, dword [eax]
mov edx, esi
call fcn.0045c7c0
jmp 0x43d6be
cmp byte [esi + 0x5d], 1
jne 0x43d639
mov eax, esi
mov si, 0xffed
call fcn.00403590
jmp 0x43d6c7
or word [esi + 0x54], 1
jmp 0x43d6be
and word [esi + 0x54], 0xfffe
jmp 0x43d6be
mov eax, dword [0x46cc74]
cmp byte [eax + 0x20], 0
je 0x43d6be
mov eax, dword [0x46cc74]
cmp dword [eax + 0x1c], 0
je 0x43d6be
mov eax, dword [ebx]
mov edx, dword [0x46cc74]
cmp eax, dword [edx + 0x1c]
jne 0x43d6be
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.00452f30
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.00403590
jmp 0x43d6c7
cmp eax, 0xb00b
jne 0x43d6be
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.0043be5c
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