joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4fbf69
Capabilities:
Log keystrokes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi]
push edi
call dword [eax + 0x150]
mov edi, eax
movzx eax, word [ebp + 8]
push 2
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
cmp byte [ebp + 0xc], 0
jne 0x4fbfa9
test edi, edi
jl 0x4fbfa9
cmp al, 0x20
je 0x4fbf9e
cmp word [ebp + 8], 0x71
jne 0x4fbfa9
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0x168]
pop edi
pop esi
pop ebp
ret 8

Function at 0x5010d0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x570790]
jne 0x5010da
repz ret
jmp fcn.00507b34

Function at 0x5153a5
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00507cac
and dword [ebp - 4], 0
cmp dword [0x5778d4], 0
mov ebx, eax
jne 0x515456
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x515507
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x54f13c
push edi
call esi
test eax, eax
je 0x515507
push eax
call fcn.00507c3a
mov dword [esp], 0x54f12c
push edi
mov dword [0x5778d4], eax
call esi
push eax
call fcn.00507c3a
mov dword [esp], 0x54f118
push edi
mov dword [0x5778d8], eax
call esi
push eax
call fcn.00507c3a
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x5778dc], eax
call esi
push eax
call fcn.00507c3a
pop ecx
mov dword [0x5778e4], eax
test eax, eax
je 0x515456
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00507c3a
pop ecx
mov dword [0x5778e0], eax
mov eax, dword [0x5778e0]
cmp eax, ebx
je 0x5154ae
cmp dword [0x5778e4], ebx
je 0x5154ae
push eax
call fcn.00507cb5
push dword [0x5778e4]
mov esi, eax
call fcn.00507cb5
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x5154ae
test edi, edi
je 0x5154ae
call esi
test eax, eax
je 0x5154a5
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x5154a5
test byte [ebp - 0xc], 1
jne 0x5154ae
or dword [ebp + 0x10], 0x200000
jmp 0x5154e7
mov eax, dword [0x5778d8]
cmp eax, ebx
je 0x5154e7
push eax
call fcn.00507cb5
pop ecx
test eax, eax
je 0x5154e7
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x5154e7
mov eax, dword [0x5778dc]
cmp eax, ebx
je 0x5154e7
push eax
call fcn.00507cb5
pop ecx
test eax, eax
je 0x5154e7
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x5778d4]
call fcn.00507cb5
pop ecx
test eax, eax
je 0x515507
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x515509
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x416a10
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x118
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x128]
push edi
xor edi, edi
or ebx, 0xffffffff
mov dword [esi + 4], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x20], eax
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], ebx
lea ecx, [esp + 0x14]
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
push ecx
mov ebp, eax
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], edi
mov dword [esp + 0x18], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push str.user32.dll
mov dword [esi + 0x74], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x7c], edi
mov word [esi + 0x80], di
mov dword [esi + 0x88], edi
mov dword [esi + 0x8c], edi
mov dword [esi + 0x90], edi
mov dword [esi + 0x94], edi
mov dword [esi + 0x98], edi
mov dword [esi + 0xa0], edi
mov dword [esi + 0xa4], edi
mov dword [esi + 0xa8], edi
mov dword [esi + 0xac], edi
mov dword [esi + 0xb8], ebx
mov dword [esi + 0xb0], ebx
mov dword [esi + 0xc8], ebx
mov dword [esi + 0xcc], edi
mov dword [esi + 0xd0], edi
mov dword [esi + 0xd4], edi
mov dword [esi + 0xd8], edi
mov dword [esi + 0xdc], edi
mov dword [esi + 0xe0], edi
mov dword [esi + 0x114], edi
mov dword [esi + 0x118], edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea edx, [esp + 0x10]
mov ebx, eax
push edx
push ebp
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
push str.GetGestureInfo
push ebx
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp ebp, edi
mov dword [esi + 0x11c], eax
je 0x416b5b
mov eax, dword [0x4b5d64]
push 0x4b5a6c
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CloseGestureInfoHandle
push ebx
call edi
push str.SetGestureConfig
push ebx
mov dword [esi + 0x120], eax
call edi
mov cl, byte [esp + 0x1c]
mov dword [esi + 0x124], eax
mov byte [esi + 0x128], cl
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x118
ret
Function at 0x401a6c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x47c14c]
jne 0x401a76
repz ret
jmp fcn.0040251b

Function at 0x40b0ae
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x47c14c]
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.00404134
and dword [ebp - 0x14], 0
cmp dword [0x47e7d8], 0
mov dword [ebp - 0x18], eax
jne 0x40b161
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40b209
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x40b209
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x47e7d8], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x47e7dc], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x47e7e0], eax
call edi
push eax
call esi
mov dword [0x47e7e8], eax
test eax, eax
je 0x40b161
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x47e7e4], eax
mov eax, dword [0x47e7e4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40b1ba
cmp dword [0x47e7e8], ecx
je 0x40b1ba
push eax
call esi
push dword [0x47e7e8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40b1ba
test ebx, ebx
je 0x40b1ba
call edi
test eax, eax
je 0x40b1b1
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40b1b1
test byte [ebp - 8], 1
jne 0x40b1ba
or dword [ebp + 0x10], 0x200000
jmp 0x40b1ed
mov eax, dword [0x47e7dc]
cmp eax, dword [ebp - 0x18]
je 0x40b1ed
push eax
call esi
test eax, eax
je 0x40b1ed
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40b1ed
mov eax, dword [0x47e7e0]
cmp eax, dword [ebp - 0x18]
je 0x40b1ed
push eax
call esi
test eax, eax
je 0x40b1ed
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x47e7d8]
call esi
test eax, eax
je 0x40b209
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40b20b
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401a6c
leave
ret
Function at 0x474bd0
Capabilities:
Get geographical location

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 0xc], esi
jle 0x474c5e
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_IsBadStringPtrA]
cmp dword [esp + 0x18], 0x2d
jne 0x474c1c
push 0
push str.vepamanal_tulesizoxe_yabadodopa_zokorubonoxesiticohub_foyidufumobowebacaxosububonobo
call edi
push str.wuviyakox
push str.yekukefocudovizene
push str.kaluravujokiziduyux
push str.vixuboxituja
call ebx
push 0
call ebp
call fcn.00474b20
mov ecx, dword [esp + 0x14]
xor byte [esi + ecx], al
cmp dword [esp + 0x18], 0xf
jne 0x474c54
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push str.tigegisipawupesavumefozoj
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoA]
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesLengthA]
inc esi
cmp esi, dword [esp + 0x18]
jl 0x474bf2
pop edi
pop ebp
pop ebx
cmp dword [esp + 0xc], 0x2d
pop esi
jne 0x474c7a
mov dword [0x47f8d0], 0xa62e7790
mov dword [0x47f8d4], 0xffffffff
ret
Function at 0x475020
Capabilities:
Access the windows event log
Set file attributes

Disassembly:
mov eax, dword [0x47f8c4]
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_OpenWaitableTimerW]
mov ebp, 0x1519a5
lea esp, [esp]
mov dword [0x47f52c], 0x8e46a7b8
cmp eax, 0x3dc
jne 0x47506a
push 0
push 0x479f90
call esi
push str.rusokuj
push 0
push 0
call edi
mov eax, dword [0x47f8c4]
dec ebp
jne 0x475040
mov edi, dword [sym.imp.ADVAPI32.dll_OpenEventLogA]
xor esi, esi
mov ebp, 0xec58acac
lea ebx, [ebx]
cmp eax, 0x997
jne 0x475092
push 0
push 0
call edi
mov eax, dword [0x47f8c4]
cmp esi, 0x846373
jne 0x4750a9
mov eax, dword [0x47dad0]
add eax, 0xa231
mov dword [0x47f8c4], eax
cmp eax, 0x141
jne 0x4750c0
mov dword [0x47ed18], ebp
mov dword [0x47ed1c], 0xffffffff
inc esi
cmp esi, 0x123c962
jl 0x475080
call fcn.00474cc0
pop edi
pop esi
xor eax, eax
pop ebp
ret 0x10
Function at 0x432004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x43200c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x40729f
sub eax, 0x407245
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x4017c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x452fb3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [esp + 0xc], esi
mov dword [esi], vtable.CMenu.0
mov dword [esi + 4], edi
lea ebx, [esi + 8]
mov dword [esp + 0x18], edi
mov ecx, ebx
call fcn.00440637
mov dword [ebx], method.CPtrArray.virtual_0
lea ebx, [esi + 0x1c]
mov byte [esp + 0x18], 1
mov ecx, ebx
call fcn.00440637
or eax, 0xffffffff
push 0x471e38
mov dword [ebx], method.CPtrArray.virtual_0
push edi
mov dword [esi], 0x4587dc
mov dword [esi + 0x54], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x30], 0x10
mov dword [esi + 0x34], 0xf
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x38], 0xc0c0c0
mov dword [esi + 0x3c], edi
call dword [sym.imp.KERNEL32.dll_GetCPInfo]
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x58], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x404dc0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4533e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
xor eax, eax
push esi
push edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], vtable.CPen.0
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x28], eax
push ecx
push eax
push eax
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x14]
call fcn.0044841f
mov esi, dword [esp + 0x30]
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call fcn.00447a9b
mov edi, dword [esp + 0x38]
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x3c], eax
mov ecx, esi
lea eax, [edi + 2]
push eax
lea eax, [esp + 0x1c]
push ebx
push eax
call fcn.00447f30
lea eax, [edi + 5]
mov ecx, esi
push eax
push ebx
call fcn.00447f7c
lea ebp, [edi + 3]
lea eax, [ebx + 1]
push ebp
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, esi
call fcn.00447f30
lea eax, [edi + 6]
mov ecx, esi
push eax
lea eax, [ebx + 1]
push eax
call fcn.00447f7c
lea eax, [edi + 4]
lea ecx, [ebx + 2]
push eax
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, esi
call fcn.00447f30
lea eax, [edi + 7]
mov ecx, esi
push eax
lea eax, [ebx + 2]
push eax
call fcn.00447f7c
lea eax, [ebx + 3]
push ebp
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, esi
call fcn.00447f30
lea eax, [edi + 6]
mov ecx, esi
push eax
lea eax, [ebx + 3]
push eax
call fcn.00447f7c
lea eax, [edi + 2]
lea ecx, [ebx + 4]
push eax
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, esi
call fcn.00447f30
lea eax, [edi + 5]
mov ecx, esi
push eax
lea eax, [ebx + 4]
push eax
call fcn.00447f7c
lea ecx, [edi + 1]
lea eax, [ebx + 5]
push ecx
lea edx, [esp + 0x1c]
push eax
push edx
mov ecx, esi
call fcn.00447f30
lea eax, [edi + 4]
mov ecx, esi
push eax
lea eax, [ebx + 5]
push eax
call fcn.00447f7c
add ebx, 6
push edi
lea eax, [esp + 0x1c]
push ebx
push eax
mov ecx, esi
call fcn.00447f30
push ebp
push ebx
mov ecx, esi
call fcn.00447f7c
mov ecx, dword [esp + 0x3c]
push ecx
mov ecx, esi
call fcn.00447a9b
lea ecx, [esp + 0x10]
call fcn.00448476
mov dword [esp + 0x10], vtable.CGdiObject.0
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 1
call fcn.00448476
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x10
Function at 0x405f70
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x453590
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, dword [esp + 0x38]
mov eax, esi
mov ebp, ecx
push edi
xor edi, edi
mov ecx, dword [eax]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], vtable.CBrush.0
mov edx, dword [eax + 4]
mov dword [esp + 0x1c], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x20], ecx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x24], edx
mov dword [esp + 0x30], edi
call fcn.00401910
test eax, eax
je 0x405fce
push 0xf
jmp 0x405fd0
push 4
mov ebx, dword [sym.imp.USER32.dll_GetSysColor]
call ebx
cmp dword [esp + 0x40], edi
jne 0x405ff1
push 0x3fe33333
push 0x33333333
push eax
call fcn.00402820
add esp, 0xc
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea ecx, [esp + 0x14]
call fcn.0044841f
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x10]
neg eax
sbb eax, eax
and eax, edi
mov edi, dword [esp + 0x38]
push eax
lea eax, [esp + 0x1c]
mov ecx, dword [edi + 4]
push eax
push ecx
call dword [sym.imp.USER32.dll_FillRect]
lea ecx, [esp + 0x10]
call fcn.00448476
call fcn.00401900
test eax, eax
je 0x406049
mov eax, dword [edi + 4]
push 0xf
lea edx, [esp + 0x1c]
push 2
push edx
push eax
call dword [sym.imp.USER32.dll_DrawEdge]
mov eax, dword [esp + 0x44]
push 7
test eax, eax
jne 0x40606d
call ebx
mov ecx, dword [esi + 4]
mov edx, dword [esi]
add ecx, 4
push eax
add edx, 4
push ecx
push edx
push edi
mov ecx, ebp
call fcn.00404dc0
jmp 0x406085
call ebx
mov ecx, dword [esi]
push eax
mov eax, dword [esi + 4]
add ecx, 5
add eax, 4
push eax
push ecx
push edi
mov ecx, ebp
call fcn.00404ca0
mov dword [esp + 0x10], vtable.CGdiObject.0
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 1
call fcn.00448476
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 0x10

Function at 0x4065d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
call fcn.0044f0ad
mov edi, dword [esp + 0x14]
mov ebx, dword [eax + 0xc]
mov ebp, dword [sym.imp.KERNEL32.dll_FindResourceA]
and edi, 0xffff
push 2
push edi
push ebx
call ebp
mov esi, eax
test esi, esi
jne 0x40660b
xor ebx, ebx
push 2
push edi
push ebx
call ebp
mov esi, eax
test esi, esi
jne 0x40660b
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x40661c
pop edi
pop esi
pop ebp
pop ebx
ret
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
jne 0x40662c
pop edi
pop esi
pop ebp
pop ebx
ret
push eax
call fcn.00406590
add esp, 4
cmp ax, 0x10
je 0x406642
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
push 0
push esi
push ebx
call fcn.0044912e
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x406800
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [0x471e58]
sub esp, 0x134
test eax, eax
jne 0x4068d5
lea eax, [esp]
mov dword [0x471e58], 1
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftPlus_ThemesCurrent
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4068d5
push esi
lea ecx, [esp + 0xc]
push edi
lea edx, [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push 0
push ecx
mov dword [esp + 0x28], 0x104
mov dword [esp + 0x24], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4068c8
mov ecx, 5
mov esi, str.Windows_Classic.theme
lea edi, [esp + 0x14]
lea edx, [esp + 0x2c]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push edx
call edi
mov esi, eax
lea eax, [esp + 0x14]
push eax
call edi
cmp esi, eax
jl 0x4068c8
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
call edi
sub esi, eax
lea eax, [esp + esi + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x4068c8
mov dword [0x471e54], 1
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, dword [0x471e54]
add esp, 0x134
ret
Function at 0x40d930
Capabilities:
Copy file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x453da0
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0x58
push ebx
or ebx, 0xffffffff
push esi
mov esi, ecx
test eax, eax
je 0x40d989
push edi
lea edi, [esi + 4]
push str..bak
lea eax, [esp + 0x78]
push edi
push eax
call fcn.00444ea4
mov ecx, dword [esp + 0x74]
mov edi, dword [edi]
push 1
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea ecx, [esp + 0x74]
mov dword [esp + 0x6c], ebx
call fcn.00444c0f
pop edi
push 1
lea ecx, [esp + 0xc]
call fcn.00435b2e
mov edx, dword [0x45f10c]
mov eax, dword [esi + 4]
push edx
push 0x82
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x74], 1
call fcn.00435c20
mov eax, dword [esp + 8]
mov ecx, dword [eax + 4]
mov eax, dword [esp + ecx + 0xc]
cmp dword [eax + 0x4c], ebx
je 0x40da0d
mov eax, dword [esi + 0xc]
mov esi, dword [esi + 0x20]
push eax
push esi
lea ecx, [esp + 0x10]
call fcn.004363e3
lea ecx, [esp + 8]
call fcn.00435c62
lea ecx, [esp + 0x10]
mov dword [esp + 0x68], ebx
call fcn.00435bdf
lea ecx, [esp + 0x10]
call fcn.00435f82
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
add esp, 0x64
ret 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x68], ebx
call fcn.00435bdf
lea ecx, [esp + 0x10]
call fcn.00435f82
mov ecx, dword [esp + 0x60]
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x64
ret 4

Function at 0x40dd18
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x453dd8
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
mov esi, ecx
call fcn.0044f0ad
mov ecx, dword [esp + 0x30]
mov eax, dword [eax + 8]
push 0x10
push 0
push 0
push 0
push ecx
push eax
call dword [sym.imp.USER32.dll_LoadImageA]
test eax, eax
jne 0x40dd4d
pop esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 4
mov dword [esp + 8], 0
mov dword [esp + 4], 0x458808
push eax
lea ecx, [esp + 8]
mov dword [esp + 0x2c], 0
call fcn.0044841f
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call fcn.00441759
push eax
lea ecx, [esp + 0x10]
call fcn.00448177
lea edx, [esp + 4]
lea eax, [esp + 0xc]
push edx
push eax
mov ecx, esi
mov byte [esp + 0x30], 1
call fcn.0040dab0
lea ecx, [esp + 4]
mov esi, eax
call fcn.00448476
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 0
call fcn.004481e9
mov dword [esp + 4], vtable.CGdiObject.0
lea ecx, [esp + 4]
mov dword [esp + 0x28], 2
call fcn.00448476
mov ecx, dword [esp + 0x20]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret 4
Function at 0x40de2e
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x453e08
push eax
mov eax, dword [esp + 0x14]
mov dword fs:[0], esp
sub esp, 0x1c
test eax, eax
push esi
mov esi, ecx
jne 0x40de68
call fcn.0044f0ad
mov ecx, dword [esp + 0x30]
mov eax, dword [eax + 8]
push 0x2000
push 0
push 0
push 0
push ecx
push eax
call dword [sym.imp.USER32.dll_LoadImageA]
test eax, eax
jne 0x40de68
pop esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 8
mov dword [esp + 8], 0
mov dword [esp + 4], 0x458808
push eax
lea ecx, [esp + 8]
mov dword [esp + 0x2c], 0
call fcn.0044841f
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call fcn.00441759
push eax
lea ecx, [esp + 0x10]
call fcn.00448177
lea edx, [esp + 4]
lea eax, [esp + 0xc]
push edx
push eax
mov ecx, esi
mov byte [esp + 0x30], 1
call fcn.0040dab0
lea ecx, [esp + 4]
mov esi, eax
call fcn.00448476
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 0
call fcn.004481e9
mov dword [esp + 4], vtable.CGdiObject.0
lea ecx, [esp + 4]
mov dword [esp + 0x28], 2
call fcn.00448476
mov ecx, dword [esp + 0x20]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret 8

Function at 0x40ed10
Capabilities:
Create thread
Resume thread

Disassembly:
mov eax, dword [esp + 4]
push ebx
push ebp
push esi
test eax, eax
push edi
mov esi, ecx
je 0x40ed60
mov eax, dword [esi + 0x2a4]
xor edi, edi
test eax, eax
jle 0x40ed94
mov ebp, dword [sym.imp.KERNEL32.dll_CreateThread]
lea ebx, [esi + 0x114]
lea eax, [esp + 0x14]
push eax
push 0
push esi
push 0x40fd00
push 0
push 0
call ebp
mov dword [ebx], eax
mov eax, dword [esi + 0x2a4]
inc edi
add ebx, 4
cmp edi, eax
jl 0x40ed36
pop edi
pop esi
pop ebp
pop ebx
ret 4
mov eax, dword [esi + 0x2a4]
xor ebx, ebx
test eax, eax
jle 0x40ed94
mov ebp, dword [sym.imp.KERNEL32.dll_ResumeThread]
lea edi, [esi + 0x114]
mov ecx, dword [edi]
push ecx
call ebp
mov edx, dword [edi]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 0x2a4]
inc ebx
add edi, 4
cmp ebx, eax
jl 0x40ed78
pop edi
pop esi
pop ebp
pop ebx
ret 4