joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43dc6e
Capabilities:
Connect network resource
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x270
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
lea ecx, [ebp - 0x30]
mov edi, edx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ebx
call fcn.0040e4fe
lea ecx, [ebp - 0x20]
call fcn.0040e4fe
lea ecx, [ebp - 0x40]
call fcn.0040e4fe
push 0x4b4a74
lea ecx, [ebp - 0x30]
call fcn.00412228
push esi
lea ecx, [ebp - 0x30]
call fcn.004157c5
push str.CLSID
lea ecx, [ebp - 0x30]
call fcn.004157c5
lea ecx, [ebp - 0x20]
call fcn.0040e3ef
test edi, edi
je 0x43dcf1
push 0x5c
pop eax
cmp word [edi], ax
je 0x43dcf1
cmp word [edi + 2], ax
je 0x43dcf1
push 0x4b4aa8
lea ecx, [ebp - 0x20]
call fcn.00412228
push edi
lea ecx, [ebp - 0x20]
call fcn.004157c5
cmp dword [ebp + 0xc], ebx
je 0x43dd42
push 0x20
lea eax, [ebp - 0x60]
push ebx
push eax
call fcn.00424890
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x5c], ebx
call fcn.0040e442
push str.IPC_
lea ecx, [ebp - 0x40]
call fcn.004157c5
mov eax, dword [ebp - 0x40]
push ebx
push dword [ebp + 0xc]
mov dword [ebp - 0x4c], eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.MPR.dll_WNetAddConnection2W]
mov esi, eax
test esi, esi
js 0x43ddce
lea eax, [ebp - 0x10]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegConnectRegistryW]
mov esi, eax
test esi, esi
jne 0x43ddce
lea eax, [ebp - 8]
push eax
push 0x20019
push ebx
push dword [ebp - 0x30]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, eax
test esi, esi
jne 0x43ddc9
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x26c]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 8]
mov dword [ebp - 0xc], 0x1fe
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jne 0x43ddc4
mov eax, dword [ebp - 0xc]
push dword [ebp + 8]
shr eax, 1
xor ecx, ecx
mov dword [ebp - 0xc], eax
mov word [ebp + eax*2 - 0x26c], cx
lea eax, [ebp - 0x26c]
push eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
mov esi, eax
push dword [ebp - 8]
call edi
push dword [ebp - 0x10]
call edi
lea ecx, [ebp - 0x40]
call fcn.0040e281
lea ecx, [ebp - 0x20]
call fcn.0040e281
lea ecx, [ebp - 0x30]
call fcn.0040e281
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x43e5e4
Capabilities:
Get token privileges

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
push esi
xor ebx, ebx
push ebx
push dword [eax]
mov edi, ecx
push 3
push edi
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x43e63b
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x7a
jne 0x43e63e
push dword [esi]
push 8
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
test eax, eax
je 0x43e63e
push esi
push dword [esi]
push eax
push 3
push edi
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x43e63e
xor ebx, ebx
inc ebx
pop edi
pop esi
mov al, bl
pop ebx
pop ebp
ret

Function at 0x43ea85
Capabilities:
Create process on windows
Impersonate user

Disassembly:
push ebp
mov ebp, esp
call fcn.0043e7ad
test al, al
je 0x43ea97
pop ebp
jmp fcn.0043e7e6
pop ebp
jmp fcn.0043ea9d

Function at 0x43ec26
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
lea eax, [ebp - 8]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x10], ebx
mov word [ebp - 0xc], 0x500
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov ecx, eax
mov dword [ebp - 4], ecx
test ecx, ecx
je 0x43ec7f
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
push dword [ebp - 8]
neg eax
sbb eax, eax
and dword [ebp - 4], eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov ecx, dword [ebp - 4]
xor eax, eax
cmp ecx, 1
sete al
pop ebx
leave
ret

Function at 0x43ec8a
Capabilities:
Impersonate user

Disassembly:
push ebp
mov ebp, esp
movsx eax, byte [ebp + 0x14]
push dword [ebp + 0x1c]
and eax, 2
push 0
or eax, 4
shr eax, 1
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_LogonUserW]
neg eax
sbb eax, eax
neg eax
pop ebp
ret 0x18

Function at 0x43ede7
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push 0xc
push 8
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
mov edi, dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
push 2
push 0
mov ebx, eax
push 0
push ebx
call edi
push eax
mov eax, dword [ebp + 8]
push dword [eax]
call edi
push eax
call dword [sym.imp.KERNEL32.DLL_DuplicateHandle]
push 2
push 0
push 0
lea eax, [ebx + 8]
push eax
call edi
push eax
mov eax, dword [ebp + 0x10]
push dword [eax]
call edi
push eax
call dword [sym.imp.KERNEL32.DLL_DuplicateHandle]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebx + 4], eax
xor eax, eax
push eax
push eax
push ebx
push 0x43ee58
push eax
push eax
call dword [sym.imp.KERNEL32.DLL_CreateThread]
pop edi
pop ebx
pop ebp
ret 0xc
Function at 0x43f134
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
mov esi, ecx
push 0xb0
push dword [esi]
mov dword [ebp - 0x10], esi
call edi
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
jb 0x43f164
xor al, al
jmp 0x43f1de
push ebx
xor ebx, ebx
push ebx
push ebx
push 0xe
push dword [esi]
call edi
mov edi, eax
test edi, edi
je 0x43f1db
cmp edi, dword [ebp - 8]
jb 0x43f1db
cmp edi, dword [ebp - 4]
jb 0x43f1db
xor ecx, ecx
push 2
lea esi, [edi + 1]
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0042302a
pop ecx
push eax
push esi
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
push 0xd
push dword [eax]
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [ebp - 0xc]
test eax, eax
je 0x43f1d0
mov eax, dword [ebp - 4]
cmp eax, edi
je 0x43f1bf
xor ecx, ecx
mov word [esi + eax*2], cx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
lea eax, [esi + eax*2]
push eax
call fcn.00412228
mov bl, 1
push esi
call fcn.0042309e
pop ecx
mov al, bl
jmp 0x43f1dd
xor al, al
pop ebx
pop edi
pop esi
leave
ret 4

Function at 0x43fb74
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, ecx
push 1
push dword [esi]
mov dword [ebp - 4], esi
call fcn.00440ec6
mov edi, dword [sym.imp.USER32.dll_MapVirtualKeyW]
xor ebx, ebx
push ebx
push 0x25
call edi
shl eax, 0x10
or eax, 1
push eax
cmp dword [ebp + 8], ebx
jge 0x43fbcc
push 0x25
push 0x100
push dword [esi]
mov esi, dword [sym.imp.USER32.dll_PostMessageW]
call esi
push ebx
call dword [sym.imp.KERNEL32.DLL_Sleep]
push ebx
push 0x25
call edi
shl eax, 0x10
or eax, 0xc0000001
push eax
push 0x25
jmp 0x43fbf4
push 0x27
push 0x100
push dword [esi]
mov esi, dword [sym.imp.USER32.dll_PostMessageW]
call esi
push ebx
call dword [sym.imp.KERNEL32.DLL_Sleep]
push ebx
push 0x25
call edi
shl eax, 0x10
or eax, 0xc0000001
push eax
push 0x27
mov edi, dword [ebp - 4]
push 0x101
push dword [edi]
call esi
push ebx
call dword [sym.imp.KERNEL32.DLL_Sleep]
push ebx
push dword [edi]
call fcn.00440ec6
pop edi
pop esi
mov al, 1
pop ebx
leave
ret 4

Function at 0x4403b1
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp byte [ebp + 0xc], 1
jne 0x4403dc
lea eax, [ebp + 0xc]
push eax
push 0x1388
push 2
push esi
push esi
push esi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
test eax, eax
je 0x4403f5
push 1
jmp 0x4403dd
push esi
push esi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push eax
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
pop esi
pop ebp
ret 8
Function at 0x4478fe
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push esi
mov esi, dword [ebp + 8]
test esi, esi
js 0x447983
jne 0x447912
push 0
jmp 0x44797d
cmp esi, 0xf
jae 0x44797c
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.DLL_QueryPerformanceCounter]
test eax, eax
je 0x44797c
mov dword [ebp + 8], esi
fild dword [ebp + 8]
test esi, esi
jns 0x447935
fadd qword [0x4b8a00]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fstp qword [ebp - 0x28]
push 0
call dword [sym.imp.KERNEL32.DLL_Sleep]
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.DLL_QueryPerformanceCounter]
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
sbb eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], eax
fild qword [ebp - 0x18]
fstp qword [ebp - 0x20]
call fcn.00421164
fdivr qword [ebp - 0x20]
fcomp qword [ebp - 0x28]
fnstsw ax
test ah, 5
jnp 0x44793e
jmp 0x447983
push esi
call dword [sym.imp.KERNEL32.DLL_Sleep]
pop esi
leave
ret 4

Function at 0x447ad3
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
push esi
mov esi, ecx
mov dword [esi + 4], eax
mov byte [esi + 0xa], al
mov eax, dword [ebp + 8]
mov dword [esi], 0xff
mov word [esi + 8], ax
test ax, ax
jne 0x447af7
xor al, al
jmp 0x447b3c
push eax
call dword [sym.imp.USER32.dll_VkKeyScanW]
movzx eax, ax
cmp ax, 0xffff
je 0x447af3
push ebx
mov ebx, eax
mov byte [esi], al
movzx eax, al
push 0
push eax
sar ebx, 8
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
mov byte [esi + 7], al
test bl, 1
je 0x447b27
mov byte [esi + 1], 1
test bl, 2
je 0x447b30
mov byte [esi + 3], 1
test bl, 4
pop ebx
je 0x447b3a
mov byte [esi + 4], 1
mov al, 1
pop esi
pop ebp
ret 4

Function at 0x449787
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
call fcn.00449558
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.KERNEL32.DLL_WriteFile]
mov eax, dword [ebp - 4]
add dword [esi + 0x10], eax
adc dword [esi + 0x14], 0
pop esi
leave
ret 8
Function at 0x44992e
Capabilities:
Copy file
Move file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x20020
call fcn.004333f0
push esi
lea eax, [ebp - 0x20020]
mov esi, edx
push eax
mov edx, 0x7fff
call fcn.0044a806
lea eax, [ebp - 0x10020]
push eax
mov edx, 0x7fff
mov ecx, esi
call fcn.0044a806
pop ecx
pop ecx
lea eax, [ebp - 0x10020]
push eax
lea eax, [ebp - 0x20020]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcmpiW]
pop esi
test eax, eax
jne 0x4499b7
cmp byte [ebp + 8], al
je 0x4499b3
lea eax, [ebp - 0x10020]
push eax
lea eax, [ebp - 0x20020]
push eax
call fcn.00425123
pop ecx
pop ecx
test eax, eax
je 0x4499af
lea eax, [ebp - 0x10020]
push eax
lea eax, [ebp - 0x20020]
push eax
call dword [sym.imp.KERNEL32.DLL_MoveFileW]
mov al, 1
leave
ret
xor al, al
leave
ret
lea ecx, [ebp - 0x20020]
call fcn.0044abb2
test al, al
je 0x4499b3
lea ecx, [ebp - 0x10020]
call fcn.0044abb2
test al, al
je 0x449a61
cmp byte [ebp + 8], 0
je 0x4499b3
lea eax, [ebp - 0x20020]
push str..
push eax
call fcn.00424834
lea eax, [ebp - 0x20020]
push eax
call fcn.0042481b
xor ecx, ecx
mov word [ebp + eax*2 - 0x2001e], cx
lea eax, [ebp - 0x10020]
push eax
call fcn.0042481b
xor ecx, ecx
mov word [ebp + eax*2 - 0x1001e], cx
lea eax, [ebp - 0x20020]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x10020]
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0xa], eax
mov dword [ebp - 6], eax
mov dword [ebp - 0xe], eax
mov dword [ebp - 0x20], eax
mov eax, 0x614
add esp, 0x10
mov word [ebp - 0x10], ax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x1c], 2
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
neg eax
sbb al, al
inc al
leave
ret
lea ecx, [ebp - 0x10020]
call fcn.00449cc1
test al, al
je 0x4499b3
lea ecx, [ebp - 0x10020]
call fcn.0044abb2
test al, al
jmp 0x4499dd
Function at 0x449a86
Capabilities:
Copy file
Delete file
Enumerate files on windows
Move file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x40864
call fcn.004333f0
push ebx
push esi
push edi
lea eax, [ebp - 0x20860]
mov esi, edx
mov edi, 0x7fff
xor ebx, ebx
push eax
mov edx, edi
mov byte [ebp - 1], bl
call fcn.0044a806
pop ecx
lea eax, [ebp - 0x40860]
push eax
mov edx, edi
mov ecx, esi
call fcn.0044a806
pop ecx
lea edx, [ebp - 0x40860]
lea ecx, [ebp - 0x20860]
call fcn.0044ab45
lea ecx, [ebp - 0x20860]
mov byte [ebp - 3], al
call fcn.0044abb2
mov esi, str..
test al, al
je 0x449af9
lea eax, [ebp - 0x20860]
push esi
push eax
call fcn.00424834
pop ecx
pop ecx
lea ecx, [ebp - 0x40860]
call fcn.0044abb2
test al, al
je 0x449b17
lea eax, [ebp - 0x40860]
push esi
push eax
call fcn.00424834
pop ecx
pop ecx
lea eax, [ebp - 0x860]
push eax
lea eax, [ebp - 0x460]
push eax
lea eax, [ebp - 0x660]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x20860]
push eax
call fcn.00425949
add esp, 0x14
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x20860]
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov esi, eax
mov al, 1
mov byte [ebp - 2], al
cmp esi, 0xffffffff
je 0x449cb0
mov edi, dword [sym.imp.KERNEL32.DLL_DeleteFileW]
cmp al, 1
jne 0x449cb0
test byte [ebp - 0x260], 0x10
jne 0x449c82
lea eax, [ebp - 0x30860]
push eax
lea eax, [ebp - 0x40860]
push eax
lea eax, [ebp - 0x860]
push eax
lea edx, [ebp - 0x460]
lea ecx, [ebp - 0x234]
call fcn.0044a296
add esp, 0xc
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10860]
push eax
call fcn.00424863
lea eax, [ebp - 0x660]
push eax
lea eax, [ebp - 0x10860]
push eax
call fcn.00424834
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x10860]
push eax
call fcn.00424834
add esp, 0x18
lea ecx, [ebp - 0x30860]
call fcn.0041fdfd
test al, al
je 0x449c19
cmp byte [ebp + 8], bl
je 0x449ca5
lea eax, [ebp - 0x30860]
push eax
lea eax, [ebp - 0x10860]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcmpiW]
test eax, eax
lea eax, [ebp - 0x30860]
push eax
je 0x449c3a
call edi
cmp byte [ebp + 0xc], 1
lea eax, [ebp - 0x30860]
jne 0x449c6b
cmp byte [ebp - 3], bl
jne 0x449c4d
push eax
lea eax, [ebp - 0x10860]
push eax
call dword [sym.imp.KERNEL32.DLL_MoveFileW]
jmp 0x449c7a
lea eax, [ebp - 0x10860]
push eax
call dword [sym.imp.KERNEL32.DLL_MoveFileW]
test eax, eax
je 0x449cb3
jmp 0x449c7e
push ebx
push eax
lea eax, [ebp - 0x10860]
push eax
call dword [sym.imp.KERNEL32.DLL_CopyFileW]
test eax, eax
je 0x449ca5
lea eax, [ebp - 0x10860]
push eax
call edi
jmp 0x449c7a
push ebx
push eax
lea eax, [ebp - 0x10860]
push eax
call dword [sym.imp.KERNEL32.DLL_CopyFileW]
test eax, eax
je 0x449ca5
mov byte [ebp - 1], 1
lea eax, [ebp - 0x260]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
mov al, byte [ebp - 2]
jne 0x449b69
mov al, bl
mov byte [ebp - 2], al
jmp 0x449b69
push esi
call dword [sym.imp.KERNEL32.DLL_FindClose]
xor al, al
jmp 0x449cbc
mov bl, byte [ebp - 1]
push esi
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov al, bl
pop edi
pop esi
pop ebx
leave
ret
Function at 0x449cc1
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10000
call fcn.004333f0
push ebx
push esi
mov edx, ecx
push 0x7fff
lea ecx, [ebp - 0x10000]
call fcn.004159bb
lea eax, [ebp - 0x10000]
push eax
call fcn.0042481b
pop ecx
pop ecx
push 0x5c
pop ebx
test eax, eax
je 0x449d0b
cmp word [ebp + eax*2 - 0x10002], bx
jne 0x449d0b
xor ecx, ecx
mov word [ebp + eax*2 - 0x10002], cx
lea eax, [ebp - 0x10000]
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x449d98
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 2
jne 0x449d3f
push 0
lea eax, [ebp - 0x10000]
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
test eax, eax
je 0x449d44
mov al, 1
jmp 0x449d9e
cmp eax, 3
jne 0x449d9c
lea ecx, [ebp - 0x10000]
call fcn.0044b45b
mov esi, eax
push ebx
push esi
call fcn.00426033
pop ecx
pop ecx
test eax, eax
jne 0x449d67
push esi
call fcn.0042309e
pop ecx
jmp 0x449d9c
xor ecx, ecx
mov word [eax], cx
mov ecx, esi
call fcn.00449cc1
push esi
mov bl, al
call fcn.0042309e
pop ecx
test bl, bl
je 0x449d94
push 0
lea eax, [ebp - 0x10000]
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
test eax, eax
setne bl
mov al, bl
jmp 0x449d9e
test al, 0x10
jne 0x449d3b
xor al, al
pop esi
pop ebx
leave
ret

Function at 0x449da2
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x10460
call fcn.004333f0
push ebx
lea eax, [esp + 0x464]
push esi
xor ebx, ebx
push eax
mov edx, 0x7fff
mov byte [esp + 0x13], bl
call fcn.0044a806
pop ecx
lea ecx, [esp + 0x468]
call fcn.0044abb2
test al, al
je 0x449df1
lea eax, [esp + 0x468]
push str..
push eax
call fcn.00424834
pop ecx
pop ecx
push ebx
push ebx
lea eax, [esp + 0x270]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x478]
push eax
call fcn.00425949
add esp, 0x14
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x46c]
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov esi, eax
mov al, 1
mov byte [esp + 0xe], al
cmp esi, 0xffffffff
je 0x449eaa
cmp al, 1
jne 0x449eaa
test byte [esp + 0x18], 0x10
jne 0x449e8e
mov byte [esp + 0xf], al
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x46c]
push eax
call fcn.00424863
lea eax, [esp + 0x270]
push eax
lea eax, [esp + 0x474]
push eax
call fcn.00424834
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x47c]
push eax
call fcn.00424834
add esp, 0x18
lea eax, [esp + 0x468]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
cmp eax, 1
jne 0x449eae
lea eax, [esp + 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
mov al, byte [esp + 0xe]
jne 0x449e30
mov al, bl
mov byte [esp + 0xe], al
jmp 0x449e30
mov bl, byte [esp + 0xf]
push esi
call dword [sym.imp.KERNEL32.DLL_FindClose]
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x449ebd
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x63c
push ebx
push esi
push edi
push 0
mov ebx, ecx
push 2
mov dword [ebp - 4], edx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x234], 0x22c
call dword [sym.imp.KERNEL32.DLL_CreateToolhelp32Snapshot]
mov edi, eax
lea eax, [ebp - 0x234]
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_Process32FirstW]
mov esi, dword [ebp + 8]
mov ecx, ebx
mov byte [esi], 0
call fcn.0044a968
mov ebx, eax
jmp 0x449f7e
lea eax, [ebp - 0x234]
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_Process32NextW]
cmp eax, 1
jne 0x449f83
lea eax, [ebp - 0x63c]
push eax
lea eax, [ebp - 0x438]
push eax
push 0
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.00425949
lea eax, [ebp - 0x63c]
push eax
lea eax, [ebp - 0x438]
push eax
call fcn.00424834
push dword [ebp - 8]
lea eax, [ebp - 0x438]
push eax
call fcn.00424ae7
add esp, 0x24
test eax, eax
jne 0x449f68
mov eax, dword [ebp - 0x22c]
jmp 0x449f76
test ebx, ebx
je 0x449f7e
mov eax, dword [ebp - 0x22c]
cmp ebx, eax
jne 0x449f7e
mov ecx, dword [ebp - 4]
mov byte [esi], 1
mov dword [ecx], eax
cmp byte [esi], 0
je 0x449f06
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop edi
pop esi
mov al, 1
pop ebx
leave
ret

Function at 0x449f91
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
push edi
xor esi, esi
push esi
mov eax, 0x80
push eax
push 3
push esi
push 3
mov ebx, edx
push eax
push ecx
mov dword [ebx], esi
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov edx, eax
mov dword [ebp - 8], edx
cmp edx, 0xffffffff
jne 0x449fc2
xor al, al
jmp 0x44a00b
push 0xa
pop ecx
xor eax, eax
push esi
lea edi, [ebp - 0x3c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 4]
push eax
push 0x28
lea eax, [ebp - 0x3c]
push eax
push 0xc
lea eax, [ebp - 0x14]
push eax
push 0x2d1400
push edx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.DLL_DeviceIoControl]
mov esi, eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
test esi, esi
je 0x449fbe
mov eax, dword [ebp - 0x20]
mov dword [ebx], eax
mov al, 1
pop edi
pop esi
pop ebx
leave
ret
Function at 0x44a010
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4c418c]
sub esp, 0x1c
cmp byte [eax + 0x25], 0
jne 0x44a028
mov eax, 0x80004005
leave
ret
push ebx
push esi
xor esi, esi
push esi
mov eax, 0x80
push eax
push 3
push esi
push 3
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x44a08b
push edi
xor eax, eax
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push esi
stosd dword es:[edi], eax
lea eax, [ebp - 4]
push eax
push 0xc
lea eax, [ebp - 0x1c]
push eax
push 0xc
lea eax, [ebp - 0x10]
push eax
push 0x2d1400
push ebx
mov dword [ebp - 0x10], 7
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.DLL_DeviceIoControl]
mov esi, eax
push ebx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop edi
test esi, esi
jne 0x44a092
mov eax, 0x80004005
jmp 0x44a09a
xor eax, eax
cmp byte [ebp - 0x14], al
setne al
pop esi
pop ebx
leave
ret
Function at 0x44a84d
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x298
lea eax, [ebp - 0x298]
push esi
push edi
push eax
push 0x101
mov edi, edx
mov esi, ecx
call dword [sym.imp.WSOCK32.dll_WSAStartup]
test eax, eax
jne 0x44a910
push 0x100
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.WSOCK32.dll_gethostname]
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.WSOCK32.dll_gethostbyname]
test eax, eax
je 0x44a910
mov edx, dword [eax + 0xc]
xor ecx, ecx
cmp dword [edx], ecx
je 0x44a8ad
mov eax, edx
lea eax, [eax + 4]
inc ecx
cmp dword [eax], 0
jne 0x44a8a4
cmp esi, ecx
jle 0x44a8c0
push str.0.0.0.0
push edi
call fcn.00424863
pop ecx
pop ecx
jmp 0x44a908
push 4
push dword [edx + esi*4 - 4]
lea eax, [ebp - 4]
push eax
call fcn.004229c0
add esp, 0xc
push dword [ebp - 4]
call dword [sym.imp.WSOCK32.dll_inet_ntoa]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.004260e0
or edx, 0xffffffff
lea ecx, [ebp - 0x108]
call fcn.0044b546
mov esi, eax
push esi
push edi
call fcn.00424863
push esi
call fcn.0042309e
add esp, 0x14
call dword [sym.imp.WSOCK32.dll_WSACleanup]
jmp 0x44a91d
push 0x49fc00
push edi
call fcn.00424863
pop ecx
pop ecx
pop edi
pop esi
leave
ret

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

Disassembly:
push ecx
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x44abc5
test al, 0x10
je 0x44abc5
mov al, 1
ret
xor al, al
ret

Function at 0x44abeb
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov eax, ecx
xor esi, esi
mov ebx, edx
mov dword [ebp - 4], eax
mov byte [0x4c52f9], 0
test edi, edi
je 0x44ac3d
mov byte [0x4c52fa], 1
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 0x10]
push eax
xor ecx, ecx
push ecx
lea eax, [ebp - 0xc]
push eax
push 0x44b04f
push ecx
push ecx
mov dword [ebp - 8], edi
call fcn.00425ccc
mov esi, eax
mov eax, dword [ebp - 4]
add esp, 0x18
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
mov edi, eax
test esi, esi
je 0x44ac68
push 0xffffffffffffffff
push esi
mov byte [0x4c52fa], 0
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp byte [0x4c52f9], 1
jne 0x44ac76
or eax, 0xffffffff
jmp 0x44ac78
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret