joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5f07e0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 0xc], 0
jmp 0x5f0805
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp + 0xc]
jae 0x5f0878
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0xc]
movzx ecx, byte [eax]
movzx edx, byte [ebp - 8]
xor ecx, edx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 8]
shr eax, 8
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], 0
jmp 0x5f083a
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 8
jge 0x5f086d
mov edx, dword [ebp - 0x10]
and edx, 1
neg edx
sbb edx, edx
neg edx
mov byte [ebp - 0x15], dl
mov eax, dword [ebp - 0x10]
shr eax, 1
mov dword [ebp - 0x10], eax
movzx ecx, byte [ebp - 0x15]
test ecx, ecx
je 0x5f086b
mov edx, dword [ebp - 0x10]
xor edx, 0xedb88320
mov dword [ebp - 0x10], edx
jmp 0x5f0831
mov eax, dword [ebp - 8]
xor eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
jmp 0x5f07fc
mov eax, dword [ebp - 8]
not eax
mov esp, ebp
pop ebp
ret
Function at 0x4073c8
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov edi, edx
mov esi, eax
mov ebp, dword [esi + 0x10]
mov eax, esi
call fcn.00407888
mov byte [esp], al
cmp byte [esp], 0
jne 0x407551
test edi, edi
je 0x407551
mov byte [esp + 1], 0
test ebp, ebp
jle 0x407491
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 0xc], eax
test ebp, ebp
jle 0x40746c
cmp edi, 0xffffffff
je 0x40742d
call sub.kernel32.dll_GetTickCount
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x40742d
mov byte [esp], 0
jmp 0x407551
cmp dword [esi], 1
jg 0x40746c
cmp dword [esi], 0
jne 0x40745e
xor eax, eax
mov edx, 1
lock cmpxchg dword [esi], edx
test eax, eax
jne 0x40745e
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov byte [esp], 1
jmp 0x407551
lea eax, [esp + 0xc]
call fcn.004070a8
dec ebp
test ebp, ebp
jg 0x407412
cmp edi, 0xffffffff
je 0x407491
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x40748f
mov byte [esp], 0
jmp 0x407551
sub edi, eax
mov ebx, dword [esi]
test ebx, ebx
je 0x4073d6
lea edx, [ebx + 2]
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x407491
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
mov eax, esi
call fcn.004075cc
mov edx, eax
mov ebx, dword [0x78d8fc]
mov ecx, edi
xor eax, eax
call dword [ebx + 0x10]
test eax, eax
sete byte [esp]
cmp edi, 0xffffffff
je 0x4074f5
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
jbe 0x4074f3
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
sub edi, eax
jmp 0x4074f5
xor edi, edi
cmp byte [esp], 0
je 0x40751b
mov ebx, dword [esi]
test bl, 1
jne 0x407531
mov edx, ebx
sub edx, 2
or edx, 1
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x4074fb
mov byte [esp + 1], 1
jmp 0x407531
mov ebx, dword [esi]
mov edx, ebx
sub edx, 2
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x40751b
mov byte [esp + 1], 1
cmp byte [esp + 1], 0
je 0x4074a8
cmp byte [esp], 0
je 0x407551
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
movzx eax, byte [esp]
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x408410
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x78d05c], 0
je 0x408477
cmp word [0x78d348], 0xd7b2
jne 0x408439
cmp dword [0x78d350], 0
jbe 0x408439
mov eax, 0x78d344
call dword [0x78d360]
push 0
lea eax, [esp + 4]
push eax
push 0x1d
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
mov eax, 0x4084a4
call fcn.0040925c
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x781032], 0
jne 0x408493
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x408674
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 0x10]
cmp dword [0x781034], 0
je 0x40869f
mov edx, edi
mov eax, esi
call dword [0x781034]
mov ebx, eax
jmp 0x4086b0
mov eax, 8
call fcn.004054b4
mov ebx, eax
mov dword [ebx], esi
mov dword [ebx + 4], edi
mov byte [0x78d05d], 1
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
push ebx
mov eax, 0x40863c
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_CreateThread
mov esi, eax
test esi, esi
jne 0x4086e0
mov eax, ebx
call fcn.004054d0
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 0xc

Function at 0x40c294
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe98
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x160], ecx
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x168], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x40c3f9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004087b4
cmp si, word [0x781a10]
jb 0x40c32c
cmp si, word [0x781c10]
ja 0x40c32c
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x40c32c
mov ebx, edi
add ebx, dword [ebp - 8]
shr ebx, 1
cmp si, word [ebx*8 + 0x781a10]
jae 0x40c306
mov edi, ebx
dec edi
jmp 0x40c327
cmp si, word [ebx*8 + 0x781a10]
jbe 0x40c316
inc ebx
mov dword [ebp - 8], ebx
jmp 0x40c327
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x781a14]
call fcn.0040c1b4
jmp 0x40c32c
cmp edi, dword [ebp - 8]
jae 0x40c2f0
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x40c3db
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40c3db
push 0x55
lea eax, [ebp - 0xb2]
push eax
push 0x59
movzx ebx, si
push ebx
call sub.kernel32.dll_GetLocaleInfoW
push 0x55
lea eax, [ebp - 0x15c]
push eax
push 0x5a
push ebx
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x160]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.00409924
push dword [ebp - 0x160]
push 0x40c414
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.00409924
push dword [ebp - 0x164]
push 0x40c424
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.00409924
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.00409b5c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c400
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.00408814
ret
Function at 0x40c5ac
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40c6b0
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x78fc14
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x78fc2c]
jne 0x40c5f8
mov eax, esi
mov edx, 0x78fc2e
mov ecx, 0x55
call fcn.00409924
push 0x78fc14
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x40c69a
push 0x78fc14
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
call fcn.004087b4
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40c667
cmp byte [0x78fc10], 0
je 0x40c62c
mov edx, esi
mov eax, ebx
call fcn.0040c490
jmp 0x40c667
mov edx, esi
mov eax, ebx
call fcn.0040c294
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x40c667
cmp dword [esi], 0
je 0x40c650
mov eax, esi
mov edx, 0x40c6c8
call fcn.00409a7c
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.0040c294
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.00409a7c
push 0x78fc14
call sub.kernel32.dll_EnterCriticalSection
mov word [0x78fc2c], bx
mov eax, dword [esi]
call fcn.00409868
mov ecx, eax
mov eax, 0x78fc2e
mov edx, 0xaa
call fcn.0040c114
push 0x78fc14
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c6b7
lea eax, [ebp - 4]
call fcn.004087b4
ret
Function at 0x40ce0c
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00408898
xor eax, eax
push ebp
push 0x40cecc
push dword fs:[eax]
mov dword fs:[eax], esp
push 4
lea eax, [ebp - 0xc]
push eax
push 3
call sub.kernel32.dll_GetUserDefaultUILanguage
movzx eax, ax
push eax
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.00409924
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00409ad4
mov eax, dword [ebx]
call fcn.0040ccbc
test al, al
jne 0x40cea9
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.00409924
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00409ad4
mov eax, dword [ebx]
call fcn.0040ccbc
test al, al
jne 0x40cea9
mov eax, ebx
call fcn.004087b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ced3
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00408814
lea eax, [ebp - 4]
call fcn.004087b4
ret

Function at 0x40e9dc
Capabilities:
Get system information on windows

Disassembly:
add esp, 0xffffffdc
push esp
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [esp + 0x14]
add esp, 0x24
ret

Function at 0x41410c
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffdf8
mov ebx, eax
push 0x104
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemDirectoryW
mov edx, ebx
mov eax, esp
call fcn.004140f8
add esp, 0x208
pop ebx
ret

Function at 0x420d18
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x420d71
test eax, edx
je 0x420d74
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x420d2f
movzx eax, word [eax]
sub eax, ecx
jmp 0x420d56
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]
shl ecx, 1
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x420d57
add ecx, 4
js 0x420d47
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x420d54
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x420d56
xor eax, eax
ret
test eax, eax
je 0x420d80
test edx, edx
jne 0x420d20
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x4222ac
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [esi]
add eax, edi
push eax
push ebx
call sub.kernel32.dll_ReadFile
test eax, eax
jne 0x4222d9
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 4
Function at 0x4223ac
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, esi
call fcn.00409868
mov edi, eax
push edi
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x422416
test ah, 4
je 0x42240f
test bl, bl
jne 0x4223d4
mov al, 1
jmp 0x42243d
test al, 0x10
je 0x4223dc
xor eax, eax
jmp 0x42243d
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push edi
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x422400
push eax
call sub.kernel32.dll_CloseHandle
mov al, 1
jmp 0x42243d
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 0x20
sete al
jmp 0x42243d
test al, 0x10
sete al
jmp 0x42243d
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 2
je 0x422437
cmp ebx, 3
je 0x422437
cmp ebx, 0x7b
je 0x422437
mov eax, esi
call fcn.0042236c
test al, al
jne 0x42243b
xor eax, eax
jmp 0x42243d
mov al, 1
pop edi
pop esi
pop ebx
ret

Function at 0x422524
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes

Disassembly:
push ebx
push esi
push edi
push ebp
mov esi, eax
mov eax, esi
call fcn.00409868
mov ebp, eax
push ebp
call sub.kernel32.dll_DeleteFileW
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x422579
call sub.kernel32.dll_GetLastError
mov edi, eax
push ebp
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x422573
test ah, 4
je 0x422573
test al, 0x10
je 0x422573
mov eax, esi
call fcn.00409868
push eax
call sub.kernel32.dll_RemoveDirectoryW
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x422579
push edi
call sub.kernel32.dll_SetLastError
mov eax, ebx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x426f50
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x200]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW
test eax, eax
jle 0x426f89
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.0040893c
jmp 0x426f92
mov eax, ebx
mov edx, esi
call fcn.00408b94
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x426f9c
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov edi, ecx
mov esi, edx
mov ebx, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push ebx
call sub.kernel32.dll_GetLocaleInfoW
test eax, eax
jle 0x426fbe
movzx eax, word [esp]
jmp 0x426fc0
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x428010
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff778
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
xor ecx, ecx
push ebp
push 0x428135
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00427e18
mov esi, eax
mov eax, dword [0x78bd98]
cmp byte [eax], 0
je 0x4280dd
mov eax, dword [0x78b8d8]
call fcn.00405cd8
call fcn.00405628
push 0
push 0
push 0
push 0
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x427fe0]
call fcn.0040b998
add esp, 4
push 0
push 0
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x428150
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
jmp 0x428119
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x78b828]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x790634]
call fcn.0040bdb8
push eax
call sub.user32.dll_LoadStringW
push 0x2010
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x888]
push eax
push 0
call sub.user32.dll_MessageBoxW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42813c
lea eax, [ebp - 4]
mov edx, dword [0x427fe0]
call fcn.0040babc
ret
Function at 0x428ef8
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 0x428fce
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00408bdc
lea eax, [ebp - 4]
call fcn.00408d70
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00409868
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x428fb8
mov eax, ebx
call fcn.004054b4
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x428fb1
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.00409868
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x428f9b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x428fe0
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x428f9b
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 0x428fb8
mov eax, dword [ebp - 0x10]
call fcn.004054d0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x428fd5
lea eax, [ebp - 4]
call fcn.004087b4
ret

Function at 0x428fe4
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4290e4
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00408bdc
lea eax, [ebp - 4]
call fcn.00408d70
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00409868
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x4290ce
mov eax, ebx
call fcn.004054b4
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x4290c7
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00409868
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x4290b1
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4290f8
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x4290b1
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x10]
shr eax, 0x10
movzx eax, ax
mov dword [esi], eax
mov eax, dword [ebp - 0x14]
movzx eax, word [eax + 0x10]
mov dword [edi], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x14]
shr eax, 0x10
movzx eax, ax
mov edx, dword [ebp + 8]
mov dword [edx], eax
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4290ce
mov eax, dword [ebp - 0x10]
call fcn.004054d0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4290eb
lea eax, [ebp - 4]
call fcn.004087b4
ret
Function at 0x470064
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]
movzx eax, byte [eax + 0xf]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x4700b2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xf], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.0046fb10
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4700cb
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4700d4
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 8]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.0046fb10
dec esi
jne 0x4700f6
mov byte [ebx + 0xf], 0
pop esi
pop ebx
ret

Function at 0x4727c0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x7929cc
cmp dword [edi], 0
jne 0x47283c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc
mov esi, eax
mov eax, dword [0x7929c8]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x7836f4
mov ecx, 2
call fcn.004056f4
mov edx, 0x472798
lea eax, [esi + 5]
call fcn.004727b8
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.004727b8
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 0x472811
mov dword [0x7929c8], 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 0x4b54e4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov dl, 0xb5
mov ebx, eax
xor eax, eax
mov ecx, eax
mov esi, ebx
shr esi, cl
mov ecx, esi
and cl, 0xff
xor dl, cl
inc eax
cmp eax, 4
jne 0x4b54ec
mov eax, edx
pop esi
pop ebx
ret

Function at 0x4cc780
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.00409868
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov edx, eax
mov eax, ebx
call fcn.004cc254
test al, al
jne 0x4cc7e1
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x78c020]
mov dl, 1
mov eax, dword [0x4caf88]
call fcn.00428278
call fcn.00407e74
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004cc1bc
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 0x4d54c4
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 0x4d54ca
ret
Function at 0x4f2a28
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov ecx, 0x7867b8
test edx, edx
jne 0x4f2a47
xor eax, eax
jmp 0x4f2b65
mov dword [ebp - 4], 1
cmp byte [ebp - 4], 0
je 0x4f2a64
push esi
push edx
push eax
call fcn.004f2b88
add esp, 0xc
jmp 0x4f2b65
push esi
push edx
push eax
call fcn.004f2e48
add esp, 0xc
jmp 0x4f2b65
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x500a50
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 - 0xc]
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 [0x793050], 0
je 0x500b91
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x78bcb4]
mov edx, dword [edx]
xor al, byte [edx + 0xd4]
je 0x500b91
mov eax, dword [0x793054]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x793050]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x500b60
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x793050]
call fcn.0045d288
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x500b58
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x215], 0
je 0x500b58
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x78]
test al, al
je 0x500b58
mov eax, dword [ebp - 0x14]
call fcn.0050c9d0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x500b58
push ebp
call fcn.00500a0c
pop ecx
test al, al
jne 0x500b58
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffb8
call fcn.00406d40
test al, al
je 0x500b58
mov byte [ebp - 1], 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffb9
call fcn.00406d40
cmp byte [ebp - 1], 0
je 0x500b58
lea edx, [ebp - 0xc]
lea eax, [ebp - 0x28]
call fcn.00410bd0
test al, al
je 0x500b58
mov edx, dword [ebp - 0x14]
mov eax, dword [0x793054]
call fcn.0050017c
inc edi
dec ebx
jne 0x500ab5
mov eax, dword [0x793054]
cmp dword [eax + 8], 0
jle 0x500b78
mov eax, dword [0x793054]
call fcn.00500230
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x500b91
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00500874
pop ecx
test al, al
jne 0x500b91
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