joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4073a4
Capabilities:
Terminate process

Disassembly:
push ecx
push ebx
push esi
push edi
mov ebx, 0x536b98
cmp dword [ebp + 0xc], 2
jl 0x4073b8
mov ebx, 0x536bc8
mov esi, ebx
lea edi, [ebp - 0x40]
mov ecx, 0xc
rep movsd dword es:[edi], dword [esi]
pop dword [ebx + 0x20]
pop dword [ebx + 0x1c]
pop dword [ebx + 0x18]
mov dword [ebx + 0x14], ebp
mov dword [ebx + 8], eax
mov dword [ebx + 0x10], edx
lea ecx, [ebp - 0x40]
mov dword [ebx], ecx
call sub.kernel32.dll_GetCurrentThreadId
mov dword [ebx + 0x2c], eax
mov eax, dword [ebx + 8]
xor ecx, ecx
cmp dword [ebp + 0xc], 0
jne 0x4073f0
mov ecx, dword [eax]
mov dword [ebx + 0xc], ecx
mov eax, 0x4036bc
mov dword [0x53401c], eax
mov eax, 0x4036c4
mov dword [0x534020], eax
mov eax, ebx
call fcn.00407288
mov eax, dword [ebp + 0xc]
inc eax
mov byte [ebx + 0x28], al
dec eax
pop ecx
mov edx, dword [ecx]
mov dword [ebx + 0x24], edx
je 0x407425
cmp al, 3
jge 0x407425
call dword [ecx + eax*4]
push ecx
mov ecx, dword [esp + 8]
test ecx, ecx
je 0x407436
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
call ecx
pop ecx
mov eax, dword [ebp + 0xc]
cmp al, 3
jl 0x407441
call dword [ecx + eax*4]
cmp dword [0x534040], 0
jne 0x407457
mov byte [0x534048], 1
fnstcw word [0x50c024]
mov eax, dword [ebp + 0xc]
dec eax
jne fcn.004076f0
call fcn.00407338
ret 4

Function at 0x407658
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x534058], 0
je 0x4076bf
cmp word [0x534344], 0xd7b2
jne 0x407681
cmp dword [0x53434c], 0
jbe 0x407681
mov eax, 0x534340
call dword [0x53435c]
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, 0x4076ec
call fcn.00408160
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x50c02e], 0
jne 0x4076db
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x407880
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 [0x50c030], 0
je 0x4078ab
mov edx, edi
mov eax, esi
call dword [0x50c030]
mov ebx, eax
jmp 0x4078bc
mov eax, 8
call fcn.004053f4
mov ebx, eax
mov dword [ebx], esi
mov dword [ebx + 4], edi
mov byte [0x534059], 1
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
push ebx
mov eax, 0x407848
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 0x4078ec
mov eax, ebx
call fcn.00405410
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 0xc
Function at 0x40a3f4
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 0x40a559
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004079c0
cmp si, word [0x50ca00]
jb 0x40a48c
cmp si, word [0x50cc00]
ja 0x40a48c
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x40a48c
mov ebx, edi
add ebx, dword [ebp - 8]
shr ebx, 1
cmp si, word [ebx*8 + 0x50ca00]
jae 0x40a466
mov edi, ebx
dec edi
jmp 0x40a487
cmp si, word [ebx*8 + 0x50ca00]
jbe 0x40a476
inc ebx
mov dword [ebp - 8], ebx
jmp 0x40a487
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x50ca04]
call fcn.0040a314
jmp 0x40a48c
cmp edi, dword [ebp - 8]
jae 0x40a450
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x40a53b
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40a53b
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.00408500
push dword [ebp - 0x160]
push 0x40a574
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.00408500
push dword [ebp - 0x164]
push 0x40a584
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.00408500
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.00408738
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40a560
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.00407a20
ret
Function at 0x40a70c
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 0x40a810
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x536c10
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x536c28]
jne 0x40a758
mov eax, esi
mov edx, 0x536c2a
mov ecx, 0x55
call fcn.00408500
push 0x536c10
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x40a7fa
push 0x536c10
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
call fcn.004079c0
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40a7c7
cmp byte [0x536c0c], 0
je 0x40a78c
mov edx, esi
mov eax, ebx
call fcn.0040a5f0
jmp 0x40a7c7
mov edx, esi
mov eax, ebx
call fcn.0040a3f4
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x40a7c7
cmp dword [esi], 0
je 0x40a7b0
mov eax, esi
mov edx, 0x40a828
call fcn.00408658
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.0040a3f4
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.00408658
push 0x536c10
call sub.kernel32.dll_EnterCriticalSection
mov word [0x536c28], bx
mov eax, dword [esi]
call fcn.0040845c
mov ecx, eax
mov eax, 0x536c2a
mov edx, 0xaa
call fcn.0040a274
push 0x536c10
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40a817
lea eax, [ebp - 4]
call fcn.004079c0
ret
Function at 0x40aa40
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00407aa4
xor eax, eax
push ebp
push 0x40ac65
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x40aa80
push 0x105
lea eax, [ebp - 0x21a]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
jmp 0x40aa9a
mov eax, dword [ebp - 4]
call fcn.0040845c
mov ecx, eax
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.0040a274
cmp word [ebp - 0x21a], 0
je 0x40ac4f
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40ac74
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40ab69
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40ac74
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40ab69
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40acb0
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40ab69
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40acb0
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40ab69
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40ace4
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40ab69
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40ad18
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x40ac4f
xor eax, eax
push ebp
push 0x40ac48
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.0040a850
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x21a]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x40abd8
mov eax, dword [ebp - 0x10]
call fcn.004053f4
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
lea eax, [ebp - 0x21a]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.004084c4
jmp 0x40ac23
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0x40ad58
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x40ac23
mov eax, dword [ebp - 0x10]
call fcn.004053f4
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
push 0x40ad58
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.004084c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ac4f
cmp dword [ebp - 8], 0
je 0x40ac3e
mov eax, dword [ebp - 8]
call fcn.00405410
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ac6c
lea eax, [ebp - 4]
call fcn.004079c0
ret
Function at 0x40af54
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.00407aa4
xor eax, eax
push ebp
push 0x40b014
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.00408500
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.004086b0
mov eax, dword [ebx]
call fcn.0040ae1c
test al, al
jne 0x40aff1
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.00408500
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.004086b0
mov eax, dword [ebx]
call fcn.0040ae1c
test al, al
jne 0x40aff1
mov eax, ebx
call fcn.004079c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40b01b
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00407a20
lea eax, [ebp - 4]
call fcn.004079c0
ret

Function at 0x40c808
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 0x41ad40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x41ad99
test eax, edx
je 0x41ad9c
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x41ad57
movzx eax, word [eax]
sub eax, ecx
jmp 0x41ad7e
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 0x41ad7f
add ecx, 4
js 0x41ad6f
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x41ad7c
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x41ad7e
xor eax, eax
ret
test eax, eax
je 0x41ada8
test edx, edx
jne 0x41ad48
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x41beb4
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 0x41bee1
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 4

Function at 0x41f9c4
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_1
test eax, eax
jle 0x41f9fd
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00407b48
jmp 0x41fa06
mov eax, ebx
mov edx, esi
call fcn.00407da0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x41fa10
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_1
test eax, eax
jle 0x41fa32
movzx eax, word [esp]
jmp 0x41fa34
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x420a48
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 0x420b6d
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00420850
mov esi, eax
mov eax, dword [0x533360]
cmp byte [eax], 0
je 0x420b15
mov eax, dword [0x53317c]
call fcn.00405770
call fcn.00405548
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_1
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x420a18]
call fcn.00409b28
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_1
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x420b88
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x420b51
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x53314c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x537624]
call fcn.00409f18
push eax
call sub.user32.dll_LoadStringW_1
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 0x420b74
lea eax, [ebp - 4]
mov edx, dword [0x420a18]
call fcn.00409c4c
ret
Function at 0x421808
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 0x421908
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00407de8
lea eax, [ebp - 4]
call fcn.00407efc
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040845c
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x4218f2
mov eax, ebx
call fcn.004053f4
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x4218eb
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.0040845c
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x4218d5
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x42191c
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x4218d5
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 0x4218f2
mov eax, dword [ebp - 0x10]
call fcn.00405410
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42190f
lea eax, [ebp - 4]
call fcn.004079c0
ret

Function at 0x422060
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffdf8
mov ebx, eax
mov eax, ebx
call fcn.00407e90
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040c7e8
mov edi, eax
cmp edi, 0x104
jbe 0x42200b
mov eax, edi
add eax, eax
call fcn.004053f4
mov esi, eax
jmp 0x42200d
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040c7e8
push esi
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x422046
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x422030
mov eax, esp
cmp esi, eax
je 0x422053
mov eax, esi
call fcn.00405410
mov eax, ebx
add esp, 0x208
pop ebp
pop edi
pop esi
pop ebx
ret
push esi
push ebx
mov esi, eax
xor eax, eax
push esi
rol eax, 5
mov bl, byte [esi]
test bl, 0x80
jne 0x42208c
cmp bl, 0
je 0x422088
cmp bl, 0x41
jl 0x422083
cmp bl, 0x5a
jg 0x422083
or bl, 0x20
xor al, bl
inc esi
jmp 0x422067
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x421fcc
Function at 0x462eb4
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

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 0x462ebc
mov eax, edx
pop esi
pop ebx
ret

Function at 0x491f38
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x491fd6
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xd]
je 0x491f9a
cmp byte [ebx + 0x11], 0
jne 0x491f9a
cmp byte [ebx + 0x24], 0
jne 0x491f9a
mov byte [ebx + 0xf], 0
mov byte [ebx + 0xd], 0
mov eax, dword [ebx + 8]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
je 0x491fbb
lea edx, [ebp - 4]
mov eax, dword [0x533314]
call fcn.0040c754
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x472440]
call fcn.00420b98
call fcn.0040703c
jmp 0x491fbb
lea edx, [ebp - 8]
mov eax, dword [0x533314]
call fcn.0040c754
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x472440]
call fcn.00420b98
call fcn.0040703c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x491fdd
lea eax, [ebp - 8]
mov edx, 2
call fcn.00407a20
ret

Function at 0x4923f8
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 0x492446
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.00491e84
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49245f
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x492468
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.00491e84
dec esi
jne 0x49248a
mov byte [ebx + 0xf], 0
pop esi
pop ebx
ret

Function at 0x4a32cc
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.0040845c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
mov edx, eax
mov eax, ebx
call fcn.004a2da0
test al, al
jne 0x4a332d
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x533468]
mov dl, 1
mov eax, dword [0x4a1ad4]
call fcn.00420c90
call fcn.0040703c
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004a2d08
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 0x4ab76c
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 0x4ab772
ret
Function at 0x4ba4d8
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4ba506
mov eax, ebx
call fcn.004baf94
cmp dword [ebx + 0x40], 0
je 0x4ba4ff
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4ba577
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4ba569
cmp dword [ebx + 8], 0
je 0x4ba528
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4ba53a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4ba569
cmp dword [ebx + 8], 0
je 0x4ba51b
cmp eax, 3
je 0x4ba54d
dec eax
jne 0x4ba51b
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4ba51b
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4ba51b
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4ba595
cmp dword [ebx + 0x14], 0xcc
je 0x4ba595
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004ba5a0
pop ebx
ret

Function at 0x4cb778
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffe8
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], eax
lea edi, [esp + 0xc]
mov eax, dword [esp + 4]
dec eax
test eax, eax
jl 0x4cb80a
inc eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0
mov eax, dword [esp]
mov edx, dword [esp + 0x10]
mov ebx, dword [eax + edx*4]
mov esi, dword [esp + 8]
dec esi
test esi, esi
jl 0x4cb800
inc esi
mov eax, dword [ebx]
mov dword [edi], eax
movzx ecx, byte [edi + 3]
mov eax, ecx
movzx edx, byte [edi]
imul edx
mov ebp, 0xff
xor edx, edx
div ebp
mov byte [ebx + 2], al
mov eax, ecx
movzx edx, byte [edi + 1]
imul edx
mov ebp, 0xff
xor edx, edx
div ebp
mov byte [ebx + 1], al
mov eax, ecx
movzx edx, byte [edi + 2]
imul edx
mov ecx, 0xff
xor edx, edx
div ecx
mov byte [ebx], al
add ebx, 4
dec esi
jne 0x4cb7b8
inc dword [esp + 0x10]
dec dword [esp + 0x14]
jne 0x4cb7a4
add esp, 0x18
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4cbd14
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
push ecx
mov esi, edx
mov ebx, eax
push esp
push 0x40
push 6
push ebx
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x4cbd2f
call fcn.00422220
mov byte [ebx], 0xe9
lea eax, [ebx + 5]
sub esi, eax
mov dword [ebx + 1], esi
push esp
mov eax, dword [esp + 4]
push eax
push 6
push ebx
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x4cbd51
call fcn.00422220
pop edx
pop esi
pop ebx
ret