joyce8/EMBER2024-capa huggingface dataset:
Function at 0x427c20
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff98
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov esi, ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x427d79
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
xor eax, eax
mov dword [esi], eax
test ebx, ebx
je 0x427d5e
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00406a38
mov eax, dword [ebp - 4]
cmp word [eax], 0x22
je 0x427c82
push 0x427d98
push dword [ebp - 4]
push 0x427d98
lea eax, [ebp - 4]
mov edx, 3
call fcn.004074a8
lea eax, [ebp - 8]
push eax
mov ecx, 0x427da8
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.0042b700
mov eax, dword [ebp - 8]
call fcn.00407230
mov ebx, eax
lea eax, [ebp - 0x58]
mov edx, 0x44
call fcn.0042ad80
mov dword [ebp - 0x58], 0x44
mov word [ebp - 0x28], 1
lea eax, [ebp - 0x68]
mov edx, 0x10
call fcn.0042ad80
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x58]
push eax
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
push 0
push ebx
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
je 0x427d5e
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x427d57
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x64]
push eax
call sub.kernel32.dll_CloseHandle_1
push 0xffffffffffffffff
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_WaitForSingleObject
cmp eax, 0xffffffff
jne 0x427d1a
call fcn.00405e18
jmp 0x427d5e
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_GetExitCodeProcess
test eax, eax
jne 0x427d37
call fcn.00405e18
jmp 0x427d5e
mov eax, dword [ebp - 0x14]
mov dword [esi], eax
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x427d5e
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x427d80
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040668c
ret

Function at 0x428020
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00407230
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x428040
test al, 0x10
sete al
pop ebx
pop ebp
ret
xor eax, eax
pop ebx
pop ebp
ret

Function at 0x428080
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, eax
mov eax, esi
call fcn.00407230
mov edi, eax
push edi
call sub.kernel32.dll_DeleteFileW
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x4280d7
push edi
call sub.kernel32.dll_GetFileAttributesW
mov edi, eax
cmp edi, 0xffffffff
je 0x4280d7
test edi, 1
je 0x4280d7
and edi, 0xfffffffe
push edi
mov eax, esi
call fcn.00407230
mov ebx, eax
push ebx
call sub.kernel32.dll_SetFileAttributesW
push ebx
call sub.kernel32.dll_DeleteFileW
cmp eax, 1
sbb eax, eax
inc eax
mov ebx, eax
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4280e0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00407230
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x428104
test eax, 0x10
seta al
pop ebx
pop ebp
ret
xor eax, eax
pop ebx
pop ebp
ret

Function at 0x429240
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
call sub.kernel32.dll_FindResourceW
mov edi, eax
mov dword [ebx + 0x10], edi
test edi, edi
jne 0x42926e
push ebp
call fcn.00429190
pop ecx
mov eax, dword [ebx + 0x10]
push eax
push esi
call sub.kernel32.dll_LoadResource
mov edi, eax
mov dword [ebx + 0x14], edi
test edi, edi
jne 0x429288
push ebp
call fcn.00429190
pop ecx
mov edi, ebx
mov eax, dword [ebx + 0x14]
push eax
call sub.kernel32.dll_LockResource
mov dword [ebp - 8], eax
mov eax, dword [ebx + 0x10]
push eax
push esi
call sub.kernel32.dll_SizeofResource
mov edx, dword [ebp - 8]
mov dword [edi + 4], edx
mov dword [edi + 8], eax
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 8
Function at 0x42ad90
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push esi
push edi
add esp, 0xffffffc8
mov dword [esp + 4], ecx
mov dword [esp], edx
mov esi, eax
mov edi, dword [esp + 4]
test edi, edi
jle 0x42af0b
mov eax, 0x42af18
mov dword [esp + 8], eax
movzx eax, word [esi]
mov edx, dword [esp + 8]
cmp ax, 0xff
ja 0x42adc6
movzx eax, ax
bt dword [edx], eax
setb al
mov byte [esp + 0xc], al
cmp byte [esp + 0xc], 0
je 0x42add8
mov al, 1
jmp 0x42ae00
mov eax, 0x42af38
mov dword [esp + 0x10], eax
movzx eax, word [esi]
mov edx, dword [esp + 0x10]
cmp ax, 0xff
ja 0x42adf4
movzx eax, ax
bt dword [edx], eax
setb al
mov byte [esp + 0x14], al
movzx eax, byte [esp + 0x14]
test al, al
je 0x42ae08
mov dl, 1
jmp 0x42ae6c
mov eax, 0x42af18
mov dword [esp + 0x18], eax
movzx eax, word [esi + 2]
mov edx, dword [esp + 0x18]
cmp ax, 0xff
ja 0x42ae25
movzx eax, ax
bt dword [edx], eax
setb al
mov byte [esp + 0x1c], al
cmp byte [esp + 0x1c], 0
je 0x42ae3a
mov byte [esp + 0x25], 1
jmp 0x42ae67
mov eax, 0x42af38
mov dword [esp + 0x20], eax
movzx eax, word [esi + 2]
mov edx, dword [esp + 0x20]
cmp ax, 0xff
ja 0x42ae57
movzx eax, ax
bt dword [edx], eax
setb al
mov byte [esp + 0x24], al
movzx eax, byte [esp + 0x24]
mov byte [esp + 0x25], al
movzx edx, byte [esp + 0x25]
test dl, dl
jne 0x42af0b
mov eax, 0x42af58
mov dword [esp + 0x28], eax
movzx eax, word [esi]
mov edx, dword [esp + 0x28]
cmp ax, 0xff
ja 0x42ae90
movzx eax, ax
bt dword [edx], eax
setb al
mov byte [esp + 0x2c], al
cmp byte [esp + 0x2c], 0
jne 0x42aea5
mov byte [esp + 0x35], 1
jmp 0x42aed4
mov eax, 0x42af58
mov dword [esp + 0x30], eax
movzx eax, word [esi + 2]
mov edx, dword [esp + 0x30]
cmp ax, 0xff
ja 0x42aec2
movzx eax, ax
bt dword [edx], eax
setb al
mov byte [esp + 0x34], al
movzx eax, byte [esp + 0x34]
xor al, 1
mov byte [esp + 0x35], al
cmp byte [esp + 0x35], 0
jne 0x42af0b
movzx eax, byte [esi]
movzx eax, word [eax*2 + 0x5e8efc]
shl eax, 4
movzx edx, byte [esi + 2]
movzx edx, word [edx*2 + 0x5e8efc]
add al, dl
mov edx, dword [esp]
mov byte [edx], al
inc dword [esp]
add esi, 4
dec edi
test edi, edi
jg 0x42adaa
mov eax, dword [esp + 4]
sub eax, edi
add esp, 0x38
pop edi
pop esi
ret
Function at 0x42e290
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
mov word [ebp - 0x12], dx
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0xc], 0xffffffff
xor eax, eax
mov dword [ebp - 8], eax
movzx edx, word [ebp - 0x12]
mov eax, dword [ebp - 0x10]
call fcn.0041d690
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x42e37a
mov ax, word [ebp - 0x12]
and ax, 0xf
cmp ax, 2
jne 0x42e2e5
mov dword [ebp - 0x1c], 8
mov dword [ebp - 0x20], 1
jmp 0x42e2f3
mov dword [ebp - 0x1c], 2
mov dword [ebp - 0x20], 4
push 0
push 0
push 0
mov eax, dword [ebp - 0x1c]
push eax
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CreateFileMappingW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x42e31a
push ebp
call fcn.0042e230
pop ecx
jmp 0x42e37a
push 0
push 0
push 0
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_MapViewOfFile
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x42e33f
push ebp
call fcn.0042e230
pop ecx
jmp 0x42e37a
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetFileSize
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jne 0x42e35c
push ebp
call fcn.0042e230
pop ecx
jmp 0x42e37a
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0xc]
mov dl, 1
mov eax, dword [0x42dfec]
call fcn.0042e7e0
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret
Function at 0x42edd0
Capabilities:
Allocate or change rwx memory
Create thread
Inject thread
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdb8
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
mov byte [ebp - 0xd], 0
push 0x40
push 0x1000
push 0x228
push 0
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_VirtualAllocEx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x42ef39
lea eax, [ebp - 0x248]
mov edx, 0x228
call fcn.0042ad80
mov byte [ebp - 0x248], 0x68
mov eax, dword [ebp - 4]
add eax, 0x1e
mov dword [ebp - 0x247], eax
mov word [ebp - 0x243], 0x15ff
mov eax, dword [ebp - 4]
add eax, 0x16
mov dword [ebp - 0x241], eax
mov byte [ebp - 0x23d], 0x68
xor eax, eax
mov dword [ebp - 0x23c], eax
mov word [ebp - 0x238], 0x15ff
mov eax, dword [ebp - 4]
add eax, 0x1a
mov dword [ebp - 0x236], eax
push 0x42ef40
mov eax, dword [0x5ec190]
mov eax, dword [eax]
push eax
call fcn.0040b494
mov dword [ebp - 0x232], eax
push 0x42ef5c
mov eax, dword [0x5ec190]
mov eax, dword [eax]
push eax
call fcn.0040b494
mov dword [ebp - 0x22e], eax
mov eax, dword [ebp - 0xc]
call fcn.00406b00
add eax, eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jle 0x42eebc
mov eax, dword [ebp - 0xc]
call fcn.00407230
lea edx, [ebp - 0x22a]
mov ecx, dword [ebp - 0x14]
call fcn.00404860
xor eax, eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push 0x228
lea eax, [ebp - 0x248]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_WriteProcessMemory
test eax, eax
je 0x42ef39
xor eax, eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
mov eax, dword [ebp - 4]
push eax
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CreateRemoteThread
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x42ef39
xor eax, eax
push ebp
push 0x42ef32
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42ef39
mov eax, dword [ebp - 0x20]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
mov al, byte [ebp - 0xd]
mov esp, ebp
pop ebp
ret
Function at 0x42ef80
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
cmp dword [eax - 4], 0
je 0x42f01c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 8]
mov dword [edx + 8], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 8]
cmp word [eax], 0x5a4d
jne 0x42f01c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x3c]
add dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0xc]
cmp dword [eax], 0x4550
jne 0x42f01c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0xc]
movzx eax, word [eax + 0x14]
cmp eax, 0xe0
jne 0x42f01c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0xc]
cmp word [eax + 0x18], 0x10b
jne 0x42f01c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 8]
mov dword [edx + 4], eax
pop ecx
pop ebp
ret

Function at 0x42ff60
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 8], eax
push 0x40
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_IsBadReadPtr
test eax, eax
jne 0x42ffc8
mov eax, dword [ebp - 4]
cmp word [eax], 0x5a4d
jne 0x42ffc8
mov eax, dword [ebp - 4]
cmp dword [eax + 0x3c], 0
je 0x42ffc8
mov eax, dword [ebp - 4]
call fcn.0042e140
mov edx, dword [ebp - 4]
add eax, dword [edx + 0x3c]
call fcn.0042e160
mov dword [ebp - 8], eax
push 0xf8
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_IsBadReadPtr
test eax, eax
jne 0x42ffc3
mov eax, dword [ebp - 8]
cmp dword [eax], 0x4550
je 0x42ffc8
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
pop ecx
pop ecx
pop ebp
ret

Function at 0x42ffd0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 8], eax
push 0x40
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_IsBadReadPtr
test eax, eax
jne 0x430038
mov eax, dword [ebp - 4]
cmp word [eax], 0x5a4d
jne 0x430038
mov eax, dword [ebp - 4]
cmp dword [eax + 0x3c], 0
je 0x430038
mov eax, dword [ebp - 4]
call fcn.0042e140
mov edx, dword [ebp - 4]
add eax, dword [edx + 0x3c]
call fcn.0042e160
mov dword [ebp - 8], eax
push 0x108
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_IsBadReadPtr
test eax, eax
jne 0x430033
mov eax, dword [ebp - 8]
cmp dword [eax], 0x4550
je 0x430038
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
pop ecx
pop ecx
pop ebp
ret

Function at 0x43feb0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x11], 0
je 0x43fed3
mov eax, dword [ebp - 8]
call fcn.00407230
push eax
call sub.kernel32.dll_OutputDebugStringW
pop ecx
pop ecx
pop ebp
ret
Function at 0x440120
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee8
mov dword [ebp - 0x118], 0x114
lea eax, [ebp - 0x118]
push eax
call sub.kernel32.dll_GetVersionExW
test eax, eax
je 0x440155
cmp dword [ebp - 0x108], 2
jne 0x440155
cmp dword [ebp - 0x114], 6
jae 0x440159
xor eax, eax
jmp 0x44015b
mov al, 1
mov byte [ebp - 1], al
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret

Function at 0x440170
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x4c]
mov edx, 0x3c
call fcn.0042ad80
mov dword [ebp - 0x4c], 0x3c
mov dword [ebp - 0x48], pe_nt_image_headers32
mov eax, dword [ebp - 8]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0xc]
call fcn.00407230
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0xc]
call fcn.00407230
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 8]
call fcn.00407230
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 1
mov eax, dword [ebp - 4]
call fcn.00407230
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x4c]
push eax
call sub.shell32.dll_ShellExecuteExW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0xd], al
mov al, byte [ebp - 0xd]
mov esp, ebp
pop ebp
ret 8

Function at 0x440d40
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x4c]
mov edx, 0x3c
call fcn.0042ad80
mov dword [ebp - 0x4c], 0x3c
mov dword [ebp - 0x48], 0x500
mov eax, dword [ebp - 4]
call fcn.00407230
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 8]
call fcn.00407230
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0xc], 0
je 0x440d91
mov eax, dword [ebp - 0xc]
call fcn.00407230
mov dword [ebp - 0x38], eax
cmp dword [ebp + 0xc], 0
je 0x440da2
mov eax, dword [ebp + 0xc]
call fcn.00407230
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x4c]
push eax
call sub.shell32.dll_ShellExecuteExW
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret 8
Function at 0x440dc0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x4c]
mov edx, 0x3c
call fcn.0042ad80
mov dword [ebp - 0x4c], 0x3c
mov dword [ebp - 0x48], 0x540
mov eax, dword [ebp - 4]
call fcn.00407230
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 8]
call fcn.00407230
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0xc], 0
je 0x440e11
mov eax, dword [ebp - 0xc]
call fcn.00407230
mov dword [ebp - 0x38], eax
cmp dword [ebp + 0x10], 0
je 0x440e22
mov eax, dword [ebp + 0x10]
call fcn.00407230
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x4c]
push eax
call sub.shell32.dll_ShellExecuteExW
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x14]
mov dword [eax], edx
cmp dword [ebp - 0x2c], 0x20
jbe 0x440e46
xor eax, eax
mov dword [ebp - 0x10], eax
jmp 0x440e4e
call sub.kernel32.dll_GetLastError_2
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret 0xc

Function at 0x440f90
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44100e
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
call fcn.004254a8
test al, al
je 0x440ff0
push ebp
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.00440f40
pop ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.004069f0
push ebp
lea eax, [ebp - 0xc]
call fcn.00440ea0
pop ecx
jmp 0x440ff8
mov eax, dword [ebp - 8]
call fcn.0040662c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x441015
lea eax, [ebp - 0x10]
call fcn.0040662c
ret
Function at 0x4446f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov esi, eax
mov byte [ebp - 5], 0
mov eax, dword [esi + 0x40034]
cmp eax, 0x10000
jb 0x44472e
and ax, 0x3ff
xor ax, 0xdc00
mov edx, dword [ebp - 4]
mov word [edx], ax
xor eax, eax
mov dword [esi + 0x40034], eax
mov byte [ebp - 5], 1
jmp 0x44485b
lea edx, [ebp - 6]
mov ecx, 1
mov eax, esi
call fcn.00445ac0
test al, al
je 0x44485b
cmp byte [ebp - 6], 0x80
jae 0x44475e
movzx eax, byte [ebp - 6]
mov edx, dword [ebp - 4]
mov word [edx], ax
mov byte [ebp - 5], 1
jmp 0x44485b
mov edi, 1
movzx eax, byte [ebp - 6]
mov dword [esi + 0x40034], eax
movzx eax, byte [ebp - 6]
mov byte [ebp - 7], al
mov bl, 0x40
movzx eax, byte [ebp - 6]
and al, 0xc0
cmp al, 0xc0
jne 0x44485b
jmp 0x4447fa
lea edx, [ebp - 6]
mov ecx, 1
mov eax, esi
call fcn.00445ac0
test al, al
jne 0x4447aa
mov edx, 0x444874
mov eax, dword [esi + 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x44485b
movzx eax, byte [ebp - 6]
and al, 0xc0
cmp al, 0x80
je 0x4447c5
mov edx, 0x444874
mov eax, dword [esi + 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x44485b
movzx eax, byte [ebp - 6]
and al, 0x3f
movzx eax, al
mov edx, dword [esi + 0x40034]
shl edx, 6
or eax, edx
mov dword [esi + 0x40034], eax
inc edi
cmp edi, 6
jle 0x4447f3
mov edx, 0x444874
mov eax, dword [esi + 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x44485b
movzx eax, bl
shr eax, 1
mov ebx, eax
test byte [ebp - 7], bl
jne 0x444786
mov eax, dword [edi*4 + 0x5e9598]
and dword [esi + 0x40034], eax
cmp edi, 1
jle 0x44482e
mov eax, dword [edi*4 + 0x5e9594]
cmp eax, dword [esi + 0x40034]
jb 0x44482e
mov edx, 0x444874
mov eax, dword [esi + 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x44485b
mov eax, dword [esi + 0x40034]
cmp eax, 0x10000
jb 0x44484a
shr eax, 0xa
add ax, 0xd7c0
mov edx, dword [ebp - 4]
mov word [edx], ax
jmp 0x444857
mov eax, dword [ebp - 4]
movzx edx, word [esi + 0x40034]
mov word [eax], dx
mov byte [ebp - 5], 1
movzx eax, byte [ebp - 5]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x446f70
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, eax
mov byte [ebx + 0x18], 0
lea eax, [ebx + 0x18]
xor ecx, ecx
mov edx, 0x40
call fcn.00404cb8
xor eax, eax
mov dword [ebx + 0x10], eax
xor eax, eax
mov dword [ebx + 0x14], eax
mov dword [ebx], 0x67452301
mov dword [ebx + 4], 0xefcdab89
mov dword [ebx + 8], 0x98badcfe
mov dword [ebx + 0xc], 0x10325476
pop ebx
pop ebp
ret
Function at 0x44beb0
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
jne 0x44beda
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00407230
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
push eax
call sub.advapi32.dll_RegDeleteKeyW
pop ecx
pop ebp
ret
mov eax, dword [ebp - 4]
add eax, 4
push eax
push 2
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00407230
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
push eax
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x44bf47
xor eax, eax
push ebp
push 0x44bf40
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.00407230
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegDeleteValueW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44bf47
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
pop ecx
pop ebp
ret
Function at 0x44c4a0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
call fcn.004053c0
mov ebx, edx
mov esi, eax
cmp byte [esi + 0xd], 0
jne 0x44c4cd
mov edx, dword [esi + 0x24]
mov eax, esi
call fcn.0044c550
test al, al
jne 0x44c4cd
push 1
mov eax, dword [esi + 4]
push eax
call sub.kernel32.dll_TerminateThread
mov dl, 0xfc
and dl, bl
mov eax, esi
call fcn.0044c6a0
lea eax, [esi + 0x1c]
mov edx, dword [eax]
xor ecx, ecx
mov dword [eax], ecx
mov eax, edx
call fcn.00405038
lea eax, [esi + 0x20]
mov edx, dword [eax]
xor ecx, ecx
mov dword [eax], ecx
mov eax, edx
call fcn.00405038
test bl, bl
jle 0x44c503
mov eax, esi
call fcn.00405368
pop esi
pop ebx
pop ebp
ret

Function at 0x44c6a0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
call fcn.004053c0
mov ebx, edx
mov esi, eax
cmp dword [esi + 8], 0
je 0x44c6ed
cmp byte [esi + 0x18], 0
jne 0x44c6ed
mov eax, esi
call fcn.0044c820
cmp byte [esi + 0xc], 0
je 0x44c6e6
mov eax, dword [esi + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov edi, eax
test edi, edi
setge dl
mov eax, esi
call fcn.0044c910
dec edi
jne 0x44c6e6
mov byte [esi + 0xe], 0
mov eax, esi
call fcn.0044c830
mov eax, dword [esi + 4]
test eax, eax
je 0x44c6ff
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
mov dword [esi + 4], eax
mov dl, 0xfc
and dl, bl
mov eax, esi
call fcn.00405028
mov eax, dword [esi + 0x14]
call fcn.00405038
test bl, bl
jle 0x44c71d
mov eax, esi
call fcn.00405368
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x44c730
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x44c7c8
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xc]
je 0x44c78c
cmp byte [ebx + 0x18], 0
jne 0x44c78c
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 0x44c7ad
lea edx, [ebp - 4]
mov eax, dword [0x5ec108]
call fcn.00409f7c
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x426b2c]
call fcn.004229c8
call fcn.00405d24
jmp 0x44c7ad
lea edx, [ebp - 8]
mov eax, dword [0x5ec108]
call fcn.00409f7c
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x426b2c]
call fcn.004229c8
call fcn.00405d24
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44c7cf
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040668c
ret