joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44e7e0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44e8be
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1c]
call fcn.00406e44
lea eax, [ebp - 0xc]
call fcn.0044e720
mov eax, dword [0x4898f4]
or eax, 1
push eax
call sub.KERNEL32.DLL_SetErrorMode
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x44e897
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
mov edx, 0x105
call fcn.00407a24
push 0
push 0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 0x1c]
call fcn.004072fc
push eax
mov eax, dword [ebp - 0x1c]
call fcn.0040792c
push eax
mov eax, dword [ebp - 0xc]
call fcn.0040792c
push eax
call sub.KERNEL32.DLL_GetVolumeInformationW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 5], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44e89e
mov eax, dword [ebp - 0x10]
push eax
call sub.KERNEL32.DLL_SetErrorMode
pop eax
jmp eax

Function at 0x44f640
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor ebx, ebx
mov eax, dword [ebp - 4]
call fcn.0040792c
jmp 0x44f672
mov ecx, ebx
add ecx, ecx
add ecx, ecx
shr ebx, 0x1e
or ecx, ebx
movzx edx, dx
xor ecx, edx
mov ebx, ecx
add eax, 2
movzx edx, word [eax]
test dx, dx
jne 0x44f65d
mov edi, ebx
and edi, 0xff
mov edx, dword [0x44f350]
mov eax, 0xc
call fcn.00408f84
mov ebx, eax
lea eax, [ebx + 4]
mov edx, dword [ebp - 4]
call fcn.004071e8
mov eax, dword [ebp - 8]
mov dword [ebx + 8], eax
mov eax, dword [esi + edi*4 + 4]
mov dword [ebx], eax
mov dword [esi + edi*4 + 4], ebx
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x44f730
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, edx
mov dword [ebp - 4], eax
xor ebx, ebx
mov eax, esi
call fcn.0040792c
jmp 0x44f75c
mov ecx, ebx
add ecx, ecx
add ecx, ecx
shr ebx, 0x1e
or ecx, ebx
movzx edx, dx
xor ecx, edx
mov ebx, ecx
add eax, 2
movzx edx, word [eax]
test dx, dx
jne 0x44f747
mov eax, ebx
and eax, 0xff
mov edx, dword [ebp - 4]
lea ebx, [edx + eax*4 + 4]
jmp 0x44f782
mov eax, dword [edi + 4]
mov edx, esi
call fcn.00407c34
je 0x44f788
mov ebx, edi
mov edi, dword [ebx]
test edi, edi
jne 0x44f774
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x452f10
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x452fed
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.00406e44
lea eax, [ebp - 0xc]
call fcn.00406e44
mov edx, dword [0x482294]
mov eax, dword [ebp - 0x14]
mov ecx, 0x10
call fcn.00416e58
test al, al
jne 0x452f93
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x4000
mov eax, dword [ebp - 0x14]
push eax
call sub.shell32.dll_SHGetKnownFolderPath
test eax, eax
jne 0x452f93
cmp dword [ebp - 0x10], 0
je 0x452f93
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
call fcn.0040797c
mov eax, dword [ebp - 0x10]
push eax
call sub.ole32.dll_CoTaskMemFree
jmp 0x452fd5
lea eax, [ebp - 0xc]
mov edx, 0x105
call fcn.00407a24
cmp dword [ebp - 4], 0
jl 0x452fd5
mov eax, dword [ebp - 0xc]
call fcn.0040792c
push eax
push 0
push 0
mov eax, dword [ebp - 4]
push eax
push 0
call sub.shell32.dll_SHGetFolderPathW
test eax, eax
jne 0x452fd5
lea eax, [ebp - 0xc]
call fcn.0042f1c0
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
call fcn.004071e8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x452ff4
lea eax, [ebp - 0xc]
call fcn.00406e44
pop eax
jmp eax
Function at 0x45f2a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45f631
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x45f2e7
push 2
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.0040792c
push eax
call sub.KERNEL32.DLL_LoadLibraryExW
mov dword [ebp - 0x28], eax
jmp 0x45f2f0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x45f611
xor eax, eax
push ebp
push 0x45f426
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov ax, word [eax + 0xc]
push eax
push 1
push 0x10
mov eax, dword [ebp - 0x28]
push eax
call sub.KERNEL32.DLL_FindResourceExW
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x45f330
call fcn.00406630
jmp 0x45f611
mov eax, dword [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x28]
push eax
call sub.KERNEL32.DLL_LoadResource
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x45f350
call fcn.00406630
jmp 0x45f611
xor eax, eax
push ebp
push 0x45f3fd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x28]
push eax
call sub.KERNEL32.DLL_SizeofResource
mov edx, eax
mov eax, dword [ebp - 4]
add eax, 0x10
xor ecx, ecx
call fcn.004077b8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.00407308
test eax, eax
jle 0x45f3e4
mov eax, dword [ebp - 0x30]
push eax
call sub.KERNEL32.DLL_LockResource
mov dword [ebp - 0x34], eax
xor eax, eax
push ebp
push 0x45f3dd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.00407308
push eax
mov eax, dword [ebp - 4]
add eax, 0x10
call fcn.004073cc
mov edx, eax
mov eax, dword [ebp - 0x34]
pop ecx
call fcn.0040504c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45f3e4
mov eax, dword [ebp - 0x30]
call fcn.0040dafc
pop eax
jmp eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45f404
mov eax, dword [ebp - 0x30]
push eax
call sub.KERNEL32.DLL_FreeResource
pop eax
jmp eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45f638
lea eax, [ebp - 0x14]
call fcn.00406e44
lea eax, [ebp - 0xc]
call fcn.00406e44
pop eax
jmp eax
Function at 0x460660
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x460793
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [0x42c46c]
call fcn.00409acc
lea eax, [ebp - 8]
call fcn.00406e44
push 0
push 0
call sub.KERNEL32.DLL_GetLogicalDriveStringsW
mov dword [ebp - 0x14], eax
lea eax, [ebp - 8]
mov edx, dword [ebp - 0x14]
call fcn.00407a24
mov eax, dword [ebp - 8]
call fcn.0040792c
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.KERNEL32.DLL_GetLogicalDriveStringsW
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x46076d
mov edx, dword [0x42c46c]
lea eax, [ebp - 0x18]
call fcn.00409acc
mov ecx, eax
mov edx, 0x4607ac
mov eax, dword [ebp - 8]
call fcn.0042f360
mov eax, dword [ebp - 0x18]
call fcn.004095e0
push eax
mov eax, dword [ebp - 4]
mov ecx, 1
mov edx, dword [0x42c46c]
call fcn.004099a8
add esp, 4
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
call fcn.004095ec
test eax, eax
jl 0x460753
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0xc]
cmp dword [eax + edx*4], 0
je 0x46074b
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov edx, dword [ebp - 0x10]
lea eax, [eax + edx*4]
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov edx, dword [edx + ecx*4]
call fcn.004071e8
inc dword [ebp - 0x10]
inc dword [ebp - 0xc]
dec dword [ebp - 0x1c]
jne 0x460723
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
mov ecx, 1
mov edx, dword [0x42c46c]
call fcn.004099a8
add esp, 4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46079a
lea eax, [ebp - 0x18]
mov edx, dword [0x42c46c]
call fcn.00409acc
lea eax, [ebp - 8]
call fcn.00406e44
pop eax
jmp eax

Function at 0x4607b0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00406e44
mov eax, dword [ebp - 8]
mov edx, 0x400
call fcn.00407a24
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.004072fc
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0040792c
push eax
mov eax, dword [ebp - 4]
call fcn.0040792c
push eax
call sub.KERNEL32.DLL_QueryDosDeviceW
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
call fcn.00407a24
mov eax, dword [ebp - 8]
call fcn.0042f1c0
mov esp, ebp
pop ebp
ret

Function at 0x460940
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff48
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push 0x56
lea eax, [ebp - 0xb8]
push eax
push 0x59
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_GetLocaleInfoW
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jle 0x460980
mov ecx, dword [ebp - 0xc]
dec ecx
lea edx, [ebp - 0xb8]
mov eax, dword [ebp - 8]
call fcn.00406f90
jmp 0x460988
mov eax, dword [ebp - 8]
call fcn.00406e44
mov esp, ebp
pop ebp
ret
Function at 0x460d70
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x460e5f
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x11], 0
mov eax, dword [ebp - 0xc]
call fcn.00406e44
mov eax, dword [ebp - 0xc]
mov edx, 0x8000
call fcn.00407a24
push 0x8000
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
call fcn.0040792c
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.psapi.dll_GetModuleFileNameExW
mov dword [ebp - 0x10], eax
cmp dword [ebp - 8], 0
jne 0x460dfb
cmp dword [ebp - 0x10], 0
jne 0x460dfb
push 0x8000
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
call fcn.0040792c
push eax
mov eax, dword [ebp - 4]
push eax
call sub.psapi.dll_GetProcessImageFileNameW
mov dword [ebp - 0x10], eax
mov byte [ebp - 0x11], 1
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
call fcn.00407a24
cmp byte [ebp - 0x11], 0
je 0x460e24
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
call fcn.00460810
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.004071e8
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
call fcn.004333d0
cmp dword [ebp - 0x18], 0
je 0x460e42
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
call fcn.004071e8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x460e66
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00406ea4
pop eax
jmp eax
Function at 0x469be0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, eax
cmp edx, 4
jb 0x469c3b
mov edi, dword [ebx + 0x1c]
movzx eax, byte [edi]
cmp al, 2
jne 0x469c16
movzx esi, word [edi + 2]
lea ecx, [esi + 4]
cmp edx, ecx
jne 0x469c3b
push esi
mov edx, dword [ebx + 0x20]
push edx
movzx ecx, byte [edi + 1]
mov edx, eax
mov eax, ebx
call fcn.00469a70
jmp 0x469c3b
cmp al, 3
jne 0x469c3b
cmp edx, 6
jb 0x469c3b
mov esi, dword [edi + 2]
lea ecx, [esi + 6]
cmp edx, ecx
jne 0x469c3b
push esi
mov edx, dword [ebx + 0x24]
push edx
movzx ecx, byte [edi + 1]
mov edx, eax
mov eax, ebx
call fcn.00469a70
push fcn.00469780
lea eax, [ebx + 0x28]
push eax
push 0x100000
mov eax, dword [ebx + 0x1c]
push eax
mov eax, dword [ebx + 0x70]
push eax
call sub.KERNEL32.DLL_ReadFileEx
cmp eax, 1
sbb eax, eax
inc eax
test al, al
je 0x469c64
mov byte [ebx + 0x6c], 1
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4705e0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
xor ebx, ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ebx
mov byte [ebp - 9], cl
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x470787
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x58]
mov eax, dword [ebp - 8]
call fcn.004314f0
mov eax, dword [ebp - 0x58]
call fcn.00431760
test byte [ebp - 9], 2
je 0x4706ac
mov byte [ebp - 0x1d], 0
mov edx, 0x201
mov eax, dword [ebp - 4]
call fcn.004316f0
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x470695
xor eax, eax
push ebp
push 0x47068e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x54]
mov edx, 0x34
call fcn.0042d6c0
lea eax, [ebp - 0x54]
push eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 4]
push eax
call sub.KERNEL32.DLL_GetFileInformationByHandle
test eax, eax
je 0x470676
test byte [ebp - 0x53], 2
je 0x470676
mov byte [ebp - 0x1d], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x470695
lea eax, [ebp - 0x1c]
call fcn.0041f828
pop eax
jmp eax
cmp byte [ebp - 0x1d], 0
je 0x4706ac
mov eax, dword [ebp - 4]
call fcn.00432be0
mov byte [ebp - 0xa], 1
jmp 0x47076a
push 9
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.0040792c
push eax
mov eax, dword [ebp - 4]
call fcn.0040792c
push eax
call sub.KERNEL32.DLL_MoveFileWithProgressW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0xa], al
cmp byte [ebp - 0xa], 0
je 0x47070b
cmp word [ebp + 0xa], 0
je 0x47076a
push 0
push 0
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.00431720
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
mov eax, dword [ebp + 0xc]
call dword [ebp + 8]
jmp 0x47076a
mov byte [ebp - 0x1e], 0
test byte [ebp - 9], 2
je 0x470719
or byte [ebp - 0x1e], 1
test byte [ebp - 9], 1
je 0x470745
push dword [ebp + 0xc]
push dword [ebp + 8]
mov cl, byte [ebp - 0x1e]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00470090
test al, al
je 0x470745
mov eax, dword [ebp - 4]
call fcn.00432be0
mov byte [ebp - 0xa], 1
jmp 0x47076a
push 0x4707a4
push dword [ebp - 4]
push 0x4707dc
push dword [ebp - 8]
lea eax, [ebp - 0x5c]
mov edx, 4
call fcn.00407b84
mov eax, dword [ebp - 0x5c]
call fcn.00470070
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47078e
lea eax, [ebp - 0x5c]
mov edx, 2
call fcn.00406ea4
pop eax
jmp eax
Function at 0x4721a0
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4722fd
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 4]
call fcn.00407230
mov eax, dword [ebp - 0x18]
call fcn.004072fc
test eax, eax
jle 0x47220e
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 1
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
cmp word [eax + edx*2 - 2], 0x40
jne 0x472206
lea eax, [ebp - 0x18]
call fcn.004073c4
mov edx, dword [ebp - 0x1c]
mov word [eax + edx*2 - 2], 0x2e
inc dword [ebp - 0x1c]
dec dword [ebp - 0x20]
jne 0x4721e6
mov eax, dword [ebp - 0x18]
push eax
push 0xa
call fcn.00471bb0
mov ecx, eax
mov dl, 1
mov eax, dword [0x42c85c]
call fcn.00434010
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4722d9
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov ecx, dword [ebp - 4]
mov edx, dword [0x48adbc]
call fcn.00407afc
mov eax, dword [ebp - 0x10]
call fcn.00432b40
test al, al
je 0x4722b6
cmp byte [ebp - 5], 0
jne 0x47227e
push 0
push 0
xor edx, edx
mov eax, dword [ebp - 0x10]
call fcn.00431720
cmp edx, 0
jne 0x472275
cmp eax, 0
jbe 0x47227e
jmp 0x472277
jle 0x47227e
call fcn.00406630
jmp 0x4722e0
mov eax, dword [ebp - 0x10]
call fcn.00432be0
test al, al
jne 0x4722b6
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0x10]
call fcn.004720d0
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
call fcn.00432bb0
test al, al
je 0x4722b6
push 4
push 0
mov eax, dword [ebp - 0x14]
call fcn.0040792c
push eax
call sub.KERNEL32.DLL_MoveFileExW
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.00471ec0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4722e0
mov eax, dword [ebp - 0xc]
call fcn.0040578c
pop eax
jmp eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x472304
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00406ea4
pop eax
jmp eax
Function at 0x475180
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
call fcn.004750d0
pop ecx
test al, al
je 0x4751a3
mov byte [ebp - 5], 1
jmp 0x475261
mov eax, dword [ebp - 4]
call fcn.00431760
mov byte [ebp - 5], 0
mov dl, byte [0x475268]
mov eax, dword [ebp - 4]
call fcn.0042e430
test al, al
jne 0x475261
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00464100
mov eax, dword [ebp - 4]
call fcn.0040792c
push eax
call sub.KERNEL32.DLL_GetFileAttributesW
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x475207
test byte [ebp - 0xc], 1
je 0x475207
mov eax, dword [ebp - 0xc]
and eax, 0xfffffffe
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
call fcn.0040792c
push eax
call sub.KERNEL32.DLL_SetFileAttributesW
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
call fcn.004750d0
pop ecx
test al, al
je 0x47521e
mov byte [ebp - 5], 1
jmp 0x475261
mov eax, dword [ebp - 4]
call fcn.00431760
mov dl, byte [0x475268]
mov eax, dword [ebp - 4]
call fcn.0042e430
test al, al
jne 0x475261
call fcn.00453000
cmp al, 3
jne 0x475261
call fcn.00453000
shr eax, 8
cmp al, 1
jne 0x475261
call fcn.00474cf0
test al, al
je 0x475261
mov eax, dword [ebp + 8]
mov byte [eax - 1], 0
mov byte [ebp - 5], 1
mov al, byte [ebp - 5]
mov esp, ebp
pop ebp
ret
Function at 0x431005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..rsrc
nop
nop
mov ebx, 0x40915c
mov ecx, 0x7f4351c7
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43104e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x431024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f3f8
nop
mov ecx, 0x327a0b88
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x431084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43106c
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x1010afe0
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x1010b1c4
pushal
mov esi, section.UPX1
lea edi, [esi - 0xbb000]
push edi
or ebp, 0xffffffff
jmp 0x1010b00a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1010b011
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1010b000
mov eax, 1
add ebx, ebx
jne 0x1010b023
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1010b034
jne 0x1010b053
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1010b053
dec eax
add ebx, ebx
jne 0x1010b040
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x1010b018
add ebx, ebx
jne 0x1010b04f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x1010b0a5
xor ecx, ecx
sub eax, 3
jb 0x1010b06b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1010b0da
sar eax, 1
mov ebp, eax
jmp 0x1010b076
add ebx, ebx
jne 0x1010b076
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1010b044
inc ecx
add ebx, ebx
jne 0x1010b084
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1010b044
add ebx, ebx
jne 0x1010b091
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1010b086
jne 0x1010b0a2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1010b086
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1010b0c4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1010b0b6
jmp 0x1010b006
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1010b0c4
add edi, ecx
jmp 0x1010b006
pop esi
mov edi, esi
mov ecx, 0xd0a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x1010b0e2
cmp byte [edi], 5
jne 0x1010b0e2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x1010b0e7
lea edi, [esi + 0x106000]
mov eax, dword [edi]
or eax, eax
je 0x1010b156
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x10b000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x10b140]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1010b114
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x10b144]
or eax, eax
je 0x1010b150
mov dword [ebx], eax
add ebx, 4
jmp 0x1010b131
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x1010b187
cmp al, 0xef
ja 0x1010b17a
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x1010b15c
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x1010b169
mov ebp, dword [esi + 0x10b148]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x237]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x1010b1bb
sub esp, 0xffffff80
jmp 0x1004ae7f
Function at 0x405b70
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x4e8ff8], 0
push ebx
push esi
push edi
jne 0x405bdd
push 0x10
call fcn.00493133
mov esi, eax
add esp, 4
mov dword [ebp - 8], esi
mov dword [0x4e8ff8], esi
push 0
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryA]
cmp dword [esi + 4], 0
jne 0x405bdd
push 0
mov dword [esi + 8], fcn.004199b0
mov dword [esi + 0xc], 0x419a00
call fcn.004199b0
add esp, 4
mov dword [esi + 4], eax
mov dword [ebp - 4], 0x4e9000
nop dword [eax]
nop dword [eax + eax]
mov esi, dword [0x4e9000]
mov ebx, esi
mov edi, dword [0x4e9004]
add ebx, 1
mov ecx, edi
mov dword [ebp - 8], edi
adc ecx, 0
mov eax, esi
mov edx, edi
mov edi, dword [ebp - 4]
lock cmpxchg8b qword [edi]
mov edi, dword [ebp - 8]
cmp eax, esi
jne 0x405bf0
cmp edx, edi
jne 0x405bf0
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x406c90
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4e5070]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x210]
push eax
push 0x2001f
push 0
push str.SoftwareMicrosoftWindows_NTCurrentVersionAppCompatFlagsCompatibility_AssistantPersisted
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x406d0f
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
push 4
lea eax, [ebp - 0x214]
mov dword [ebp - 0x214], 1
push eax
push 4
push 0
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00493122
mov esp, ebp
pop ebp
ret