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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push edi
push 7
pop ecx
xor ebx, ebx
xor eax, eax
mov byte [ebp - 0x28], bl
lea edi, [ebp - 0x27]
rep stosd dword es:[edi], eax
push 7
stosb byte es:[edi], al
pop ecx
xor eax, eax
mov byte [ebp - 0x48], bl
lea edi, [ebp - 0x47]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
lea eax, [ebp - 8]
push eax
push 0x20019
push ebx
push 0x439bf8
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x417e2b
xor eax, eax
pop edi
pop ebx
leave
ret
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 4]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x417e25
push esi
xor esi, esi
cmp dword [ebp - 4], ebx
jbe 0x417e8a
push 0x1e
lea eax, [ebp - 0x48]
push eax
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x417ea1
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00417d4d
pop ecx
pop ecx
test eax, eax
jns 0x417e84
xor eax, eax
mov cl, byte [ebp + eax - 0x48]
mov byte [ebp + eax - 0x28], cl
inc eax
cmp cl, bl
jne 0x417e77
inc esi
cmp esi, dword [ebp - 4]
jb 0x417e4e
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x28]
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x417e94
xor ebx, ebx
inc ebx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
pop esi
jmp 0x417e27

Function at 0x417eb2
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
push ebx
push esi
xor ebx, ebx
push 0x3ff
lea eax, [ebp - 0x407]
push ebx
push eax
mov byte [ebp - 0x408], bl
call fcn.0041b010
add esp, 0xc
lea eax, [ebp - 4]
push eax
push 1
push ebx
push str.SoftwareMicroSoftWindowsCurrentVersionRunOnce
push SysReAllocString
mov dword [ebp - 8], 0x400
xor esi, esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x417f3e
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x408]
push eax
push ebx
push ebx
push str.JavaInstallRetry
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x417f35
lea eax, [ebp - 0x408]
push str.JRERunOnce.exe
push eax
call fcn.0041b750
pop ecx
pop ecx
test eax, eax
jne 0x417f35
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4180f9
Capabilities:
Get common file path
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x640
push ebx
push esi
push 0x3c
pop esi
xor ebx, ebx
push esi
lea eax, [ebp - 0x3c]
push ebx
push eax
mov byte [ebp - 0x240], bl
call fcn.0041b010
lea eax, [ebp - 0x640]
add esp, 0xc
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x3c]
push eax
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0xc], 0x400
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
cmp eax, ebx
je 0x418180
lea eax, [ebp - 0x240]
push eax
lea eax, [ebp - 0x140]
push eax
push ebx
lea eax, [ebp - 0x640]
push ebx
push eax
call fcn.0041edd9
lea eax, [ebp - 0x140]
push 0x439eb4
push eax
call fcn.0041b750
add esp, 0x1c
test eax, eax
je 0x4181a0
push 1
push dword [ebp + 8]
call fcn.004180c0
push eax
lea eax, [ebp - 0x140]
push str.jupdate__x
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
push dword [ebp + 0xc]
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x140]
push eax
push dword [ebp + 0xc]
call esi
lea eax, [ebp - 0x240]
push eax
push dword [ebp + 0xc]
call esi
pop esi
pop ebx
leave
ret

Function at 0x418418
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [ebp + 8]
push ebx
push edi
xor ebx, ebx
xor edi, edi
inc edi
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
cmp eax, ebx
jne 0x418463
lea eax, [ebp - 4]
push eax
push 0x20019
push ebx
push 0x438958
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp dword [ebp - 4], ebx
je 0x41845c
mov dword [ebp - 8], edi
jmp 0x418466
xor eax, eax
jmp 0x4184e6
mov dword [ebp - 4], eax
push esi
push dword [ebp + 0x14]
lea eax, [ebp + 8]
push dword [ebp + 0x10]
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
cmp esi, ebx
jne 0x418489
mov dword [ebp - 0xc], edi
jmp 0x4184d4
cmp esi, 2
je 0x4184d4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x3ff
mov edi, eax
lea eax, [ebp - 0x40b]
push ebx
push eax
mov byte [ebp - 0x40c], bl
call fcn.0041b010
push edi
push esi
push dword [ebp + 0xc]
lea eax, [ebp - 0x40c]
push str.RegQueryValueEx__s_:_Error:_d__ErrorCode:_d_n
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0x40c]
push eax
call fcn.00417b54
add esp, 0x24
pop esi
cmp dword [ebp - 8], ebx
je 0x4184e3
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xc]
pop edi
pop ebx
leave
ret
Function at 0x4184ea
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80c
push ebx
push esi
push edi
xor edi, edi
mov esi, 0x3ff
push esi
lea eax, [ebp - 0x40b]
push edi
push eax
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], edi
mov byte [ebp - 0x40c], 0
call fcn.0041b010
mov eax, dword [ebp + 8]
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
cmp eax, edi
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
jne 0x418584
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
push 0x4389b0
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 4], eax
test eax, eax
jne 0x41855c
mov dword [ebp - 0xc], 1
jmp 0x41858d
call edi
push eax
push dword [ebp - 4]
lea eax, [ebp - 0x40c]
push dword [ebp + 0xc]
push str.GetJreMetrics_____RegOpenKeyEx__s_:_Error:_d__ErrorCode:_d_n
push eax
call ebx
lea eax, [ebp - 0x40c]
push eax
call fcn.00417b54
add esp, 0x18
jmp 0x418587
mov dword [ebp - 8], eax
cmp dword [ebp - 4], 0
jne 0x4185fe
push dword [ebp + 0x14]
lea eax, [ebp + 8]
push dword [ebp + 0x10]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 4], eax
test eax, eax
je 0x4185ef
cmp eax, 2
je 0x4185ef
call edi
push esi
mov edi, eax
lea eax, [ebp - 0x80b]
push 0
push eax
mov byte [ebp - 0x80c], 0
call fcn.0041b010
push edi
push dword [ebp - 4]
lea eax, [ebp - 0x80c]
push dword [ebp + 0xc]
push str.GetJreMetrics_____RegQueryValueEx__s_:_Error:_d__ErrorCode:_d_n
push eax
call ebx
lea eax, [ebp - 0x80c]
push eax
call fcn.00417b54
add esp, 0x24
cmp dword [ebp - 0xc], 0
je 0x4185fe
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x418a9d
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
push ebx
push esi
xor ebx, ebx
mov esi, 0x20019
push esi
push str.SOFTWARE
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
call fcn.0040a1ba
test eax, eax
je 0x418b05
lea ecx, [ebp - 0x14]
call fcn.0040a137
lea ecx, [ebp - 0x20]
call fcn.0040a137
lea ecx, [ebp - 0x2c]
call fcn.0040a137
xor eax, eax
pop esi
pop ebx
leave
ret
push esi
push 0x438f88
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x20]
call fcn.0040a1ba
lea ecx, [ebp - 0x14]
test eax, eax
jne 0x418aea
push esi
push str.Java_Runtime_Environment
push dword [ebp - 0x20]
call fcn.0040a1ba
test eax, eax
je 0x418b4b
lea ecx, [ebp - 0x14]
call fcn.0040a137
lea ecx, [ebp - 0x20]
call fcn.0040a137
lea ecx, [ebp - 0x2c]
call fcn.0040a137
mov eax, ebx
jmp 0x418b01
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
push 0x80
lea eax, [ebp - 0xcc]
push eax
push ebx
push dword [ebp - 0x14]
mov byte [ebp - 0x14c], bl
call esi
test eax, eax
jne 0x418c44
push edi
inc dword [ebp - 8]
push 7
xor eax, eax
mov byte [ebp - 0x4c], bl
pop ecx
lea edi, [ebp - 0x4b]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
lea eax, [ebp - 0x4c]
push eax
call fcn.00417dde
pop ecx
lea eax, [ebp - 0x14c]
push eax
lea eax, [ebp - 0xcc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jle 0x418c0a
lea ecx, [ebp - 0x4c]
lea eax, [ebp - 0xcc]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x418bce
cmp dl, bl
je 0x418bca
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x418bce
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x418bae
xor eax, eax
jmp 0x418bd3
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x418c0a
lea eax, [ebp - 0xcc]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x418be0
sub eax, edx
cmp eax, 3
jbe 0x418c0a
xor eax, eax
mov cl, byte [ebp + eax - 0xcc]
mov byte [ebp + eax - 0x14c], cl
inc eax
cmp cl, bl
jne 0x418bf0
mov dword [ebp - 4], 1
push 0x80
lea eax, [ebp - 0xcc]
push eax
push dword [ebp - 8]
push dword [ebp - 0x14]
call esi
test eax, eax
je 0x418b72
pop edi
cmp dword [ebp - 4], ebx
je 0x418c44
lea eax, [ebp - 0x14c]
push eax
push 0x438fb0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov ebx, dword [ebp - 4]
jmp 0x418b2f

Function at 0x418c78
Capabilities:
Get common file path
Query environment variable
Write file on windows

Disassembly:
push ebp
mov ebp, esp
call fcn.00418c4c
test eax, eax
je 0x418c8a
pop ebp
jmp fcn.00417b54
pop ebp
ret
Function at 0x418ee1
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
push esi
mov esi, 0x9c
push esi
lea eax, [ebp - 0x9c]
push 0
push eax
call fcn.0041b010
add esp, 0xc
lea eax, [ebp - 0x9c]
mov dword [ebp - 0x9c], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
push eax
call esi
test eax, eax
jne 0x418f32
lea eax, [ebp - 0x9c]
push eax
mov dword [ebp - 0x9c], 0x94
call esi
test eax, eax
je 0x418f57
cmp dword [ebp - 0x8c], 2
jne 0x418f54
cmp dword [ebp - 0x98], 6
jae 0x418f54
cmp dword [ebp - 0x98], 4
jb 0x418f54
call fcn.00418d11
jmp 0x418f57
xor eax, eax
inc eax
pop esi
leave
ret
Function at 0x41974f
Capabilities:
Delete file
Delete registry value
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
push ebx
push esi
push edi
mov edi, 0x400
lea eax, [ebp - 0x41c]
push edi
push eax
call fcn.00418c8c
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop ecx
pop ecx
test eax, eax
js 0x419782
lea eax, [ebp - 0x41c]
push eax
call esi
lea eax, [ebp - 0x41c]
push eax
call fcn.00419627
pop ecx
test eax, eax
je 0x4197ab
lea eax, [ebp - 0x41c]
push eax
push eax
call fcn.004180f9
pop ecx
pop ecx
lea eax, [ebp - 0x41c]
push eax
call esi
call fcn.00417596
xor esi, esi
push esi
push str.PreDownldStatus
push esi
call fcn.00417345
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
add esp, 0xc
push edi
lea eax, [ebp - 0x41c]
push eax
mov dword [ebp - 4], esi
push esi
mov esi, SysStringLen
jmp 0x41984c
inc dword [ebp - 4]
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
push 0x20019
lea eax, [ebp - 0x41c]
push eax
push esi
lea ecx, [ebp - 0x1c]
call fcn.0040a1ba
lea ecx, [ebp - 0x10]
test eax, eax
jne 0x419834
push 0x2001f
push 0x439050
push dword [ebp - 0x1c]
call fcn.0040a1ba
test eax, eax
jne 0x419831
push str.VersionXmlURL
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
lea ecx, [ebp - 0x10]
call fcn.0040a137
lea ecx, [ebp - 0x1c]
call fcn.0040a137
push edi
lea eax, [ebp - 0x41c]
push eax
push dword [ebp - 4]
push esi
call ebx
test eax, eax
je 0x4197da
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41a3b5
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push edi
lea eax, [ebp - 4]
push 1
push eax
xor edi, edi
call fcn.004172ec
pop ecx
pop ecx
test eax, eax
je 0x41a4c2
lea eax, [ebp - 0xc]
push eax
push 0x2001f
push edi
push 0x438888
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41a4c2
push esi
lea eax, [ebp - 8]
push eax
push 0x4388b0
push dword [ebp - 4]
call fcn.00418606
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
add esp, 0xc
test eax, eax
jne 0x41a44e
lea eax, [ebp - 8]
push eax
push 0x4388bc
push dword [ebp - 0xc]
call fcn.00418606
add esp, 0xc
test eax, eax
je 0x41a44e
push dword [ebp - 8]
push 0x4388c8
push dword [ebp - 4]
call fcn.004173e7
add esp, 0xc
test eax, eax
je 0x41a44e
push 0x4388d4
push dword [ebp - 0xc]
call esi
inc edi
lea eax, [ebp - 8]
push eax
push 0x4388e0
push dword [ebp - 4]
call fcn.00418606
add esp, 0xc
test eax, eax
jne 0x41a4a2
lea eax, [ebp - 8]
push eax
push 0x4388f0
push dword [ebp - 0xc]
call fcn.00418606
add esp, 0xc
test eax, eax
je 0x41a4a2
push dword [ebp - 8]
push 0x438900
push dword [ebp - 4]
call fcn.004173e7
add esp, 0xc
test eax, eax
je 0x41a4a2
push 0x438910
push dword [ebp - 0xc]
call esi
xor edi, edi
inc edi
test edi, edi
jne 0x41a4b1
push edi
push dword [ebp - 4]
call fcn.004196a4
pop ecx
pop ecx
push dword [ebp - 4]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0xc]
call esi
pop esi
pop edi
leave
ret

Function at 0x41a6a5
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x4470e0], 0
push esi
push edi
jne 0x41a61b
call fcn.0041a587
test eax, eax
je 0x41a660
mov eax, dword [0x4470e0]
cmp eax, 1
jne 0x41a63c
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x41a660
jmp 0x41a6a2
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x41a6a2
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x41a664
xor eax, eax
jmp 0x41a6a2
mov eax, dword [esi]
push dword [0x4470e0]
call edi
mov edi, eax
test edi, edi
je 0x41a686
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x41a6a2
lea edi, [esi + 0xff0]
push esi
push dword [0x4470e0]
call dword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x41a68c
mov eax, esi
pop edi
pop esi
ret
jmp 0x41a607

Function at 0x42208d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x445e00]
jne 0x422097
repz ret
jmp fcn.004281f4
Function at 0x4282fa
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x445e00]
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.00420bd9
and dword [ebp - 0x14], 0
cmp dword [0x447f5c], 0
mov dword [ebp - 0x18], eax
jne 0x4283ad
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x428455
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x428455
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x447f5c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x447f60], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x447f64], eax
call edi
push eax
call esi
mov dword [0x447f6c], eax
test eax, eax
je 0x4283ad
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x447f68], eax
mov eax, dword [0x447f68]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x428406
cmp dword [0x447f6c], ecx
je 0x428406
push eax
call esi
push dword [0x447f6c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x428406
test ebx, ebx
je 0x428406
call edi
test eax, eax
je 0x4283fd
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4283fd
test byte [ebp - 8], 1
jne 0x428406
or dword [ebp + 0x10], 0x200000
jmp 0x428439
mov eax, dword [0x447f60]
cmp eax, dword [ebp - 0x18]
je 0x428439
push eax
call esi
test eax, eax
je 0x428439
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x428439
mov eax, dword [0x447f64]
cmp eax, dword [ebp - 0x18]
je 0x428439
push eax
call esi
test eax, eax
je 0x428439
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x447f5c]
call esi
test eax, eax
je 0x428455
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x428457
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042208d
leave
ret
Function at 0x401020
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, edx
push esi
mov esi, eax
lea eax, [ebp - 0x10]
push ebx
xor ebx, ebx
sub esp, 0x20
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 4], str.SoftwareMicrosoftWindowsCurrentVersionExplorerAccent
mov dword [esp], 0x80000001
call dword [sym.imp.advapi32.dll_RegOpenKeyExW]
sub esp, 0x14
test eax, eax
je 0x401070
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebx, eax
lea eax, [ebp - 0x14]
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], str.AccentPalette
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
sub esp, 0x18
test eax, eax
jne 0x4010ad
xor ebx, ebx
cmp dword [ebp - 0x14], 3
sete bl
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov eax, ebx
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x4010d0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
xor ebx, ebx
sub esp, 0x20
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 2
mov dword [esp + 8], 0
mov dword [esp + 4], str.SoftwareMicrosoftWindowsCurrentVersionThemesPersonalize
mov dword [esp], 0x80000001
call dword [sym.imp.advapi32.dll_RegOpenKeyExW]
sub esp, 0x14
test eax, eax
jne 0x40115b
lea eax, [ebp - 0xc]
mov dword [esp + 0x14], 4
xor ebx, ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0
mov dword [esp + 4], str.AppsUseLightTheme
mov eax, dword [ebp - 8]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegSetValueExW]
sub esp, 0x18
test eax, eax
mov eax, dword [ebp - 8]
sete bl
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 4
mov eax, ebx
mov ebx, dword [ebp - 4]
leave
ret
Function at 0x432000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
je 0x432072
nop
nop
nop
nop
mov ebx, 0x40c7d0
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x1ff01204
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x432060
nop
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x4320d2
mov ebx, 0x42f314
nop
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
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x24557896
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4320c0
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x41e5e0
Capabilities:
Encode data using xor

Disassembly:
movsb byte es:[edi], byte [esi]
outsd dx, dword [esi]
loope 0x41e5d0
js 0x41e5e8
test bl, cl
cmpsd dword [esi], dword es:[edi]
dec eax
xlatb
salc
dec edi
add al, 0x43
inc ebx
imul ebp, dword [ebp + 0x42c37864], 0xdca72958
adc dword [bx], edi
mov al, 0x54
mov eax, 0x48b40d9c
pushfd
or eax, 0x20b548b4
shl al, 9
fstp xword [edx]
xchg esp, eax
pop eax
daa
add eax, dword [esi + esi*4]
or ebx, ebx
cmp dl, byte [eax + ebx*2 - 0x49fbfcd9]
loope 0x41e667
push 0x4e
or bl, byte [edx]
invalid

Function at 0x448b4b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, section.sect_0
call 0x448b4b
lcall 0x5de5, 0x8b10c483
jmp loc.00d4a284
Function at 0x41c500
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
cmp dword [0x427850], 0
jne 0x41c581
cmp dword [0x427870], 0
jne 0x41c530
call sub.KERNEL32.DLL_GetEnvironmentStrings
mov dword [0x427870], eax
test eax, eax
jne 0x41c530
push str.GetEnvironmentStrings_failed
call fcn.0041bd1c
pop ecx
xor ebp, ebp
xor esi, esi
mov ebx, dword [0x427870]
jmp 0x41c544
lea eax, [edi + 1]
inc esi
add ebp, eax
add ebx, eax
push ebx
call fcn.004168a4
pop ecx
mov edi, eax
test eax, eax
jne 0x41c53c
lea edi, [ebp + 1]
push edi
call fcn.004161a8
pop ecx
mov ebx, eax
mov dword [0x427854], ebx
test ebx, ebx
jne 0x41c56e
xor eax, eax
jmp 0x41c644
push edi
mov edx, dword [0x427870]
push edx
push ebx
call fcn.00416754
add esp, 0xc
jmp 0x41c5a1
xor esi, esi
mov ebx, dword [0x427850]
jmp 0x41c59b
push eax
call fcn.004168a4
pop ecx
test eax, eax
jne 0x41c597
dec esi
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x41c58b
lea ebx, [esi + 4]
push 4
mov dword [0x427858], ebx
inc ebx
push ebx
call fcn.00415c80
add esp, 8
test eax, eax
mov dword [esp], eax
jne 0x41c5c4
xor eax, eax
jmp 0x41c644
cmp dword [0x427850], 0
jne 0x41c5f5
xor esi, esi
mov ebx, dword [0x427854]
mov eax, dword [esp]
mov ebp, eax
jmp 0x41c5e6
mov dword [ebp], ebx
add ebp, 4
inc esi
inc edi
add ebx, edi
push ebx
call fcn.004168a4
pop ecx
mov edi, eax
test eax, eax
jne 0x41c5dc
jmp 0x41c626
xor esi, esi
mov ebx, dword [0x427850]
mov eax, dword [esp]
mov edi, eax
jmp 0x41c620
push eax
call fcn.004168a4
pop ecx
test eax, eax
je 0x41c615
mov eax, dword [ebx]
mov dword [edi], eax
jmp 0x41c619
dec esi
add edi, 0xfffffffc
add edi, 4
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x41c604
mov eax, dword [0x427850]
test eax, eax
je 0x41c636
push eax
call fcn.004161b8
pop ecx
mov edx, dword [esp]
mov eax, 1
mov dword [0x427850], edx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x518500
Capabilities:
Encode data using xor

Disassembly:
adc dl, bh
or al, 0xb3
sub dh, byte [esp + ebp*4 - 0x51]
fucomp st(5)
sub dword [edx], esp
mov dl, 0xe5
fsubr qword [0xe612566c]
xor eax, 0x45
jae 0x51850a
jmp dword [ecx - 0xa1b1d92]
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..reloc
nop
mov ebx, 0x408ecc
mov ecx, 0xc4460b
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x20f2489d
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219