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

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x54b814], 0
jne 0x52a863
call fcn.0052a80c
mov eax, edi
dec eax
test eax, eax
jl 0x52a88b
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x54b414]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x52a86d
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x52d634
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0x14]
movzx edx, byte [eax + 0x461]
movzx ecx, dl
cmp ecx, 6
ja case.0x52d6ce.0
jmp dword [ecx*4 + 0x52d667]
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x52d699
sub dl, 8
je 0x52d6a8
jmp case.0x52d6ce.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x52d2dc
jmp case.0x52d6ce.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x52d334
jmp case.0x52d6ce.0
movzx ecx, byte [eax + 0x460]
cmp ecx, 0x10
ja case.0x52d6ce.0
movzx ecx, byte [ecx + 0x52d6d5]
jmp dword [ecx*4 + 0x52d6e6]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x52d3e0
jmp case.0x52d6ce.0
cmp dl, 3
jne 0x52d713
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x52d438
jmp case.0x52d6ce.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x52d3f4
jmp case.0x52d6ce.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x52d47c
jmp case.0x52d6ce.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x52d73e
sub dl, 8
je 0x52d74a
jmp case.0x52d6ce.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x52d4a8
jmp case.0x52d6ce.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x52d514
jmp case.0x52d6ce.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x52d769
sub dl, 8
je 0x52d775
jmp case.0x52d6ce.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x52d5d0
jmp case.0x52d6ce.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x52d5f8
mov edx, dword [eax + 0x468]
mov ecx, dword [ebx + 0x1c]
dec ecx
imul edx, ecx
mov esi, edx
add esi, dword [eax + 0x450]
mov dword [ebp - 0x10], esi
mov esi, dword [eax + 0x454]
mov dword [ebp - 0xc], esi
add edx, dword [eax + 0x44c]
mov dword [ebp - 0x14], edx
mov esi, ecx
test esi, esi
jb 0x52d817
inc esi
mov eax, dword [ebx + 0x20]
inc eax
push eax
lea eax, [ebx + 0x4c]
push eax
mov eax, dword [ebp + 8]
push eax
movzx eax, byte [ebx + 0x48]
mov ecx, dword [ebx + eax*4 + 0x40]
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.0052c7e0
test eax, eax
je 0x52d817
mov eax, ebx
call fcn.0052d820
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x14]
push eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
lea edx, [eax + 1]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
call dword [ebp - 0x20]
movzx eax, byte [ebx + 0x48]
xor al, 1
mov byte [ebx + 0x48], al
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0x468]
sub dword [ebp - 0x10], eax
sub dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x18]
add dword [ebp - 0xc], eax
dec esi
jne 0x52d7b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x52d820
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 0x52d851
dec al
je 0x52d88c
dec al
je 0x52d8d1
dec al
je 0x52d93a
jmp 0x52d9c4
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x52d9c4
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 0x52d861
jmp 0x52d9c4
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x52d9c4
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 0x52d89c
jmp 0x52d9c4
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x52d9c4
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 0x52d900
xor ebp, ebp
jmp 0x52d910
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 0x52d919
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 0x52d8e1
jmp 0x52d9c4
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x52d9c4
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 0x52d993
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.0052a894
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 0x52d94e
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x5d4a60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [0x5fb010]
push edi
push 0x6049f0
call esi
push 0x6049f0
call esi
push 0x6049f0
call esi
push 0x6049f0
call esi
push 0x6049f0
call esi
mov edi, dword [ebp + 0x10]
lea eax, [edi + 1]
push eax
push 0
call 0x4fa03d8
nop
push eax
nop
call 0x77a75da0
mov ebx, eax
push 0x6049f0
mov dword [ebp - 4], ebx
call esi
push 0x6049f0
call esi
push 0x6049f0
call esi
push 0x6049f0
call esi
push 0x6049f0
call esi
push 0x6049f0
mov byte [ebx + edi], 0
call esi
push 0x6049f0
call esi
push 0x6049f0
call esi
push 0x6049f0
call esi
push 0x6049f0
call esi
xor edi, edi
cmp dword [ebp + 0x10], edi
jbe 0x5d4b7a
mov eax, dword [ebp + 8]
sub eax, ebx
mov dword [ebp - 8], eax
push 0x6049f0
call esi
push 0x6049f0
call esi
push 0x6049f0
call esi
push 0x6049f0
call esi
push 0x6049f0
call esi
mov ecx, dword [ebp + 0xc]
push ecx
add ebx, edi
nop
call 0x76fa97f0
mov ecx, eax
xor edx, edx
mov eax, edi
div ecx
mov eax, dword [ebp + 0xc]
add esp, 4
push 0x6049f0
mov cl, byte [edx + eax]
mov edx, dword [ebp - 8]
xor cl, byte [edx + ebx]
mov byte [ebx], cl
call esi
push 0x6049f0
call esi
push 0x6049f0
call esi
push 0x6049f0
call esi
push 0x6049f0
call esi
mov ebx, dword [ebp - 4]
inc edi
cmp edi, dword [ebp + 0x10]
jb 0x5d4b06
push 0x6049f0
call esi
push 0x6049f0
call esi
push 0x6049f0
call esi
push 0x6049f0
call esi
push 0x6049f0
call esi
lea eax, [ebp - 0xc]
push eax
push 0x100
push 4
push ebx
mov dword [ebp - 0xc], 0
call 0x4fa03de
nop
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5d6ef0
Capabilities:
Parse pe header

Disassembly:
cmp dword [ebx + 4], 0x40
jb 0x5d6f91
mov eax, dword [ebx]
push 0x40
push eax
push esi
call 0x76fa8cf0
nop
mov ecx, 0x5a4d
add esp, 0xc
cmp word [esi], cx
jne 0x5d6fc0
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x5d6fc0
lea edx, [eax + 0xf8]
cmp edx, dword [ebx + 4]
ja 0x5d6f91
mov ecx, dword [ebx]
push edi
push 0xf8
add ecx, eax
push ecx
lea edi, [esi + 0x40]
push edi
call 0x76fa8cf0
nop
add esp, 0xc
cmp dword [edi], 0x4550
pop edi
jne 0x5d6fc0
mov edx, 0x10b
cmp word [esi + 0x58], dx
jne 0x5d6fc0
movzx eax, word [esi + 0x46]
test ax, ax
je 0x5d6fc0
lea eax, [eax + eax*4]
add eax, eax
add eax, eax
add eax, eax
push eax
push 8
mov dword [esi + 0x140], eax
call dword [fcn.008090f4]
push eax
call dword [fcn.00809088]
mov dword [esi + 0x138], eax
test eax, eax
jne 0x5d6f97
mov eax, 3
ret
mov eax, 1
ret
movzx ecx, word [esi + 0x54]
mov edx, dword [esi + 0x3c]
lea ecx, [ecx + edx + 0x18]
mov edx, dword [esi + 0x140]
push ebx
push edx
push ecx
push eax
mov dword [esi + 0x13c], ecx
call fcn.005d7590
add esp, 0x10
neg eax
sbb eax, eax
inc eax
ret
mov eax, 2
ret
Function at 0xac3d00
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [0x8090e0]
test esi, esi
jne 0xac3d18
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 0x5a4d
cmp word [esi], ax
jne 0xac3d11
mov eax, dword [esi + 0x3c]
cmp dword [eax + esi], 0x4550
jne 0xac3d11
mov eax, dword [eax + esi + 0x78]
mov ecx, dword [eax + esi + 0x1c]
add eax, esi
add ecx, esi
push ebx
mov ebx, dword [eax + 0x20]
mov dword [ebp - 0xc], ecx
mov ecx, dword [eax + 0x24]
mov eax, dword [eax + 0x18]
push edi
add ecx, esi
add ebx, esi
xor edi, edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test eax, eax
je 0xac3d7a
jmp 0xac3d60
mov eax, dword [ebx + edi*4]
mov ecx, dword [0x808bf0]
add eax, esi
call fcn.00ac17e0
test eax, eax
je 0xac3d83
inc edi
cmp edi, dword [ebp - 4]
jb 0xac3d60
pop edi
pop ebx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 8]
movzx edx, word [ecx + edi*2]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + edx*4]
pop edi
pop ebx
add eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x407e30
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004033fc
xor eax, eax
push ebp
push 0x407f09
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax], 0x5c
jne 0x407e68
mov eax, dword [ebp - 4]
call fcn.00407220
jmp 0x407e70
mov eax, dword [ebp - 4]
call fcn.00407c1c
call fcn.00404ae8
mov esi, eax
test esi, esi
jle 0x407ebc
mov ebx, 1
lea edx, [ebp - 8]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 8]
cmp byte [eax], 0x5c
jne 0x407ea6
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 0xc]
call fcn.00407220
jmp 0x407eb8
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 0x10]
call fcn.00407c1c
inc ebx
dec esi
jne 0x407e80
push 1
push dword [ebp - 4]
push 0x407f20
lea edx, [ebp - 0x18]
xor eax, eax
call fcn.00406f84
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004032cc
mov eax, dword [ebp - 0x14]
call fcn.0040340c
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407f10
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.004030b8
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x433072
nop
nop
nop
nop
mov ebx, 0x40de38
nop
nop
nop
nop
mov ecx, ebx
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x4e6f697b
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x433060
nop
nop
mov eax, section..data_1
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4330d2
mov ebx, 0x4304d8
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0xf86373c
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x412210
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41223d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41223d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x401080
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x13c
mov eax, dword [0x404008]
xor eax, esp
mov dword [esp + 0x138], eax
push esi
lea eax, [esp + 8]
mov dword [esp + 4], 0
push eax
push 1
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionOpenWith
xorps xmm0, xmm0
mov dword [esp + 0x18], 0
push reloc.OLEAUT32.dll_SysReAllocString
movaps xmmword [esp + 0x34], xmm0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x401191
mov esi, dword [esp + 8]
test esi, esi
je 0x401191
push pe_nt_image_headers32
push eax
lea eax, [esp + 0x40]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esp + 0x1c], pe_nt_image_headers32
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x3c]
push eax
push 0
push 0
push 0x403224
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [esp + 8]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x401191
lea ecx, [esp + 0x38]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401130
sub ecx, edx
sar ecx, 1
cmp ecx, 0x26
jne 0x401191
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
test eax, eax
js 0x401191
lea eax, [esp + 4]
mov dword [esp + 0xc], 0x6a283fe2
push eax
lea eax, [esp + 0x10]
mov dword [esp + 0x14], 0x4599ecfa
push eax
push 4
push 0
lea eax, [esp + 0x30]
mov dword [esp + 0x24], 0x9e8c491
push eax
mov dword [esp + 0x2c], 0x267b1357
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov ecx, dword [esp + 0x13c]
mov eax, dword [esp + 4]
pop esi
xor ecx, esp
call fcn.004012f0
mov esp, ebp
pop ebp
ret

Function at 0x4011b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push 2
push 0
mov dword [ebp - 4], eax
call dword [sym.imp.ole32.dll_CoInitializeEx]
call fcn.00401080
mov ebx, eax
push 0
push ebx
call dword [sym.imp.ole32.dll_CoAllowSetForegroundWindow]
push str..pdf
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
test esi, esi
je 0x401232
mov edi, dword [ebx]
push 4
push esi
push dword [ebp - 4]
mov edi, dword [edi + 0xc]
mov ecx, edi
push ebx
call dword [0x403110]
call edi
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebx]
push ebx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x403110]
call esi
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 0x8007000e
call fcn.00401030
int3
Function at 0x427410
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x17000]
push edi
or ebp, 0xffffffff
jmp 0x427432
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x427439
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x427428
mov eax, 1
add ebx, ebx
jne 0x42744b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x427440
jne 0x42745c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x427440
xor ecx, ecx
sub eax, 3
jb 0x427470
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4274e2
mov ebp, eax
add ebx, ebx
jne 0x42747b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x427488
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4274ac
inc ecx
add ebx, ebx
jne 0x427498
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x42748d
jne 0x4274a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42748d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4274cc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4274bd
jmp 0x42742e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4274cc
add edi, ecx
jmp 0x42742e
pop esi
mov edi, esi
mov ecx, 0x21
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4274ea
cmp byte [edi], 1
jne 0x4274ea
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4274ef
lea edi, [esi + 0x25000]
mov eax, dword [edi]
or eax, eax
je 0x42755e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x326ec]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x32764]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x42751c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x32768]
or eax, eax
je 0x427558
mov dword [ebx], eax
add ebx, 4
jmp 0x427539
call dword [esi + 0x32778]
mov ebp, dword [esi + 0x3276c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
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 0x427592
sub esp, 0xffffff80
jmp 0x40386a
Function at 0x401590
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x278
mov eax, dword [0x435014]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x435e68], 7
push esi
push edi
jne 0x4016ce
cmp dword [0x435e28], 0
mov eax, 1
jne 0x4016c5
mov dword [0x435e28], eax
lea eax, [ebp - 0x264]
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftPlus_ThemesCurrent
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4016c0
lea eax, [ebp - 0x268]
mov dword [ebp - 0x268], 0x104
push eax
lea eax, [ebp - 0x260]
mov dword [ebp - 0x26c], 1
push eax
lea eax, [ebp - 0x26c]
push eax
push 0
push 0
push dword [ebp - 0x264]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4016b4
movups xmm0, xmmword [str.Windows_Classic.theme]
mov eax, dword [0x427d60]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x260]
movups xmm0, xmmword [0x427d48]
push eax
movups xmmword [ebp - 0x30], xmm0
movq xmm0, qword [0x427d58]
movq qword [ebp - 0x20], xmm0
call edi
mov esi, eax
lea eax, [ebp - 0x40]
push eax
call edi
cmp esi, eax
jl 0x4016b4
lea eax, [ebp - 0x40]
push eax
push eax
call edi
sub esi, eax
lea eax, [ebp - 0x260]
lea eax, [eax + esi*2]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov ecx, dword [0x435e24]
test eax, eax
mov eax, 1
cmove ecx, eax
mov dword [0x435e24], ecx
push dword [ebp - 0x264]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
cmp dword [0x435e24], 0
je 0x4016d0
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00422eb6
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x4039c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
movzx eax, word [ebp + 8]
mov dword [ebp + 8], eax
pop ebp
jmp fcn.004039d0
Function at 0x405b60
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0xf1
push ebx
mov dword [ebp - 4], ecx
call dword [sym.imp.mfc140u.dll_AfxFindResourceHandle]
mov edi, dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
push 0xf1
push ebx
push esi
call edi
test eax, eax
jne 0x405ba1
push 0xf1
push ebx
xor esi, esi
push esi
call edi
test eax, eax
je 0x405cd0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x405cd0
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x405cd0
movzx eax, word [edi + 6]
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call dword [sym.imp.mfc140u.dll_operator_1]
movzx ecx, word [edi + 6]
xor esi, esi
add esp, 4
xor edx, edx
mov ebx, eax
mov eax, ecx
cmp si, cx
jae 0x405c08
lea ecx, [edi + 8]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov dword [ebx + edx*4], eax
inc edx
movzx esi, word [edi + 6]
cmp edx, esi
jl 0x405bf4
mov eax, esi
mov ecx, dword [ebp - 4]
movzx eax, ax
push eax
push ebx
call dword [sym.imp.mfc140u.dll_CToolBar::SetButtons]
push ebx
mov esi, eax
call dword [sym.imp.mfc140u.dll_operator_2]
add esp, 4
test esi, esi
je 0x405cc5
movzx eax, word [edi + 4]
movzx esi, word [edi + 2]
mov ebx, dword [ebp - 4]
push eax
lea ecx, [eax + 7]
push esi
push ecx
lea edx, [esi + 7]
mov ecx, ebx
push edx
call dword [sym.imp.mfc140u.dll_CToolBar::SetSizes]
movzx eax, word [edi + 2]
mov dword [ebx + 0xf0], eax
movzx eax, word [edi + 4]
mov edi, dword [ebp + 8]
push 2
push edi
mov dword [ebx + 0xf4], eax
call dword [sym.imp.mfc140u.dll_AfxFindResourceHandle]
push 2
push edi
push eax
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x405c9a
push 2
push edi
push eax
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x405c9a
xor esi, esi
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp + 8]
push 0
push esi
push edi
call dword [sym.imp.mfc140u.dll_AfxLoadSysColorBitmap]
push eax
mov ecx, ebx
call dword [sym.imp.mfc140u.dll_CToolBar::AddReplaceBitmap]
test eax, eax
je 0x405c8d
mov dword [ebx + 0xc8], esi
mov esi, 1
mov dword [ebx + 0xcc], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4072f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x435014]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x210]
push eax
push 1
push 0
push edx
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x407366
lea eax, [ebp - 0x214]
mov dword [ebp - 0x214], 0x104
push eax
lea eax, [ebp - 0x20c]
push eax
push esi
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea eax, [ebp - 0x20c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00422eb6
mov esp, ebp
pop ebp
ret