joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4076e6
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov eax, 0x414c30
call fcn.0040c1ac
sub esp, 0x114
push ebx
push esi
xor esi, esi
push edi
mov ebx, ecx
mov dword [ebp - 0x10], esi
push 0x2001f
lea ecx, [ebp - 0x10]
push dword [ebp + 8]
mov dword [ebp - 4], esi
push dword [ebx]
call fcn.004076a8
mov edi, eax
cmp edi, esi
je 0x407730
cmp dword [ebp - 0x10], esi
je 0x407729
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x4077cd
lea eax, [ebp - 0x20]
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push eax
push esi
push esi
lea eax, [ebp - 0x14]
push esi
push eax
lea eax, [ebp - 0x120]
mov dword [ebp - 0x14], 0x100
push eax
push esi
push dword [ebp - 0x10]
call edi
test eax, eax
jne 0x4077a1
lea eax, [ebp - 0x120]
lea ecx, [ebp - 0x10]
push eax
call fcn.004076e6
cmp eax, esi
mov dword [ebp - 0x18], eax
jne 0x40778e
lea eax, [ebp - 0x20]
mov dword [ebp - 0x14], 0x100
push eax
push esi
push esi
lea eax, [ebp - 0x14]
push esi
push eax
lea eax, [ebp - 0x120]
push eax
push esi
push dword [ebp - 0x10]
jmp 0x407753
cmp dword [ebp - 0x10], esi
je 0x40779c
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x18]
jmp 0x4077cd
cmp dword [ebp - 0x10], esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x4077b4
push dword [ebp - 0x10]
call edi
mov dword [ebp - 0x10], esi
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
cmp dword [ebp - 0x10], esi
mov ebx, eax
je 0x4077cb
push dword [ebp - 0x10]
call edi
mov eax, ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x4077de
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2014
call fcn.0040ccf0
push ebx
push esi
lea eax, [ebp - 0x2014]
push edi
mov esi, ecx
push eax
mov dword [ebp - 0x14], esi
call fcn.00406e30
xor edi, edi
cmp eax, edi
jl 0x407996
lea eax, [ebp - 0xa]
push eax
lea eax, [ebp - 0x2014]
push eax
call fcn.004079a3
pop ecx
test eax, eax
pop ecx
jne 0x407829
mov eax, 0x80020009
jmp 0x407996
mov ecx, esi
call fcn.00406e08
lea eax, [ebp - 0x1014]
mov ecx, esi
push eax
call fcn.00406e30
cmp eax, edi
jl 0x407996
movzx eax, word [ebp - 0xa]
sub eax, 8
je 0x40795e
sub eax, 9
je 0x4078c3
dec eax
dec eax
jne 0x407985
lea eax, [ebp - 0x1014]
test eax, eax
jne 0x40786e
xor ebx, ebx
jmp 0x4078a3
lea eax, [ebp - 0x1014]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
lea eax, [esi + esi]
add eax, 3
and al, 0xfc
call fcn.0040ccf0
mov ebx, esp
push esi
push ebx
lea eax, [ebp - 0x1014]
push 0xffffffffffffffff
push eax
push edi
push edi
mov word [ebx], di
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp - 0x10]
push eax
push edi
push edi
push ebx
call dword [sym.imp.OLEAUT32.dll_VarUI4FromDisp]
mov eax, dword [ebp - 0x10]
push 4
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 4
jmp 0x407976
lea eax, [ebp - 0x1014]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test al, 1
mov dword [ebp - 8], eax
jne 0x4078ff
cdq
sub eax, edx
mov ebx, eax
sar ebx, 1
mov eax, ebx
add eax, 3
and al, 0xfc
call fcn.0040ccf0
mov dword [ebp - 4], esp
push ebx
push edi
push dword [ebp - 4]
call fcn.0040c1e0
add esp, 0xc
cmp dword [ebp - 4], edi
jne 0x407909
mov eax, 0x80004005
jmp 0x407996
cmp dword [ebp - 8], 0
jle 0x407943
mov ecx, dword [ebp - 4]
mov eax, edi
cdq
sub eax, edx
sar eax, 1
lea esi, [eax + ecx]
mov al, byte [ebp + edi - 0x1014]
push eax
call fcn.00407a2a
pop ecx
mov ecx, edi
push 4
and ecx, 1
shl ecx, 2
mov edx, ecx
pop ecx
sub ecx, edx
shl al, cl
or byte [esi], al
inc edi
cmp edi, dword [ebp - 8]
jl 0x40790f
mov eax, dword [ebp + 8]
push ebx
push dword [ebp - 4]
mov eax, dword [eax]
push 3
push 0
push dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
xor edi, edi
jmp 0x407985
lea eax, [ebp - 0x1014]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
lea eax, [ebp - 0x1014]
push eax
push 1
mov eax, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp + 0x10]
mov ecx, dword [ebp - 0x14]
call fcn.00406e30
cmp eax, edi
jl 0x407996
xor eax, eax
lea esp, [ebp - 0x2020]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x408e8e
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push ebx
push esi
push edi
xor ebx, ebx
push dword [ebp + 0x10]
push ebx
push dword [ebp + 0xc]
call fcn.0040c1e0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0x67
push dword [ebp + 8]
call fcn.0040902b
push dword [ebp + 0x14]
mov esi, 0x104
lea eax, [ebp - 0x20c]
push esi
push eax
push 0x6a
push dword [ebp + 8]
call fcn.0040902b
push dword [ebp + 0x14]
lea eax, [ebp - 0x108]
push esi
push eax
push 0x6b
push dword [ebp + 8]
call fcn.0040902b
add esp, 0x48
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, 0xffffffff
jne 0x409023
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLCID]
mov esi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push ebx
mov edi, eax
push ebx
push 3
push edi
call esi
mov dword [ebp + 8], eax
inc eax
push eax
call fcn.0040c1cb
pop ecx
mov dword [ebp + 0x10], eax
push dword [ebp + 8]
push eax
push 3
push edi
call esi
cmp dword [ebp + 0x10], ebx
je 0x40901a
push dword [ebp + 0x10]
call fcn.0040c240
test eax, eax
pop ecx
je 0x40901a
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x20c]
push eax
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push dword [ebp + 0x10]
call fcn.0040908e
push dword [ebp + 0x10]
mov byte [ebp + 0xb], al
call fcn.0040ba76
add esp, 0x18
cmp byte [ebp + 0xb], bl
jne 0x409023
push ebx
and edi, 0x3ff
push ebx
push 3
push edi
mov dword [ebp - 4], edi
call esi
mov edi, eax
lea eax, [edi + 1]
push eax
call fcn.0040c1cb
pop ecx
mov dword [ebp + 0x10], eax
push edi
push eax
push 3
push dword [ebp - 4]
call esi
mov esi, dword [ebp + 0x10]
cmp esi, ebx
je 0x408feb
push esi
call fcn.0040c240
test eax, eax
pop ecx
je 0x408feb
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x20c]
push eax
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push esi
call fcn.0040908e
add esp, 0x14
mov byte [ebp + 0xb], al
push esi
call fcn.0040ba76
cmp byte [ebp + 0xb], bl
pop ecx
jne 0x409023
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x20c]
push eax
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push 0x418740
call fcn.0040908e
add esp, 0x14
jmp 0x409023
push dword [ebp + 0x10]
call fcn.0040ba76
pop ecx
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40908e
Capabilities:
Copy file
Get common file path

Disassembly:
mov eax, 0x414d2c
call fcn.0040c1ac
sub esp, 0x428
push ebx
push esi
push edi
xor ebx, ebx
push 3
lea eax, [ebp - 0x10]
push ebx
push eax
mov byte [ebp - 0xd], bl
call fcn.0040c1e0
mov esi, 0x100
lea eax, [ebp - 0x234]
push esi
push ebx
push eax
call fcn.0040c1e0
push esi
lea eax, [ebp - 0x434]
push ebx
push eax
call fcn.0040c1e0
push esi
lea eax, [ebp - 0x334]
push ebx
push eax
call fcn.0040c1e0
lea eax, [ebp - 0x334]
mov edi, dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x10]
push eax
push edi
call fcn.0040d2a2
add esp, 0x44
lea eax, [ebp - 0x134]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov al, byte [ebp + 0x17]
push ebx
lea ecx, [ebp - 0x20]
mov byte [ebp - 0x20], al
call fcn.00405013
mov al, byte [ebp + 0x17]
push ebx
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], ebx
mov byte [ebp - 0x30], al
call fcn.00405013
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 1
push eax
call fcn.0040c240
test eax, eax
pop ecx
mov esi, 0x418318
jbe 0x409174
lea eax, [ebp - 0x234]
push eax
call fcn.0040c240
test eax, eax
pop ecx
jbe 0x409174
push edi
call fcn.0040c240
pop ecx
push eax
push edi
lea ecx, [ebp - 0x30]
call fcn.00405220
jmp 0x4091b3
lea eax, [ebp - 0x134]
push eax
call fcn.0040c240
pop ecx
push eax
lea eax, [ebp - 0x134]
push eax
lea ecx, [ebp - 0x30]
call fcn.00405220
push esi
call fcn.0040c240
pop ecx
push eax
push esi
lea ecx, [ebp - 0x30]
call fcn.00404eee
push edi
call fcn.0040c240
pop ecx
push eax
push edi
lea ecx, [ebp - 0x30]
call fcn.00404eee
lea eax, [ebp - 0x134]
push eax
call fcn.0040c240
pop ecx
push eax
lea eax, [ebp - 0x134]
push eax
lea ecx, [ebp - 0x20]
call fcn.00405220
push esi
call fcn.0040c240
pop ecx
push eax
push esi
lea ecx, [ebp - 0x20]
call fcn.00404eee
push dword [ebp + 0x14]
call fcn.0040c240
pop ecx
push eax
lea ecx, [ebp - 0x20]
push dword [ebp + 0x14]
call fcn.00404eee
push dword [ebp + 8]
call fcn.0040c240
pop ecx
push eax
lea ecx, [ebp - 0x20]
push dword [ebp + 8]
call fcn.00404eee
push dword [ebp + 0x18]
call fcn.0040c240
pop ecx
push eax
lea ecx, [ebp - 0x20]
push dword [ebp + 0x18]
call fcn.00404eee
mov eax, dword [ebp - 0x1c]
mov edi, 0x41536c
cmp eax, ebx
jne 0x40922e
mov eax, edi
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, 0xffffffff
je 0x409274
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
jne 0x40925c
mov eax, edi
cmp dword [ebp - 0x1c], ebx
je 0x409264
mov edi, dword [ebp - 0x1c]
push 1
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
setne byte [ebp - 0xd]
push 1
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], bl
call fcn.00405013
or dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp - 0x20]
call fcn.00405013
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0xd]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x40a89f
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
push ebx
xor ebx, ebx
push 0x94
lea eax, [ebp - 0x94]
push ebx
push eax
call fcn.0040c1e0
add esp, 0xc
lea eax, [ebp - 0x94]
mov dword [ebp - 0x94], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x84], 2
jne 0x40a8f3
cmp dword [ebp - 0x90], 5
jne 0x40a8f3
cmp dword [ebp - 0x8c], ebx
jbe 0x40a8f3
mov bl, 1
mov al, bl
pop ebx
leave
ret

Function at 0x40aa8d
Capabilities:
Check os version

Disassembly:
mov eax, 0x414ddb
call fcn.0040c1ac
sub esp, 0xa8
push ebx
xor ebx, ebx
push esi
push edi
mov dword [ebp - 0x20], ebx
mov al, byte [ebp + 0xc]
push 1
pop edi
lea ecx, [ebp - 0x1c]
push ebx
mov dword [ebp - 4], edi
mov byte [ebp - 0x1c], al
call fcn.00405013
push dword [0x4153ec]
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x1c]
push ebx
push eax
call fcn.00404f45
mov esi, 0x94
lea eax, [ebp - 0xb4]
push esi
push ebx
push eax
mov byte [ebp - 4], 2
call fcn.0040c1e0
add esp, 0xc
lea eax, [ebp - 0xb4]
mov dword [ebp - 0xb4], esi
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0xa4], 2
jne 0x40ab35
cmp dword [ebp - 0xb0], 5
jne 0x40ab35
mov esi, str.Global_
push esi
call fcn.0040c240
pop ecx
push eax
push esi
lea ecx, [ebp - 0x1c]
call fcn.00405220
push dword [0x4153ec]
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x1c]
push ebx
push eax
call fcn.00404e66
mov esi, dword [ebp + 8]
mov al, byte [ebp - 0x1c]
push ebx
mov ecx, esi
mov byte [esi], al
call fcn.00405013
push dword [0x4153ec]
lea eax, [ebp - 0x1c]
mov ecx, esi
push ebx
push eax
call fcn.00404f45
mov dword [ebp - 0x20], edi
push edi
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.00405013
push edi
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], bl
call fcn.00405013
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x40ab84
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1b8
push esi
push edi
mov esi, str.IsHideModesChecked
lea edi, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov esi, 0x94
xor edi, edi
push esi
lea eax, [ebp - 0xb4]
push edi
push eax
call fcn.0040c1e0
add esp, 0xc
lea eax, [ebp - 0xb4]
mov dword [ebp - 0xb4], esi
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0xa4], 1
je 0x40ac4c
lea eax, [ebp - 0x1b8]
push 0x104
push eax
push dword [ebp + 8]
call sub.hccutils.DLL_GetHardwareKey
add esp, 0xc
test al, al
je 0x40ac4c
lea eax, [ebp + 8]
mov dword [ebp + 8], edi
push eax
push 0x20019
lea eax, [ebp - 0x1b8]
push edi
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40ac4c
lea eax, [ebp - 4]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push str.PruningMode
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40ac40
cmp dword [ebp - 8], edi
setne al
mov edi, eax
jmp 0x40ac43
push 1
pop edi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
leave
ret
Function at 0x40b3c4
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push esi
lea eax, [ebp - 0x10c]
xor esi, esi
push 0x104
push eax
mov dword [ebp - 8], esi
call sub.hccutils.DLL_GetCommonRegKey
pop ecx
lea eax, [ebp - 8]
pop ecx
push eax
lea eax, [ebp - 4]
push eax
push esi
push 0x2001f
push esi
push esi
lea eax, [ebp - 0x10c]
push esi
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x40b44a
cmp dword [ebp - 8], 2
jne 0x40b441
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push str.CUIModesCacheDisplay1
push dword [ebp - 4]
call esi
push str.CUIModesCacheDisplay2
push dword [ebp - 4]
call esi
push str.HideModesCheckboxStatus1
push dword [ebp - 4]
call esi
push str.HideModesCheckboxStatus2
push dword [ebp - 4]
call esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
leave
ret
Function at 0x99677c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x9967a3
call fcn.00938d18
mov dword [eax], esi
call fcn.00938d05
push 0x16
pop esi
mov dword [eax], esi
call fcn.0093995a
mov eax, esi
jmp 0x9967f8
test dword [ebp + 0xc], 0xfffffff9
jne 0x996789
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x9967d0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00938d2b
pop ecx
call fcn.00938d05
mov eax, dword [eax]
jmp 0x9967f8
test al, 0x10
jne 0x9967f6
test al, 1
je 0x9967f6
test byte [ebp + 0xc], 2
je 0x9967f6
call fcn.00938d18
mov dword [eax], 5
call fcn.00938d05
mov dword [eax], 0xd
jmp 0x9967c7
xor eax, eax
pop esi
pop ebp
ret

Function at 0x428d40
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.kkTurwjF
lea edi, [esi - 0xc000]
mov dword [edi + 0x1c708], 0xe185a3c2
push edi
or ebp, 0xffffffff
jmp 0x428d6a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x428d71
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x428d60
pushfd
xor eax, eax
inc eax
popfd
add ebx, ebx
jne 0x428d83
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x428d78
jne 0x428d94
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x428d78
xor ecx, ecx
sub eax, 3
jb 0x428da8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x428e1a
mov ebp, eax
add ebx, ebx
jne 0x428db3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x428dc0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x428de4
inc ecx
add ebx, ebx
jne 0x428dd0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x428dc5
jne 0x428de1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x428dc5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x428e04
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x428df5
jmp 0x428d66
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x428e04
add edi, ecx
jmp 0x428d66
pop esi
lea edi, [esi + 0x26000]
mov eax, dword [edi]
test eax, eax
je 0x428e63
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x28218]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x28284]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x428e21
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2828c]
or eax, eax
je 0x428e5d
mov dword [ebx], eax
add ebx, 4
jmp 0x428e3e
call dword [esi + 0x28288]
mov ebp, dword [esi + 0x28290]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x428e97
sub esp, 0xffffff80
jmp section.dYUPzmAO
Function at 0x401450
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x454dc0
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x45f040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
push 0x30
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
push 0
push esi
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
call sub.VCRUNTIME140.dll_memset
lea edi, [esi + 0x40]
add esp, 0xc
lea eax, [edi + 0x10]
mov dword [ebp - 0x10], edi
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 8], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov byte [edi], 0
mov dword [edi + 0xc], 0
mov dword [edi + 8], 0
mov dword [edi + 4], 0
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x401548
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x10]
call fcn.0041f180
lea eax, [edi + 0x10]
mov dword [eax], 0
xorps xmm0, xmm0
mov dword [edi + 0x2c], 0
mov eax, esi
mov dword [edi + 0x30], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x34], 0
mov dword [esi + 0x84], 0
mov dword [esi + 0x80], 0
mov dword [esi + 0x88], 0
movups xmmword [esi + 0x78], xmm0
mov dword [esi + 0x88], 0
mov dword [esi + 0x8c], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 0
mov dword [esi + 0x98], 0
mov dword [esi + 0x9c], 0
mov dword [esi + 0xa0], 0
mov dword [esi + 0xa4], 0
mov dword [esi + 0xa8], 0
mov dword [esi + 0x34], 0xffffffff
mov dword [esi + 0x30], 0xffffffff
mov dword [esi + 0x3c], 0
mov dword [esi + 0x38], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x402a20
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, edx
not ebx
mov esi, ecx
mov eax, ebx
test edi, edi
je 0x402a81
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x402a64
cmp edi, 2
jb 0x402a64
cmp byte [esi], cl
jne 0x402a64
cmp byte [esi + 1], cl
jne 0x402a64
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x457de0]
jmp 0x402a35
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x457de0]
test edi, edi
jne 0x402a35
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x402ab0
cmp cl, 0x23
jne 0x402a97
cmp byte [esi], cl
jne 0x402a97
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x457de0]
test cl, cl
jne 0x402a88
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
Function at 0x402c40
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
test ebx, ebx
je 0x402c53
mov dword [ebx], 0
mov edx, 0x45797c
call fcn.00402ac0
mov esi, eax
test esi, esi
je 0x402d72
mov edi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
push esi
call edi
add esp, 4
mov dword [ebp + 8], eax
cmp eax, 0xffffffff
je 0x402d68
push 2
push 0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x402d68
push esi
call edi
mov edi, eax
add esp, 4
cmp edi, 0xffffffff
je 0x402d68
push 0
push dword [ebp + 8]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x402d68
mov ecx, edi
call fcn.004093e0
mov dword [ebp + 8], eax
test eax, eax
je 0x402d68
push esi
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
push esi
cmp eax, edi
je 0x402d51
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov ecx, dword [0x45f4d8]
add esp, 4
test ecx, ecx
je 0x402d3e
movsx edx, word [ecx + 0x524c]
lea eax, [ecx + 0x5250]
mov esi, dword [ecx + 0x3f78]
lea eax, [eax + edx*8]
cmp dword [eax], esi
je 0x402d34
lea eax, [edx + 1]
mov edi, 6
cdq
idiv edi
movzx eax, dx
mov word [ecx + 0x524c], ax
cwde
add eax, 0xa4a
xor edx, edx
lea eax, [ecx + eax*8]
mov dword [eax], esi
mov dword [eax + 4], edx
inc word [eax + 6]
inc dword [ecx + 0x5248]
push dword [ebp + 8]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
test ebx, ebx
je 0x402d60
mov dword [ebx], edi
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
pop ebp
ret
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x40ca50
Capabilities:
Hash data with crc32

Disassembly:
mov eax, ecx
or ecx, 0xffffffff
push ebx
push esi
mov bl, byte [eax]
lea esi, [eax + 1]
test bl, bl
je 0x40ca8d
push edi
or edi, 0xffffffff
cmp bl, 0x23
jne 0x40ca73
cmp byte [esi], bl
jne 0x40ca73
cmp byte [esi + 1], bl
cmove ecx, edi
movzx edx, cl
movzx eax, bl
mov bl, byte [esi]
xor edx, eax
shr ecx, 8
inc esi
xor ecx, dword [edx*4 + 0x457de0]
test bl, bl
jne 0x40ca64
pop edi
pop esi
not ecx
pop ebx
jmp fcn.0040c9f0
Function at 0x412e60
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x45f040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea edx, [ebp - 8]
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov esi, 4
mov eax, dword [edi + 0xf4]
mov ebx, dword [edi + 0xfc]
mov ebx, dword [ebx + eax*4 - 4]
not ebx
nop dword [eax + eax]
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x457de0]
sub esi, 1
jne 0x412ea0
mov eax, dword [edi]
not ebx
cmp dword [eax + 0x404c], ebx
jne 0x412ed7
push ecx
push dword [ebp - 0xc]
lea edx, [esi + 4]
mov ecx, ebx
call fcn.0041e530
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00453924
mov esp, ebp
pop ebp
ret 4

Function at 0x412ef0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x45f040]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov edx, ecx
push esi
push edi
lea esi, [ebp - 0x18]
mov edi, 0x10
movss xmm1, dword [edx + 0x110]
movss xmm0, dword [eax]
movss xmm2, dword [edx + 0x114]
subss xmm0, xmm1
mov ecx, dword [edx + 0xf4]
movss dword [ebp - 0x18], xmm0
movss xmm0, dword [eax + 4]
subss xmm0, xmm2
movss dword [ebp - 0x14], xmm0
movss xmm0, dword [eax + 8]
subss xmm0, xmm1
movss dword [ebp - 0x10], xmm0
movss xmm0, dword [eax + 0xc]
mov eax, dword [edx + 0xfc]
subss xmm0, xmm2
mov edx, dword [eax + ecx*4 - 4]
movss dword [ebp - 0xc], xmm0
not edx
nop dword [eax + eax]
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x457de0]
sub edi, 1
jne 0x412f70
mov ecx, dword [ebp - 8]
not edx
pop edi
xor ecx, ebp
mov eax, edx
pop esi
call fcn.00453924
mov esp, ebp
pop ebp
ret 4