joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41d4e8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax]
dec al
je 0x41d519
dec al
je 0x41d554
dec al
je 0x41d599
dec al
je 0x41d602
jmp 0x41d68c
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x41d68c
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x41d529
jmp 0x41d68c
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x41d68c
mov esi, 1
movzx eax, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x41d564
jmp 0x41d68c
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x41d68c
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x41d5c8
xor ebp, ebp
jmp 0x41d5d8
mov ecx, esi
sub ecx, edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x41d5e1
adc eax, 0
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x41d5a9
jmp 0x41d68c
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x41d68c
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x41d65b
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
movzx edx, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
movzx ecx, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.00419014
add al, byte [esp]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x41d616
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x435e9c
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00401ec8
mov esi, 0x5102ac
xor eax, eax
push ebp
push 0x4353cf
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [esi], 0
je 0x435ed3
mov bl, 1
jmp 0x435fb4
cmp dword [esi], 0
jne 0x435f1a
push 0x4353e0
call fcn.00402330
mov dword [esi], eax
cmp dword [esi], 0
jne 0x435f1a
xor ebx, ebx
lea eax, [ebp - 8]
mov ecx, 0x435404
mov edx, dword [ebp - 4]
call fcn.00401f60
mov eax, dword [ebp - 8]
mov edx, 0x8000
call fcn.00407814
mov dword [esi], eax
cmp dword [esi], 0
je 0x435fb4
mov byte [0x5102b0], 1
push 0x43541c
mov eax, dword [esi]
push eax
call fcn.00402350
mov dword [0x51028c], eax
push 0x435448
mov eax, dword [esi]
push eax
call fcn.00402350
mov dword [0x510290], eax
push 0x435478
mov eax, dword [esi]
push eax
call fcn.00402350
mov dword [0x510294], eax
push 0x43549c
mov eax, dword [esi]
push eax
call fcn.00402350
mov dword [0x510298], eax
push 0x4354c0
mov eax, dword [esi]
push eax
call fcn.00402350
mov dword [0x51029c], eax
push 0x4354dc
mov eax, dword [esi]
push eax
call fcn.00402350
mov dword [0x5102a4], eax
push 0x4354f4
mov eax, dword [esi]
push eax
call fcn.00402350
mov dword [0x5102a0], eax
push 0x43550c
mov eax, dword [esi]
push eax
call fcn.00402350
mov dword [str.MGiI], eax
mov eax, 0x435528
test eax, eax
setne bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4353d6
lea eax, [ebp - 8]
mov edx, 2
call fcn.00401ed8
ret
Function at 0x4f18ec
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4f191a
mov eax, ebx
call fcn.004f23a0
cmp dword [ebx + 0x40], 0
je 0x4f1913
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4f198b
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4f197d
cmp dword [ebx + 8], 0
je 0x4f193c
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4f194e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4f197d
cmp dword [ebx + 8], 0
je 0x4f192f
cmp eax, 3
je 0x4f1961
dec eax
jne 0x4f192f
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4f192f
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4f192f
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4f19a9
cmp dword [ebx + 0x14], 0xcc
je 0x4f19a9
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004f19b4
pop ebx
ret
Function at 0x40adc0
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1014
call fcn.00404730
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], 0
mov eax, dword [0x4170bc]
cmp ebx, eax
jae 0x40adfb
mov eax, ebx
and eax, 0x1f
mov edx, ebx
sar edx, 5
mov edx, dword [edx*4 + 0x4170c0]
test byte [edx + eax*8 + 4], 1
jne 0x40ae0d
mov dword [0x415c84], 9
or eax, 0xffffffff
jmp 0x40af32
push 1
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
je 0x40ae37
push 2
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x40ae3f
or eax, 0xffffffff
jmp 0x40af32
mov eax, dword [ebp + 0xc]
mov esi, eax
sub esi, dword [ebp - 8]
test esi, esi
jle 0x40aee4
lea edx, [ebp - 0x1010]
mov ecx, 0x1000
xor eax, eax
push edi
mov edi, edx
rep stosb byte es:[edi], al
pop edi
mov eax, edx
push 0x8000
push ebx
call fcn.0040b330
add esp, 8
mov dword [ebp - 0x10], eax
mov eax, esi
cmp eax, 0x1000
jb 0x40ae8a
mov dword [ebp - 0x1014], 0x1000
jmp 0x40ae92
mov eax, esi
mov dword [ebp - 0x1014], eax
mov eax, dword [ebp - 0x1014]
push eax
lea eax, [ebp - 0x1010]
push eax
push ebx
call fcn.004086d0
add esp, 0xc
mov edi, eax
cmp eax, 0xffffffff
jne 0x40aecb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x40aec5
mov dword [0x415c84], 0xd
or dword [ebp - 4], 0xffffffff
jmp 0x40aed5
mov eax, esi
sub eax, edi
mov esi, eax
test eax, eax
jg 0x40ae75
mov eax, dword [ebp - 0x10]
push eax
push ebx
call fcn.0040b330
add esp, 8
jmp 0x40af20
test esi, esi
jge 0x40af20
push 0
mov eax, dword [ebp + 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
push ebx
call fcn.00408b00
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
setne al
and eax, 1
dec eax
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
jne 0x40af20
mov dword [0x415c84], 0xd
push 0
mov eax, dword [ebp - 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
pop eax
nop
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x402fe4
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x4031a0
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x403045
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x4031bc
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4030b7
xor eax, eax
push ebp
push 0x4030b0
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
call fcn.00402e3c
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x403099
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x4031dc
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4030b7
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpyA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x403198
cmp byte [ebp - 0xd], 0
jne 0x4030f9
cmp byte [ebp - 0x12], 0
je 0x403198
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x403112
dec ebx
cmp byte [ebx], 0x2e
je 0x403121
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x403111
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x403198
inc ebx
cmp byte [ebp - 0x12], 0
je 0x40314e
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x403198
cmp byte [ebp - 0xd], 0
je 0x403198
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x403198
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4464b7
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x4464c6
pop dword [ebp - 0x2c]
mov eax, 0x96c08335
sub eax, 0x967c1e6f
sub dword [ebp - 0x2c], eax
push 0x40
push 0x1000
push 0x50df2
push 0
mov eax, 0xbe8791e8
sub eax, 0xbe42df2c
add eax, dword [ebp - 0x2c]
call dword [eax]
mov ecx, 0x29df9ba8
add ecx, 0xd620b043
mov edi, eax
mov edx, 0x861a4d92
sub edx, 0x85d1cf92
add edx, dword [ebp - 0x2c]
mov esi, 0xcaa07ad1
add dword [ebp - 8], esi
mov ebx, dword [edx]
add dword [ebp - 0x14], 0x6035beb4
xor ebx, esi
add dword [ebp - 0x10], esi
mov dword [edi], ebx
sub dword [ebp - 0xc], edi
add edi, 0x3e35fa14
sub edi, 0x3e35fa10
add edx, 4
loop 0x44651f
add eax, 0x1227f
mov ebx, eax
add eax, 0x79f0d0ca
sub eax, 0x79f0d0c5
mov ecx, 0x86b1dcec
sub ecx, 0x8671dcec
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret
Function at 0x4013da
Capabilities:
Get number of processors

Disassembly:
mov ecx, 0x505380
jmp 0x4013ce
mov eax, 0x4c4e7c
call fcn.004570ec
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.004014e0
mov eax, dword [0x4fd5b8]
lea ecx, [esi + 0xa0]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ecx], eax
mov eax, dword [0x4fd5b8]
mov dword [esi + 0xb0], eax
push 1
mov dword [esi], 0x4cc7bc
or dword [esi + 0x20], 0xffffffff
or dword [esi + 0x1c], 0xffffffff
pop edi
mov dword [esi + 0x28], ebx
push 0xa
mov dword [esi + 0x24], ebx
pop eax
mov byte [ebp - 4], 2
push 0x64
mov dword [esi + 0x58], eax
mov dword [esi + 0x60], eax
pop eax
push 0x50537c
mov dword [esi + 0x2c], 2
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x88], ebx
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], eax
mov dword [esi + 0x98], ebx
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], 0x3e8
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], 0xc0
mov dword [esi + 0x84], 0x6c
mov dword [esi + 0x9c], ebx
call fcn.004af6ed
push 0x50537c
lea ecx, [esi + 0xb0]
mov dword [esi + 0xa4], ebx
mov dword [esi + 0xa8], edi
mov dword [esi + 0xac], edi
call fcn.004af6ed
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x40aca9
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x4c5c60
call fcn.004570ec
sub esp, 0x22c
push ebx
push esi
mov dword [ebp - 0x2c], ecx
mov esi, 0x505438
push str.DataFile_Types
mov ecx, esi
call fcn.004c2351
xor ebx, ebx
mov dword [ebp - 0x18], eax
cmp eax, ebx
jne 0x40acdf
xor eax, eax
jmp 0x40ae27
mov eax, dword [0x4fd5b8]
push edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x38]
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push eax
push ebx
push ebx
lea eax, [ebp - 0x24]
push ebx
push eax
lea eax, [ebp - 0x238]
mov byte [ebp - 4], 2
push eax
push ebx
push dword [ebp - 0x18]
mov dword [ebp - 0x24], 0x100
mov dword [ebp - 0x20], ebx
call edi
cmp eax, 0x103
je 0x40adf7
lea eax, [ebp - 0x238]
push eax
push str.DataFile_Types
lea eax, [ebp - 0x10]
push 0x4ebf14
push eax
call fcn.004ace87
add esp, 0x10
lea eax, [ebp - 0x28]
mov ecx, esi
push ebx
push str.Name
push dword [ebp - 0x10]
push eax
call fcn.004c2403
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.004af69d
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.004af556
push ebx
push str.Extension
push dword [ebp - 0x10]
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
call fcn.004c2403
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.004af69d
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.004af556
push 0xffffffffffffffff
push str.Icon
push dword [ebp - 0x10]
mov ecx, esi
call fcn.004c2397
mov ecx, dword [ebp - 0x14]
cmp dword [ecx - 8], ebx
je 0x40add0
mov edx, dword [ebp - 0x1c]
cmp dword [edx - 8], ebx
je 0x40add0
cmp eax, 0xffffffff
je 0x40add0
push eax
push edx
push ecx
mov ecx, dword [ebp - 0x2c]
call fcn.0040af14
lea eax, [ebp - 0x38]
inc dword [ebp - 0x20]
push eax
push ebx
push ebx
lea eax, [ebp - 0x24]
push ebx
push eax
lea eax, [ebp - 0x238]
mov dword [ebp - 0x24], 0x100
push eax
push dword [ebp - 0x20]
push dword [ebp - 0x18]
jmp 0x40ad1b
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.004af556
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.004af556
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004af556
push 1
pop eax
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x40bf69
Capabilities:
Get common file path
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2bc
push ebx
push esi
lea eax, [ebp - 4]
push edi
xor ebx, ebx
push eax
mov edi, 0x4ceb78
push ebx
push ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov esi, 0x2b4
lea eax, [ebp - 0x2bc]
push esi
push ebx
push eax
call fcn.00457110
lea eax, [ebp - 8]
add esp, 0xc
neg eax
sbb eax, eax
lea ecx, [ebp - 4]
and eax, ecx
xor ecx, ecx
cmp dword [ebp + 8], ebx
mov eax, dword [eax]
sete cl
or cx, 0x4008
push ecx
lea ecx, [ebp - 0x2bc]
push esi
push ecx
push ebx
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
lea ecx, [ebp - 8]
mov esi, eax
neg ecx
sbb ecx, ecx
lea eax, [ebp - 4]
and ecx, eax
mov dword [ebp - 8], edi
call fcn.0040c2dd
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x40cb74
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b4
push esi
mov esi, 0x2b4
push edi
push esi
lea eax, [ebp - 0x2b4]
push 0
mov edi, ecx
push eax
call fcn.00457110
mov eax, dword [ebp + 8]
add esp, 0xc
or ax, 0x4008
push eax
lea eax, [ebp - 0x2b4]
push esi
push eax
push 0
push dword [edi + 4]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [ebp - 0x2b0]
pop edi
pop esi
leave
ret 4

Function at 0x40e285
Capabilities:
Check os version

Disassembly:
mov eax, 0x4c6143
call fcn.004570ec
sub esp, 0x118
push ebx
push esi
push edi
xor ebx, ebx
push dword [ebp + 0x1c]
mov esi, ecx
mov dword [ebp - 0x10], esi
push ebx
call fcn.004b42e7
mov eax, dword [0x4fd5b8]
mov dword [ebp - 4], ebx
mov dword [esi + 0x64], eax
cmp dword [ebp + 0x20], ebx
mov byte [ebp - 4], 1
mov dword [esi], 0x4cf148
jne 0x40e30b
mov edi, 0x114
lea eax, [ebp - 0x124]
push edi
push ebx
push eax
call fcn.00457110
add esp, 0xc
lea eax, [ebp - 0x124]
mov dword [ebp - 0x124], edi
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 2
jne 0x40e304
cmp dword [ebp - 0x120], 5
mov dword [ebp + 0x20], 0x58
jae 0x40e30b
mov dword [ebp + 0x20], 0x4c
push dword [ebp + 0x20]
call fcn.004578dd
cmp eax, ebx
pop ecx
mov dword [esi + 0x5c], eax
jne 0x40e320
call fcn.004ad568
push dword [ebp + 0x20]
mov ecx, esi
push ebx
call fcn.0040e4e5
push eax
call fcn.00457110
push 0x200002
call fcn.004afb2a
mov dword [esi + 0xe8], eax
mov word [eax], bx
mov eax, dword [ebp + 8]
add esp, 0x10
mov dword [esi + 0x60], eax
lea edi, [esi + 0x68]
neg eax
sbb eax, eax
mov ecx, esi
add eax, 0x7005
mov word [edi], bx
mov dword [esi + 0xec], ebx
mov dword [esi + 0x3c], eax
call fcn.0040e4e5
mov ecx, dword [ebp + 0x20]
mov dword [eax], ecx
mov ecx, esi
call fcn.0040e4e5
mov ecx, dword [esi + 0xe8]
mov dword [eax + 0x1c], ecx
mov ecx, esi
call fcn.0040e4e5
mov ecx, esi
mov dword [eax + 0x20], 0x100000
call fcn.0040e4e5
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x3c], ecx
mov ecx, esi
call fcn.0040e4e5
mov ecx, esi
mov dword [eax + 0x24], edi
call fcn.0040e4e5
mov ecx, esi
mov dword [eax + 0x28], 0x40
call fcn.0040e4e5
mov ecx, dword [ebp + 0x14]
add eax, 0x34
or ecx, 0x880020
or dword [eax], ecx
test byte [ebp + 0x14], 0x40
je 0x40e3dd
mov ecx, esi
call fcn.0040e4e5
add eax, 0x34
and byte [eax + 2], 0x7f
call fcn.004c21b2
mov edi, dword [eax + 0xc]
mov ecx, esi
call fcn.0040e4e5
mov ecx, esi
mov dword [eax + 8], edi
call fcn.0040e4e5
cmp dword [ebp + 0x10], ebx
mov dword [eax + 0x44], 0x40e10e
je 0x40e416
push 0x100000
push dword [ebp + 0x10]
push dword [esi + 0xe8]
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
cmp dword [ebp + 0x18], ebx
je 0x40e455
push dword [ebp + 0x18]
lea edi, [esi + 0x64]
mov ecx, edi
call fcn.004af6ed
push ebx
mov ecx, edi
call fcn.004af99b
push 0x7c
push eax
call fcn.004578b4
pop ecx
cmp eax, ebx
pop ecx
je 0x40e448
mov word [eax], bx
push 0x7c
add eax, 2
jmp 0x40e432
mov edi, dword [esi + 0x64]
mov ecx, esi
call fcn.0040e4e5
mov dword [eax + 0xc], edi
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x1c
Function at 0x4162df
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 0x14]
xor eax, eax
xor esi, esi
mov byte [ebp - 4], al
mov byte [ebp - 3], al
mov byte [ebp - 2], al
mov byte [ebp - 8], al
mov byte [ebp - 7], al
mov byte [ebp - 6], al
mov byte [ebp - 5], al
mov dword [edi], eax
mov eax, dword [ebp + 0xc]
mov ecx, eax
dec eax
test ecx, ecx
je 0x41645e
inc eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
inc esi
inc dword [ebp + 8]
cmp esi, 3
mov al, byte [eax]
mov byte [ebp + esi - 5], al
mov dl, byte [ebp - 2]
mov al, byte [ebp - 3]
mov cl, byte [ebp - 4]
jne 0x4163a4
mov dl, cl
mov bl, al
shr dl, 2
mov byte [ebp - 8], dl
mov dl, cl
and dl, 3
shl dl, 4
shr bl, 4
add dl, bl
mov bl, byte [ebp - 2]
mov byte [ebp - 7], dl
mov dl, al
and dl, 0xf
shl dl, 2
shr bl, 6
add dl, bl
mov byte [ebp - 6], dl
mov dl, byte [ebp - 2]
mov bl, dl
and bl, 0x3f
and dword [ebp + 0xc], 0
mov byte [ebp - 5], bl
mov ebx, dword [0x5055e4]
test ebx, ebx
jne 0x416380
mov esi, 0x4ceb7c
jmp 0x41638a
mov esi, dword [ebp + 0xc]
movzx esi, byte [ebp + esi - 8]
add esi, ebx
mov bl, byte [esi]
mov edi, dword [edi]
mov esi, dword [ebp + 0x10]
mov byte [edi + esi], bl
mov edi, dword [ebp + 0x14]
inc dword [edi]
inc dword [ebp + 0xc]
cmp dword [ebp + 0xc], 4
jl 0x41636f
xor esi, esi
dec dword [ebp - 0xc]
jne 0x416318
test esi, esi
je 0x41645e
cmp esi, 3
jge 0x4163df
push 3
lea edi, [ebp + esi - 4]
pop ecx
xor eax, eax
sub ecx, esi
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov dl, byte [ebp - 2]
mov al, byte [ebp - 3]
mov cl, byte [ebp - 4]
mov edi, dword [ebp + 0x14]
mov bl, cl
and cl, 3
shr bl, 2
mov byte [ebp - 8], bl
mov bl, al
shl cl, 4
shr bl, 4
add cl, bl
and dword [ebp + 8], 0
mov byte [ebp - 7], cl
and al, 0xf
mov cl, dl
and dl, 0x3f
shl al, 2
shr cl, 6
add al, cl
lea ecx, [esi + 1]
test ecx, ecx
mov byte [ebp - 6], al
mov byte [ebp - 5], dl
jle 0x416446
mov edx, dword [0x5055e4]
test edx, edx
jne 0x416428
mov eax, 0x4ceb7c
jmp 0x416432
mov eax, dword [ebp + 8]
movzx eax, byte [ebp + eax - 8]
add eax, edx
mov edx, dword [edi]
mov ebx, dword [ebp + 0x10]
mov al, byte [eax]
mov byte [edx + ebx], al
inc dword [edi]
inc dword [ebp + 8]
cmp dword [ebp + 8], ecx
jl 0x416417
cmp esi, 3
jge 0x41645e
push 4
pop eax
sub eax, ecx
mov ecx, dword [edi]
mov edx, dword [ebp + 0x10]
mov byte [ecx + edx], 0x3d
inc dword [edi]
dec eax
jne 0x416450
mov eax, dword [edi]
pop edi
pop esi
pop ebx
leave
ret 0x10