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

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x94], 0
je 0x44f359
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x24]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403adc
jmp 0x44f363
mov eax, esi
mov edx, dword [ebx + 0x7c]
call fcn.00403a48
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4502a0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x74]
test esi, esi
je 0x4502d8
mov eax, esi
call fcn.00437a28
test al, al
je 0x4502d8
mov eax, dword [ebx + 0x74]
call fcn.0043772c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4502d8
push 0
mov eax, dword [ebx + 0x74]
call fcn.0043772c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00403e38
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x4575c9
test al, 0x10
jne 0x4575cd
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x45cef8
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45cfd0
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x486888], 0
jne 0x45cfb4
lea eax, [ebp - 4]
mov edx, 0x45cfe8
call fcn.00403a8c
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00403e38
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x45cfb4
mov eax, ebx
call fcn.0040270c
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x45cfad
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
push ebx
mov eax, dword [ebp - 8]
push eax
push esi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x45cf97
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x45cff8
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x45cf97
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [0x486888], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45cfb4
mov eax, dword [ebp - 0xc]
call fcn.00402724
ret
mov ebx, dword [0x486888]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45cfd7
lea eax, [ebp - 4]
call fcn.004039f4
ret
Function at 0x46bc64
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46bec3
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x46bcc6
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.0046b72c
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040bda4
cmp al, 1
jne 0x46bcc6
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.0046ba44
test al, al
je 0x46be52
cmp dword [ebp - 8], 0
jge 0x46bce4
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.0046b72c
mov eax, dword [ebp - 0x210]
call fcn.00403c74
cmp ebx, eax
jge 0x46bd2e
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.0046b72c
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x48528c]
and eax, 0xff
bt dword [edx], eax
jae 0x46bd2e
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x210]
cmp eax, dword [ebp - 8]
jg 0x46bd42
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0046bc40
cmp ebx, dword [ebp - 8]
je 0x46be44
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x46bd6e
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov bx, 0xffce
call fcn.00402f08
and eax, 0x7f
movzx eax, word [eax*2 + 0x484e4c]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x224], 1
xor eax, eax
push ebp
push 0x46be31
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov bx, 0xffce
call fcn.00402f08
and eax, 0x7f
movzx eax, word [eax*2 + 0x484e4c]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.0043772c
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov bx, 0xffce
call fcn.00402f08
and eax, 0x7f
movzx eax, word [eax*2 + 0x484e4c]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.0043772c
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46be38
mov eax, dword [ebp - 4]
mov byte [eax + 0x224], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x218], edx
jmp 0x46bea5
cmp dword [ebp - 8], 0
jge 0x46be5d
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.0046b72c
mov eax, dword [ebp - 0x218]
call fcn.00403c74
cmp eax, dword [ebp - 8]
jg 0x46be97
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.0046b72c
mov eax, dword [ebp - 0x21c]
call fcn.00403c74
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0046bc40
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46beca
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00403a18
ret
Function at 0x5f69a5
Capabilities:
Execute anti-debugging instructions

Disassembly:
add byte [eax], al
push esi
pop esi
pushal
jo 0x5f68c8
push ecx
pop ecx
push eax
push edx
rdtsc
pop edx
pop eax
pushal
popal
popal
pop ecx
pushfd
push 0x5d1dce72
mov dword [esp], ebp
push 0x2a61cde1
mov dword [esp], eax
mov eax, 0x5a599100
mov dword [esp + 4], eax
pop eax
shr dword [esp], 2
add dword [esp], 0xe969a061
push 0x23edace
mov dword [esp], esi
push edx
mov edx, 0x1f2e7c
mov dword [esp + 4], edx
mov edx, dword [esp]
push eax
mov eax, esp
add eax, 4
add eax, 4
xchg dword [esp], eax
pop esp
push ecx
mov dword [esp], 0x35f183c2
shr dword [esp], 3
xchg dword [esp], ebx
not ebx
xchg dword [esp], ebx
and dword [esp], 0x6f67e3eb
neg dword [esp]
or dword [esp], 0x3ff3f9e2
sub dword [esp], 0x6d2ef1b0
mov dword [esp], ebp
mov dword [esp], eax
push ecx
mov ecx, esp
push edx
push esi
mov esi, 4
push esi
add dword [esp], 0x4bb54001
pop edx
sub edx, 0x4bb54001
pop esi
add ecx, edx
pop edx
sub ecx, 4
xchg dword [esp], ecx
pop esp
mov dword [esp], ebx
push dword [esp + 0x10]
mov eax, dword [esp]
push 0x61b3d75a
mov dword [esp], ecx
mov ecx, esp
add ecx, 4
add ecx, 4
xor ecx, dword [esp]
xor dword [esp], ecx
xor ecx, dword [esp]
pop esp
push dword [esp + 8]
mov ebx, dword [esp]
push ebp
mov ebp, esp
add ebp, 4
push ebx
mov ebx, 0x5eff0ed8
shl ebx, 8
shl ebx, 6
or ebx, 0x79f35e96
sub ebx, 0xfbf75e92
add ebp, ebx
pop ebx
push ebp
push dword [esp + 4]
pop ebp
pop dword [esp]
pop esp
mov dword [esp + 8], eax
mov dword [esp + 0x10], ebx
mov ebx, dword [esp]
push ecx
mov ecx, esp
add ecx, 4
push eax
push edi
mov edi, 4
mov eax, edi
pop edi
add ecx, eax
pop eax
xchg dword [esp], ecx
mov esp, dword [esp]
push dword [esp]
push dword [esp]
pop eax
push ecx
mov ecx, esp
add ecx, 4
add ecx, 4
xchg dword [esp], ecx
pop esp
add esp, 4
jmp 0x5ce2c1
Function at 0x403ac8
Capabilities:
Get file size

Disassembly:
mov eax, dword [ecx + 0x14]
test eax, eax
jne 0x403ad4
mov eax, 0x429470
push esi
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
test eax, eax
ja 0x403b0d
cmp esi, 0xffffffff
je 0x403b09
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x403b21
mov ecx, dword [esp + 8]
cmp esi, 0xffffffff
mov dword [ecx], eax
je 0x403b1f
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop esi
ret 4

Function at 0x404adc
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x800
push ebx
push esi
push edi
mov edi, ecx
call fcn.00401046
mov esi, eax
mov ecx, esi
call fcn.00413bc8
push 1
mov ecx, esi
mov ebx, eax
call fcn.00413bad
mov ecx, esi
call fcn.00413ba6
push eax
mov ecx, esi
call fcn.00413a7f
mov ecx, ebx
call fcn.00415a6f
push eax
mov ecx, esi
call fcn.00413b68
lea eax, [ebp - 0x800]
push 0x400
push eax
mov ecx, edi
call fcn.00404c60
test eax, eax
jne 0x404b5b
mov edi, 0x47f
mov ecx, esi
mov dword [0x435d34], edi
call fcn.00413b75
shr eax, 0xa
push eax
push edi
call fcn.004162eb
pop ecx
pop ecx
jmp 0x404c54
lea eax, [ebp - 0x400]
xor ebx, ebx
push eax
push ebx
lea eax, [ebp - 0x800]
push 0x42e1dc
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
lea eax, [ebp - 0x400]
push eax
call fcn.00416e45
lea eax, [ebp - 0x400]
push 0x2e
push eax
call fcn.0041da10
pop ecx
mov byte [eax], bl
pop ecx
lea eax, [ebp - 0x400]
push eax
call fcn.00416dee
test eax, eax
jne 0x404bb1
lea eax, [ebp - 0x400]
push eax
call fcn.00416d44
lea eax, [ebp - 0x400]
push eax
push 0x432d8c
call fcn.0041c970
pop ecx
pop ecx
push dword [0x42f2e8]
mov ecx, edi
call fcn.00401046
mov ecx, eax
call fcn.00414764
test eax, eax
jne 0x404be7
push 2
mov ecx, esi
call fcn.00413bad
jmp 0x404bf2
mov ecx, esi
call fcn.00414778
test eax, eax
je 0x404c54
push dword [0x42f2fc]
mov ecx, edi
call fcn.00401046
mov ecx, eax
call fcn.00414764
test eax, eax
je 0x404c24
push 1
push ebx
push ebx
push 1
push dword [0x42f2fc]
mov ecx, edi
call fcn.00401046
mov ecx, eax
call fcn.00414a89
mov ecx, edi
call fcn.00404d21
test eax, eax
jne 0x404c40
mov eax, 0x481
push ebx
mov dword [0x435d34], eax
push eax
jmp 0x404b4f
cmp dword [esi + 0x14bc], 5
jne 0x404c58
mov ecx, esi
call fcn.004149e3
test eax, eax
jne 0x404c58
xor eax, eax
jmp 0x404c5b
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x409060
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
inc edx
add byte [eax + 2], ch
add byte [eax], al
or byte [ebp + 0x5d890c4d], 0xfc
call fcn.00409d2d
test eax, eax
jne 0x40911c
push 0x40
lea edi, [ebp - 0x11b]
pop ecx
mov byte [ebp - 0x11c], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x104
push eax
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x14]
push eax
push ebx
push esi
mov dword [ebp - 0x14], ebx
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x11c]
mov edi, 0x432d8c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push esi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
cmp dword [ebp + 0xc], ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x4090ba
push dword [ebp + 0xc]
call esi
mov dword [ebp + 0xc], ebx
or dword [ebp - 4], 0xffffffff
cmp dword [ebp + 0xc], ebx
je 0x4090c8
push dword [ebp + 0xc]
call esi
mov esi, dword [ebp + 8]
mov dword [esi + 0x14b4], 1
push dword [0x42f2e8]
push edi
push 0x434e60
call fcn.00416c2c
lea eax, [esi + 0x8ac]
push 0x400
push eax
push 0x432d70
push dword [0x429488]
lea ecx, [esi + 0x3318]
push dword [0x42947c]
call fcn.00401d30
push 2
mov ecx, esi
call fcn.00413bcf
jmp 0x4096c1
push dword [ebp + 8]
call fcn.00409962
cmp dword [ebp + 0xc], ebx
pop ecx
je 0x4096cf
push dword [ebp + 0xc]
jmp 0x40963d
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4096cf
push 1
pop eax
jmp 0x4096d1
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8

Function at 0x409cbf
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
lea eax, [ebp - 4]
push eax
push 1
push 0
push str.SoftwareInstallShieldISWI7.0SetupExeLog
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x409d16
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x104
push eax
push 0x433a34
push 0
push 0
push str.SetupLogFileName
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x409d0d
mov byte [0x434a34], 1
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
leave
ret

Function at 0x409e59
Capabilities:
Hide graphical window

Disassembly:
push dword [0x434a50]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x409e85
push esi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [0x434a50]
call esi
push 0
push dword [0x434a44]
call esi
pop esi
ret
Function at 0x409e86
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x2c]
push edi
push eax
push dword [0x434a50]
call esi
lea eax, [ebp - 0x6c]
xor ebx, ebx
push eax
push ebx
call esi
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 1
call edi
push eax
push ebx
call edi
push eax
push ebx
lea eax, [ebp - 0x1c]
push ebx
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 8]
sub eax, dword [ebp - 0x2c]
mov dword [ebp - 4], 0x1e
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x28]
mov dword [ebp - 8], eax
call fcn.004139cb
cmp dword [eax], 1
je 0x409ef0
cmp dword [eax + 4], ebx
je 0x409f45
push ebx
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowA]
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x409f45
lea eax, [ebp - 0x3c]
mov dword [ebp - 4], 0x46
push eax
push edi
call esi
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
lea esi, [ebp - 0x1c]
lea edi, [ebp - 0x5c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x5c]
movsd dword es:[edi], dword [esi]
push eax
lea eax, [ebp - 0x1c]
push eax
movsd dword es:[edi], dword [esi]
call dword [sym.imp.USER32.dll_SubtractRect]
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x18]
sub esi, ebx
mov ecx, dword [ebp - 0x14]
mov eax, esi
mov edi, dword [ebp - 0x1c]
cdq
idiv dword [ebp - 4]
sub ecx, edi
push 5
push 0
push 0
sub ebx, eax
mov eax, ecx
cdq
idiv dword [ebp - 4]
sub ebx, dword [ebp - 8]
add ebx, esi
push ebx
sub edi, eax
sub edi, dword [ebp - 0xc]
add edi, ecx
push edi
push 0
push dword [0x434a50]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x416bc8
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
and byte [ebp - 0x104], 0
push edi
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x103]
rep stosd dword es:[edi], eax
push dword [ebp + 8]
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x104]
push eax
call fcn.00416b9e
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
pop edi
je 0x416c26
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 2
je 0x416c21
cmp eax, 5
jne 0x416c26
push 1
pop eax
jmp 0x416c28
xor eax, eax
leave
ret 4

Function at 0x416d44
Capabilities:
Create directory

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
push dword [esp + 0x18]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [esp + 0x14], 1
call edi
inc eax
inc eax
push eax
call fcn.0041c5b8
pop ecx
mov esi, eax
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x42ec24
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push esi
mov ebx, esi
call edi
mov edi, eax
xor ebp, ebp
test edi, edi
jbe 0x416dbe
cmp byte [ebx], 0x5c
jne 0x416db1
and byte [ebx], 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x416dae
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x416db9
mov byte [ebx], 0x5c
inc ebx
inc ebp
cmp ebp, edi
jb 0x416d8c
jmp 0x416dbe
and dword [esp + 0x10], 0
push esi
call fcn.0041c021
mov eax, dword [esp + 0x14]
pop ecx
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4

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

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x416de9
test al, 0x10
jne 0x416de9
push 1
pop eax
jmp 0x416deb
xor eax, eax
ret 4

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

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x416e06
test al, 0x10
je 0x416e06
push 1
pop eax
jmp 0x416e08
xor eax, eax
ret 4

Function at 0x416e45
Capabilities:
Delete file
Set file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
call fcn.00416dd1
test eax, eax
jne 0x416e59
push 1
pop eax
jmp 0x416e96
push ebx
push esi
xor ebx, ebx
call fcn.00416e9a
test eax, eax
jne 0x416e93
push edi
mov edi, dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 0x8001
call edi
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x416e8e
push 1
pop ebx
push 0
call edi
pop edi
mov eax, ebx
pop ebx
pop esi
ret 4
Function at 0xdc0214
Capabilities:
Encode data using xor

Disassembly:
jmp 0xdc021e
add al, ah
add eax, dword [eax]
add byte [eax], al
add byte [eax], al
pushal
call 0xdc0224
pop ebp
sub ebp, 0x10
sub ebp, 0x9c0214
jmp 0xdc023a
mov eax, 0x9c0214
add eax, ebp
add eax, 0x4c
mov ecx, 0x5e0
mov edx, 0xa9294116
xor byte [eax], dl
inc eax
dec ecx
jne 0xdc0251
jmp 0xdc0264
popfd
fistp dword [ebp + 0x16162a9f]
push ss
xchg edi, eax
xlatb
out dx, al
push ss
push ss
push ss
adc eax, 0x1612aedb
scasb al, byte es:[edi]
adc dl, byte [esi]
push ss
push ss
lodsb al, byte [esi]
push ss
push ss
push ss
loope 0xdc0274
adc eax, 0x1a979dde
push ss
push ss
push ss
adc eax, 0x729b46d3
xor ch, dl
lahf
adc dh, byte [edx]
jle 0xdc0216
invalid

Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40c7d0
nop
mov ecx, 0x7cf04ec3
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x432024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f314
nop
mov ecx, 0x46bd594c
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x432084
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x4a18c0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x98000]
push edi
jmp 0x4a18da
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4a18e1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a18d0
mov eax, 1
add ebx, ebx
jne 0x4a18f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4a1904
jne 0x4a1923
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a1923
dec eax
add ebx, ebx
jne 0x4a1910
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4a18e8
add ebx, ebx
jne 0x4a191f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4a1975
xor ecx, ecx
sub eax, 3
jb 0x4a193b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4a19aa
sar eax, 1
mov ebp, eax
jmp 0x4a1946
add ebx, ebx
jne 0x4a1946
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a1914
inc ecx
add ebx, ebx
jne 0x4a1954
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a1914
add ebx, ebx
jne 0x4a1961
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4a1956
jne 0x4a1972
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4a1956
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4a1994
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4a1986
jmp 0x4a18d6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4a1994
add edi, ecx
jmp 0x4a18d6
pop esi
mov edi, esi
mov ecx, 0x3e2
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4a19b2
cmp byte [edi], 7
jne 0x4a19b2
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 0x4a19b7
lea edi, [esi + 0x9f000]
mov eax, dword [edi]
or eax, eax
je 0x4a1a26
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x12b29c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x12b2d8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4a19e4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x12b2e0]
or eax, eax
je 0x4a1a20
mov dword [ebx], eax
add ebx, 4
jmp 0x4a1a01
call dword [esi + 0x12b2dc]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x4a1a57
cmp al, 0xef
ja 0x4a1a4a
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x4a1a2c
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x4a1a39
mov ebp, dword [esi + 0x12b2e4]
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 0x4a1a8b
sub esp, 0xffffff80
jmp 0x40125d
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x433072
nop
nop
mov ebx, 0x40de38
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
pop eax
nop
nop
nop
nop
nop
mov esi, 0x6d16658a
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x433060
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x4330d2
mov ebx, 0x4304d8
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x407e0535
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
popal
nop
nop
jmp 0x431219