joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40de40
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.00409dd4
xor eax, eax
push ebp
push 0x40e068
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x40de86
push 0x105
lea eax, [ebp - 0x21e]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
jmp 0x40dea0
mov eax, dword [ebp - 4]
call fcn.0040a760
mov ecx, eax
lea eax, [ebp - 0x21e]
mov edx, 0x105
call fcn.0040d65c
cmp word [ebp - 0x21e], 0
je 0x40e04b
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40e078
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40df6f
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40e078
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40df6f
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40e0b4
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40df6f
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40e0b4
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40df6f
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40e0e8
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40df6f
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40e11c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x40e04b
xor eax, eax
push ebp
push 0x40e044
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 8]
lea eax, [ebp - 0x21e]
call fcn.0040dc40
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 0x40dfd2
mov eax, dword [ebp - 0x14]
call fcn.00406e70
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.0040a7c0
jmp 0x40e01d
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0
push 0x40e15c
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x40e01d
mov eax, dword [ebp - 0x14]
call fcn.00406e70
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
push 0
push 0x40e15c
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, esi
mov edx, dword [ebp - 0xc]
call fcn.0040a7c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e04b
cmp dword [ebp - 0xc], 0
je 0x40e038
mov eax, dword [ebp - 0xc]
call fcn.00406e8c
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 0x40e06f
lea eax, [ebp - 8]
mov edx, 2
call fcn.00409d40
pop eax
jmp eax
Function at 0x40e378
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.00409dd4
xor eax, eax
push ebp
push 0x40e43a
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.0040a814
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040a9c4
mov eax, dword [ebx]
call fcn.0040e224
test al, al
jne 0x40e415
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.0040a814
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040a9c4
mov eax, dword [ebx]
call fcn.0040e224
test al, al
jne 0x40e415
mov eax, ebx
call fcn.00409ce0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e441
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00409d40
lea eax, [ebp - 4]
call fcn.00409ce0
pop eax
jmp eax

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

Disassembly:
cmp eax, edx
je 0x422025
test eax, edx
je 0x422028
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x421fe3
movzx eax, word [eax]
sub eax, ecx
jmp 0x42200a
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 0x42200b
add ecx, 4
js 0x421ffb
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x422008
movzx eax, word [eax + ecx]
movzx edx, word [edx + ecx]
sub eax, edx
pop ebx
pop ebx
jmp 0x42200a
xor eax, eax
ret
test eax, eax
je 0x422034
test edx, edx
jne 0x421fd4
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x4231f8
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.0040a760
mov edi, eax
push edi
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x423262
test ah, 4
je 0x42325b
test bl, bl
jne 0x423220
mov al, 1
jmp 0x423289
test al, 0x10
je 0x423228
xor eax, eax
jmp 0x423289
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push edi
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x42324c
push eax
call sub.kernel32.dll_CloseHandle
mov al, 1
jmp 0x423289
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 0x20
sete al
jmp 0x423289
test al, 0x10
sete al
jmp 0x423289
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 2
je 0x423283
cmp ebx, 3
je 0x423283
cmp ebx, 0x7b
je 0x423283
mov eax, esi
call fcn.004231b8
test al, al
jne 0x423287
xor eax, eax
jmp 0x423289
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x423290
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov byte [esp], dl
mov edi, eax
xor ebx, ebx
mov eax, edi
call fcn.0040a760
mov ebp, eax
push ebp
call sub.kernel32.dll_GetFileAttributesW
mov esi, eax
cmp esi, 0xffffffff
je 0x42332e
test esi, 0x400
jne 0x4232c5
test esi, 0x10
setne bl
jmp 0x42332e
cmp byte [esp], 0
je 0x4232f9
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x42332e
push eax
call sub.kernel32.dll_CloseHandle
test esi, 0x10
setne bl
jmp 0x42332e
test esi, 0x10
je 0x423305
mov bl, 1
jmp 0x42332e
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x42332c
push eax
call sub.kernel32.dll_CloseHandle
xor ebx, ebx
jmp 0x42332e
mov bl, 1
mov eax, ebx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4282a8
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 0x4282e1
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00409e78
jmp 0x4282ea
mov eax, ebx
mov edx, esi
call fcn.0040a0d0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4282f4
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 0x428318
movzx eax, word [esp]
jmp 0x42831a
mov eax, edi
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x4297ec
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 0x429913
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.004295f4
mov esi, eax
mov eax, dword [0x5fadf0]
cmp byte [eax], 0
je 0x4298b9
mov eax, dword [0x5fa978]
call fcn.00407818
call fcn.00406fe4
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 [0x4297bc]
call fcn.0040cc00
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 0x42992c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
jmp 0x4298f5
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x5fa8d4]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x5ff63c]
call fcn.0040d300
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 0x42991a
lea eax, [ebp - 4]
mov edx, dword [0x4297bc]
call fcn.0040cd24
pop eax
jmp eax
Function at 0x42a950
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 0x42a993
mov eax, dword [ebp - 0x10c]
mov dword [0x5ff8f8], eax
mov eax, 0x5ff8fc
lea edx, [ebp - 0x108]
mov ecx, 0x80
call fcn.0040a814
mov eax, 0x5ff900
call fcn.00409ce0
xor eax, eax
mov dword [0x5ff904], eax
xor eax, eax
mov dword [ebp - 4], eax
cmp dword [0x5ff7bc], 0xa
jl 0x42aae9
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x42aaf4
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x42aae9
xor eax, eax
push ebp
push 0x42aae2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
push 0x42ab50
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x42aa42
cmp dword [ebp - 8], 2
jle 0x42aa42
mov edx, dword [ebp - 8]
sub edx, 2
sar edx, 1
jns 0x42aa15
adc edx, 0
mov eax, 0x5ff900
call fcn.0040a8ec
lea eax, [ebp - 8]
push eax
mov eax, dword [0x5ff900]
call fcn.0040a760
push eax
push 0
push 0
push 0x42ab50
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
jmp 0x42aa9c
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
push 0x42ab70
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x42aa9c
cmp dword [ebp - 8], 2
jle 0x42aa9c
mov edx, dword [ebp - 8]
sub edx, 2
sar edx, 1
jns 0x42aa71
adc edx, 0
mov eax, 0x5ff900
call fcn.0040a8ec
lea eax, [ebp - 8]
push eax
mov eax, dword [0x5ff900]
call fcn.0040a760
push eax
push 0
push 0
push 0x42ab70
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov dword [ebp - 8], 4
lea eax, [ebp - 8]
push eax
push 0x5ff904
push 0
push 0
push 0x42ab84
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
je 0x42aac9
xor eax, eax
mov dword [0x5ff904], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42aae9
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
pop eax
jmp eax
mov byte [0x5f6360], 1
mov esp, ebp
pop ebp
ret
Function at 0x42ac2c
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 0x42ad06
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040a118
lea eax, [ebp - 4]
call fcn.0040a234
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040a760
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x42acee
mov eax, ebx
call fcn.00406e70
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x42ace7
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.0040a760
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x42accf
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x42ad18
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x42accf
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 0x42acee
mov eax, dword [ebp - 0x10]
call fcn.00406e8c
pop eax
jmp eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42ad0d
lea eax, [ebp - 4]
call fcn.00409ce0
pop eax
jmp eax

Function at 0x42ad1c
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 0x42ae20
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040a118
lea eax, [ebp - 4]
call fcn.0040a234
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040a760
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x42ae08
mov eax, ebx
call fcn.00406e70
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x42ae01
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.0040a760
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x42ade9
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x42ae34
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x42ade9
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 0x42ae08
mov eax, dword [ebp - 0x10]
call fcn.00406e8c
pop eax
jmp eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42ae27
lea eax, [ebp - 4]
call fcn.00409ce0
pop eax
jmp eax
Function at 0x42be14
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.0040a1c0
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040fd38
mov edi, eax
cmp edi, 0x104
jbe 0x42bdbf
mov eax, edi
add eax, eax
call fcn.00406e70
mov esi, eax
jmp 0x42bdc1
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040fd38
push esi
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x42bdfa
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 0x42bde4
mov eax, esp
cmp esi, eax
je 0x42be07
mov eax, esi
call fcn.00406e8c
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 0x42be40
cmp bl, 0
je 0x42be3c
cmp bl, 0x41
jl 0x42be37
cmp bl, 0x5a
jg 0x42be37
or bl, 0x20
xor al, bl
inc esi
jmp 0x42be1b
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x42bd80

Function at 0x42ce94
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 0x42ceb2
mov eax, dword [eax - 4]
lea ebx, [edi + esi]
cmp eax, ebx
jg 0x42ceca
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x42cec5
mov eax, dword [eax - 4]
mov dword [ebp - 8], eax
jmp 0x42cecf
add edi, esi
mov dword [ebp - 8], edi
movzx eax, word [ebp + 0x14]
cmp ax, word [ebp + 0x10]
je 0x42cf3d
xor eax, eax
mov dword [ebp - 0xc], eax
cmp esi, dword [ebp - 8]
jge 0x42cf86
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x14]
jne 0x42cefb
inc dword [ebp - 0xc]
jmp 0x42cf13
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x10]
jne 0x42cf13
cmp dword [ebp - 0xc], 0
jle 0x42cf13
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0
jne 0x42cf35
xor eax, eax
jmp 0x42cf31
movzx edi, word [edx + eax*2]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
cmp di, word [ebx + esi*2]
jne 0x42cf30
mov eax, esi
jmp 0x42cf89
inc eax
cmp eax, ecx
jle 0x42cf1d
inc esi
cmp esi, dword [ebp - 8]
jl 0x42cee7
jmp 0x42cf86
mov byte [ebp - 0xd], 0
cmp esi, dword [ebp - 8]
jge 0x42cf86
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x14]
jne 0x42cf5e
movzx eax, byte [ebp - 0xd]
xor al, 1
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
jne 0x42cf80
xor eax, eax
jmp 0x42cf7c
movzx edi, word [edx + eax*2]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
cmp di, word [ebx + esi*2]
jne 0x42cf7b
mov eax, esi
jmp 0x42cf89
inc eax
cmp eax, ecx
jle 0x42cf68
inc esi
cmp esi, dword [ebp - 8]
jl 0x42cf46
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x42d19c
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 0x42d1b9
mov eax, dword [eax - 4]
mov esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x42d1c7
mov eax, dword [eax - 4]
mov ebx, eax
sub ebx, dword [ebp + 8]
sub ebx, esi
inc ebx
cmp dword [ebp + 8], 0
jl 0x42d2e9
test ebx, ebx
jl 0x42d2e9
test esi, esi
jle 0x42d2e9
mov eax, dword [ebp - 8]
call fcn.0040a760
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.0040a760
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 0x42d286
xor eax, eax
mov dword [ebp - 0x14], eax
test ebx, ebx
jl 0x42d2e9
inc ebx
mov dword [ebp - 0x1c], ebx
xor edx, edx
xor eax, eax
jmp 0x42d26b
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp - 0xa]
jne 0x42d23a
inc dword [ebp - 0x14]
jmp 0x42d24a
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp + 0xc]
jne 0x42d24a
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0
jle 0x42d255
or eax, 0xffffffff
jmp 0x42d26b
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
mov edi, dword [ebp - 0x10]
cmp bx, word [edi + eax*2]
jne 0x42d268
inc eax
jmp 0x42d26b
or eax, 0xffffffff
test eax, eax
jl 0x42d273
cmp esi, eax
jg 0x42d228
cmp esi, eax
jg 0x42d27e
mov eax, edx
add eax, dword [ebp + 8]
jmp 0x42d2ec
inc edx
dec dword [ebp - 0x1c]
jne 0x42d224
jmp 0x42d2e9
mov byte [ebp - 0x15], 0
test ebx, ebx
jl 0x42d2e9
inc ebx
mov dword [ebp - 0x1c], ebx
xor edx, edx
xor eax, eax
jmp 0x42d2d0
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp - 0xa]
jne 0x42d2af
movzx ebx, byte [ebp - 0x15]
xor bl, 1
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x42d2ba
or eax, 0xffffffff
jmp 0x42d2d0
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
mov edi, dword [ebp - 0x10]
cmp bx, word [edi + eax*2]
jne 0x42d2cd
inc eax
jmp 0x42d2d0
or eax, 0xffffffff
test eax, eax
jl 0x42d2d8
cmp esi, eax
jg 0x42d298
cmp esi, eax
jg 0x42d2e3
mov eax, edx
add eax, dword [ebp + 8]
jmp 0x42d2ec
inc edx
dec dword [ebp - 0x1c]
jne 0x42d294
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

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

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

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
test dl, dl
je 0x451698
add esp, 0xfffffff0
call fcn.00408460
mov ebx, edx
mov esi, eax
mov dl, 1
mov eax, dword [0x44b608]
call fcn.0046cf54
mov dword [esi + 4], eax
mov dl, 1
mov eax, dword [0x450654]
call fcn.0046e670
mov dword [esi + 8], eax
mov dl, 1
mov eax, dword [0x450654]
call fcn.0046e670
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 0x4516ed
call fcn.004084b8
pop dword fs:[0]
add esp, 0xc
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4ae578
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, eax
or dl, byte [ebx + 0xd]
je 0x4ae5bb
cmp byte [ebx + 0x11], 0
jne 0x4ae5bb
cmp byte [ebx + 0x24], 0
jne 0x4ae5bb
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 0x4ae5d2
mov ecx, dword [0x5fad48]
mov dl, 1
mov eax, dword [0x47f010]
call fcn.00429a1c
call fcn.0040930c
pop ebx
ret
mov ecx, dword [0x5fad48]
mov dl, 1
mov eax, dword [0x47f010]
call fcn.00429a1c
call fcn.0040930c
pop ebx
ret

Function at 0x4aeb94
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 0x4aebe2
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.004ae4f0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4aebfb
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4aec04
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.004ae4f0
dec esi
jne 0x4aec26
mov byte [ebx + 0xf], 0
pop esi
pop ebx
ret