joyce8/EMBER2024-capa huggingface dataset:
Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..data
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x430072
nop
mov ebx, 0x408f6c
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x1f3c6af0
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x430060
mov eax, section..data_1
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4300d2
nop
nop
nop
mov ebx, 0x42e3d0
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x280336a1
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x401360
Capabilities:
Create pipe
Query environment variable
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x200c
call fcn.0040a2f0
mov eax, dword [0x481aac]
mov ecx, dword [0x481538]
push ebx
shr eax, 3
push esi
push edi
test eax, eax
je 0x401487
mov edi, dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
mov ebx, dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
cmp dword [0x481aac], 0x959
jne 0x401471
push 0
lea eax, [ebp - 0xc08]
push eax
push 0
push 0
push 0
push 0
call edi
push str.zamuloguwatisofobus
push 0
call ebx
push 0
lea ecx, [ebp - 0x1808]
push ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsW]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetFileShortNameW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetProcessShutdownParameters]
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTimeFormatA]
push 0
push 0
push 0
call esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
lea edx, [ebp - 0x1408]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_SetVolumeMountPointW]
push 0
lea eax, [ebp - 0x408]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
push str.gotarurivocabowixetalakagaxahufijefisosefimazuwuhituwigoveyehucorocoyepep
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoW]
push 0
lea ecx, [ebp - 0x2008]
push ecx
push 0
call esi
mov edx, dword [ebp - 4]
push edx
call fcn.004010e0
add dword [ebp - 4], 8
dec dword [ebp - 8]
jne 0x40139e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x403fc0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x472500]
jne 0x403fca
repz ret
jmp fcn.0040783c

Function at 0x409d4e
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x472500]
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.00405add
and dword [ebp - 0x14], 0
cmp dword [0x478bb0], 0
mov dword [ebp - 0x18], eax
jne 0x409e01
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x409ea9
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x409ea9
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x478bb0], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x478bb4], eax
call edi
push eax
call esi
push 0x410814
push ebx
mov dword [0x478bb8], eax
call edi
push eax
call esi
mov dword [0x478bc0], eax
test eax, eax
je 0x409e01
push 0x4107fc
push ebx
call edi
push eax
call esi
mov dword [0x478bbc], eax
mov eax, dword [0x478bbc]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x409e5a
cmp dword [0x478bc0], ecx
je 0x409e5a
push eax
call esi
push dword [0x478bc0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x409e5a
test ebx, ebx
je 0x409e5a
call edi
test eax, eax
je 0x409e51
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x409e51
test byte [ebp - 8], 1
jne 0x409e5a
or dword [ebp + 0x10], 0x200000
jmp 0x409e8d
mov eax, dword [0x478bb4]
cmp eax, dword [ebp - 0x18]
je 0x409e8d
push eax
call esi
test eax, eax
je 0x409e8d
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x409e8d
mov eax, dword [0x478bb8]
cmp eax, dword [ebp - 0x18]
je 0x409e8d
push eax
call esi
test eax, eax
je 0x409e8d
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x478bb0]
call esi
test eax, eax
je 0x409ea9
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x409eab
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403fc0
leave
ret
Function at 0x403ffd
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 8]
push ebx
push edi
mov ebx, ecx
push eax
push ebx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test edi, edi
je 0x4040b4
push esi
push 1
push edi
call fcn.005f06e8
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x4040b1
push esi
push edi
push dword [ebp - 8]
push ebx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x4040aa
and dword [ebp - 4], 0
lea eax, [ebp - 0xc]
mov ebx, dword [sym.imp.VERSION.dll_VerQueryValueW]
push eax
lea eax, [ebp - 4]
push eax
push 0x693b5c
push esi
call ebx
test eax, eax
je 0x4040aa
cmp dword [ebp - 4], 0
je 0x4040aa
push 0x14
call fcn.00431d79
mov edi, eax
mov dword [ebp - 0x10], edi
pop ecx
test edi, edi
je 0x4040a4
mov eax, dword [ebp - 4]
movzx ecx, word [eax + 2]
movzx eax, word [eax]
mov dword [edi + 0xc], ecx
lea ecx, [ebp - 0x10]
push ecx
mov dword [edi + 8], eax
lea eax, [edi + 0x10]
and dword [eax], 0
push eax
push 0x693b58
push esi
mov dword [edi], vtable.cf::FileVersionInfo.0
mov dword [edi + 4], esi
call ebx
jmp 0x4040a6
xor edi, edi
mov eax, edi
jmp 0x4040b3
push esi
call fcn.005f06f3
pop ecx
xor eax, eax
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4042b4
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
push edi
mov edi, ecx
mov ax, word [edi + 8]
mov word [ebp - 0x18], ax
mov ax, word [edi + 0xc]
mov word [ebp - 0x16], ax
call esi
mov word [ebp - 0x14], ax
mov ebx, 0x4e4
mov ax, word [edi + 0xc]
mov word [ebp - 0x12], ax
mov ax, word [edi + 8]
mov word [ebp - 0x10], ax
mov word [ebp - 0xe], bx
call esi
mov word [ebp - 0xa], bx
xor esi, esi
mov word [ebp - 0xc], ax
mov ebx, 0x104
push dword [ebp + 8]
movzx eax, word [ebp + esi*2 - 0x16]
movzx ecx, word [ebp + esi*2 - 0x18]
add esi, 2
push eax
push ecx
push 0x693d68
push ebx
lea eax, [ebp - 0x224]
push ebx
push eax
call fcn.00403e80
and dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
add esp, 0x1c
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x224]
push eax
push dword [edi + 4]
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x404356
cmp dword [ebp - 4], 0
jne 0x404366
cmp esi, 8
jb 0x404308
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
call fcn.00404417
mov al, 1
jmp 0x40435d
Function at 0x4051a1
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push 1
push SysReAllocString
push dword [ebp + 8]
mov esi, ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x40523c
lea eax, [ebp - 8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp + 8], eax
cmp dword [ebp - 8], ebx
jne 0x40522a
cmp eax, 0x200000
ja 0x40522a
add eax, 2
push eax
call fcn.00499fd3
pop ecx
push ebx
mov esi, eax
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x40522a
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
cmp eax, ecx
jne 0x40522a
mov byte [eax + esi], bl
mov eax, dword [ebp - 4]
mov byte [eax + esi + 1], bl
mov eax, dword [ebp + 0xc]
mov dword [eax], esi
mov esi, ebx
mov eax, dword [ebp + 0x10]
inc ebx
mov dword [eax], ecx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x40523c
push esi
call fcn.00499fce
pop ecx
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x40a9d9
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
mov edi, ecx
xor esi, esi
mov dword [ebp - 4], esi
cmp dword [edi], esi
je 0x40aa5f
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 8]
push eax
push esi
push str.ProgramPath
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [ebp - 8], 1
je 0x40aa0f
cmp dword [ebp - 8], 2
jne 0x40aa5f
mov ecx, dword [ebp + 0xc]
call fcn.00406271
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
shr eax, 1
inc eax
push eax
call fcn.0040682a
lea ecx, [ebp - 4]
mov dword [ebp - 0xc], eax
push ecx
push eax
lea eax, [ebp - 8]
push eax
push esi
push str.ProgramPath
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40aa55
mov eax, dword [ebp - 4]
xor edx, edx
mov ecx, dword [ebp - 0xc]
xor esi, esi
shr eax, 1
inc esi
mov word [ecx + eax*2], dx
mov ecx, dword [ebp + 0xc]
push 0xffffffffffffffff
call fcn.00408f1c
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x40aa7d
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, ecx
mov dword [ebp - 0x14], edx
mov ecx, dword [ebp + 8]
push ebx
push edi
xor edi, edi
mov dword [ebp - 0x10], eax
mov dword [ecx], edi
lea ecx, [ebp - 4]
push ecx
push eax
mov dword [ebp - 4], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
mov dword [edx], edi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebx, eax
test ebx, ebx
je 0x40ab09
push esi
push ebx
call fcn.00499fd3
pop ecx
mov esi, eax
push esi
push ebx
push dword [ebp - 4]
push dword [ebp - 0x10]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x40aafd
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x693b58
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x40aafd
cmp dword [ebp - 8], edi
je 0x40aafd
mov ecx, dword [ebp - 0xc]
inc edi
mov edx, dword [ebp - 0x14]
mov eax, dword [ecx + 8]
mov dword [edx], eax
mov eax, dword [ecx + 0xc]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
test esi, esi
je 0x40ab08
push esi
call fcn.00499fce
pop ecx
pop esi
mov eax, edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40abe3
Capabilities:
Get common file path

Disassembly:
mov eax, 0x60d32d
call fcn.0060c3a8
sub esp, 0x210
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], edi
call fcn.00404f47
push eax
mov ecx, esi
call fcn.004065d8
push 0x208
lea eax, [ebp - 0x21c]
mov dword [ebp - 4], edi
push edi
push eax
mov dword [ebp - 0x10], 1
call fcn.005e1e60
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp - 0x21c]
mov ecx, esi
push eax
call fcn.004060f8
mov ecx, esi
call fcn.0040ab52
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x40ad3b
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
push ebx
push esi
mov esi, 0x11c
lea eax, [ebp - 0x11c]
push esi
xor ebx, ebx
push ebx
push eax
call fcn.005e1e60
add esp, 0xc
mov dword [ebp - 0x11c], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [ebp - 0x11c]
push eax
call esi
test eax, eax
jne 0x40ad92
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x11c], 0x114
push eax
call esi
test eax, eax
je 0x40ae42
mov eax, dword [ebp - 0x10c]
sub eax, 1
je 0x40ae2d
sub eax, 1
jne 0x40ae42
mov eax, dword [ebp - 0x118]
mov ecx, dword [ebp - 0x114]
push 6
pop edx
cmp eax, edx
jne 0x40ade2
cmp ecx, 1
jne 0x40adcf
xor ebx, ebx
cmp byte [ebp - 2], cl
setne bl
add ebx, 8
jmp 0x40ae42
test ecx, ecx
jne 0x40ae15
cmp byte [ebp - 2], 1
push 9
pop ebx
push 7
pop eax
cmove ebx, eax
jmp 0x40ae42
cmp eax, 5
jne 0x40ae07
mov eax, dword [ebp - 0x114]
cmp eax, 2
jne 0x40adf6
push 5
jmp 0x40ae0e
cmp eax, 1
jne 0x40adff
mov ebx, edx
jmp 0x40ae42
test eax, eax
jne 0x40ae42
push 3
jmp 0x40ae0e
cmp eax, 4
ja 0x40ae11
push 4
pop ebx
jmp 0x40ae42
cmp eax, edx
jb 0x40ae42
cmp ecx, 2
jae 0x40ae1e
cmp eax, edx
jbe 0x40ae42
cmp byte [ebp - 2], 1
jne 0x40ae42
call fcn.0040ac67
mov ebx, eax
jmp 0x40ae42
mov eax, dword [ebp - 0x110]
and eax, 0xffff0000
cmp eax, 0x45a0000
sbb ebx, ebx
add ebx, 2
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40b542
test al, 0x10
jne 0x40b542
xor eax, eax
inc eax
ret
xor eax, eax
ret

Function at 0x41298e
Capabilities:
Hash data with md5

Disassembly:
push esi
xor eax, eax
mov dword [ecx], 0x67452301
push 0x40
lea esi, [ecx + 0x58]
mov dword [ecx + 0x14], eax
push eax
push esi
mov dword [ecx + 0x10], eax
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
call fcn.005e1e60
add esp, 0xc
mov byte [esi], 0x80
pop esi
ret

Function at 0x413262
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x58], 0
jne 0x41329a
push 0x98
call fcn.00431d79
mov esi, eax
mov dword [ebp - 4], esi
pop ecx
test esi, esi
je 0x41328d
mov ecx, esi
call fcn.0041298e
jmp 0x41328f
xor esi, esi
mov dword [edi + 0x58], esi
test esi, esi
jne 0x41329a
xor eax, eax
jmp 0x4132fd
push 0x695a84
push dword [ebp + 8]
call fcn.005e8eae
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x413296
cmp dword [edi + 0x5c], 0
jne 0x4132d1
push 0xff
call fcn.00499fd3
pop ecx
mov dword [edi + 0x5c], eax
jmp 0x4132d1
mov ecx, dword [edi + 0x58]
push eax
push dword [edi + 0x5c]
call fcn.004129c6
push esi
push 0xff
push 1
push dword [edi + 0x5c]
call fcn.005ee467
add esp, 0x10
test eax, eax
jne 0x4132c5
push esi
call fcn.005e558d
pop ecx
mov ecx, dword [edi + 0x58]
lea esi, [edi + 4]
push esi
call fcn.00412a63
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x413305
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x58
push esi
push edi
push 0x58
lea eax, [esp + 0xc]
mov esi, edx
push 0
push eax
mov edi, ecx
call fcn.005e1e60
push dword [ebp + 8]
and dword [esp + 0x2c], 0
lea ecx, [esp + 0x18]
and dword [esp + 0x28], 0
mov edx, esi
mov dword [esp + 0x18], 0x67452301
mov dword [esp + 0x1c], 0xefcdab89
mov dword [esp + 0x20], 0x98badcfe
mov dword [esp + 0x24], 0x10325476
call fcn.0041336e
add esp, 0x10
lea ecx, [esp + 8]
mov edx, edi
call fcn.0041340f
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x414b4b
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x60da7f
call fcn.0060c3a8
push ecx
push ecx
push esi
push edi
call fcn.00404f47
push eax
lea ecx, [ebp - 0x10]
call fcn.004065d8
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
call fcn.00414a33
mov edi, eax
test edi, edi
je 0x414c10
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push dword [ebp + 8]
call fcn.00406173
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x10]
push ecx
mov edi, esp
mov dword [ebp + 8], edi
lea eax, [esi - 0x10]
push eax
call fcn.004067cf
add eax, 0x10
mov dword [edi], eax
pop ecx
mov byte [ebp - 4], 0
call fcn.0041416e
mov edi, eax
test edi, edi
je 0x414c13
mov eax, dword [0x6c8a5c]
mov ecx, dword [esi - 0xc]
cmp ecx, dword [eax - 0xc]
jl 0x414c13
lea eax, [ebp - 0x10]
mov ecx, 0x6c8a5c
push eax
call fcn.00406123
push str.product_tag_cmpc_ch.tag
lea ecx, [ebp - 0x10]
call fcn.004154e7
mov esi, dword [ebp - 0x10]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x414c04
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x414c04
mov dword [0x6c8a58], 0x12
jmp 0x414c13
mov dword [0x6c8a58], 0x65
jmp 0x414c13
mov esi, dword [ebp - 0x10]
lea ecx, [esi - 0x10]
call fcn.00404ea9
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x415adf
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
mov dword [ebp - 4], 4
cmp dword [ecx], esi
je 0x415b1e
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push esi
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x415b1e
cmp dword [ebp - 8], 4
jne 0x415b1e
mov ecx, dword [ebp + 0xc]
inc esi
mov eax, dword [ebp - 0xc]
mov dword [ecx], eax
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x415b27
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
mov edi, ecx
xor esi, esi
mov dword [ebp - 4], esi
cmp dword [edi], esi
je 0x415bad
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 8]
push eax
push esi
push str.KAV7NEEDREBOOT
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [ebp - 8], 1
je 0x415b5d
cmp dword [ebp - 8], 2
jne 0x415bad
mov ecx, dword [ebp + 0xc]
call fcn.00406271
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
shr eax, 1
inc eax
push eax
call fcn.0040682a
lea ecx, [ebp - 4]
mov dword [ebp - 0xc], eax
push ecx
push eax
lea eax, [ebp - 8]
push eax
push esi
push str.KAV7NEEDREBOOT
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x415ba3
mov eax, dword [ebp - 4]
xor edx, edx
mov ecx, dword [ebp - 0xc]
xor esi, esi
shr eax, 1
inc esi
mov word [ecx + eax*2], dx
mov ecx, dword [ebp + 0xc]
push 0xffffffffffffffff
call fcn.00408f1c
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x416cc5
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x60dc66
call fcn.0060c3a8
sub esp, 0xc
push esi
push edi
xor edi, edi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], edi
call fcn.00404f47
push eax
lea ecx, [ebp - 0x14]
call fcn.004065d8
mov dword [ebp - 4], edi
cmp dword [ebp + 8], edi
je 0x416d03
push dword [ebp + 8]
call fcn.005f06f8
inc eax
pop ecx
cmp eax, 0x3fffffff
jle 0x416d07
mov eax, edi
jmp 0x416d1d
lea esi, [eax + eax]
mov eax, esi
call fcn.0060b880
mov edx, dword [ebp + 8]
mov ecx, esp
push ecx
push esi
call fcn.00404a71
push eax
lea ecx, [ebp - 0x14]
call fcn.00405d0b
mov esi, dword [ebp - 0x14]
movzx eax, word [esi - 0xc]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x416d3d
xor byte [edi + esi], 0x88
inc edi
cmp edi, eax
jl 0x416d34
mov edi, dword [ebp - 0x18]
lea eax, [ebp - 0x10]
push 2
push eax
lea ecx, [edi + 4]
call fcn.00416b09
movzx eax, word [ebp - 0x10]
lea ecx, [edi + 4]
push eax
push esi
call fcn.00416b09
lea ecx, [esi - 0x10]
call fcn.00404ea9
lea esp, [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x416e75
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x60dc8b
call fcn.0060c3a8
sub esp, 0x90
push ebx
push esi
push edi
xor edi, edi
mov ebx, ecx
mov dword [ebp - 0x10], edi
call fcn.00404f47
push eax
lea ecx, [ebp - 0x14]
call fcn.004065d8
push dword [ebp + 8]
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], edi
call fcn.00406173
mov byte [ebp - 4], 1
lea eax, [ebp - 0x98]
push 0xfde9
push dword [ebp - 0x18]
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x9c], eax
call fcn.00408f48
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
push dword [ebp - 0x9c]
call fcn.00405d0b
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 1
cmp dword [ebp - 0x9c], eax
je 0x416efe
push dword [ebp - 0x9c]
call fcn.005f06f3
pop ecx
mov esi, dword [ebp - 0x14]
movzx eax, word [esi - 0xc]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x416f15
xor byte [edi + esi], 0x88
inc edi
cmp edi, eax
jl 0x416f0c
push 2
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebx + 4]
call fcn.00416b09
movzx eax, word [ebp - 0x10]
lea ecx, [ebx + 4]
push eax
push esi
call fcn.00416b09
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
lea ecx, [esi - 0x10]
call fcn.00404ea9
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x417db0
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x60dd7e
call fcn.0060c3a8
sub esp, 0x14
push ebx
push esi
push edi
mov dword [ebp - 0x18], edx
mov edi, ecx
call fcn.00404f47
push eax
lea ecx, [ebp - 0x20]
call fcn.004065d8
xor ebx, ebx
mov dword [ebp - 4], ebx
call fcn.00404f47
push eax
lea ecx, [ebp - 0x10]
call fcn.004065d8
mov byte [ebp - 4], 1
call fcn.00404f47
push eax
lea ecx, [ebp - 0x1c]
call fcn.004065d8
mov byte [ebp - 4], 2
call fcn.00417d28
test eax, eax
je 0x417e6f
lea ecx, [ebp - 0x14]
call fcn.00417d85
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.00406123
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
mov esi, dword [ebp - 0x10]
cmp dword [esi - 0xc], ebx
je 0x417e72
push str.binTimwp.exe
lea ecx, [ebp - 0x10]
call fcn.004062d3
mov esi, dword [ebp - 0x10]
push ebx
push esi
call fcn.005f1f60
pop ecx
pop ecx
test eax, eax
jne 0x417e72
test edi, edi
je 0x417e72
push 1
push ebx
push edi
push esi
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
setg bl
test ebx, ebx
jne 0x417e8d
jmp 0x417e72
mov esi, dword [ebp - 0x10]
push 1
push ebx
push ebx
push dword [ebp - 0x18]
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor ebx, ebx
cmp eax, 0x20
setg bl
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
lea ecx, [esi - 0x10]
call fcn.00404ea9
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.00404ea9
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x41802f
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x234
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x10], 0x104
jb 0x418050
xor al, al
jmp 0x4180d1
push 0x20a
xor ebx, ebx
lea eax, [esp + 0x34]
push ebx
push eax
call fcn.005e1e60
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x41806d
mov esi, dword [esi]
push esi
lea eax, [esp + 0x34]
push 0x105
push eax
call fcn.005f1efc
add esp, 0xc
mov dword [esp + 0x10], ebx
xor eax, eax
lea edi, [esp + 0x14]
push 6
pop ecx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x30]
mov dword [esp + 0x18], eax
mov eax, 0x414
mov word [esp + 0x20], ax
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x18], 3
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
cmp dword [esp + 0x22], ebx
jne 0x418049
test eax, eax
je 0x4180cc
cmp eax, 2
je 0x4180cc
cmp eax, 0x402
jne 0x4180cf
xor ebx, ebx
inc ebx
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret