joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47409c
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x130], edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404054
lea edi, [ebp - 0x12c]
xor eax, eax
push ebp
push 0x47420a
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
xor edx, edx
mov eax, 2
call fcn.0045ccb8
mov ebx, eax
mov dword [edi], 0x128
mov edx, edi
mov eax, ebx
call fcn.0045ccd8
jmp 0x4741d6
lea eax, [ebp - 0x138]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.00403e50
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.00408a84
mov eax, dword [ebp - 0x134]
lea edx, [ebp - 0x130]
call fcn.00408214
mov eax, dword [ebp - 0x130]
push eax
lea edx, [ebp - 0x13c]
mov eax, dword [ebp - 4]
call fcn.00408214
mov edx, dword [ebp - 0x13c]
pop eax
call fcn.00403fb0
je 0x4741b6
lea eax, [ebp - 0x144]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.00403e50
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0x140]
call fcn.00408214
mov eax, dword [ebp - 0x140]
push eax
lea edx, [ebp - 0x148]
mov eax, dword [ebp - 4]
call fcn.00408214
mov edx, dword [ebp - 0x148]
pop eax
call fcn.00403fb0
jne 0x4741cd
push 0
mov eax, dword [edi + 8]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
mov esi, eax
mov edx, edi
mov eax, ebx
call fcn.0045ccf8
test eax, eax
jne 0x474117
push ebx
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x474211
lea eax, [ebp - 0x148]
mov edx, 7
call fcn.00403c44
lea eax, [ebp - 4]
call fcn.00403c20
ret

Function at 0x4744c0
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_GetPriorityClass
mov ebx, eax
call sub.kernel32.dll_GetCurrentThread
push eax
call sub.kernel32.dll_GetThreadPriority
mov esi, eax
push pe_nt_image_headers32
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_SetPriorityClass
push 0xf
call sub.kernel32.dll_GetCurrentThread
push eax
call sub.kernel32.dll_SetThreadPriority
push 0xa
call sub.kernel32.dll_Sleep
rdtsc
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
push 0x1f4
call sub.kernel32.dll_Sleep
rdtsc
sub eax, dword [ebp - 4]
sbb edx, dword [ebp - 8]
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
push esi
call sub.kernel32.dll_GetCurrentThread
push eax
call sub.kernel32.dll_SetThreadPriority
push ebx
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_SetPriorityClass
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x14], eax
fild qword [ebp - 0x18]
fdiv dword [0x474560]
fstp qword [ebp - 0x10]
wait
fld qword [ebp - 0x10]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x474a10
Capabilities:
Create a process with modified i/o handles and window
Create pipe
Create process on windows
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff88
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x78], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404054
xor eax, eax
push ebp
push 0x474b9f
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x1c], 0xc
mov dword [ebp - 0x14], 0xffffffff
xor eax, eax
mov dword [ebp - 0x18], eax
push 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
call sub.kernel32.dll_CreatePipe
test eax, eax
je 0x474b79
mov eax, 0x7d1
call fcn.00408190
mov ebx, eax
lea eax, [ebp - 0x60]
xor ecx, ecx
mov edx, 0x44
call fcn.00402c08
mov dword [ebp - 0x60], 0x44
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x34], 0x101
mov word [ebp - 0x30], 0
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x60]
push eax
push 0
push 0
push 0x20
push 0xffffffffffffffff
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 4]
call fcn.00404064
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x474b4e
push 0x64
mov eax, dword [ebp - 0x70]
push eax
call sub.kernel32.dll_WaitForSingleObject
mov edi, eax
mov eax, dword [0x484d08]
mov eax, dword [eax]
call fcn.00449e20
cmp edi, 0x102
je 0x474ad1
xor eax, eax
mov dword [ebp - 0x10], eax
push 0
lea eax, [ebp - 0x10]
push eax
push 0x7d0
push ebx
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_ReadFile_1
mov eax, dword [ebp - 0x10]
mov byte [ebx + eax], 0
push ebx
push ebx
call sub.user32.dll_OemToCharA
lea edx, [ebp - 0x74]
mov eax, esi
call fcn.0042bf08
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x78]
mov edx, ebx
call fcn.00403dd8
mov edx, dword [ebp - 0x78]
pop eax
call fcn.00403ea8
mov edx, dword [ebp - 0x74]
mov eax, esi
call fcn.0042bf38
cmp dword [ebp - 0x10], 0x7d0
jae 0x474af2
mov eax, ebx
call fcn.0040272c
mov eax, dword [ebp - 0x70]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x6c]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x474ba6
lea eax, [ebp - 0x78]
call fcn.00403c20
lea eax, [ebp - 0x74]
call fcn.00403c20
lea eax, [ebp - 4]
call fcn.00403c20
ret
Function at 0x474ed8
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x130], edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404054
lea edi, [ebp - 0x12c]
xor eax, eax
push ebp
push 0x475046
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
xor edx, edx
mov eax, 2
call fcn.0045ccb8
mov ebx, eax
mov dword [edi], 0x128
mov edx, edi
mov eax, ebx
call fcn.0045ccd8
jmp 0x475012
lea eax, [ebp - 0x138]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.00403e50
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.00408a84
mov eax, dword [ebp - 0x134]
lea edx, [ebp - 0x130]
call fcn.00408214
mov eax, dword [ebp - 0x130]
push eax
lea edx, [ebp - 0x13c]
mov eax, dword [ebp - 4]
call fcn.00408214
mov edx, dword [ebp - 0x13c]
pop eax
call fcn.00403fb0
je 0x474ff2
lea eax, [ebp - 0x144]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.00403e50
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0x140]
call fcn.00408214
mov eax, dword [ebp - 0x140]
push eax
lea edx, [ebp - 0x148]
mov eax, dword [ebp - 4]
call fcn.00408214
mov edx, dword [ebp - 0x148]
pop eax
call fcn.00403fb0
jne 0x475009
push 0
mov eax, dword [edi + 8]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
mov esi, eax
mov edx, edi
mov eax, ebx
call fcn.0045ccf8
test eax, eax
jne 0x474f53
push ebx
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47504d
lea eax, [ebp - 0x148]
mov edx, 7
call fcn.00403c44
lea eax, [ebp - 4]
call fcn.00403c20
ret

Function at 0x475240
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
xor edx, edx
mov dword [ebp - 0x2c], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x47530f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x2c]
call fcn.00475058
mov edx, dword [ebp - 0x2c]
mov eax, 0x475324
call fcn.0040418c
dec eax
jne 0x4752f1
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 0x28
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
test eax, eax
je 0x4752f9
lea eax, [ebp - 4]
push eax
push 0x28
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
test eax, eax
je 0x4752f9
lea eax, [ebp - 0x14]
push eax
push 0x475330
push 0
call sub.advapi32.dll_LookupPrivilegeValueA
test eax, eax
je 0x4752f9
mov dword [ebp - 0x18], 1
mov dword [ebp - 0xc], 2
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x28]
push eax
push 0x10
lea eax, [ebp - 0x18]
push eax
push 0
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
call sub.kernel32.dll_GetLastError_1
test al, al
jne 0x4752f9
push 0
push ebx
call sub.user32.dll_ExitWindowsEx
jmp 0x4752f9
push 0
push ebx
call sub.user32.dll_ExitWindowsEx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x475316
lea eax, [ebp - 0x2c]
call fcn.00403c20
ret
Function at 0x475344
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x475423
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4753fe
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, 0x251c
mov eax, dword [0x484d08]
mov eax, dword [eax]
call fcn.00449e20
dec ebx
jne 0x47536f
mov dl, 1
mov eax, dword [0x415e6c]
call fcn.0041a104
mov ebx, eax
lea edx, [ebp - 8]
mov eax, dword [0x484d08]
mov eax, dword [eax]
call fcn.0044a494
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
call fcn.004089bc
lea eax, [ebp - 4]
mov edx, 0x47543c
call fcn.00403ea8
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.0041a2d4
push 0
push 0x475448
push 0
push 0
push 0x475450
call sub.user32.dll_FindWindowA
push eax
call sub.user32.dll_FindWindowExA
mov esi, eax
mov eax, ebx
call fcn.0041a20c
mov edx, dword [eax]
call dword [edx + 0x60]
push eax
push 0
push 0xf7
push esi
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x475408
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47542a
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403c44
ret

Function at 0x4756f4
Capabilities:
Log keystrokes

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov esi, eax
push esi
call sub.user32.dll_IsIconic
test eax, eax
je 0x47570d
push 9
push esi
call sub.user32.dll_ShowWindow
call sub.user32.dll_GetForegroundWindow
cmp esi, eax
jne 0x47571d
mov bl, 1
jmp 0x47580a
mov eax, dword [0x484e6c]
cmp dword [eax], 2
jne 0x475731
mov eax, dword [0x484bb4]
cmp dword [eax], 4
jg 0x475765
mov eax, dword [0x484e6c]
cmp dword [eax], 1
jne 0x4757f4
mov eax, dword [0x484bb4]
cmp dword [eax], 4
jg 0x475765
mov eax, dword [0x484bb4]
cmp dword [eax], 4
jne 0x4757f4
mov eax, dword [0x484d48]
cmp dword [eax], 0
jle 0x4757f4
xor ebx, ebx
push 0
call sub.user32.dll_GetForegroundWindow
push eax
call sub.user32.dll_GetWindowThreadProcessId
mov edi, eax
push 0
push esi
call sub.user32.dll_GetWindowThreadProcessId
mov ebp, eax
push 0xffffffffffffffff
push edi
push ebp
call sub.user32.dll_AttachThreadInput
test eax, eax
je 0x4757ac
push esi
call sub.user32.dll_BringWindowToTop
push esi
call sub.user32.dll_SetForegroundWindow
push 0
push edi
push ebp
call sub.user32.dll_AttachThreadInput
call sub.user32.dll_GetForegroundWindow
cmp esi, eax
sete bl
test bl, bl
jne 0x475800
push 0
lea eax, [esp + 4]
push eax
push 0
push 0x2000
call sub.user32.dll_SystemParametersInfoA
push 2
push 0
push 0
push 0x2001
call sub.user32.dll_SystemParametersInfoA
push esi
call sub.user32.dll_BringWindowToTop
push esi
call sub.user32.dll_SetForegroundWindow
push 2
mov eax, dword [esp + 4]
push eax
push 0
push 0x2001
call sub.user32.dll_SystemParametersInfoA
jmp 0x475800
push esi
call sub.user32.dll_BringWindowToTop
push esi
call sub.user32.dll_SetForegroundWindow
call sub.user32.dll_GetForegroundWindow
cmp esi, eax
sete bl
mov eax, ebx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4764fc
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov ebx, eax
xor eax, eax
push ebp
push 0x4765e1
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
lea edx, [ebp - 0x14]
mov eax, dword [0x484d08]
mov eax, dword [eax]
call fcn.0044a494
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.00408a84
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x10]
call fcn.00404064
push eax
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4765bf
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 0
mov eax, ebx
call fcn.00404064
push eax
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetOpenUrlA
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4765a1
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4765a8
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetCloseHandle
ret

Function at 0x476770
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x91
call sub.user32.dll_GetKeyState
test al, 1
jne 0x47679e
push 0
push 0
push 0
push 0x91
call sub.user32.dll_keybd_event
push 0
push 2
push 0
push 0x91
call sub.user32.dll_keybd_event
ret

Function at 0x4767a0
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x91
call sub.user32.dll_GetKeyState
test al, 1
je 0x4767ce
push 0
push 0
push 0
push 0x91
call sub.user32.dll_keybd_event
push 0
push 2
push 0
push 0x91
call sub.user32.dll_keybd_event
ret

Function at 0x4767d0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
xor edx, edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404054
xor eax, eax
push ebp
push 0x476856
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x22]
mov edx, 0x1e
call fcn.004070c0
mov dword [ebp - 0x1e], 3
mov word [ebp - 0x12], 0x14
lea eax, [ebp - 0x28]
mov ecx, 0x47686c
mov edx, dword [ebp - 4]
call fcn.00403eec
mov eax, dword [ebp - 0x28]
call fcn.00404064
mov dword [ebp - 0x1a], eax
lea eax, [ebp - 0x22]
push eax
call sub.shell32.dll_SHFileOperationA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47685d
lea eax, [ebp - 0x28]
call fcn.00403c20
lea eax, [ebp - 4]
call fcn.00403c20
ret
Function at 0x4768c8
Capabilities:
Create tcp socket
Create udp socket
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebx
add esp, 0xfffffd6c
mov ebx, eax
mov eax, ebx
call fcn.00403c20
lea eax, [esp + 4]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
test eax, eax
jne 0x476925
push pe_nt_image_headers32
lea eax, [esp + 0x198]
push eax
call sub.wsock32.dll_gethostname
lea eax, [esp + 0x194]
push eax
call sub.wsock32.dll_gethostbyname
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [esp], eax
push dword [esp]
call sub.wsock32.dll_inet_ntoa
mov edx, eax
mov eax, ebx
call fcn.00403dd8
push 0
push 1
push 2
call sub.wsock32.dll_socket
inc eax
jne 0x476938
call sub.wsock32.dll_WSACleanup
add esp, 0x294
pop ebx
ret
Function at 0x47eb28
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x47eb30
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47ed70
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
mov ecx, 0xa
mov edx, 0xa
mov eax, dword [0x484a00]
call fcn.004040a8
mov eax, dword [ebp - 8]
mov edx, 0x47ed88
call fcn.00403fb0
jne 0x47ebac
xor eax, eax
push ebp
push 0x47eba2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0047421c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x328]
mov dl, 1
call fcn.0044c044
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47ebac
lea eax, [ebp - 0xc]
push eax
mov ecx, 0xa
mov edx, 0xa
mov eax, dword [0x4849f8]
call fcn.004040a8
mov eax, dword [ebp - 0xc]
mov edx, 0x47ed94
call fcn.00403fb0
jne 0x47ec81
mov dl, 1
mov eax, dword [0x44fc74]
call fcn.0044fde0
mov dword [0x485bfc], eax
mov edx, 0x80000002
mov eax, dword [0x485bfc]
call fcn.0044febc
mov eax, dword [0x485bfc]
mov byte [eax + 0xc], 0
mov eax, dword [0x485bfc]
mov dword [eax + 0x18], 0xf003f
xor ecx, ecx
mov edx, 0x47eda0
mov eax, dword [0x485bfc]
call fcn.00450000
lea eax, [ebp - 0x14]
push eax
mov eax, dword [0x4849bc]
call fcn.00403ea0
mov ecx, eax
mov edx, 0xa
mov eax, dword [0x4849bc]
call fcn.004040a8
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.00408458
mov eax, dword [ebp - 0x10]
push eax
lea edx, [ebp - 0x18]
mov eax, dword [0x484d08]
mov eax, dword [eax]
call fcn.0044a494
mov ecx, dword [ebp - 0x18]
mov eax, dword [0x485bfc]
pop edx
call fcn.004503d8
mov eax, dword [0x485bfc]
call fcn.0044fe8c
mov eax, dword [0x485bfc]
call fcn.00402ef8
jmp 0x47ed26
mov dl, 1
mov eax, dword [0x44fc74]
call fcn.0044fde0
mov dword [0x485bfc], eax
mov edx, 0x80000002
mov eax, dword [0x485bfc]
call fcn.0044febc
mov eax, dword [0x485bfc]
mov byte [eax + 0xc], 0
mov eax, dword [0x485bfc]
mov dword [eax + 0x18], 0xf003f
xor ecx, ecx
mov edx, 0x47ede0
mov eax, dword [0x485bfc]
call fcn.00450000
lea eax, [ebp - 0x20]
push eax
mov eax, dword [0x4849bc]
call fcn.00403ea0
mov ecx, eax
mov edx, 0xa
mov eax, dword [0x4849bc]
call fcn.004040a8
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
call fcn.00408458
mov eax, dword [ebp - 0x1c]
push eax
lea edx, [ebp - 0x24]
mov eax, dword [0x484d08]
mov eax, dword [eax]
call fcn.0044a494
mov ecx, dword [ebp - 0x24]
mov eax, dword [0x485bfc]
pop edx
call fcn.004503d8
mov eax, dword [0x485bfc]
call fcn.0044fe8c
mov eax, dword [0x485bfc]
call fcn.00402ef8
lea eax, [ebp - 0x28]
push eax
mov ecx, 0xa
mov edx, 0xa
mov eax, dword [0x4849fc]
call fcn.004040a8
mov eax, dword [ebp - 0x28]
mov edx, 0x47ed94
call fcn.00403fb0
jne 0x47ed55
mov eax, dword [ebp - 4]
call fcn.00477664
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47ed77
lea eax, [ebp - 0x28]
mov edx, 9
call fcn.00403c44
ret
Function at 0x4738c0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, 0x4735cc
inc ebx
call fcn.004738ff
and ebx, ebx
dec edi
xor dword [esi], ecx
sub ebx, 0x6549a6eb
add ebx, 0x65198a6a
push 0xa5bc9627
pop edi
add esi, 2
add ebx, edi
inc ebx
sub ebx, 0x1a8b8cab
cmp esi, eax
jl fcn.004738c0
inc ebx
and ebx, ebx
sub edi, ebx
ret
Function at 0x406870
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x8113db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x18]
push edi
lea ecx, [esi + 4]
mov dword [esi], 0x404b4c
call fcn.004074d1
push 4
mov dword [esp + 0x18], 0
call fcn.0040840a
mov edi, eax
add esp, 4
test edi, edi
je 0x4068e4
push ebx
call fcn.004073a9
mov dword [edi], eax
call fcn.00407168
push 0
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.00407492
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x4068d8
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0xc]
call fcn.004074ba
pop ebx
jmp 0x4068e6
xor edi, edi
mov dword [esi + 0x38], edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x408e81
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x815520]
jne 0x408e8b
repz ret
jmp fcn.0040d4bc
Function at 0x411eff
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x815520]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040b679
and dword [ebp - 0x14], 0
cmp dword [0x81aa94], 0
mov dword [ebp - 0x18], eax
jne 0x411fb2
push 0x403a84
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x41205a
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403a78
push ebx
call edi
test eax, eax
je 0x41205a
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403a68
push ebx
mov dword [0x81aa94], eax
call edi
push eax
call esi
push 0x403a54
push ebx
mov dword [0x81aa98], eax
call edi
push eax
call esi
push 0x403a38
push ebx
mov dword [0x81aa9c], eax
call edi
push eax
call esi
mov dword [0x81aaa4], eax
test eax, eax
je 0x411fb2
push 0x403a20
push ebx
call edi
push eax
call esi
mov dword [0x81aaa0], eax
mov eax, dword [0x81aaa0]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x41200b
cmp dword [0x81aaa4], ecx
je 0x41200b
push eax
call esi
push dword [0x81aaa4]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x41200b
test ebx, ebx
je 0x41200b
call edi
test eax, eax
je 0x412002
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x412002
test byte [ebp - 8], 1
jne 0x41200b
or dword [ebp + 0x10], 0x200000
jmp 0x41203e
mov eax, dword [0x81aa98]
cmp eax, dword [ebp - 0x18]
je 0x41203e
push eax
call esi
test eax, eax
je 0x41203e
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41203e
mov eax, dword [0x81aa9c]
cmp eax, dword [ebp - 0x18]
je 0x41203e
push eax
call esi
test eax, eax
je 0x41203e
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x81aa94]
call esi
test eax, eax
je 0x41205a
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x41205c
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00408e81
leave
ret
Function at 0x80f050
Capabilities:
Delete directory
Get common file path
Manipulate console buffer

Disassembly:
sub esp, 0xc0c
cmp dword [0xb9e834], 0x37
jne 0x80f0e9
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCommState]
push 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetSystemPowerState]
push 0
lea eax, [esp + 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea ecx, [esp + 8]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
lea edx, [esp + 4]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeA]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0
lea eax, [esp + 0x10]
push eax
push 0
push 0x4042a4
push 0
call dword [sym.imp.KERNEL32.dll_FoldStringA]
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ReplaceFileA]
mov ecx, dword [0xb9f828]
mov dword [esp], ecx
mov eax, 0x5d1
add dword [esp], eax
mov edx, dword [esp]
mov al, byte [edx + esi]
mov ecx, dword [0x81f884]
mov byte [ecx + esi], al
add esp, 0xc0c
ret