joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000f1db
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Get ntdll base address

Disassembly:
mov eax, 0x10043d5a
call fcn.10033d28
push ecx
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [esi], 0x10046bc0
mov dword [ebp - 0x10], esi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [ebp - 4], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
lea ecx, [esi + 0x44]
call fcn.100016d5
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], edi
lea ecx, [esi + 0x70]
mov byte [ebp - 4], 5
call fcn.10001ef7
lea ecx, [esi + 0xd0]
call fcn.100016d5
lea ecx, [esi + 0xec]
call fcn.100016d5
lea ecx, [esi + 0x108]
call fcn.100016d5
lea ecx, [esi + 0x124]
call fcn.100016d5
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x10019392
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Get ntdll base address

Disassembly:
mov eax, 0x100444ca
call fcn.10033d28
push ecx
push ebx
xor ebx, ebx
push esi
mov esi, ecx
push edi
mov edi, 0x100464df
push edi
lea ecx, [esi + 0x70]
mov dword [ebp - 0x10], esi
mov dword [esi], 0x1004748c
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov byte [esi + 0x48], bl
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov byte [esi + 0x5c], bl
mov dword [esi + 0x60], ebx
mov byte [esi + 0x64], bl
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
call fcn.10001cde
push edi
lea ecx, [esi + 0x8c]
mov dword [ebp - 4], ebx
call fcn.10001cde
lea ecx, [esi + 0xa8]
call fcn.100016d5
push edi
lea ecx, [esi + 0xc4]
mov byte [ebp - 4], 2
call fcn.10001cde
push edi
lea ecx, [esi + 0xe0]
mov byte [ebp - 4], 3
call fcn.10001cde
push edi
lea ecx, [esi + 0xfc]
mov byte [ebp - 4], 4
call fcn.10001cde
push edi
lea ecx, [esi + 0x118]
mov byte [ebp - 4], 5
call fcn.10001cde
push edi
lea ecx, [esi + 0x134]
mov byte [ebp - 4], 6
call fcn.10001cde
push edi
lea ecx, [esi + 0x150]
mov byte [ebp - 4], 7
call fcn.10001cde
push edi
lea ecx, [esi + 0x16c]
mov byte [ebp - 4], 8
call fcn.10001cde
lea ecx, [esi + 0x188]
call fcn.100016d5
lea ecx, [esi + 0x1a4]
call fcn.100016d5
push edi
lea ecx, [esi + 0x1c0]
mov byte [ebp - 4], 0xb
call fcn.10001cde
push 0x100464e8
lea ecx, [esi + 0x1dc]
mov byte [ebp - 4], 0xc
call fcn.10001cde
lea eax, [esi + 0x1f8]
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
push edi
lea ecx, [esi + 0x188]
mov byte [ebp - 4], 0xe
call fcn.10001bfb
lea ecx, [esi + 0x1f8]
call fcn.10002a7d
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x10019a32
Capabilities:
Get file attributes

Disassembly:
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push str.kduef
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
push str.plhc
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor eax, eax
ret
Function at 0x1001a1b3
Capabilities:
Get file attributes

Disassembly:
push esi
xor esi, esi
push esi
push esi
push esi
push esi
push 0x100479a4
push esi
call dword [sym.imp.KERNEL32.dll_SearchPathA]
push str.plhc
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push esi
push esi
push esi
call dword [sym.imp.GDI32.dll_GetTextCharsetInfo]
push esi
push esi
push esi
push esi
push str.dgewq
call dword [sym.imp.KERNEL32.dll_UnlockFile]
push str.yklb
push esi
push esi
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
mov esi, str.1.9.7.8
push esi
call fcn.100330a0
cmp dword [esp + 0x10], eax
pop ecx
jge 0x1001a20c
xor eax, eax
pop esi
ret
push esi
push dword [esp + 0xc]
call fcn.10035050
pop ecx
pop ecx
xor eax, eax
inc eax
pop esi
ret
Function at 0x1001abdc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x10044556
call fcn.10033d28
sub esp, 0x420
mov eax, dword [0x1005392c]
push ebx
push esi
push edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
call dword [0x100531c8]
xor ebx, ebx
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x420], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x428], esi
mov dword [ebp - 0x42c], ebx
mov dword [ebp - 0x418], ebx
cmp dword [ebp + 8], ebx
mov byte [ebp - 4], 1
je 0x1001ac9f
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [eax + eax + 2]
cmp edi, 0x400
jg 0x1001ac62
push edi
call fcn.1000f5f0
test al, al
pop ecx
je 0x1001ac62
mov eax, edi
add eax, 3
and eax, 0xfffffffc
call fcn.10035840
mov dword [ebp - 0x10], esp
mov esi, esp
jmp 0x1001ac7b
lea eax, [edi + 8]
push eax
call fcn.1003574b
cmp eax, ebx
pop ecx
je 0x1001ac9f
mov dword [eax], ebx
mov dword [ebp - 0x420], eax
lea esi, [eax + 8]
cmp esi, ebx
je 0x1001ac9f
push ebx
push ebx
push edi
push esi
push 0xffffffffffffffff
push dword [ebp + 8]
mov byte [esi], bl
push ebx
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, esi
jmp 0x1001aca1
xor eax, eax
cmp eax, ebx
jne 0x1001acc8
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x1001acbe
lea ecx, [ebp - 0x418]
call fcn.1001adf6
mov esi, 0x8007000e
jmp 0x1001adca
push 2
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov edi, eax
cmp edi, ebx
mov dword [ebp - 0x424], edi
jne 0x1001acea
call fcn.1001176b
mov esi, eax
jmp 0x1001adb1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
cmp esi, ebx
je 0x1001ad0f
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebx
mov dword [ebp - 0x41c], eax
jne 0x1001ad19
call fcn.1001176b
jmp 0x1001ada3
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
cmp eax, 0x400
mov dword [ebp + 8], esi
mov byte [ebp - 4], 2
jbe 0x1001ad48
push eax
lea ecx, [ebp - 0x418]
call fcn.1001c07e
jmp 0x1001ad5b
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
jmp 0x1001ad5b
cmp dword [ebp - 0x418], ebx
mov dword [ebp - 4], 1
jne 0x1001ad71
mov esi, 0x8007000e
jmp 0x1001ada5
push esi
push dword [ebp - 0x41c]
push dword [ebp - 0x418]
call fcn.10033130
mov eax, dword [ebp - 0x418]
add esp, 0xc
push dword [ebp + 0x14]
mov byte [esi + eax], bl
push dword [ebp - 0x418]
lea ecx, [ebp - 0x42c]
call fcn.1001ae0c
mov esi, eax
push dword [ebp - 0x424]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x1001adca
lea ecx, [ebp - 0x418]
call fcn.1001adf6
lea ecx, [ebp - 0x420]
call fcn.1000fc6a
mov eax, esi
lea esp, [ebp - 0x438]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
call fcn.100341e0
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x1001bacd
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x94]
sub esp, 0x114
mov eax, dword [0x1005392c]
push ebx
push esi
push 0x2001f
push dword [ebp + 0x9c]
mov ebx, ecx
push dword [ebx]
xor esi, esi
lea ecx, [ebp - 0x74]
mov dword [ebp + 0x90], eax
mov dword [ebp - 0x74], esi
call fcn.1001b9fe
cmp eax, esi
jne 0x1001bb55
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x1001bb1e
lea eax, [ebp - 0x70]
push eax
call fcn.1001bacd
cmp eax, esi
jne 0x1001bb54
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x70]
push eax
push esi
push dword [ebp - 0x74]
mov dword [ebp - 0x78], 0x100
call edi
test eax, eax
lea ecx, [ebp - 0x74]
je 0x1001bb11
call fcn.1001b9e7
push dword [ebp + 0x9c]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
pop edi
lea ecx, [ebp - 0x74]
mov esi, eax
call fcn.1001b9e7
mov ecx, dword [ebp + 0x90]
mov eax, esi
pop esi
pop ebx
call fcn.100341e0
add ebp, 0x94
leave
ret 4
Function at 0x1001bf8a
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
mov ebx, ecx
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
add esi, eax
add edi, eax
cmp eax, 1
jne 0x1001bf95
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebx
ret 8

Function at 0x1001c7dd
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push esi
push edi
xor esi, esi
push esi
push esi
push esi
mov edi, ecx
call dword [sym.imp.ADVAPI32.dll_RegSetKeySecurity]
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueA]
push esi
push esi
push str.wuvs
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov eax, dword [edi + 0x38]
cmp dword [eax + 0x18], esi
je 0x1001c83f
mov ecx, dword [eax + 0xc]
cmp ecx, 7
je 0x1001c83f
cmp ecx, 8
je 0x1001c83f
push 0x4653
push esi
push esi
push esi
push esi
push 0xffffffffffffffff
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetActiveWindow]
jmp 0x1001c860
mov eax, dword [eax + 0xc]
cmp eax, 7
je 0x1001c860
cmp eax, 8
je 0x1001c860
push 0x4653
push esi
push esi
push esi
push esi
push 1
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
lea ecx, [edi + 0x34]
call fcn.10009a57
mov dword [0x10094d90], esi
mov dword [edi + 0xd8], esi
pop edi
xor eax, eax
pop esi
ret 4
Function at 0x1001dd3b
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x90]
sub esp, 0x110
mov eax, dword [0x1005392c]
push ebx
push esi
xor ebx, ebx
push str.shell32.dll
mov dword [ebp + 0x8c], eax
mov dword [ebp - 0x80], ebx
mov byte [ebp - 0x78], bl
mov byte [ebp - 0x79], bl
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
cmp esi, ebx
je 0x1001dda1
push str.SHGetFolderPathA
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x1001dd95
lea ecx, [ebp - 0x78]
push ecx
push ebx
push ebx
push 0x23
push ebx
call eax
test eax, eax
jl 0x1001dd95
mov byte [ebp - 0x79], 1
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp byte [ebp - 0x79], bl
jne 0x1001ddc3
push 0x104
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x1001ddc3
push str.All_UsersApplication_Data
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov ecx, dword [ebp + 0x98]
lea eax, [ebp - 0x78]
push eax
call fcn.10001cde
mov ecx, dword [ebp + 0x8c]
mov eax, dword [ebp + 0x98]
pop esi
pop ebx
call fcn.100341e0
add ebp, 0x90
leave
ret 4

Function at 0x1001e14d
Capabilities:
Create directory

Disassembly:
mov eax, 0x100447ad
call fcn.10033d28
sub esp, 0x24
mov eax, dword [0x1005392c]
and dword [ebp - 0x30], 0
mov dword [ebp - 0x10], eax
push esi
lea eax, [ebp - 0x2c]
push eax
call fcn.1001dd3b
and dword [ebp - 4], 0
mov esi, 0x10046888
push esi
lea ecx, [ebp - 0x2c]
call fcn.10001bb8
push 0x10047c3c
lea ecx, [ebp - 0x2c]
call fcn.10001bb8
push esi
lea ecx, [ebp - 0x2c]
call fcn.10001bb8
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
pop esi
jae 0x1001e1a5
lea eax, [ebp - 0x28]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x2c]
push eax
call fcn.10001bd5
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.1000151f
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
call fcn.100341e0
leave
ret 4

Function at 0x1001e1df
Capabilities:
Create directory

Disassembly:
mov eax, 0x100447ad
call fcn.10033d28
sub esp, 0x24
mov eax, dword [0x1005392c]
and dword [ebp - 0x30], 0
add ecx, 0x24
push ecx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x10], eax
call fcn.10001bd5
and dword [ebp - 4], 0
push 0x10047c40
lea ecx, [ebp - 0x2c]
call fcn.10001bb8
push 0x10046888
lea ecx, [ebp - 0x2c]
call fcn.10001bb8
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
jae 0x1001e22e
lea eax, [ebp - 0x28]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x2c]
push eax
call fcn.10001bd5
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.1000151f
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
call fcn.100341e0
leave
ret 4
Function at 0x1001e268
Capabilities:
Get disk information

Disassembly:
mov eax, 0x1004479b
call fcn.10033d28
sub esp, 0x70
mov eax, dword [0x1005392c]
push ebx
push esi
push edi
push 0x10047c84
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x10], eax
call fcn.10001cde
mov eax, dword [ebp - 0x74]
xor edi, edi
cmp dword [ebp - 0x60], 0x10
mov dword [ebp - 4], edi
mov dword [ebp - 0x7c], edi
jae 0x1001e2a1
lea eax, [ebp - 0x74]
push edi
push edi
push edi
push edi
lea ecx, [ebp - 0x7c]
push ecx
push 0xc
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
push 9
lea eax, [ebp - 0x1c]
push edi
push eax
call fcn.10033d50
push 4
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.10033130
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.1000c05e
mov al, byte [ebp + 0xc]
add byte [ebp - 0x1c], al
push 0x40
lea eax, [ebp - 0x5c]
push edi
push eax
call fcn.10033d50
movsx eax, byte [ebp - 0x1c]
push eax
mov esi, 0x100468c4
lea eax, [ebp - 0x5c]
push esi
push eax
call fcn.10034fea
mov ebx, dword [ebp + 8]
add esp, 0x38
lea eax, [ebp - 0x5c]
push eax
mov ecx, ebx
call fcn.10001bfb
push 0x40
lea eax, [ebp - 0x5c]
push edi
push eax
call fcn.10033d50
movsx eax, byte [ebp - 0x1b]
push eax
lea eax, [ebp - 0x5c]
push esi
push eax
call fcn.10034fea
add esp, 0x18
lea eax, [ebp - 0x5c]
push eax
mov ecx, ebx
call fcn.10001bb8
push 0x40
lea eax, [ebp - 0x5c]
push edi
push eax
call fcn.10033d50
movsx eax, byte [ebp - 0x1a]
push eax
lea eax, [ebp - 0x5c]
push esi
push eax
call fcn.10034fea
add esp, 0x18
lea eax, [ebp - 0x5c]
push eax
mov ecx, ebx
call fcn.10001bb8
push 0x40
push edi
lea eax, [ebp - 0x5c]
push eax
call fcn.10033d50
movsx eax, byte [ebp - 0x19]
push eax
lea eax, [ebp - 0x5c]
push esi
push eax
call fcn.10034fea
add esp, 0x18
lea eax, [ebp - 0x5c]
push eax
mov ecx, ebx
call fcn.10001bb8
push edi
push 1
lea ecx, [ebp - 0x78]
call fcn.1000151f
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.100341e0
leave
ret 8
Function at 0x1001f657
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor edi, edi
mov esi, ecx
mov dword [ebp - 4], edi
call fcn.1001e9a2
mov ecx, esi
call fcn.1001f32f
lea eax, [ebp - 4]
push eax
push edi
push esi
push 0x1001e802
push edi
push edi
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp + 8]
mov dword [esi + 0x144], eax
add esi, 0xec
push esi
call fcn.10001bd5
mov eax, dword [ebp + 8]
pop edi
pop esi
leave
ret 4

Function at 0x1001fbc7
Capabilities:
Get disk information
Query or enumerate registry value
Set registry value

Disassembly:
mov eax, 0x10044c57
call fcn.10033d28
sub esp, 0x408
mov eax, dword [0x1005392c]
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0x414]
mov dword [ebp - 0x10], eax
call fcn.10024ab4
xor eax, eax
xor ebx, ebx
mov byte [ebp - 0x410], bl
mov ecx, 0xff
lea edi, [ebp - 0x40f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x24
stosb byte es:[edi], al
lea eax, [ebp - 0x410]
push 0x10047cbc
push eax
mov dword [ebp - 4], ebx
call fcn.10033130
add esp, 0xc
push 0x10047d24
push 0x24
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x414]
call fcn.10024ac4
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueA]
push ebx
push ebx
push str.wuvs
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x1001fc9b
push 0x1388
push dword [esi + 0x10]
call edi
test eax, eax
je 0x1001fcc5
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueA]
push ebx
push ebx
push str.wuvs
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
push 0x64
push dword [esi + 0x1c]
call edi
lea eax, [ebp - 0x410]
push eax
push ebx
push 0x1f0003
call dword [sym.imp.KERNEL32.dll_OpenEventA]
cmp eax, ebx
mov dword [esi + 0x18], eax
je 0x1001fc68
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_SetEvent]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x414]
call fcn.10024abd
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.100341e0
leave
ret
Function at 0x1001ff48
Capabilities:
Get disk information
Query or enumerate registry value
Resolve dns

Disassembly:
push ecx
push ebx
push ebp
push esi
xor esi, esi
cmp dword [esp + 0x18], esi
push edi
mov dword [esp + 0x10], esi
jle 0x1001ffcf
mov edi, dword [esp + 0x18]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
mov ecx, edi
xor ebx, ebx
call fcn.10001071
test eax, eax
jle 0x1001ffb7
xor ebp, ebp
mov eax, dword [edi + 4]
add eax, ebp
cmp dword [eax + 0x18], 0x10
jb 0x1001ff9a
mov eax, dword [eax + 4]
jmp 0x1001ff9d
add eax, 4
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
jne 0x1001ffd9
mov ecx, edi
inc ebx
add ebp, 0x1c
call fcn.10001071
cmp ebx, eax
jl 0x1001ff8a
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_Sleep]
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x1c]
jl 0x1001ff5d
xor al, al
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc
mov al, 1
jmp 0x1001ffd1

Function at 0x100200dd
Capabilities:
Get disk size

Disassembly:
mov eax, 0x10044c6c
call fcn.10033d28
sub esp, 0x110
mov eax, dword [0x1005392c]
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x11c], eax
call fcn.1000a038
mov ebx, dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
xor esi, esi
push esi
push esi
push esi
push str.kdjfir
mov dword [esp + 0x138], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], esi
call ebx
mov ebp, dword [sym.imp.GDI32.dll_GetTextCharsetInfo]
jmp 0x100201af
cmp byte [0x10094ea0], 1
jne 0x10020196
cmp dword [esp + 0x10], 0x12c
jl 0x10020196
push 0x10047d48
mov ecx, 0x10094cc4
call fcn.1000a27e
test eax, eax
je 0x10020196
push 0x10047d44
mov ecx, 0x10094cc4
call fcn.1000a27e
test eax, eax
je 0x10020196
push 0x10047d40
mov ecx, 0x10094cc4
call fcn.1000a27e
test eax, eax
je 0x10020196
cmp dword [esp + 0x14], 1
jg 0x100201d1
lea ecx, [esp + 0x18]
call fcn.1000a873
cmp eax, 1
je 0x100201d1
inc dword [esp + 0x14]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
inc dword [esp + 0x10]
push esi
push esi
push esi
push str.kdjfir
call ebx
push esi
push esi
push esi
call ebp
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push 0x7d0
push dword [edi + 0x10]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, esi
jne 0x10020131
or dword [esp + 0x128], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.1001846e
mov ecx, dword [esp + 0x120]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x110]
pop ebx
call fcn.100341e0
leave
ret
Function at 0x10020b9c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
xor eax, eax
lea ecx, [ebp - 4]
push ecx
push eax
push esi
push 0x10020a8a
push eax
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x30], eax
pop esi
leave
ret
Function at 0x10021c08
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x1005392c]
push esi
push edi
push dword [ebp + 8]
mov dword [ebp - 4], eax
xor esi, esi
xor eax, eax
mov dword [ebp - 0x228], esi
mov ecx, 0x88
lea edi, [ebp - 0x224]
push 8
rep stosd dword es:[edi], eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
jne 0x10021c47
xor eax, eax
jmp 0x10021c99
lea eax, [ebp - 0x228]
push eax
push edi
mov dword [ebp - 0x228], 0x224
call sub.KERNEL32.dll_Module32First
jmp 0x10021c78
mov eax, dword [ebp - 0x224]
cmp eax, dword [ebp + 0xc]
lea eax, [ebp - 0x228]
je 0x10021c7e
push eax
push edi
call sub.KERNEL32.dll_Module32Next
test eax, eax
jne 0x10021c60
jmp 0x10021c90
push dword [ebp + 0x14]
push eax
push dword [ebp + 0x10]
call fcn.10033130
xor esi, esi
add esp, 0xc
inc esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
call fcn.100341e0
leave
ret 0x10
Function at 0x100243d2
Capabilities:
Enumerate processes

Disassembly:
mov eax, 0x100450e8
call fcn.10033d28
sub esp, 0x3bc
mov eax, dword [0x1005392c]
push ebx
xor ebx, ebx
push esi
mov dword [ebp - 0x10], eax
push edi
mov esi, ecx
mov dword [ebp - 0x364], ebx
mov dword [ebp - 0x370], ebx
mov dword [ebp - 0x36c], ebx
mov dword [ebp - 0x368], ebx
push 0x49
pop ecx
push ebx
xor eax, eax
mov dword [ebp - 0x138], ebx
lea edi, [ebp - 0x134]
push 2
mov dword [ebp - 4], ebx
rep stosd dword es:[edi], eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
cmp eax, 0xffffffff
mov dword [ebp - 0x364], eax
je 0x1002455a
lea ecx, [ebp - 0x138]
push ecx
push eax
mov dword [ebp - 0x138], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x1002454e
mov ecx, esi
call fcn.10021ba7
mov byte [ebp - 0x35d], al
xor eax, eax
cmp byte [ebp - 0x35d], bl
mov ecx, 0x88
lea edi, [ebp - 0x358]
mov dword [ebp - 0x35c], ebx
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0x128]
mov eax, edi
jne 0x1002448a
lea eax, [edi + 1]
push 0x224
lea ecx, [ebp - 0x35c]
push ecx
push eax
push dword [ebp - 0x130]
mov ecx, esi
call fcn.10021c08
test eax, eax
je 0x10024534
cmp byte [ebp + 0xc], bl
lea eax, [ebp - 0x33c]
push eax
jne 0x10024502
lea ecx, [ebp - 0x390]
call fcn.10001cde
lea eax, [ebp - 0x390]
push eax
lea eax, [ebp - 0x3c8]
push eax
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.10024020
push eax
lea ecx, [ebp - 0x374]
mov byte [ebp - 4], 2
call fcn.1000340e
push ebx
push 1
lea ecx, [ebp - 0x3c8]
call fcn.1000151f
lea ecx, [ebp - 0x390]
jmp 0x10024529
lea ecx, [ebp - 0x3ac]
call fcn.10001cde
lea eax, [ebp - 0x3ac]
push eax
lea ecx, [ebp - 0x374]
mov byte [ebp - 4], 3
call fcn.1000340e
lea ecx, [ebp - 0x3ac]
push ebx
push 1
mov byte [ebp - 4], bl
call fcn.1000151f
lea eax, [ebp - 0x138]
push eax
push dword [ebp - 0x364]
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x10024462
push dword [ebp - 0x364]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x374]
push eax
call fcn.10002fd5
lea ecx, [ebp - 0x374]
call fcn.10002a7d
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.100341e0
leave
ret 8

Function at 0x10024ac4
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 0x10]
test edi, edi
je 0x10024b07
cmp byte [edi], 0
je 0x10024b07
push ebx
push edi
call fcn.100330a0
pop ecx
xor ecx, ecx
cmp dword [esp + 0x10], ecx
mov ebx, eax
jle 0x10024b02
push esi
mov eax, dword [esp + 0x10]
lea esi, [ecx + eax]
mov eax, ecx
cdq
idiv ebx
mov al, byte [esi]
sub al, cl
xor al, byte [edx + edi]
inc ecx
cmp ecx, dword [esp + 0x14]
mov byte [esi], al
jl 0x10024ae5
pop esi
mov al, 1
pop ebx
jmp 0x10024b09
xor al, al
pop edi
ret 0xc

Function at 0x10024bd2
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
mov dword [ecx + 0x58], eax
ret