joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4270e4
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.0040b030
mov ebp, eax
push ebp
call sub.kernel32.dll_GetFileAttributesW
mov esi, eax
cmp esi, 0xffffffff
je 0x427182
test esi, 0x400
jne 0x427119
test esi, 0x10
setne bl
jmp 0x427182
cmp byte [esp], 0
je 0x42714d
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x427182
push eax
call sub.kernel32.dll_CloseHandle
test esi, 0x10
setne bl
jmp 0x427182
test esi, 0x10
je 0x427159
mov bl, 1
jmp 0x427182
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x427180
push eax
call sub.kernel32.dll_CloseHandle
xor ebx, ebx
jmp 0x427182
mov bl, 1
mov eax, ebx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4272f4
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 0x42739b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0040b030
push eax
call sub.kernel32.dll_GetFileAttributesW
mov edi, eax
test edi, 0x400
setne al
test al, bl
je 0x42737e
or edi, 0xffffffff
lea edx, [ebp - 4]
mov eax, esi
call fcn.0042560c
test al, al
je 0x42737e
mov eax, dword [ebp - 4]
call fcn.00427ba0
test al, al
je 0x42736e
lea edx, [ebp - 0xc]
mov eax, esi
call fcn.004276ac
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 8]
call fcn.0042f99c
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
call fcn.0040b294
mov eax, dword [ebp - 4]
call fcn.0040b030
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 0x4273a2
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040a54c
pop eax
jmp eax
Function at 0x4273ac
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 0x427481
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040a924
cmp byte [ebp - 9], 0
je 0x42743d
mov eax, ebx
call fcn.0040b030
push eax
call sub.kernel32.dll_GetFileAttributesW
test ah, 4
je 0x42743d
lea edx, [ebp - 8]
mov eax, ebx
call fcn.0042560c
test al, al
je 0x42743d
mov eax, dword [ebp - 8]
call fcn.00427ba0
test al, al
je 0x427432
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.004276ac
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.0042f99c
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, dword [ebp - 8]
call fcn.0040b294
lea eax, [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.0040a924
push edi
mov eax, dword [ebp - 4]
call fcn.0040b030
push eax
call sub.kernel32.dll_SetFileAttributesW
test eax, eax
jne 0x427457
call sub.kernel32.dll_GetLastError
mov esi, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x427488
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0040a54c
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040a54c
pop eax
jmp eax

Function at 0x4275c0
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes

Disassembly:
push ebx
push esi
push edi
push ebp
mov esi, eax
mov eax, esi
call fcn.0040b030
mov ebp, eax
push ebp
call sub.kernel32.dll_DeleteFileW
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x427615
call sub.kernel32.dll_GetLastError
mov edi, eax
push ebp
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x42760f
test ah, 4
je 0x42760f
test al, 0x10
je 0x42760f
mov eax, esi
call fcn.0040b030
push eax
call sub.kernel32.dll_RemoveDirectoryW
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x427615
push edi
call sub.kernel32.dll_SetLastError
mov eax, ebx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x42c4d0
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 0x42c509
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.0040a684
jmp 0x42c512
mov eax, ebx
mov edx, esi
call fcn.0040a8dc
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x42c51c
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 0x42c540
movzx eax, word [esp]
jmp 0x42c542
mov eax, edi
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x42dc60
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 0x42dd87
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.0042da68
mov esi, eax
mov eax, dword [0x6251b4]
cmp byte [eax], 0
je 0x42dd2d
mov eax, dword [0x624e2c]
call fcn.00407ebc
call fcn.00407150
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 [0x42dc30]
call fcn.0040d2bc
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 0x42dda0
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
jmp 0x42dd69
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x624d98]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x62963c]
call fcn.0040d880
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 0x42dd8e
lea eax, [ebp - 4]
mov edx, dword [0x42dc30]
call fcn.0040d3e0
pop eax
jmp eax
Function at 0x42f220
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 0x42f263
mov eax, dword [ebp - 0x10c]
mov dword [0x629958], eax
mov eax, 0x62995c
lea edx, [ebp - 0x108]
mov ecx, 0x80
call fcn.0040b0e4
mov eax, 0x629960
call fcn.0040a4ec
xor eax, eax
mov dword [0x629964], eax
xor eax, eax
mov dword [ebp - 4], eax
cmp dword [0x62981c], 0xa
jl 0x42f3b9
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x42f3c4
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x42f3b9
xor eax, eax
push ebp
push 0x42f3b2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
push 0x42f420
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x42f312
cmp dword [ebp - 8], 2
jle 0x42f312
mov edx, dword [ebp - 8]
sub edx, 2
sar edx, 1
jns 0x42f2e5
adc edx, 0
mov eax, 0x629960
call fcn.0040b1bc
lea eax, [ebp - 8]
push eax
mov eax, dword [0x629960]
call fcn.0040b030
push eax
push 0
push 0
push 0x42f420
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
jmp 0x42f36c
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
push 0x42f440
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x42f36c
cmp dword [ebp - 8], 2
jle 0x42f36c
mov edx, dword [ebp - 8]
sub edx, 2
sar edx, 1
jns 0x42f341
adc edx, 0
mov eax, 0x629960
call fcn.0040b1bc
lea eax, [ebp - 8]
push eax
mov eax, dword [0x629960]
call fcn.0040b030
push eax
push 0
push 0
push 0x42f440
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov dword [ebp - 8], 4
lea eax, [ebp - 8]
push eax
push 0x629964
push 0
push 0
push 0x42f454
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
je 0x42f399
xor eax, eax
mov dword [0x629964], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42f3b9
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
pop eax
jmp eax
mov byte [0x61b710], 1
mov esp, ebp
pop ebp
ret
Function at 0x42f4fc
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 0x42f5d6
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040a924
lea eax, [ebp - 4]
call fcn.0040aabc
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040b030
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x42f5be
mov eax, ebx
call fcn.00406fdc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x42f5b7
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.0040b030
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x42f59f
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x42f5e8
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x42f59f
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 0x42f5be
mov eax, dword [ebp - 0x10]
call fcn.00406ff8
pop eax
jmp eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42f5dd
lea eax, [ebp - 4]
call fcn.0040a4ec
pop eax
jmp eax

Function at 0x4308ec
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.0040a9fc
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.00410544
mov edi, eax
cmp edi, 0x104
jbe 0x430897
mov eax, edi
add eax, eax
call fcn.00406fdc
mov esi, eax
jmp 0x430899
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.00410544
push esi
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x4308d2
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 0x4308bc
mov eax, esp
cmp esi, eax
je 0x4308df
mov eax, esi
call fcn.00406ff8
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 0x430918
cmp bl, 0
je 0x430914
cmp bl, 0x41
jl 0x43090f
cmp bl, 0x5a
jg 0x43090f
or bl, 0x20
xor al, bl
inc esi
jmp 0x4308f3
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x430858

Function at 0x431230
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.0040b0e4
add esp, 0x800
pop ebx
ret
Function at 0x431848
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.0040a4ec
push 0x400
lea eax, [esp + 4]
push eax
mov eax, edi
call fcn.0040b030
mov ebp, eax
push ebp
call sub.kernel32.dll_GetEnvironmentVariableW
mov ebx, eax
cmp ebx, 0x400
jge 0x43188d
mov edx, esp
mov eax, esi
mov ecx, ebx
call fcn.0040a684
jmp 0x4318a6
mov edx, ebx
dec edx
mov eax, esi
call fcn.0040b1bc
push ebx
mov eax, dword [esi]
call fcn.0040b030
push eax
push ebp
call sub.kernel32.dll_GetEnvironmentVariableW
add esp, 0x800
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x433b54
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 0x433b74
sub eax, 4
mov eax, dword [eax]
lea ebx, [edi + esi]
cmp eax, ebx
jg 0x433b8e
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x433b89
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x433b93
add edi, esi
mov dword [ebp - 8], edi
movzx eax, word [ebp + 0x14]
cmp ax, word [ebp + 0x10]
je 0x433c01
xor eax, eax
mov dword [ebp - 0xc], eax
cmp esi, dword [ebp - 8]
jge 0x433c4a
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x14]
jne 0x433bbf
inc dword [ebp - 0xc]
jmp 0x433bd7
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x10]
jne 0x433bd7
cmp dword [ebp - 0xc], 0
jle 0x433bd7
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0
jne 0x433bf9
xor eax, eax
jmp 0x433bf5
movzx edi, word [edx + eax*2]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
cmp di, word [ebx + esi*2]
jne 0x433bf4
mov eax, esi
jmp 0x433c4d
inc eax
cmp eax, ecx
jle 0x433be1
inc esi
cmp esi, dword [ebp - 8]
jl 0x433bab
jmp 0x433c4a
mov byte [ebp - 0xd], 0
cmp esi, dword [ebp - 8]
jge 0x433c4a
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x14]
jne 0x433c22
movzx eax, byte [ebp - 0xd]
xor al, 1
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
jne 0x433c44
xor eax, eax
jmp 0x433c40
movzx edi, word [edx + eax*2]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
cmp di, word [ebx + esi*2]
jne 0x433c3f
mov eax, esi
jmp 0x433c4d
inc eax
cmp eax, ecx
jle 0x433c2c
inc esi
cmp esi, dword [ebp - 8]
jl 0x433c0a
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x433e5c
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 0x433e7b
sub eax, 4
mov eax, dword [eax]
mov esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x433e8b
sub eax, 4
mov eax, dword [eax]
mov ebx, eax
sub ebx, dword [ebp + 8]
sub ebx, esi
inc ebx
cmp dword [ebp + 8], 0
jl 0x433fad
test ebx, ebx
jl 0x433fad
test esi, esi
jle 0x433fad
mov eax, dword [ebp - 8]
call fcn.0040b030
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.0040b030
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 0x433f4a
xor eax, eax
mov dword [ebp - 0x14], eax
test ebx, ebx
jl 0x433fad
inc ebx
mov dword [ebp - 0x1c], ebx
xor edx, edx
xor eax, eax
jmp 0x433f2f
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp - 0xa]
jne 0x433efe
inc dword [ebp - 0x14]
jmp 0x433f0e
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp + 0xc]
jne 0x433f0e
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0
jle 0x433f19
or eax, 0xffffffff
jmp 0x433f2f
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
mov edi, dword [ebp - 0x10]
cmp bx, word [edi + eax*2]
jne 0x433f2c
inc eax
jmp 0x433f2f
or eax, 0xffffffff
test eax, eax
jl 0x433f37
cmp esi, eax
jg 0x433eec
cmp esi, eax
jg 0x433f42
mov eax, edx
add eax, dword [ebp + 8]
jmp 0x433fb0
inc edx
dec dword [ebp - 0x1c]
jne 0x433ee8
jmp 0x433fad
mov byte [ebp - 0x15], 0
test ebx, ebx
jl 0x433fad
inc ebx
mov dword [ebp - 0x1c], ebx
xor edx, edx
xor eax, eax
jmp 0x433f94
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp - 0xa]
jne 0x433f73
movzx ebx, byte [ebp - 0x15]
xor bl, 1
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x433f7e
or eax, 0xffffffff
jmp 0x433f94
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
mov edi, dword [ebp - 0x10]
cmp bx, word [edi + eax*2]
jne 0x433f91
inc eax
jmp 0x433f94
or eax, 0xffffffff
test eax, eax
jl 0x433f9c
cmp esi, eax
jg 0x433f5c
cmp esi, eax
jg 0x433fa7
mov eax, edx
add eax, dword [ebp + 8]
jmp 0x433fb0
inc edx
dec dword [ebp - 0x1c]
jne 0x433f58
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x443618
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 0x443620
mov eax, edx
pop esi
pop ebx
ret
Function at 0x452c9c
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
test dl, dl
je 0x452cb0
add esp, 0xfffffff0
call fcn.00408d30
mov ebx, edx
mov esi, eax
mov dl, 1
mov eax, dword [0x44cd38]
call fcn.0047077c
mov dword [esi + 4], eax
mov dl, 1
mov eax, dword [0x451cd8]
call fcn.0047354c
mov dword [esi + 8], eax
mov dl, 1
mov eax, dword [0x451cd8]
call fcn.0047354c
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 0x452d05
call fcn.00408d88
pop dword fs:[0]
add esp, 0xc
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4c22b8
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, eax
or dl, byte [ebx + 0xd]
je 0x4c22fb
cmp byte [ebx + 0x11], 0
jne 0x4c22fb
cmp byte [ebx + 0x24], 0
jne 0x4c22fb
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 0x4c2312
mov ecx, dword [0x625118]
mov dl, 1
mov eax, dword [0x48dd78]
call fcn.0042deec
call fcn.00409be4
pop ebx
ret
mov ecx, dword [0x625118]
mov dl, 1
mov eax, dword [0x48dd78]
call fcn.0042deec
call fcn.00409be4
pop ebx
ret

Function at 0x4c2c80
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 0x4c2cce
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.004c2164
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c2ce7
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4c2cf0
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.004c2164
dec esi
jne 0x4c2d12
mov byte [ebx + 0xf], 0
pop esi
pop ebx
ret
Function at 0x4c59e8
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x62c90c
cmp dword [edi], 0
jne 0x4c5a64
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc
mov esi, eax
mov eax, dword [0x62c908]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x61c3b4
mov ecx, 2
call fcn.00407500
mov edx, 0x4c59c0
lea eax, [esi + 5]
call fcn.004c59e0
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.004c59e0
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x4c5a39
mov dword [0x62c908], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

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

Disassembly:
push ebx
add edx, eax
cmp edx, eax
jbe 0x4df207
movzx ebx, byte [eax]
xor ecx, ebx
imul ecx, ecx, 0x1000193
inc eax
cmp edx, eax
ja 0x4df1f7
mov eax, ecx
pop ebx
ret
Function at 0x507540
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x5076ff
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040a924
mov eax, dword [ebp - 4]
call fcn.00506e8c
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
jne 0x507592
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.0040b44c
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.00508194
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x507673
xor eax, eax
push ebp
push 0x50766c
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.0050712c
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0xc]
call fcn.00507734
test al, al
je 0x507648
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 8]
xor edx, edx
call fcn.0040a684
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x507648
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
call fcn.0040b030
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.0050708c
test al, al
je 0x507642
mov eax, dword [ebp - 8]
call fcn.0040b030
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.0040b090
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0xc]
call fcn.00507540
dec ebx
cmp ebx, 0xffffffff
jne 0x5075f1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x507673
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.0050712c
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey
pop eax
jmp eax
cmp byte [0x62c960], 0
je 0x5076b3
push 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x18]
and eax, 0x300
push eax
mov eax, dword [ebp - 4]
call fcn.0040b030
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.00507118
push eax
call sub.advapi32.dll_RegDeleteKeyExW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.0050708c
mov ebx, eax
jmp 0x5076da
mov eax, dword [ebp - 4]
call fcn.0040b030
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.00507118
push eax
call sub.advapi32.dll_RegDeleteKeyW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.0050708c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x507706
lea eax, [ebp - 0x3c]
call fcn.0040a4ec
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040a54c
pop eax
jmp eax