joyce8/EMBER2024-capa huggingface dataset:
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x408ecc
mov ecx, 0x58400d2
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
mov ecx, 0x79524e70
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43006c
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x2000919c
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.2000965c
mov byte [esp], al
cmp byte [esp], 0
jne 0x20009325
test edi, edi
je 0x20009325
mov byte [esp + 1], 0
test ebp, ebp
jle 0x20009265
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 0xc], eax
test ebp, ebp
jle 0x20009240
cmp edi, 0xffffffff
je 0x20009201
call sub.kernel32.dll_GetTickCount
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x20009201
mov byte [esp], 0
jmp 0x20009325
cmp dword [esi], 1
jg 0x20009240
cmp dword [esi], 0
jne 0x20009232
xor eax, eax
mov edx, 1
lock cmpxchg dword [esi], edx
test eax, eax
jne 0x20009232
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov byte [esp], 1
jmp 0x20009325
lea eax, [esp + 0xc]
call fcn.20008e34
dec ebp
test ebp, ebp
jg 0x200091e6
cmp edi, 0xffffffff
je 0x20009265
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x20009263
mov byte [esp], 0
jmp 0x20009325
sub edi, eax
mov ebx, dword [esi]
test ebx, ebx
je 0x200091aa
lea edx, [ebx + 2]
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x20009265
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
mov eax, esi
call fcn.200093a0
mov edx, eax
mov ebx, dword [0x200dc8fc]
mov ecx, edi
xor eax, eax
call dword [ebx + 0x10]
test eax, eax
sete byte [esp]
cmp edi, 0xffffffff
je 0x200092c9
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
jbe 0x200092c7
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
sub edi, eax
jmp 0x200092c9
xor edi, edi
cmp byte [esp], 0
je 0x200092ef
mov ebx, dword [esi]
test bl, 1
jne 0x20009305
mov edx, ebx
sub edx, 2
or edx, 1
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x200092cf
mov byte [esp + 1], 1
jmp 0x20009305
mov ebx, dword [esi]
mov edx, ebx
sub edx, 2
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x200092ef
mov byte [esp + 1], 1
cmp byte [esp + 1], 0
je 0x2000927c
cmp byte [esp], 0
je 0x20009325
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 0x20009fb4
Capabilities:
Terminate process

Disassembly:
push ecx
push ebx
push esi
push edi
mov ebx, 0x200deb9c
cmp dword [ebp + 0xc], 2
jl 0x20009fc8
mov ebx, 0x200debcc
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 0x2000a000
mov ecx, dword [eax]
mov dword [ebx + 0xc], ecx
mov eax, 0x20005228
mov dword [0x200dc01c], eax
mov eax, 0x20005230
mov dword [0x200dc020], eax
mov eax, ebx
call fcn.20009e98
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 0x2000a035
cmp al, 3
jge 0x2000a035
call dword [ecx + eax*4]
push ecx
mov ecx, dword [esp + 8]
test ecx, ecx
je 0x2000a046
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
call ecx
pop ecx
mov eax, dword [ebp + 0xc]
cmp al, 3
jl 0x2000a051
call dword [ecx + eax*4]
cmp dword [0x200dc040], 0
jne 0x2000a067
mov byte [0x200dc048], 1
fnstcw word [0x200d8028]
mov eax, dword [ebp + 0xc]
dec eax
jne fcn.2000a314
call fcn.20009f48
ret 4

Function at 0x2000a27c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x200dc058], 0
je 0x2000a2e3
cmp word [0x200dc348], 0xd7b2
jne 0x2000a2a5
cmp dword [0x200dc350], 0
jbe 0x2000a2a5
mov eax, 0x200dc344
call dword [0x200dc360]
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, 0x2000a310
call fcn.2000ae18
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x200d8032], 0
jne 0x2000a2ff
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x2000a4a4
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 [0x200d8034], 0
je 0x2000a4cf
mov edx, edi
mov eax, esi
call dword [0x200d8034]
mov ebx, eax
jmp 0x2000a4e0
mov eax, 8
call fcn.20006e10
mov ebx, eax
mov dword [ebx], esi
mov dword [ebx + 4], edi
mov byte [0x200dc059], 1
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
push ebx
mov eax, 0x2000a46c
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 0x2000a510
mov eax, ebx
call fcn.20006e2c
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 0xc
Function at 0x2000e0a0
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 0x2000e207
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.2000a5e4
cmp si, word [0x200d8a28]
jb 0x2000e138
cmp si, word [0x200d8c28]
ja 0x2000e138
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x2000e138
mov ebx, edi
add ebx, dword [ebp - 8]
shr ebx, 1
cmp si, word [ebx*8 + 0x200d8a28]
jae 0x2000e112
mov edi, ebx
dec edi
jmp 0x2000e133
cmp si, word [ebx*8 + 0x200d8a28]
jbe 0x2000e122
inc ebx
mov dword [ebp - 8], ebx
jmp 0x2000e133
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x200d8a2c]
call fcn.2000dfc0
jmp 0x2000e138
cmp edi, dword [ebp - 8]
jae 0x2000e0fc
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x2000e1e7
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x2000e1e7
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.2000b164
push dword [ebp - 0x160]
push 0x2000e224
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.2000b164
push dword [ebp - 0x164]
push 0x2000e234
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.2000b164
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.2000b3a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x2000e20e
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.2000a644
pop eax
jmp eax
Function at 0x2000e3bc
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 0x2000e4c2
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x200dec14
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x200dec2c]
jne 0x2000e408
mov eax, esi
mov edx, 0x200dec2e
mov ecx, 0x55
call fcn.2000b164
push 0x200dec14
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x2000e4aa
push 0x200dec14
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
call fcn.2000a5e4
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x2000e477
cmp byte [0x200dec10], 0
je 0x2000e43c
mov edx, esi
mov eax, ebx
call fcn.2000e2a0
jmp 0x2000e477
mov edx, esi
mov eax, ebx
call fcn.2000e0a0
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x2000e477
cmp dword [esi], 0
je 0x2000e460
mov eax, esi
mov edx, 0x2000e4dc
call fcn.2000b2c0
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.2000e0a0
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.2000b2c0
push 0x200dec14
call sub.kernel32.dll_EnterCriticalSection
mov word [0x200dec2c], bx
mov eax, dword [esi]
call fcn.2000b0c8
mov ecx, eax
mov eax, 0x200dec2e
mov edx, 0xaa
call fcn.2000df20
push 0x200dec14
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x2000e4c9
lea eax, [ebp - 4]
call fcn.2000a5e4
pop eax
jmp eax
Function at 0x2000e704
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.2000a6d8
xor eax, eax
push ebp
push 0x2000e92c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x2000e74a
push 0x105
lea eax, [ebp - 0x21e]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
jmp 0x2000e764
mov eax, dword [ebp - 4]
call fcn.2000b0c8
mov ecx, eax
lea eax, [ebp - 0x21e]
mov edx, 0x105
call fcn.2000df20
cmp word [ebp - 0x21e], 0
je 0x2000e90f
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x2000e93c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x2000e833
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x2000e93c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x2000e833
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x2000e978
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x2000e833
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x2000e978
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x2000e833
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x2000e9ac
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x2000e833
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x2000e9e0
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x2000e90f
xor eax, eax
push ebp
push 0x2000e908
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 8]
lea eax, [ebp - 0x21e]
call fcn.2000e504
mov ebx, eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0
push ebx
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x2000e896
mov eax, dword [ebp - 0x14]
call fcn.20006e10
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
push 0
push ebx
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, esi
mov edx, dword [ebp - 0xc]
call fcn.2000b128
jmp 0x2000e8e1
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0
push 0x2000ea20
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x2000e8e1
mov eax, dword [ebp - 0x14]
call fcn.20006e10
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
push 0
push 0x2000ea20
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, esi
mov edx, dword [ebp - 0xc]
call fcn.2000b128
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x2000e90f
cmp dword [ebp - 0xc], 0
je 0x2000e8fc
mov eax, dword [ebp - 0xc]
call fcn.20006e2c
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegCloseKey
pop eax
jmp eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x2000e933
lea eax, [ebp - 8]
mov edx, 2
call fcn.2000a644
pop eax
jmp eax
Function at 0x2000ec3c
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.2000a6d8
xor eax, eax
push ebp
push 0x2000ecfe
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.2000b164
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.2000b318
mov eax, dword [ebx]
call fcn.2000eae8
test al, al
jne 0x2000ecd9
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.2000b164
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.2000b318
mov eax, dword [ebx]
call fcn.2000eae8
test al, al
jne 0x2000ecd9
mov eax, ebx
call fcn.2000a5e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x2000ed05
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.2000a644
lea eax, [ebp - 4]
call fcn.2000a5e4
pop eax
jmp eax

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

Disassembly:
cmp eax, edx
je 0x200211b5
test eax, edx
je 0x200211b8
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x20021173
movzx eax, word [eax]
sub eax, ecx
jmp 0x2002119a
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 [eax + ecx]
xor ebx, dword [edx + ecx]
jne 0x2002119b
add ecx, 4
js 0x2002118b
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x20021198
movzx eax, word [eax + ecx]
movzx edx, word [edx + ecx]
sub eax, edx
pop ebx
pop ebx
jmp 0x2002119a
xor eax, eax
ret
test eax, eax
je 0x200211c4
test edx, edx
jne 0x20021164
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x20026c28
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 0x20026c61
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.2000a77c
jmp 0x20026c6a
mov eax, ebx
mov edx, esi
call fcn.2000a9d4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x20026c74
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 0x20026c98
movzx eax, word [esp]
jmp 0x20026c9a
mov eax, edi
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x20028990
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 0x20028ab7
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.20028798
mov esi, eax
mov eax, dword [0x200dbec0]
cmp byte [eax], 0
je 0x20028a5d
mov eax, dword [0x200dbcf0]
call fcn.20007d9c
call fcn.20006f88
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 [0x20028960]
call fcn.2000d4f4
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 0x20028ad0
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
jmp 0x20028a99
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x200dbcac]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x200df634]
call fcn.2000dbc4
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 0x20028abe
lea eax, [ebp - 4]
mov edx, dword [0x20028960]
call fcn.2000d618
pop eax
jmp eax

Function at 0x2002add8
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.2000aac4
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.20010840
mov edi, eax
cmp edi, 0x104
jbe 0x2002ad83
mov eax, edi
add eax, eax
call fcn.20006e10
mov esi, eax
jmp 0x2002ad85
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.20010840
push esi
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x2002adbe
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 0x2002ada8
mov eax, esp
cmp esi, eax
je 0x2002adcb
mov eax, esi
call fcn.20006e2c
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 0x2002ae04
cmp bl, 0
je 0x2002ae00
cmp bl, 0x41
jl 0x2002adfb
cmp bl, 0x5a
jg 0x2002adfb
or bl, 0x20
xor al, bl
inc esi
jmp 0x2002addf
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x2002ad44

Function at 0x2002b720
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.2000b164
add esp, 0x800
pop ebx
ret
Function at 0x2002decc
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 0x2002deea
mov eax, dword [eax - 4]
lea ebx, [edi + esi]
cmp eax, ebx
jg 0x2002df02
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x2002defd
mov eax, dword [eax - 4]
mov dword [ebp - 8], eax
jmp 0x2002df07
add edi, esi
mov dword [ebp - 8], edi
movzx eax, word [ebp + 0x14]
cmp ax, word [ebp + 0x10]
je 0x2002df75
xor eax, eax
mov dword [ebp - 0xc], eax
cmp esi, dword [ebp - 8]
jge 0x2002dfbe
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x14]
jne 0x2002df33
inc dword [ebp - 0xc]
jmp 0x2002df4b
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x10]
jne 0x2002df4b
cmp dword [ebp - 0xc], 0
jle 0x2002df4b
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0
jne 0x2002df6d
xor eax, eax
jmp 0x2002df69
movzx edi, word [edx + eax*2]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
cmp di, word [ebx + esi*2]
jne 0x2002df68
mov eax, esi
jmp 0x2002dfc1
inc eax
cmp eax, ecx
jle 0x2002df55
inc esi
cmp esi, dword [ebp - 8]
jl 0x2002df1f
jmp 0x2002dfbe
mov byte [ebp - 0xd], 0
cmp esi, dword [ebp - 8]
jge 0x2002dfbe
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x14]
jne 0x2002df96
movzx eax, byte [ebp - 0xd]
xor al, 1
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
jne 0x2002dfb8
xor eax, eax
jmp 0x2002dfb4
movzx edi, word [edx + eax*2]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
cmp di, word [ebx + esi*2]
jne 0x2002dfb3
mov eax, esi
jmp 0x2002dfc1
inc eax
cmp eax, ecx
jle 0x2002dfa0
inc esi
cmp esi, dword [ebp - 8]
jl 0x2002df7e
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x2002e1b0
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 0x2002e1cd
mov eax, dword [eax - 4]
mov esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x2002e1db
mov eax, dword [eax - 4]
mov ebx, eax
sub ebx, dword [ebp + 8]
sub ebx, esi
inc ebx
cmp dword [ebp + 8], 0
jl 0x2002e2fd
test ebx, ebx
jl 0x2002e2fd
test esi, esi
jle 0x2002e2fd
mov eax, dword [ebp - 8]
call fcn.2000b0c8
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.2000b0c8
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 0x2002e29a
xor eax, eax
mov dword [ebp - 0x14], eax
test ebx, ebx
jl 0x2002e2fd
inc ebx
mov dword [ebp - 0x1c], ebx
xor edx, edx
xor eax, eax
jmp 0x2002e27f
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp - 0xa]
jne 0x2002e24e
inc dword [ebp - 0x14]
jmp 0x2002e25e
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp + 0xc]
jne 0x2002e25e
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0
jle 0x2002e269
or eax, 0xffffffff
jmp 0x2002e27f
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
mov edi, dword [ebp - 0x10]
cmp bx, word [edi + eax*2]
jne 0x2002e27c
inc eax
jmp 0x2002e27f
or eax, 0xffffffff
test eax, eax
jl 0x2002e287
cmp esi, eax
jg 0x2002e23c
cmp esi, eax
jg 0x2002e292
mov eax, edx
add eax, dword [ebp + 8]
jmp 0x2002e300
inc edx
dec dword [ebp - 0x1c]
jne 0x2002e238
jmp 0x2002e2fd
mov byte [ebp - 0x15], 0
test ebx, ebx
jl 0x2002e2fd
inc ebx
mov dword [ebp - 0x1c], ebx
xor edx, edx
xor eax, eax
jmp 0x2002e2e4
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp - 0xa]
jne 0x2002e2c3
movzx ebx, byte [ebp - 0x15]
xor bl, 1
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x2002e2ce
or eax, 0xffffffff
jmp 0x2002e2e4
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
mov edi, dword [ebp - 0x10]
cmp bx, word [edi + eax*2]
jne 0x2002e2e1
inc eax
jmp 0x2002e2e4
or eax, 0xffffffff
test eax, eax
jl 0x2002e2ec
cmp esi, eax
jg 0x2002e2ac
cmp esi, eax
jg 0x2002e2f7
mov eax, edx
add eax, dword [ebp + 8]
jmp 0x2002e300
inc edx
dec dword [ebp - 0x1c]
jne 0x2002e2a8
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x2003e514
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 0x2003e51c
mov eax, edx
pop esi
pop ebx
ret

Function at 0x20041190
Capabilities:
Encode data using xor
Hash data using fnv

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