joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405ec0
Capabilities:
Reference the vmware io port

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov eax, 0x56432c
call fcn.00544234
mov word [ebp - 0x14], 0xc
push ebx
mov eax, 0x564d5868
mov ebx, 0x8685d465
mov ecx, 0xa
mov dx, 0x5658
in eax, dx
mov dword [ebp - 0x28], ebx
pop ebx
mov word [ebp - 0x14], 0
jmp 0x405f08
cmp dword [ebp - 0x28], 0x564d5868
sete al
and eax, 1
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x406cfc
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd9c
push ebx
push esi
push edi
mov eax, 0x5648e0
call fcn.00544234
mov byte [ebp - 0x4d], 0
mov word [ebp - 0x3c], 0xc
xor edx, edx
mov dword [ebp - 0x54], edx
mov word [ebp - 0x3c], 0xc
push 0xf003f
push 0
push 0
call sub.ADVAPI32.DLL_OpenSCManagerW
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
je 0x406f13
xor ecx, ecx
mov dword [ebp - 0x58], ecx
push 0xf01ff
push str.SvcMaya
push dword [ebp - 0x54]
call sub.ADVAPI32.DLL_OpenServiceW
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
je 0x406f13
mov word [ebp - 0x3c], 0x24
mov edx, 0x57dae4
lea eax, [ebp - 8]
call fcn.005527d4
inc dword [ebp - 0x30]
mov word [ebp - 0x3c], 0x18
mov word [ebp - 0x3c], 0x30
xor ecx, ecx
mov dword [ebp - 0xc], ecx
inc dword [ebp - 0x30]
mov word [ebp - 0x3c], 0x18
mov esi, 0x563694
lea edi, [ebp - 0x264]
mov ecx, 0x82
rep movsd dword es:[edi], dword [esi]
push 0x208
lea eax, [ebp - 0x264]
push eax
call sub.KERNEL32.DLL_GetSystemDirectoryW
mov word [ebp - 0x3c], 0x48
lea edx, [ebp - 0x264]
lea eax, [ebp - 0x10]
call fcn.005528c0
inc dword [ebp - 0x30]
lea edx, [ebp - 0x10]
lea eax, [ebp - 0xc]
call fcn.0055294c
dec dword [ebp - 0x30]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00552924
lea eax, [ebp - 0xc]
call fcn.00552dd4
cmp word [eax], 0x5c
je 0x406e2a
mov word [ebp - 0x3c], 0x54
mov edx, 0x5641d8
lea eax, [ebp - 0x14]
call fcn.005528c0
inc dword [ebp - 0x30]
lea edx, [ebp - 0x14]
lea eax, [ebp - 0xc]
call fcn.00552960
dec dword [ebp - 0x30]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00552924
mov word [ebp - 0x3c], 0x60
mov edx, 0x5641dc
lea eax, [ebp - 0x18]
call fcn.00552794
inc dword [ebp - 0x30]
lea edx, [ebp - 0x18]
lea eax, [ebp - 0xc]
call fcn.00552960
dec dword [ebp - 0x30]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00552924
lea edx, [ebp - 8]
lea eax, [ebp - 0xc]
call fcn.00552960
mov word [ebp - 0x3c], 0x6c
lea edx, [ebp - 0xc]
lea eax, [ebp - 0x1c]
xor ecx, ecx
call fcn.00551a8c
inc dword [ebp - 0x30]
lea eax, [ebp - 0x1c]
inc dword [ebp - 0x30]
mov dword [ebp - 0x5c], eax
mov edx, dword [ebp - 0x5c]
cmp dword [edx], 0
jne 0x406e94
mov edx, 0x5641de
jmp 0x406e99
mov eax, dword [ebp - 0x5c]
mov edx, dword [eax]
lea eax, [ebp - 0x20]
call fcn.00552794
inc dword [ebp - 0x30]
mov eax, dword [eax]
mov dl, 1
call fcn.00464888
cmp al, 1
sete cl
and ecx, 1
push ecx
dec dword [ebp - 0x30]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.00552924
sub dword [ebp - 0x30], 2
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004027dc
pop ecx
test cl, cl
je 0x406eed
push dword [ebp - 8]
call fcn.00406c64
pop ecx
test al, al
je 0x406eed
mov byte [ebp - 0x4d], 1
dec dword [ebp - 0x30]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00552924
dec dword [ebp - 0x30]
lea eax, [ebp - 8]
mov edx, 2
call fcn.00552924
mov word [ebp - 0x3c], 0xc
push dword [ebp - 0x54]
call sub.ADVAPI32.DLL_CloseServiceHandle
xor ecx, ecx
mov dword [ebp - 0x54], ecx
mov word [ebp - 0x3c], 0
jmp 0x406f8b
mov al, byte [ebp - 0x4d]
mov edx, dword [ebp - 0x4c]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40c320
Capabilities:
Create process on windows
Delete file
Extract resource via kernel32 functions
Get common file path
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd68
push ebx
push esi
push edi
mov dword [ebp - 0x30], eax
mov eax, 0x567164
call fcn.00544234
mov word [ebp - 0x1c], 0xc
push 0xa
push 0x567048
push 0
call sub.KERNEL32.DLL_FindResourceW
mov dword [ebp - 0x34], eax
push dword [ebp - 0x34]
push 0
call sub.KERNEL32.DLL_LoadResource
mov dword [ebp - 0x38], eax
push dword [ebp - 0x34]
push 0
call sub.KERNEL32.DLL_SizeofResource
mov dword [ebp - 0x40], eax
push dword [ebp - 0x38]
call sub.KERNEL32.DLL_LockResource
mov dword [ebp - 0x44], eax
mov word [ebp - 0x1c], 0xc
cmp dword [ebp - 0x44], 0
je 0x40c437
push 0x208
lea edx, [ebp - 0x25c]
push edx
call sub.KERNEL32.DLL_GetWindowsDirectoryW
push str._dotNetFx461_setup.exe
lea ecx, [ebp - 0x25c]
push ecx
call fcn.0054417c
add esp, 8
mov word [ebp - 0x1c], 0x18
lea edx, [ebp - 0x25c]
lea eax, [ebp - 4]
call fcn.005528c0
inc dword [ebp - 0x10]
mov eax, dword [eax]
mov dl, 1
call fcn.00464888
cmp al, 1
sete cl
and ecx, 1
push ecx
dec dword [ebp - 0x10]
lea eax, [ebp - 4]
mov edx, 2
call fcn.00552924
pop ecx
test cl, cl
je 0x40c3f4
lea eax, [ebp - 0x25c]
push eax
call sub.KERNEL32.DLL_DeleteFileW
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
lea edx, [ebp - 0x25c]
push edx
call sub.KERNEL32.DLL_CreateFileW
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0xffffffff
je 0x40c42f
push 0
lea ecx, [ebp - 0x4c]
push ecx
push dword [ebp - 0x40]
push dword [ebp - 0x44]
push dword [ebp - 0x48]
call sub.KERNEL32.DLL_WriteFile
push dword [ebp - 0x48]
call sub.KERNEL32.DLL_CloseHandle
push dword [ebp - 0x38]
call sub.KERNEL32.DLL_FreeResource
push dword [ebp - 0x34]
call sub.KERNEL32.DLL_FreeResource
mov word [ebp - 0x1c], 0x24
lea edx, [ebp - 0x25c]
lea eax, [ebp - 8]
call fcn.005528c0
inc dword [ebp - 0x10]
mov eax, dword [eax]
mov dl, 1
call fcn.00464888
push eax
dec dword [ebp - 0x10]
lea eax, [ebp - 8]
mov edx, 2
call fcn.00552924
pop ecx
test cl, cl
je 0x40c519
push 0x3c
push 0
lea eax, [ebp - 0x298]
push eax
call fcn.00543c8b
add esp, 0xc
mov dword [ebp - 0x298], 0x3c
mov dword [ebp - 0x28c], str.open
lea edx, [ebp - 0x25c]
mov dword [ebp - 0x288], edx
mov dword [ebp - 0x284], str._q__norestart
mov dword [ebp - 0x294], 0x440
mov dword [ebp - 0x27c], 0xa
lea ecx, [ebp - 0x298]
push ecx
call sub.SHELL32.DLL_ShellExecuteExW
mov dword [ebp - 0x50], eax
mov word [ebp - 0x1c], 0xc
cmp dword [ebp - 0x50], 0
je 0x40c519
lea eax, [ebp - 0x54]
push eax
push dword [ebp - 0x260]
call sub.KERNEL32.DLL_GetExitCodeProcess
mov edx, dword [0x57d6cc]
mov eax, dword [edx]
call fcn.004cf3c4
push 1
call sub.KERNEL32.DLL_Sleep
cmp dword [ebp - 0x54], 0x103
je 0x40c4ed
mov word [ebp - 0x1c], 0
jmp 0x40c52c
mov edx, dword [ebp - 0x2c]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40e620
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdc4
push ebx
push esi
push edi
mov eax, 0x568e4c
call fcn.00544234
mov word [ebp - 0x1c], 0xc
mov edx, dword [ebp + 8]
add edx, 0x10
mov dword [ebp - 0x30], edx
mov ecx, dword [ebp - 0x30]
xor ebx, ebx
mov dword [ecx], ebx
inc dword [ebp - 0x10]
mov eax, dword [ebp + 8]
add eax, 0x14
mov dword [ebp - 0x34], eax
mov edx, dword [ebp - 0x34]
xor ecx, ecx
mov dword [edx], ecx
inc dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov dword [eax + 0xc], edx
mov ecx, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
mov dword [ecx + 0x18], ebx
mov esi, 0x568594
lea edi, [ebp - 0x23c]
mov ecx, 0x82
rep movsd dword es:[edi], dword [esi]
push 0x208
lea eax, [ebp - 0x23c]
push eax
call sub.KERNEL32.DLL_GetSystemDirectoryW
mov word [ebp - 0x1c], 0x24
lea edx, [ebp - 0x23c]
lea eax, [ebp - 4]
call fcn.005528c0
inc dword [ebp - 0x10]
lea edx, [ebp - 4]
mov eax, dword [ebp + 8]
add eax, 0x10
call fcn.0055294c
dec dword [ebp - 0x10]
lea eax, [ebp - 4]
mov edx, 2
call fcn.00552924
mov word [ebp - 0x1c], 0x30
mov edx, 0x568b14
lea eax, [ebp - 8]
call fcn.00552794
inc dword [ebp - 0x10]
lea edx, [ebp - 8]
mov eax, dword [ebp + 8]
add eax, 0x14
call fcn.0055294c
dec dword [ebp - 0x10]
lea eax, [ebp - 8]
mov edx, 2
call fcn.00552924
mov ecx, dword [ebp - 0x2c]
mov dword fs:[0], ecx
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40f8d4
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb0
push ebx
push esi
push edi
mov dword [ebp - 0x28], eax
mov eax, 0x5698a8
call fcn.00544234
mov word [ebp - 0x14], 0xc
xor edx, edx
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x50], edx
mov word [ebp - 0x14], 0xc
push 0
push 0x569828
call sub.USER32.DLL_FindWindowA
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x40f92d
push 0
push 0x569836
push 0
push dword [ebp - 0x2c]
call sub.USER32.DLL_FindWindowExA
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x40f947
push 0
push 0x569844
push 0
push dword [ebp - 0x2c]
call sub.USER32.DLL_FindWindowExA
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x40f961
push 0
push 0x56984d
push 0
push dword [ebp - 0x2c]
call sub.USER32.DLL_FindWindowExA
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x40f9ee
xor eax, eax
mov dword [ebp - 0x40], eax
mov word [ebp - 0x14], 0xc
cmp dword [ebp - 0x40], 2
jge 0x40f9ee
lea ecx, [ebp - 0x50]
push ecx
push dword [ebp - 0x2c]
call sub.USER32.DLL_GetClientRect
push 0x31
call fcn.0052db74
mov dword [ebp - 0x30], eax
push 0x32
call fcn.0052db74
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x30]
shr eax, 1
mov dword [ebp - 0x3c], eax
jmp 0x40f9dd
mov edx, dword [ebp - 0x34]
shr edx, 1
mov dword [ebp - 0x38], edx
jmp 0x40f9cf
mov ecx, dword [ebp - 0x3c]
shl ecx, 0x10
or ecx, dword [ebp - 0x38]
push ecx
push 0
push pe_nt_image_headers32
push dword [ebp - 0x2c]
call sub.USER32.DLL_SendMessageW
mov eax, dword [ebp - 0x30]
add dword [ebp - 0x38], eax
mov edx, dword [ebp - 0x38]
cmp edx, dword [ebp - 0x48]
jb 0x40f9b0
mov ecx, dword [ebp - 0x34]
add dword [ebp - 0x3c], ecx
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x44]
jb 0x40f9a6
inc dword [ebp - 0x40]
cmp dword [ebp - 0x40], 2
jl 0x40f97c
mov word [ebp - 0x14], 0
jmp 0x40fa01
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40fd4c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
mov eax, 0x569f84
call fcn.00544234
mov byte [ebp - 0x35], 0x63
mov byte [ebp - 0x3c], 0x6a
mov byte [ebp - 0x39], 0x73
mov byte [ebp - 0x3a], 0x65
mov byte [ebp - 0x34], 0
mov byte [ebp - 0x38], 0x73
mov byte [ebp - 0x3b], 0x6e
mov byte [ebp - 0x36], 0x6e
mov byte [ebp - 0x37], 0x65
mov word [ebp - 0x20], 0xc
lea edx, [ebp - 0x3c]
lea eax, [ebp - 8]
xor ecx, ecx
call fcn.005519dc
inc dword [ebp - 0x14]
lea edx, [ebp - 8]
push edx
inc dword [ebp - 0x14]
lea edx, [ebp - 0x3c]
lea eax, [ebp - 4]
xor ecx, ecx
call fcn.005519dc
inc dword [ebp - 0x14]
lea eax, [ebp - 4]
push eax
inc dword [ebp - 0x14]
lea eax, [ebp - 0xc]
call fcn.00403240
inc dword [ebp - 0x14]
lea ecx, [ebp - 0xc]
inc dword [ebp - 0x14]
pop eax
pop edx
call fcn.0040331c
lea edx, [ebp - 0xc]
mov eax, dword [ebp + 8]
call fcn.00551b64
mov eax, dword [ebp + 8]
mov word [ebp - 0x20], 0x18
push eax
sub dword [ebp - 0x14], 2
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004027dc
sub dword [ebp - 0x14], 2
lea eax, [ebp - 8]
mov edx, 2
call fcn.004027dc
sub dword [ebp - 0x14], 2
lea eax, [ebp - 4]
mov edx, 2
call fcn.004027dc
pop eax
mov word [ebp - 0x20], 0xc
add dword [ebp - 0x14], 2
mov edx, dword [ebp - 0x30]
mov dword fs:[0], edx
mov esp, ebp
pop ebp
ret
Function at 0x410fd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed8
push ebx
mov eax, dword [ebp + 0x10]
sub eax, 0x80
je 0x410ff3
sub eax, 0x40
je 0x410ffe
sub eax, 0x40
je 0x411009
jmp 0x4111a8
mov edx, dword [ebp + 8]
mov dword [edx], 0xa
jmp 0x411012
mov ecx, dword [ebp + 8]
mov dword [ecx], 0xc
jmp 0x411012
mov eax, dword [ebp + 8]
mov dword [eax], 0xe
mov edx, dword [ebp + 8]
add edx, 8
mov dword [ebp - 0xc], edx
mov eax, dword [ebp + 8]
mov dword [eax + 4], edx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
lea ecx, [ebp - 0x128]
push ecx
call fcn.00410bac
add esp, 0xc
mov eax, dword [ebp - 0x128]
shl eax, 2
shl eax, 2
add eax, dword [ebp - 0x124]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx]
mov ebx, dword [ebp - 0xc]
mov dword [ebx], ecx
add dword [ebp - 0x10], 4
add dword [ebp - 0xc], 4
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
mov ecx, dword [ebp - 0xc]
mov dword [ecx], edx
add dword [ebp - 0x10], 4
add dword [ebp - 0xc], 4
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
mov ecx, dword [ebp - 0xc]
mov dword [ecx], edx
add dword [ebp - 0x10], 4
add dword [ebp - 0xc], 4
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
mov ecx, dword [ebp - 0xc]
mov dword [ecx], edx
add dword [ebp - 0x10], 4
add dword [ebp - 0xc], 4
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov dword [ebp - 4], edx
sub dword [ebp - 0x10], 0x20
cmp dword [ebp - 4], 1
jle 0x41114a
xor ecx, ecx
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
and edx, 0xff
xor ecx, ecx
mov cl, byte [edx + 0x57db88]
mov eax, dword [ecx*4 + 0x57ed88]
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx]
shr ecx, 8
and ecx, 0xff
xor edx, edx
mov dl, byte [ecx + 0x57db88]
xor eax, dword [edx*4 + 0x57f188]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
shr edx, 0x10
and edx, 0xff
xor ecx, ecx
mov cl, byte [edx + 0x57db88]
xor eax, dword [ecx*4 + 0x57f588]
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx]
shr ecx, 0x18
and ecx, 0xff
xor edx, edx
mov dl, byte [ecx + 0x57db88]
xor eax, dword [edx*4 + 0x57f988]
mov ecx, dword [ebp - 0xc]
mov dword [ecx], eax
add dword [ebp - 0xc], 4
inc dword [ebp - 8]
add dword [ebp - 0x10], 4
cmp dword [ebp - 8], 4
jl 0x4110ae
dec dword [ebp - 4]
sub dword [ebp - 0x10], 0x20
cmp dword [ebp - 4], 1
jg 0x4110a9
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
mov dword [edx], eax
add dword [ebp - 0x10], 4
add dword [ebp - 0xc], 4
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx]
mov edx, dword [ebp - 0xc]
mov dword [edx], eax
add dword [ebp - 0x10], 4
add dword [ebp - 0xc], 4
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx]
mov edx, dword [ebp - 0xc]
mov dword [edx], eax
add dword [ebp - 0x10], 4
add dword [ebp - 0xc], 4
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx]
mov edx, dword [ebp - 0xc]
mov dword [edx], eax
add dword [ebp - 0x10], 4
add dword [ebp - 0xc], 4
push 0x118
push 0
lea ecx, [ebp - 0x128]
push ecx
call fcn.00543c8b
add esp, 0xc
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x411eb8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
cmp dword [ebp + 0xc], 0
jne 0x411f2f
cmp dword [ebp + 0x10], 0
jle 0x411f9d
xor eax, eax
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0x18]
mov ecx, dword [ebp - 4]
mov al, byte [edx + ecx]
mov edx, dword [ebp + 0x14]
mov ecx, dword [ebp - 4]
xor al, byte [edx + ecx]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp + 0x1c]
mov byte [ecx + edx], al
inc dword [ebp - 4]
cmp dword [ebp - 4], 0x10
jl 0x411ed3
push dword [ebp + 0x1c]
push dword [ebp + 0x1c]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004111b0
add esp, 0x10
push 0x10
push dword [ebp + 0x1c]
push dword [ebp + 0x14]
call fcn.00543aa4
add esp, 0xc
add dword [ebp + 0x18], 0x10
add dword [ebp + 0x1c], 0x10
sub dword [ebp + 0x10], 0x10
cmp dword [ebp + 0x10], 0
jg 0x411ece
jmp 0x411f9d
cmp dword [ebp + 0x10], 0
jle 0x411f9d
push 0x10
push dword [ebp + 0x18]
lea eax, [ebp - 0x14]
push eax
call fcn.00543aa4
add esp, 0xc
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004111b0
add esp, 0x10
xor eax, eax
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0x14]
mov ecx, dword [ebp - 4]
mov al, byte [edx + ecx]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp + 0x1c]
xor byte [ecx + edx], al
inc dword [ebp - 4]
cmp dword [ebp - 4], 0x10
jl 0x411f5f
push 0x10
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0x14]
call fcn.00543aa4
add esp, 0xc
add dword [ebp + 0x18], 0x10
add dword [ebp + 0x1c], 0x10
sub dword [ebp + 0x10], 0x10
cmp dword [ebp + 0x10], 0
jg 0x411f35
mov esp, ebp
pop ebp
ret

Function at 0x412e4c
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ebx
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax], edx
mov ecx, dword [ebp + 8]
xor ebx, ebx
mov dword [ecx + 4], ebx
mov eax, dword [ebp + 8]
mov dword [eax + 8], 0x67452301
mov edx, dword [ebp + 8]
mov dword [edx + 0xc], 0xefcdab89
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], 0x98badcfe
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0x10325476
pop ebx
pop ebp
ret

Function at 0x41545c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x4154ae
test eax, edx
je 0x4154b1
movzx ecx, byte [edx]
cmp cl, byte [eax]
je 0x415471
movzx eax, byte [eax]
sub eax, ecx
ret
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]
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x415497
add ecx, 4
js 0x415487
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 3
add ecx, ebx
jns 0x415494
movzx eax, byte [ecx + eax]
movzx edx, byte [ecx + edx]
sub eax, edx
pop ebx
pop ebx
ret
xor eax, eax
ret
test eax, eax
je 0x4154bd
test edx, edx
jne 0x415464
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret
Function at 0x418570
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
push ebp
push ecx
mov esi, dword [ebx + 0x2c]
mov edi, dword [ebx + 0x3c]
sub edi, dword [ebx + 0x74]
sub edi, dword [ebx + 0x6c]
jmp 0x41859f
mov eax, dword [ebx + 0x2c]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x6c]
ja 0x41861e
push esi
mov eax, dword [ebx + 0x38]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.0041d260
add esp, 0xc
sub dword [ebx + 0x70], esi
sub dword [ebx + 0x6c], esi
sub dword [ebx + 0x5c], ebp
mov eax, dword [ebx + 0x4c]
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x44]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x4185ec
mov cx, word [esp]
sub cx, si
jmp 0x4185ee
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x4185d5
mov eax, esi
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x40]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x418614
mov cx, word [esp]
sub cx, si
jmp 0x418616
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x4185fd
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x41867b
mov edx, dword [ebx + 0x38]
mov ecx, edi
add edx, dword [ebx + 0x6c]
mov eax, ebp
add edx, dword [ebx + 0x74]
call fcn.00418244
add dword [ebx + 0x74], eax
cmp dword [ebx + 0x74], 3
jb 0x418666
mov eax, dword [ebx + 0x38]
mov edx, dword [ebx + 0x6c]
movzx eax, byte [eax + edx]
mov dword [ebx + 0x48], eax
mov ecx, dword [ebx + 0x58]
shl eax, cl
mov edx, dword [ebx + 0x38]
mov ecx, dword [ebx + 0x6c]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
and eax, dword [ebx + 0x54]
mov dword [ebx + 0x48], eax
cmp dword [ebx + 0x74], 0x106
jae 0x41867b
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x41857a
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x439dac
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x439e4a
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xc]
je 0x439e0e
cmp byte [ebx + 0x10], 0
jne 0x439e0e
cmp byte [ebx + 0x3c], 0
jne 0x439e0e
mov byte [ebx + 0xe], 0
mov byte [ebx + 0xc], 0
mov eax, dword [ebx + 4]
push eax
call sub.KERNEL32.DLL_ResumeThread
cmp eax, 1
je 0x439e2f
lea edx, [ebp - 4]
mov eax, dword [0x57d474]
call fcn.00484468
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x429dac]
call fcn.00469370
call fcn.004800ac
jmp 0x439e2f
lea edx, [ebp - 8]
mov eax, dword [0x57d474]
call fcn.00484468
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x429dac]
call fcn.00469370
call fcn.004800ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x439e51
lea eax, [ebp - 8]
mov edx, 2
call fcn.00480934
ret

Function at 0x43a758
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 + 0xe]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x43a7a6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xe], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.KERNEL32.DLL_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.00439cf8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x43a7bf
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x43a7c8
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.KERNEL32.DLL_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.00439cf8
dec esi
jne 0x43a7ea
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x43c1a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x58008c
cmp dword [edi], 0
jne 0x43c21c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov esi, eax
mov eax, dword [0x580088]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x56ec50
mov ecx, 2
call fcn.0047dfd8
mov edx, 0x43c178
lea eax, [esi + 5]
call fcn.0043c198
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0043c198
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 0x43c1f1
mov dword [0x580088], 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 0x44078c
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 0x440907
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00480cdc
mov eax, dword [ebp - 4]
call fcn.004400ec
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
jne 0x4407de
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.00481b48
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.00441380
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4408bd
xor eax, eax
push ebp
push 0x4408b6
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.0044038c
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0xc]
call fcn.0044093c
test al, al
je 0x440894
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 8]
xor edx, edx
call fcn.00480a3c
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x440894
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.0048173c
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.004402ec
test al, al
je 0x44088e
mov eax, dword [ebp - 8]
call fcn.0048173c
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.0048178c
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0xc]
call fcn.0044078c
dec ebx
cmp ebx, 0xffffffff
jne 0x44083d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4408bd
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.0044038c
mov eax, dword [ebp - 0x1c]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
mov eax, dword [ebp - 4]
call fcn.0048173c
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.00440378
push eax
call sub.ADVAPI32.DLL_RegDeleteKeyW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.004402ec
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44090e
lea eax, [ebp - 0x3c]
call fcn.004808d4
lea eax, [ebp - 8]
mov edx, 2
call fcn.00480934
ret