joyce8/EMBER2024-capa huggingface dataset:
Function at 0x420a30
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
mov byte [ebp - 1], 0
xor edx, edx
mov eax, 6
call fcn.0042a1ec
test al, al
je 0x420afa
xor edx, edx
mov eax, ebx
call fcn.004221ec
test al, al
je 0x420afa
mov eax, ebx
call fcn.00421fa0
test al, 0x20
je 0x420afa
mov eax, ebx
call fcn.00408d04
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x420afa
test ah, 4
je 0x420afa
test al, 0x10
je 0x420a97
mov edi, 0x2000000
jmp 0x420a99
xor edi, edi
push 0
push edi
push 3
push 0
push 1
push 0x80000000
mov eax, ebx
call fcn.00408d04
push eax
call sub.kernel32.dll_CreateFileW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x420afa
xor eax, eax
push ebp
push 0x420af3
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, esi
mov ecx, edi
mov eax, dword [ebp - 8]
call fcn.00420774
mov byte [ebp - 1], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x420afa
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle
pop eax
jmp eax
movzx eax, byte [ebp - 1]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x420d3c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x420d95
test eax, edx
je 0x420d98
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x420d53
movzx eax, word [eax]
sub eax, ecx
jmp 0x420d7a
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 0x420d7b
add ecx, 4
js 0x420d6b
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x420d78
movzx eax, word [eax + ecx]
movzx edx, word [edx + ecx]
sub eax, edx
pop ebx
pop ebx
jmp 0x420d7a
xor eax, eax
ret
test eax, eax
je 0x420da4
test edx, edx
jne 0x420d44
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret
Function at 0x421e4c
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
push edi
mov esi, edx
mov edi, eax
xor eax, eax
push ebp
push 0x421f2d
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
test esi, esi
je 0x421f10
test edi, edi
je 0x421f10
xor edx, edx
mov eax, 6
call fcn.0042a1ec
test al, al
je 0x421f10
lea edx, [ebp - 4]
mov eax, edi
call fcn.0042275c
mov eax, dword [ebp - 4]
call fcn.00421fa0
test al, 0x20
je 0x421f10
mov eax, esi
call fcn.00422a1c
test al, al
je 0x421ed6
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0042a704
lea eax, [ebp - 8]
mov edx, esi
call fcn.00408ef8
mov eax, dword [ebp - 8]
call fcn.00408d04
push eax
call sub.kernel32.dll_GetFileAttributesW
mov ebx, eax
jmp 0x421ee5
mov eax, esi
call fcn.00408d04
push eax
call sub.kernel32.dll_GetFileAttributesW
mov ebx, eax
cmp ebx, 0xffffffff
je 0x421ef6
test bl, 0x10
je 0x421ef6
mov ebx, 1
jmp 0x421ef8
xor ebx, ebx
push ebx
mov eax, esi
call fcn.00408d04
push eax
mov eax, edi
call fcn.00408d04
push eax
call sub.kernel32.dll_CreateSymbolicLinkW
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x421f34
lea eax, [ebp - 8]
mov edx, 2
call fcn.00408304
pop eax
jmp eax

Function at 0x421fa0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov esi, eax
xor eax, eax
push ebp
push 0x4220f4
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x104
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x421f40]
call fcn.0040b208
add esp, 4
push 0x104
lea eax, [ebp - 0xc]
mov ecx, 1
mov edx, dword [0x421f70]
call fcn.0040b208
add esp, 4
mov bl, 0
mov dl, 1
mov eax, esi
call fcn.00422284
test al, al
jne 0x422016
mov dl, 1
mov eax, esi
call fcn.004221ec
test al, al
je 0x4220a0
lea edx, [ebp - 0x1c]
mov eax, esi
call fcn.00422898
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 4]
call fcn.0042a704
push 0x104
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x104
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00408d04
mov edi, eax
push edi
call sub.kernel32.dll_GetVolumeInformationW
test eax, eax
je 0x42209b
test byte [ebp - 0x14], 1
je 0x422066
or bl, 1
test byte [ebp - 0x14], 2
je 0x42206f
or bl, 2
test byte [ebp - 0x14], 0x80
je 0x422078
or bl, 0x20
push edi
call sub.kernel32.dll_GetDriveTypeW
sub eax, 2
je 0x42208c
dec eax
je 0x422091
dec eax
je 0x422096
dec eax
jne 0x4220b8
or bl, 0x10
jmp 0x4220b8
or bl, 4
jmp 0x4220b8
or bl, 8
jmp 0x4220b8
call fcn.0042b54c
push esi
mov ecx, dword [0x5cc98c]
mov dl, 1
mov eax, dword [0x41ab08]
call fcn.004293ec
call fcn.0040790c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4220fb
lea eax, [ebp - 0x1c]
call fcn.004082a4
lea eax, [ebp - 0xc]
mov edx, dword [0x421f70]
call fcn.0040b32c
lea eax, [ebp - 8]
mov edx, dword [0x421f40]
call fcn.0040b32c
lea eax, [ebp - 4]
call fcn.004082a4
pop eax
jmp eax
Function at 0x4221ec
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.00408d04
mov edi, eax
push edi
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x422256
test ah, 4
je 0x42224f
test bl, bl
jne 0x422214
mov al, 1
jmp 0x42227d
test al, 0x10
je 0x42221c
xor eax, eax
jmp 0x42227d
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push edi
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x422240
push eax
call sub.kernel32.dll_CloseHandle
mov al, 1
jmp 0x42227d
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 0x20
sete al
jmp 0x42227d
test al, 0x10
sete al
jmp 0x42227d
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 2
je 0x422277
cmp ebx, 3
je 0x422277
cmp ebx, 0x7b
je 0x422277
mov eax, esi
call fcn.004221ac
test al, al
jne 0x42227b
xor eax, eax
jmp 0x42227d
mov al, 1
pop edi
pop esi
pop ebx
ret

Function at 0x422284
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.00408d04
mov ebp, eax
push ebp
call sub.kernel32.dll_GetFileAttributesW
mov esi, eax
cmp esi, 0xffffffff
je 0x422322
test esi, 0x400
jne 0x4222b9
test esi, 0x10
setne bl
jmp 0x422322
cmp byte [esp], 0
je 0x4222ed
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x422322
push eax
call sub.kernel32.dll_CloseHandle
test esi, 0x10
setne bl
jmp 0x422322
test esi, 0x10
je 0x4222f9
mov bl, 1
jmp 0x422322
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x422320
push eax
call sub.kernel32.dll_CloseHandle
xor ebx, ebx
jmp 0x422322
mov bl, 1
mov eax, ebx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4224e0
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x422587
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00408d04
push eax
call sub.kernel32.dll_GetFileAttributesW
mov edi, eax
test edi, 0x400
setne al
test al, bl
je 0x42256a
or edi, 0xffffffff
lea edx, [ebp - 4]
mov eax, esi
call fcn.00420a30
test al, al
je 0x42256a
mov eax, dword [ebp - 4]
call fcn.00422a1c
test al, al
je 0x42255a
lea edx, [ebp - 0xc]
mov eax, esi
call fcn.0042275c
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 8]
call fcn.0042a704
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
call fcn.00408f50
mov eax, dword [ebp - 4]
call fcn.00408d04
push eax
call sub.kernel32.dll_GetFileAttributesW
mov edi, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42258e
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00408304
pop eax
jmp eax
Function at 0x422598
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 0x42266d
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
lea eax, [ebp - 4]
mov edx, ebx
call fcn.004086dc
cmp byte [ebp - 9], 0
je 0x422629
mov eax, ebx
call fcn.00408d04
push eax
call sub.kernel32.dll_GetFileAttributesW
test ah, 4
je 0x422629
lea edx, [ebp - 8]
mov eax, ebx
call fcn.00420a30
test al, al
je 0x422629
mov eax, dword [ebp - 8]
call fcn.00422a1c
test al, al
je 0x42261e
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.0042275c
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.0042a704
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, dword [ebp - 8]
call fcn.00408f50
lea eax, [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.004086dc
push edi
mov eax, dword [ebp - 4]
call fcn.00408d04
push eax
call sub.kernel32.dll_SetFileAttributesW
test eax, eax
jne 0x422643
call sub.kernel32.dll_GetLastError
mov esi, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x422674
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00408304
lea eax, [ebp - 8]
mov edx, 2
call fcn.00408304
pop eax
jmp eax

Function at 0x427790
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 0x4277c9
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.0040843c
jmp 0x4277d2
mov eax, ebx
mov edx, esi
call fcn.00408694
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4277dc
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 0x427800
movzx eax, word [esp]
jmp 0x427802
mov eax, edi
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x428cd4
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 0x428dfb
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00428adc
mov esi, eax
mov eax, dword [0x5cc89c]
cmp byte [eax], 0
je 0x428da1
mov eax, dword [0x5cc564]
call fcn.00405e04
call fcn.00405608
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 [0x428ca4]
call fcn.0040b208
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 0x428e14
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
jmp 0x428ddd
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x5cc4e0]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x5d063c]
call fcn.0040b908
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 0x428e02
lea eax, [ebp - 4]
mov edx, dword [0x428ca4]
call fcn.0040b32c
pop eax
jmp eax
Function at 0x429f3c
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 0x429f7f
mov eax, dword [ebp - 0x10c]
mov dword [0x5d08fc], eax
mov eax, 0x5d0900
lea edx, [ebp - 0x108]
mov ecx, 0x80
call fcn.00408da0
mov eax, 0x5d0904
call fcn.004082a4
xor eax, eax
mov dword [0x5d0908], eax
xor eax, eax
mov dword [ebp - 4], eax
cmp dword [0x5d07c0], 0xa
jl 0x42a0d5
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x42a0e0
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x42a0d5
xor eax, eax
push ebp
push 0x42a0ce
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
push 0x42a13c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x42a02e
cmp dword [ebp - 8], 2
jle 0x42a02e
mov edx, dword [ebp - 8]
sub edx, 2
sar edx, 1
jns 0x42a001
adc edx, 0
mov eax, 0x5d0904
call fcn.00408e78
lea eax, [ebp - 8]
push eax
mov eax, dword [0x5d0904]
call fcn.00408d04
push eax
push 0
push 0
push 0x42a13c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
jmp 0x42a088
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
push 0x42a15c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x42a088
cmp dword [ebp - 8], 2
jle 0x42a088
mov edx, dword [ebp - 8]
sub edx, 2
sar edx, 1
jns 0x42a05d
adc edx, 0
mov eax, 0x5d0904
call fcn.00408e78
lea eax, [ebp - 8]
push eax
mov eax, dword [0x5d0904]
call fcn.00408d04
push eax
push 0
push 0
push 0x42a15c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov dword [ebp - 8], 4
lea eax, [ebp - 8]
push eax
push 0x5d0908
push 0
push 0
push 0x42a170
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
je 0x42a0b5
xor eax, eax
mov dword [0x5d0908], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42a0d5
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
pop eax
jmp eax
mov byte [0x5c4360], 1
mov esp, ebp
pop ebp
ret
Function at 0x42a218
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 0x42a2f2
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.004086dc
lea eax, [ebp - 4]
call fcn.004087f8
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00408d04
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x42a2da
mov eax, ebx
call fcn.00405494
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x42a2d3
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.00408d04
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x42a2bb
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x42a304
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x42a2bb
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 0x42a2da
mov eax, dword [ebp - 0x10]
call fcn.004054b0
pop eax
jmp eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42a2f9
lea eax, [ebp - 4]
call fcn.004082a4
pop eax
jmp eax

Function at 0x42b384
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.00408784
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040e340
mov edi, eax
cmp edi, 0x104
jbe 0x42b32f
mov eax, edi
add eax, eax
call fcn.00405494
mov esi, eax
jmp 0x42b331
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040e340
push esi
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x42b36a
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 0x42b354
mov eax, esp
cmp esi, eax
je 0x42b377
mov eax, esi
call fcn.004054b0
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 0x42b3b0
cmp bl, 0
je 0x42b3ac
cmp bl, 0x41
jl 0x42b3a7
cmp bl, 0x5a
jg 0x42b3a7
or bl, 0x20
xor al, bl
inc esi
jmp 0x42b38b
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x42b2f0
Function at 0x42c344
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 0x42c362
mov eax, dword [eax - 4]
lea ebx, [edi + esi]
cmp eax, ebx
jg 0x42c37a
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x42c375
mov eax, dword [eax - 4]
mov dword [ebp - 8], eax
jmp 0x42c37f
add edi, esi
mov dword [ebp - 8], edi
movzx eax, word [ebp + 0x14]
cmp ax, word [ebp + 0x10]
je 0x42c3ed
xor eax, eax
mov dword [ebp - 0xc], eax
cmp esi, dword [ebp - 8]
jge 0x42c436
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x14]
jne 0x42c3ab
inc dword [ebp - 0xc]
jmp 0x42c3c3
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x10]
jne 0x42c3c3
cmp dword [ebp - 0xc], 0
jle 0x42c3c3
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0
jne 0x42c3e5
xor eax, eax
jmp 0x42c3e1
movzx edi, word [edx + eax*2]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
cmp di, word [ebx + esi*2]
jne 0x42c3e0
mov eax, esi
jmp 0x42c439
inc eax
cmp eax, ecx
jle 0x42c3cd
inc esi
cmp esi, dword [ebp - 8]
jl 0x42c397
jmp 0x42c436
mov byte [ebp - 0xd], 0
cmp esi, dword [ebp - 8]
jge 0x42c436
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x14]
jne 0x42c40e
movzx eax, byte [ebp - 0xd]
xor al, 1
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
jne 0x42c430
xor eax, eax
jmp 0x42c42c
movzx edi, word [edx + eax*2]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
cmp di, word [ebx + esi*2]
jne 0x42c42b
mov eax, esi
jmp 0x42c439
inc eax
cmp eax, ecx
jle 0x42c418
inc esi
cmp esi, dword [ebp - 8]
jl 0x42c3f6
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x42c5c8
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 0x42c5e5
mov eax, dword [eax - 4]
mov esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x42c5f3
mov eax, dword [eax - 4]
mov ebx, eax
sub ebx, dword [ebp + 8]
sub ebx, esi
inc ebx
cmp dword [ebp + 8], 0
jl 0x42c715
test ebx, ebx
jl 0x42c715
test esi, esi
jle 0x42c715
mov eax, dword [ebp - 8]
call fcn.00408d04
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00408d04
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 0x42c6b2
xor eax, eax
mov dword [ebp - 0x14], eax
test ebx, ebx
jl 0x42c715
inc ebx
mov dword [ebp - 0x1c], ebx
xor edx, edx
xor eax, eax
jmp 0x42c697
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp - 0xa]
jne 0x42c666
inc dword [ebp - 0x14]
jmp 0x42c676
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp + 0xc]
jne 0x42c676
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0
jle 0x42c681
or eax, 0xffffffff
jmp 0x42c697
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
mov edi, dword [ebp - 0x10]
cmp bx, word [edi + eax*2]
jne 0x42c694
inc eax
jmp 0x42c697
or eax, 0xffffffff
test eax, eax
jl 0x42c69f
cmp esi, eax
jg 0x42c654
cmp esi, eax
jg 0x42c6aa
mov eax, edx
add eax, dword [ebp + 8]
jmp 0x42c718
inc edx
dec dword [ebp - 0x1c]
jne 0x42c650
jmp 0x42c715
mov byte [ebp - 0x15], 0
test ebx, ebx
jl 0x42c715
inc ebx
mov dword [ebp - 0x1c], ebx
xor edx, edx
xor eax, eax
jmp 0x42c6fc
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp - 0xa]
jne 0x42c6db
movzx ebx, byte [ebp - 0x15]
xor bl, 1
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x42c6e6
or eax, 0xffffffff
jmp 0x42c6fc
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
mov edi, dword [ebp - 0x10]
cmp bx, word [edi + eax*2]
jne 0x42c6f9
inc eax
jmp 0x42c6fc
or eax, 0xffffffff
test eax, eax
jl 0x42c704
cmp esi, eax
jg 0x42c6c4
cmp esi, eax
jg 0x42c70f
mov eax, edx
add eax, dword [ebp + 8]
jmp 0x42c718
inc edx
dec dword [ebp - 0x1c]
jne 0x42c6c0
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x43b408
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 0x43b410
mov eax, edx
pop esi
pop ebx
ret
Function at 0x43f72c
Capabilities:
Encode data using xor
Hash data using fnv

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

Function at 0x451e00
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
test dl, dl
je 0x451e14
add esp, 0xfffffff0
call fcn.00406a60
mov ebx, edx
mov esi, eax
mov dl, 1
mov eax, dword [0x44bd84]
call fcn.0046db00
mov dword [esi + 4], eax
mov dl, 1
mov eax, dword [0x450dd0]
call fcn.0046f21c
mov dword [esi + 8], eax
mov dl, 1
mov eax, dword [0x450dd0]
call fcn.0046f21c
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 0x451e69
call fcn.00406ab8
pop dword fs:[0]
add esp, 0xc
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4af938
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, eax
or dl, byte [ebx + 0xd]
je 0x4af97b
cmp byte [ebx + 0x11], 0
jne 0x4af97b
cmp byte [ebx + 0x24], 0
jne 0x4af97b
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 0x4af992
mov ecx, dword [0x5cc81c]
mov dl, 1
mov eax, dword [0x480060]
call fcn.00428ee4
call fcn.0040790c
pop ebx
ret
mov ecx, dword [0x5cc81c]
mov dl, 1
mov eax, dword [0x480060]
call fcn.00428ee4
call fcn.0040790c
pop ebx
ret

Function at 0x4aff54
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 0x4affa2
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.004af8b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4affbb
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

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