joyce8/EMBER2024-capa huggingface dataset:
Function at 0x425fa8
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
mov byte [ebp - 9], cl
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x42607d
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040a614
cmp byte [ebp - 9], 0
je 0x426039
mov eax, ebx
call fcn.0040ae9c
push eax
call sub.kernel32.dll_GetFileAttributesW
test ah, 4
je 0x426039
lea edx, [ebp - 8]
mov eax, ebx
call fcn.004240c4
test al, al
je 0x426039
mov eax, dword [ebp - 8]
call fcn.00426694
test al, al
je 0x42602e
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.004263d0
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.0042e2c0
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, dword [ebp - 8]
call fcn.0040b100
lea eax, [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.0040a614
push edi
mov eax, dword [ebp - 4]
call fcn.0040ae9c
push eax
call sub.kernel32.dll_SetFileAttributesW
test eax, eax
jne 0x426053
call sub.kernel32.dll_GetLastError
mov esi, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x426084
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0040a23c
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040a23c
pop eax
jmp eax

Function at 0x4261bc
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.0040ae9c
mov ebp, eax
push ebp
call sub.kernel32.dll_DeleteFileW
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x426211
call sub.kernel32.dll_GetLastError
mov edi, eax
push ebp
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x42620b
test ah, 4
je 0x42620b
test al, 0x10
je 0x42620b
mov eax, esi
call fcn.0040ae9c
push eax
call sub.kernel32.dll_RemoveDirectoryW
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x426211
push edi
call sub.kernel32.dll_SetLastError
mov eax, ebx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x42b338
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 0x42b371
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.0040a374
jmp 0x42b37a
mov eax, ebx
mov edx, esi
call fcn.0040a5cc
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x42b384
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov edi, ecx
mov esi, edx
mov ebx, eax
push 3
lea eax, [esp + 4]
push eax
push esi
push ebx
call sub.kernel32.dll_GetLocaleInfoW
test eax, eax
jle 0x42b3a8
movzx eax, word [esp]
jmp 0x42b3aa
mov eax, edi
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x42c8c0
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 0x42c9e7
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.0042c6c8
mov esi, eax
mov eax, dword [0x714ae4]
cmp byte [eax], 0
je 0x42c98d
mov eax, dword [0x7144c0]
call fcn.00407dec
call fcn.00407408
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 [0x42c890]
call fcn.0040d280
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 0x42ca00
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
jmp 0x42c9c9
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x7143dc]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x71863c]
call fcn.0040db1c
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 0x42c9ee
lea eax, [ebp - 4]
mov edx, dword [0x42c890]
call fcn.0040d3a4
pop eax
jmp eax
Function at 0x42dab8
Capabilities:
Check os version
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee4
mov dword [ebp - 0x11c], 0x114
lea eax, [ebp - 0x11c]
push eax
call sub.kernel32.dll_GetVersionExW
test eax, eax
je 0x42dafb
mov eax, dword [ebp - 0x10c]
mov dword [0x71895c], eax
mov eax, 0x718960
lea edx, [ebp - 0x108]
mov ecx, 0x80
call fcn.0040af50
mov eax, 0x718964
call fcn.0040a1dc
xor eax, eax
mov dword [0x718968], eax
xor eax, eax
mov dword [ebp - 4], eax
cmp dword [0x718820], 0xa
jl 0x42dc51
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x42dc5c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x42dc51
xor eax, eax
push ebp
push 0x42dc4a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
push 0x42dcb8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x42dbaa
cmp dword [ebp - 8], 2
jle 0x42dbaa
mov edx, dword [ebp - 8]
sub edx, 2
sar edx, 1
jns 0x42db7d
adc edx, 0
mov eax, 0x718964
call fcn.0040b028
lea eax, [ebp - 8]
push eax
mov eax, dword [0x718964]
call fcn.0040ae9c
push eax
push 0
push 0
push 0x42dcb8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
jmp 0x42dc04
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
push 0x42dcd8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x42dc04
cmp dword [ebp - 8], 2
jle 0x42dc04
mov edx, dword [ebp - 8]
sub edx, 2
sar edx, 1
jns 0x42dbd9
adc edx, 0
mov eax, 0x718964
call fcn.0040b028
lea eax, [ebp - 8]
push eax
mov eax, dword [0x718964]
call fcn.0040ae9c
push eax
push 0
push 0
push 0x42dcd8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov dword [ebp - 8], 4
lea eax, [ebp - 8]
push eax
push 0x718968
push 0
push 0
push 0x42dcec
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
je 0x42dc31
xor eax, eax
mov dword [0x718968], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42dc51
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
pop eax
jmp eax
mov byte [0x70a710], 1
mov esp, ebp
pop ebp
ret
Function at 0x42ddbc
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 0x42de96
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040a614
lea eax, [ebp - 4]
call fcn.0040a7ac
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040ae9c
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x42de7e
mov eax, ebx
call fcn.00407294
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x42de77
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.0040ae9c
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x42de5f
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x42dea8
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x42de5f
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 0x42de7e
mov eax, dword [ebp - 0x10]
call fcn.004072b0
pop eax
jmp eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42de9d
lea eax, [ebp - 4]
call fcn.0040a1dc
pop eax
jmp eax

Function at 0x42f330
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.0040a6ec
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.00410780
mov edi, eax
cmp edi, 0x104
jbe 0x42f2db
mov eax, edi
add eax, eax
call fcn.00407294
mov esi, eax
jmp 0x42f2dd
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.00410780
push esi
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x42f316
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 0x42f300
mov eax, esp
cmp esi, eax
je 0x42f323
mov eax, esi
call fcn.004072b0
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 0x42f35c
cmp bl, 0
je 0x42f358
cmp bl, 0x41
jl 0x42f353
cmp bl, 0x5a
jg 0x42f353
or bl, 0x20
xor al, bl
inc esi
jmp 0x42f337
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x42f29c

Function at 0x42fc94
Capabilities:
Get geographical location

Disassembly:
push ebx
add esp, 0xfffff800
mov ebx, ecx
mov word [esp], 0
push 0x400
lea ecx, [esp + 4]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW
mov eax, ebx
mov edx, esp
mov ecx, 0x400
call fcn.0040af50
add esp, 0x800
pop ebx
ret
Function at 0x430038
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffff800
mov esi, edx
mov edi, eax
mov eax, esi
call fcn.0040a1dc
push 0x400
lea eax, [esp + 4]
push eax
mov eax, edi
call fcn.0040ae9c
mov ebp, eax
push ebp
call sub.kernel32.dll_GetEnvironmentVariableW
mov ebx, eax
cmp ebx, 0x400
jge 0x43007d
mov edx, esp
mov eax, esi
mov ecx, ebx
call fcn.0040a374
jmp 0x430096
mov edx, ebx
dec edx
mov eax, esi
call fcn.0040b028
push ebx
mov eax, dword [esi]
call fcn.0040ae9c
push eax
push ebp
call sub.kernel32.dll_GetEnvironmentVariableW
add esp, 0x800
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x43083c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x43085c
sub eax, 4
mov eax, dword [eax]
lea ebx, [edi + esi]
cmp eax, ebx
jg 0x430876
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x430871
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x43087b
add edi, esi
mov dword [ebp - 8], edi
movzx eax, word [ebp + 0x14]
cmp ax, word [ebp + 0x10]
je 0x4308e9
xor eax, eax
mov dword [ebp - 0xc], eax
cmp esi, dword [ebp - 8]
jge 0x430932
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x14]
jne 0x4308a7
inc dword [ebp - 0xc]
jmp 0x4308bf
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x10]
jne 0x4308bf
cmp dword [ebp - 0xc], 0
jle 0x4308bf
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0
jne 0x4308e1
xor eax, eax
jmp 0x4308dd
movzx edi, word [edx + eax*2]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
cmp di, word [ebx + esi*2]
jne 0x4308dc
mov eax, esi
jmp 0x430935
inc eax
cmp eax, ecx
jle 0x4308c9
inc esi
cmp esi, dword [ebp - 8]
jl 0x430893
jmp 0x430932
mov byte [ebp - 0xd], 0
cmp esi, dword [ebp - 8]
jge 0x430932
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x14]
jne 0x43090a
movzx eax, byte [ebp - 0xd]
xor al, 1
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
jne 0x43092c
xor eax, eax
jmp 0x430928
movzx edi, word [edx + eax*2]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
cmp di, word [ebx + esi*2]
jne 0x430927
mov eax, esi
jmp 0x430935
inc eax
cmp eax, ecx
jle 0x430914
inc esi
cmp esi, dword [ebp - 8]
jl 0x4308f2
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x430ac4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov word [ebp - 0xa], cx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
test eax, eax
je 0x430ae3
sub eax, 4
mov eax, dword [eax]
mov esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x430af3
sub eax, 4
mov eax, dword [eax]
mov ebx, eax
sub ebx, dword [ebp + 8]
sub ebx, esi
inc ebx
cmp dword [ebp + 8], 0
jl 0x430c15
test ebx, ebx
jl 0x430c15
test esi, esi
jle 0x430c15
mov eax, dword [ebp - 8]
call fcn.0040ae9c
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.0040ae9c
mov ecx, eax
mov eax, dword [ebp + 8]
add eax, eax
add ecx, eax
movzx eax, word [ebp - 0xa]
cmp ax, word [ebp + 0xc]
je 0x430bb2
xor eax, eax
mov dword [ebp - 0x14], eax
test ebx, ebx
jl 0x430c15
inc ebx
mov dword [ebp - 0x1c], ebx
xor edx, edx
xor eax, eax
jmp 0x430b97
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp - 0xa]
jne 0x430b66
inc dword [ebp - 0x14]
jmp 0x430b76
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp + 0xc]
jne 0x430b76
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0
jle 0x430b81
or eax, 0xffffffff
jmp 0x430b97
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
mov edi, dword [ebp - 0x10]
cmp bx, word [edi + eax*2]
jne 0x430b94
inc eax
jmp 0x430b97
or eax, 0xffffffff
test eax, eax
jl 0x430b9f
cmp esi, eax
jg 0x430b54
cmp esi, eax
jg 0x430baa
mov eax, edx
add eax, dword [ebp + 8]
jmp 0x430c18
inc edx
dec dword [ebp - 0x1c]
jne 0x430b50
jmp 0x430c15
mov byte [ebp - 0x15], 0
test ebx, ebx
jl 0x430c15
inc ebx
mov dword [ebp - 0x1c], ebx
xor edx, edx
xor eax, eax
jmp 0x430bfc
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp - 0xa]
jne 0x430bdb
movzx ebx, byte [ebp - 0x15]
xor bl, 1
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x430be6
or eax, 0xffffffff
jmp 0x430bfc
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
mov edi, dword [ebp - 0x10]
cmp bx, word [edi + eax*2]
jne 0x430bf9
inc eax
jmp 0x430bfc
or eax, 0xffffffff
test eax, eax
jl 0x430c04
cmp esi, eax
jg 0x430bc4
cmp esi, eax
jg 0x430c0f
mov eax, edx
add eax, dword [ebp + 8]
jmp 0x430c18
inc edx
dec dword [ebp - 0x1c]
jne 0x430bc0
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x43f7f0
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 0x43f7f8
mov eax, edx
pop esi
pop ebx
ret
Function at 0x443238
Capabilities:
Hash data using sha1

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x68
call fcn.00407e64
mov dword [ebx], 0x67452301
mov dword [ebx + 4], 0xefcdab89
mov dword [ebx + 8], 0x98badcfe
mov dword [ebx + 0xc], 0x10325476
mov dword [ebx + 0x10], 0xc3d2e1f0
pop ebx
ret
Function at 0x444cdc
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebx
add edx, eax
cmp edx, eax
jbe 0x444cf3
movzx ebx, byte [eax]
xor ecx, ebx
imul ecx, ecx, 0x1000193
inc eax
cmp edx, eax
ja 0x444ce3
mov eax, ecx
pop ebx
ret

Function at 0x4544e0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
test dl, dl
je 0x4544f4
add esp, 0xfffffff0
call fcn.00408a44
mov ebx, edx
mov esi, eax
mov dl, 1
mov eax, dword [0x44e57c]
call fcn.0046e978
mov dword [esi + 4], eax
mov dl, 1
mov eax, dword [0x45351c]
call fcn.0046ffd4
mov dword [esi + 8], eax
mov dl, 1
mov eax, dword [0x45351c]
call fcn.0046ffd4
mov dword [esi + 0xc], eax
lea eax, [ebp - 0x24]
push eax
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [ebp - 0x20]
mov dword [esi + 0x10], eax
mov eax, esi
test bl, bl
je 0x454549
call fcn.00408a9c
pop dword fs:[0]
add esp, 0xc
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4b0b9c
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, eax
or dl, byte [ebx + 0xd]
je 0x4b0bdf
cmp byte [ebx + 0x11], 0
jne 0x4b0bdf
cmp byte [ebx + 0x24], 0
jne 0x4b0bdf
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 0x4b0bf6
mov ecx, dword [0x7149dc]
mov dl, 1
mov eax, dword [0x481410]
call fcn.0042cad0
call fcn.004098d4
pop ebx
ret
mov ecx, dword [0x7149dc]
mov dl, 1
mov eax, dword [0x481410]
call fcn.0042cad0
call fcn.004098d4
pop ebx
ret

Function at 0x4b11c0
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 0x4b120e
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.004b0b14
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b1227
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4b3aa0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x71b914
cmp dword [edi], 0
jne 0x4b3b1c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc
mov esi, eax
mov eax, dword [0x71b910]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x70bcf4
mov ecx, 2
call fcn.004077e0
mov edx, 0x4b3a78
lea eax, [esi + 5]
call fcn.004b3a98
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.004b3a98
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 0x4b3af1
mov dword [0x71b910], 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 0x4bdea8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x4bdefa
test eax, edx
je 0x4bdefd
movzx ecx, byte [edx]
cmp cl, byte [eax]
je 0x4bdebd
movzx eax, byte [eax]
sub eax, ecx
ret
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
sub eax, ecx
sub edx, ecx
mov ebx, dword [eax + ecx]
xor ebx, dword [edx + ecx]
jne 0x4bdee3
add ecx, 4
js 0x4bded3
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 3
add ecx, ebx
jns 0x4bdee0
movzx eax, byte [eax + ecx]
movzx edx, byte [edx + ecx]
sub eax, edx
pop ebx
pop ebx
ret
xor eax, eax
ret
test eax, eax
je 0x4bdf09
test edx, edx
jne 0x4bdeb0
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret
Function at 0x4c0c88
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0x2001f
push 0
push 0x4c0d24
push 0
mov eax, ebx
call fcn.0040ae9c
push eax
mov eax, dword [ebp + 8]
push eax
call sub.advapi32.dll_RegCreateKeyExW
mov ebx, eax
test ebx, ebx
jne 0x4c0cff
mov ebx, esi
test ebx, ebx
je 0x4c0cd1
sub ebx, 4
mov ebx, dword [ebx]
inc ebx
mov eax, ebx
add eax, eax
push eax
mov eax, esi
call fcn.0040ae9c
push eax
push 1
push 0
mov eax, edi
call fcn.0040ae9c
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegSetValueExW
mov ebx, eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
test ebx, ebx
je 0x4c0d1a
mov ecx, dword [0x71451c]
mov dl, 1
mov eax, dword [0x4bf9b4]
call fcn.0042cad0
call fcn.004098d4
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4

Function at 0x4c91f8
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
mov ecx, eax
and eax, 0xff
shr ecx, 8
inc edx
xor ecx, dword [eax*4 + 0x70d5b0]
cmp edx, 4
mov eax, ecx
jl 0x4c9200
pop ebp
ret

Function at 0x4c921c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
mov ecx, eax
inc edx
shr eax, 0x18
and eax, 0xff
shl ecx, 8
xor ecx, dword [eax*4 + 0x70d9b0]
cmp edx, 4
mov eax, ecx
jl 0x4c9224
pop ebp
ret
Function at 0x4e6820
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov edi, eax
xor eax, eax
push ebp
push 0x4e68da
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x48]
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.004e67b0
test al, al
je 0x4e68ba
mov ecx, dword [ebp - 0x24]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.0040a374
mov ebx, dword [ebp - 0x28]
dec ebx
test ebx, ebx
jl 0x4e68ba
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040ae9c
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumKeyExW
mov eax, dword [ebp - 4]
call fcn.0040ae9c
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.0040aefc
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x3c]
inc esi
dec ebx
jne 0x4e6873
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e68e1
lea eax, [ebp - 0x2c]
call fcn.0040a1dc
lea eax, [ebp - 4]
call fcn.0040a1dc
pop eax
jmp eax

Function at 0x4e6bbc
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.0040ae9c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov edx, eax
mov eax, ebx
call fcn.004e6528
test al, al
jne 0x4e6c1d
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x714e74]
mov dl, 1
mov eax, dword [0x4e5220]
call fcn.0042cb0c
call fcn.004098d4
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004e6454
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 0x4efd44
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 0x4efd4a
ret