joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40dd08
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 0x40de0e
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4e9c14
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x4e9c2c]
jne 0x40dd54
mov eax, esi
mov edx, 0x4e9c2e
mov ecx, 0x55
call fcn.0040aab0
push 0x4e9c14
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x40ddf6
push 0x4e9c14
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
call fcn.00409f64
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40ddc3
cmp byte [0x4e9c10], 0
je 0x40dd88
mov edx, esi
mov eax, ebx
call fcn.0040dbec
jmp 0x40ddc3
mov edx, esi
mov eax, ebx
call fcn.0040d9ec
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x40ddc3
cmp dword [esi], 0
je 0x40ddac
mov eax, esi
mov edx, 0x40de28
call fcn.0040ac0c
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.0040d9ec
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.0040ac0c
push 0x4e9c14
call sub.kernel32.dll_EnterCriticalSection
mov word [0x4e9c2c], bx
mov eax, dword [esi]
call fcn.0040aa14
mov ecx, eax
mov eax, 0x4e9c2e
mov edx, 0xaa
call fcn.0040d86c
push 0x4e9c14
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40de15
lea eax, [ebp - 4]
call fcn.00409f64
pop eax
jmp eax
Function at 0x40e050
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.0040a058
xor eax, eax
push ebp
push 0x40e278
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x40e096
push 0x105
lea eax, [ebp - 0x21e]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
jmp 0x40e0b0
mov eax, dword [ebp - 4]
call fcn.0040aa14
mov ecx, eax
lea eax, [ebp - 0x21e]
mov edx, 0x105
call fcn.0040d86c
cmp word [ebp - 0x21e], 0
je 0x40e25b
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40e288
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40e17f
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40e288
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40e17f
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40e2c4
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40e17f
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40e2c4
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40e17f
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40e2f8
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40e17f
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40e32c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x40e25b
xor eax, eax
push ebp
push 0x40e254
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 8]
lea eax, [ebp - 0x21e]
call fcn.0040de50
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 0x40e1e2
mov eax, dword [ebp - 0x14]
call fcn.00406dd0
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.0040aa74
jmp 0x40e22d
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0
push 0x40e36c
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x40e22d
mov eax, dword [ebp - 0x14]
call fcn.00406dd0
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
push 0
push 0x40e36c
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, esi
mov edx, dword [ebp - 0xc]
call fcn.0040aa74
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e25b
cmp dword [ebp - 0xc], 0
je 0x40e248
mov eax, dword [ebp - 0xc]
call fcn.00406dec
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 0x40e27f
lea eax, [ebp - 8]
mov edx, 2
call fcn.00409fc4
pop eax
jmp eax
Function at 0x40e588
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.0040a058
xor eax, eax
push ebp
push 0x40e64a
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.0040aab0
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040ac64
mov eax, dword [ebx]
call fcn.0040e434
test al, al
jne 0x40e625
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.0040aab0
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040ac64
mov eax, dword [ebx]
call fcn.0040e434
test al, al
jne 0x40e625
mov eax, ebx
call fcn.00409f64
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e651
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00409fc4
lea eax, [ebp - 4]
call fcn.00409f64
pop eax
jmp eax

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

Disassembly:
cmp eax, edx
je 0x420a6d
test eax, edx
je 0x420a70
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x420a2b
movzx eax, word [eax]
sub eax, ecx
jmp 0x420a52
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 0x420a53
add ecx, 4
js 0x420a43
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x420a50
movzx eax, word [eax + ecx]
movzx edx, word [edx + ecx]
sub eax, edx
pop ebx
pop ebx
jmp 0x420a52
xor eax, eax
ret
test eax, eax
je 0x420a7c
test edx, edx
jne 0x420a1c
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x4218d8
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.0040aa14
mov edi, eax
push edi
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x421942
test ah, 4
je 0x42193b
test bl, bl
jne 0x421900
mov al, 1
jmp 0x421969
test al, 0x10
je 0x421908
xor eax, eax
jmp 0x421969
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push edi
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x42192c
push eax
call sub.kernel32.dll_CloseHandle
mov al, 1
jmp 0x421969
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 0x20
sete al
jmp 0x421969
test al, 0x10
sete al
jmp 0x421969
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 2
je 0x421963
cmp ebx, 3
je 0x421963
cmp ebx, 0x7b
je 0x421963
mov eax, esi
call fcn.00421898
test al, al
jne 0x421967
xor eax, eax
jmp 0x421969
mov al, 1
pop edi
pop esi
pop ebx
ret

Function at 0x42657c
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 0x4265b5
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.0040a0fc
jmp 0x4265be
mov eax, ebx
mov edx, esi
call fcn.0040a354
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4265c8
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 0x4265ec
movzx eax, word [esp]
jmp 0x4265ee
mov eax, edi
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x4282e4
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 0x42840b
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.004280ec
mov esi, eax
mov eax, dword [0x4e622c]
cmp byte [eax], 0
je 0x4283b1
mov eax, dword [0x4e605c]
call fcn.0040799c
call fcn.00406f48
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 [0x4282b4]
call fcn.0040ce40
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 0x428424
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
jmp 0x4283ed
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x4e6018]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4ea634]
call fcn.0040d510
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 0x428412
lea eax, [ebp - 4]
mov edx, dword [0x4282b4]
call fcn.0040cf64
pop eax
jmp eax

Function at 0x42a800
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.0040a444
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0041018c
mov edi, eax
cmp edi, 0x104
jbe 0x42a7ab
mov eax, edi
add eax, eax
call fcn.00406dd0
mov esi, eax
jmp 0x42a7ad
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0041018c
push esi
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x42a7e6
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 0x42a7d0
mov eax, esp
cmp esi, eax
je 0x42a7f3
mov eax, esi
call fcn.00406dec
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 0x42a82c
cmp bl, 0
je 0x42a828
cmp bl, 0x41
jl 0x42a823
cmp bl, 0x5a
jg 0x42a823
or bl, 0x20
xor al, bl
inc esi
jmp 0x42a807
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x42a76c

Function at 0x42b148
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.0040aab0
add esp, 0x800
pop ebx
ret
Function at 0x42b6bc
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.00409f64
push 0x400
lea eax, [esp + 4]
push eax
mov eax, edi
call fcn.0040aa14
mov ebp, eax
push ebp
call sub.kernel32.dll_GetEnvironmentVariableW
mov ebx, eax
cmp ebx, 0x400
jge 0x42b701
mov edx, esp
mov eax, esi
mov ecx, ebx
call fcn.0040a0fc
jmp 0x42b71a
mov edx, ebx
dec edx
mov eax, esi
call fcn.0040ab88
push ebx
mov eax, dword [esi]
call fcn.0040aa14
push eax
push ebp
call sub.kernel32.dll_GetEnvironmentVariableW
add esp, 0x800
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x42d960
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 0x42d97e
mov eax, dword [eax - 4]
lea ebx, [edi + esi]
cmp eax, ebx
jg 0x42d996
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x42d991
mov eax, dword [eax - 4]
mov dword [ebp - 8], eax
jmp 0x42d99b
add edi, esi
mov dword [ebp - 8], edi
movzx eax, word [ebp + 0x14]
cmp ax, word [ebp + 0x10]
je 0x42da09
xor eax, eax
mov dword [ebp - 0xc], eax
cmp esi, dword [ebp - 8]
jge 0x42da52
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x14]
jne 0x42d9c7
inc dword [ebp - 0xc]
jmp 0x42d9df
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x10]
jne 0x42d9df
cmp dword [ebp - 0xc], 0
jle 0x42d9df
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0
jne 0x42da01
xor eax, eax
jmp 0x42d9fd
movzx edi, word [edx + eax*2]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
cmp di, word [ebx + esi*2]
jne 0x42d9fc
mov eax, esi
jmp 0x42da55
inc eax
cmp eax, ecx
jle 0x42d9e9
inc esi
cmp esi, dword [ebp - 8]
jl 0x42d9b3
jmp 0x42da52
mov byte [ebp - 0xd], 0
cmp esi, dword [ebp - 8]
jge 0x42da52
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x14]
jne 0x42da2a
movzx eax, byte [ebp - 0xd]
xor al, 1
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
jne 0x42da4c
xor eax, eax
jmp 0x42da48
movzx edi, word [edx + eax*2]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
cmp di, word [ebx + esi*2]
jne 0x42da47
mov eax, esi
jmp 0x42da55
inc eax
cmp eax, ecx
jle 0x42da34
inc esi
cmp esi, dword [ebp - 8]
jl 0x42da12
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x42dc44
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 0x42dc61
mov eax, dword [eax - 4]
mov esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x42dc6f
mov eax, dword [eax - 4]
mov ebx, eax
sub ebx, dword [ebp + 8]
sub ebx, esi
inc ebx
cmp dword [ebp + 8], 0
jl 0x42dd91
test ebx, ebx
jl 0x42dd91
test esi, esi
jle 0x42dd91
mov eax, dword [ebp - 8]
call fcn.0040aa14
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.0040aa14
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 0x42dd2e
xor eax, eax
mov dword [ebp - 0x14], eax
test ebx, ebx
jl 0x42dd91
inc ebx
mov dword [ebp - 0x1c], ebx
xor edx, edx
xor eax, eax
jmp 0x42dd13
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp - 0xa]
jne 0x42dce2
inc dword [ebp - 0x14]
jmp 0x42dcf2
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp + 0xc]
jne 0x42dcf2
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0
jle 0x42dcfd
or eax, 0xffffffff
jmp 0x42dd13
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
mov edi, dword [ebp - 0x10]
cmp bx, word [edi + eax*2]
jne 0x42dd10
inc eax
jmp 0x42dd13
or eax, 0xffffffff
test eax, eax
jl 0x42dd1b
cmp esi, eax
jg 0x42dcd0
cmp esi, eax
jg 0x42dd26
mov eax, edx
add eax, dword [ebp + 8]
jmp 0x42dd94
inc edx
dec dword [ebp - 0x1c]
jne 0x42dccc
jmp 0x42dd91
mov byte [ebp - 0x15], 0
test ebx, ebx
jl 0x42dd91
inc ebx
mov dword [ebp - 0x1c], ebx
xor edx, edx
xor eax, eax
jmp 0x42dd78
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp - 0xa]
jne 0x42dd57
movzx ebx, byte [ebp - 0x15]
xor bl, 1
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x42dd62
or eax, 0xffffffff
jmp 0x42dd78
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
mov edi, dword [ebp - 0x10]
cmp bx, word [edi + eax*2]
jne 0x42dd75
inc eax
jmp 0x42dd78
or eax, 0xffffffff
test eax, eax
jl 0x42dd80
cmp esi, eax
jg 0x42dd40
cmp esi, eax
jg 0x42dd8b
mov eax, edx
add eax, dword [ebp + 8]
jmp 0x42dd94
inc edx
dec dword [ebp - 0x1c]
jne 0x42dd3c
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

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

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

Disassembly:
push ebx
add edx, eax
cmp edx, eax
jbe 0x440c3b
movzx ebx, byte [eax]
xor ecx, ebx
imul ecx, ecx, 0x1000193
inc eax
cmp edx, eax
ja 0x440c2b
mov eax, ecx
pop ebx
ret
Function at 0x4550f8
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
test dl, dl
je 0x45510c
add esp, 0xfffffff0
call fcn.0040877c
mov ebx, edx
mov esi, eax
mov dl, 1
mov eax, dword [0x44f07c]
call fcn.00473b64
mov dword [esi + 4], eax
mov dl, 1
mov eax, dword [0x4540c8]
call fcn.00476918
mov dword [esi + 8], eax
mov dl, 1
mov eax, dword [0x4540c8]
call fcn.00476918
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 0x455161
call fcn.004087d4
pop dword fs:[0]
add esp, 0xc
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4b8a40
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, eax
or dl, byte [ebx + 0xd]
je 0x4b8a83
cmp byte [ebx + 0x11], 0
jne 0x4b8a83
cmp byte [ebx + 0x24], 0
jne 0x4b8a83
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 0x4b8a9a
mov ecx, dword [0x4e61e0]
mov dl, 1
mov eax, dword [0x48b8b8]
call fcn.00428570
call fcn.0040964c
pop ebx
ret
mov ecx, dword [0x4e61e0]
mov dl, 1
mov eax, dword [0x48b8b8]
call fcn.00428570
call fcn.0040964c
pop ebx
ret

Function at 0x4b9408
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 0x4b9456
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.004b88ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b946f
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4b9478
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.004b88ec
dec esi
jne 0x4b949a
mov byte [ebx + 0xf], 0
pop esi
pop ebx
ret
Function at 0x4d1b94
Capabilities:
Encode data using base64

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff4
mov dword [esp + 4], ecx
mov dword [esp], edx
mov esi, eax
mov eax, dword [esp]
mov dword [esp + 8], eax
xor ebx, ebx
xor ecx, ecx
mov eax, dword [esp + 4]
mov edx, 0x55555556
imul edx
mov eax, edx
shr eax, 0x1f
add eax, edx
test eax, eax
jle 0x4d1c57
mov edx, dword [esp + 8]
lea edi, [edx + ecx]
movzx edx, byte [esi + ebx]
shr edx, 2
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_cw]
mov byte [edi], dl
movzx edx, byte [esi + ebx]
and dl, 3
movzx edx, dl
shl edx, 4
movzx edi, byte [esi + ebx + 1]
shr edi, 4
add edx, edi
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_cw]
mov edi, dword [esp + 8]
mov byte [edi + ecx + 1], dl
movzx edx, byte [esi + ebx + 1]
and dl, 0xf
movzx edx, dl
shl edx, 2
movzx edi, byte [esi + ebx + 2]
shr edi, 6
add edx, edi
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_cw]
mov edi, dword [esp + 8]
mov byte [edi + ecx + 2], dl
mov edx, dword [esp + 8]
lea edx, [edx + ecx + 3]
push edx
movzx edx, byte [esi + ebx + 2]
and dl, 0x3f
movzx edx, dl
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_cw]
pop edi
mov byte [edi], dl
add ecx, 4
add ebx, 3
dec eax
jne 0x4d1bc8
mov edi, dword [esp + 4]
mov eax, 0x55555556
imul edi
mov eax, edx
shr eax, 0x1f
add edx, eax
lea edx, [edx + edx*2]
sub edi, edx
dec edi
je 0x4d1c79
dec edi
je 0x4d1cbe
jmp 0x4d1d1e
mov eax, dword [esp + 8]
movzx edx, byte [esi + ebx]
shr edx, 2
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_cw]
mov byte [eax + ecx], dl
mov eax, dword [esp + 8]
movzx edx, byte [esi + ebx]
and dl, 3
movzx edx, dl
shl edx, 4
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_cw]
mov byte [eax + ecx + 1], dl
mov eax, dword [esp + 8]
mov byte [eax + ecx + 2], 0x3d
mov eax, dword [esp + 8]
mov byte [eax + ecx + 3], 0x3d
jmp 0x4d1d1e
mov eax, dword [esp + 8]
movzx edx, byte [esi + ebx]
shr edx, 2
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_cw]
mov byte [eax + ecx], dl
movzx eax, byte [esi + ebx]
and al, 3
movzx eax, al
shl eax, 4
movzx edx, byte [esi + ebx + 1]
shr edx, 4
add eax, edx
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_cw]
mov edx, dword [esp + 8]
mov byte [edx + ecx + 1], al
mov eax, dword [esp + 8]
movzx edx, byte [esi + ebx + 1]
and dl, 0xf
movzx edx, dl
shl edx, 2
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_cw]
mov byte [eax + ecx + 2], dl
mov eax, dword [esp + 8]
mov byte [eax + ecx + 3], 0x3d
mov eax, dword [esp + 4]
add eax, 2
mov edx, 0x55555556
imul edx
mov eax, edx
shr eax, 0x1f
add eax, edx
shl eax, 2
add esp, 0xc
pop edi
pop esi
pop ebx
ret