joyce8/EMBER2024-capa huggingface dataset:
Function at 0x424590
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x4912b8]
sub esp, 0x30
test eax, eax
push esi
mov esi, 1
mov dword [0x477a90], esi
je 0x424612
mov ecx, dword [0x4914d8]
lea eax, [esp + 4]
push eax
push 0
push 4
mov dword [esp + 0x14], esi
mov esi, dword [sym.imp.USER32.dll_SetMenuItemInfoW]
push ecx
mov dword [esp + 0x14], 0x30
mov dword [esp + 0x20], 0
call esi
mov eax, dword [0x4914d8]
lea edx, [esp + 4]
push edx
push 0
push 5
push eax
mov dword [esp + 0x20], 3
call esi
mov eax, dword [0x4924cc]
mov ecx, dword [0x47c354]
push 9
inc eax
push ecx
mov dword [0x4924cc], eax
call dword [sym.imp.USER32.dll_ShowWindow]
dec dword [0x4924cc]
pop esi
add esp, 0x30
ret
mov eax, dword [0x4924cc]
mov edx, dword [0x47c354]
push esi
inc eax
push edx
mov dword [0x4924cc], eax
call dword [sym.imp.USER32.dll_ShowOwnedPopups]
dec dword [0x4924cc]
mov eax, dword [0x47c354]
push esi
push eax
call dword [0x47c330]
pop esi
add esp, 0x30
ret

Function at 0x424a80
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x4912b8]
sub esp, 0x30
test eax, eax
je 0x424b20
mov eax, dword [0x47c354]
push esi
push 6
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [0x4914d8]
mov esi, dword [sym.imp.USER32.dll_SetMenuItemInfoW]
lea ecx, [esp + 4]
push ecx
push 0
push 4
push edx
mov dword [esp + 0x14], 0x30
mov dword [esp + 0x18], 1
mov dword [esp + 0x20], 3
call esi
mov ecx, dword [0x4914d8]
lea eax, [esp + 4]
push eax
push 0
push 5
push ecx
mov dword [esp + 0x20], 0
call esi
mov edx, dword [0x47c354]
push 0xfffffffffffffff0
push edx
call dword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 0x20000000
push eax
mov eax, dword [0x47c354]
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
pop esi
mov dword [0x477a90], 0
call fcn.00408930
add esp, 0x30
ret
mov eax, dword [0x4912c0]
test eax, eax
push 0
je 0x424b34
mov ecx, dword [0x47c354]
push ecx
jmp 0x424b3b
mov edx, dword [0x47c354]
push edx
call dword [sym.imp.USER32.dll_ShowOwnedPopups]
mov dword [0x477a90], 0
call fcn.00408930
add esp, 0x30
ret
Function at 0x424b60
Capabilities:
Delete file
Enumerate files on windows
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc8c
mov eax, dword [0x477b14]
push ebx
push esi
push edi
push str.Startup
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push SysReAllocString
mov dword [esp + 0xca0], eax
lea eax, [esp + 0x22c]
push 0x104
push eax
call fcn.00421ce0
mov eax, dword [ebp + 8]
add esp, 0x14
cmp eax, 1
jne 0x424c10
mov word [esp + 0x18], 0
xor eax, eax
mov ecx, 0x81
lea edi, [esp + 0x1a]
rep stosd dword es:[edi], eax
push str.DesktopX_Application
lea ecx, [esp + 0x224]
push ecx
lea edx, [esp + 0x20]
push str._s_s.lnk
push edx
stosw word es:[edi], ax
call dword [sym.imp.USER32.dll_wsprintfW]
push 0
push 0x466680
push 0x466680
lea eax, [esp + 0x34]
push eax
push 0x4912d0
call fcn.00421f70
add esp, 0x24
mov eax, 1
mov ecx, dword [esp + 0xc94]
call fcn.00444c27
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
lea ecx, [esp + 0x220]
push ecx
lea edx, [esp + 0x884]
push str._s.lnk
push edx
call esi
add esp, 0xc
lea eax, [esp + 0x630]
push eax
lea ecx, [esp + 0x884]
push ecx
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [esp + 0x14], eax
je 0x424d2a
mov ebx, dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
xor eax, eax
mov word [esp + 0x428], 0
mov ecx, 0x81
lea edi, [esp + 0x42a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
mov word [esp + 0x18], 0
mov ecx, 0x81
lea edi, [esp + 0x1a]
rep stosd dword es:[edi], eax
lea edx, [esp + 0x65c]
push edx
stosw word es:[edi], ax
lea eax, [esp + 0x224]
push eax
lea ecx, [esp + 0x20]
push 0x466684
push ecx
call esi
lea edx, [esp + 0x438]
push edx
lea eax, [esp + 0x2c]
push eax
push 0
call fcn.00421ff0
add esp, 0x1c
push 0x104
lea ecx, [esp + 0xa8c]
push ecx
lea edx, [esp + 0x430]
push edx
call ebx
lea eax, [esp + 0xa88]
push eax
push 0x4912d0
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x424d11
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x630]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x424c61
jmp 0x424d2a
cmp dword [ebp + 8], 0xffffffff
mov dword [esp + 0x10], 1
jne 0x424d2a
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0xc94]
mov eax, dword [esp + 0x10]
call fcn.00444c27
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x425c30
Capabilities:
Get graphical window text

Disassembly:
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcpyW]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
xor ebx, ebx
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x425d30
mov eax, dword [eax + 8]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jae 0x425d30
mov esi, dword [ecx + ebx*4]
mov eax, dword [esi]
cmp eax, 1
jne 0x425c9b
mov eax, dword [esi + 0x2910]
push 0
push 0
push 0xf0
push eax
call edi
add esi, 4
cmp eax, 1
jne 0x425c90
push 0x466ce4
push esi
call ebp
inc ebx
jmp 0x425c42
push 0x4679c4
push esi
call ebp
inc ebx
jmp 0x425c42
cmp eax, 2
je 0x425d14
cmp eax, 5
je 0x425d14
cmp eax, 3
je 0x425d14
cmp eax, 6
je 0x425d14
cmp eax, 7
je 0x425d14
cmp eax, 8
je 0x425d14
cmp eax, 0xb
je 0x425d14
cmp eax, 4
jne 0x425cea
mov ecx, dword [esi + 0x2910]
push 0
push 0
push 0x400
push ecx
call edi
push 0xa
add esi, 4
push esi
push eax
call fcn.004453e1
add esp, 0xc
inc ebx
jmp 0x425c42
cmp eax, 9
jne 0x425d01
mov edx, dword [esi + 0x2910]
push 0
push 0
push 0x402
push edx
jmp 0x425cd3
cmp eax, 0xa
jne 0x425d2a
mov eax, dword [esi + 0x292c]
mov dword [esi + 0x2928], eax
jmp 0x425cd5
mov ecx, dword [esi + 0x2910]
push 0x801
lea eax, [esi + 4]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
inc ebx
jmp 0x425c42
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x428a90
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x48
push esi
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x428abf
xor eax, eax
pop esi
add esp, 0x48
ret
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea ecx, [esp + 0xc]
push ecx
push 0x12
lea edx, [esp + 0x1c]
push edx
push esi
mov dword [esp + 0x1c], 0
call ebp
mov al, byte [esp + 0x10]
test al, al
jne 0x428bb6
mov al, byte [esp + 0x11]
test al, al
jne 0x428bb6
cmp byte [esp + 0x12], 2
jne 0x428bb6
mov cl, byte [esp + 0x20]
mov eax, 0x20
cmp cl, al
jne 0x428bb6
movzx ecx, word [esp + 0x1c]
movzx edx, word [esp + 0x1e]
mov word [esp + 0x32], ax
xor eax, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
push edi
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
push eax
push eax
mov dword [esp + 0x34], ecx
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x3c], edx
push eax
lea edx, [esp + 0x38]
push edx
push eax
mov dword [esp + 0x40], 0x28
mov word [esp + 0x4c], 1
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x28], eax
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov edi, eax
test edi, edi
jne 0x428b86
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebp
xor eax, eax
pop esi
add esp, 0x48
ret
movzx ecx, word [esp + 0x22]
movzx edx, word [esp + 0x20]
imul ecx, edx
push 0
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x18]
shl ecx, 2
push ecx
push eax
push esi
call ebp
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop ebp
pop esi
add esp, 0x48
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
xor eax, eax
pop esi
add esp, 0x48
ret

Function at 0x42a150
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x465180
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x414
mov eax, dword [0x477b14]
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
push 0
push 0
push 3
push 0
push 1
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x42a1a3
xor eax, eax
jmp 0x42a246
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
lea ecx, [ebx + 3]
push ecx
call fcn.00445884
add esp, 4
push 0
lea edx, [ebp - 0x420]
push edx
mov edi, eax
push ebx
push edi
push esi
mov dword [ebp - 0x418], edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov dword [ebp - 0x41c], eax
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push eax
push edi
call fcn.00429f60
add esp, 8
mov esi, eax
jmp 0x42a23b
push edi
call fcn.00445979
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
call fcn.00444c27
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x433bc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4652a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push esi
push edi
mov esi, ecx
push eax
mov dword [esp + 0xc], esi
call fcn.00433b10
mov ecx, dword [esp + 0x20]
xor edi, edi
mov dword [esp + 0x14], edi
mov dword [esi], 0x469eb0
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], 0xc8
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x4c], 1
mov dword [esi + 0x78], ecx
call fcn.00428280
mov eax, dword [esi + 0x78]
mov dword [esi + 0x38], 1
mov ecx, dword [eax + 0xc]
mov dword [esi + 0x2c], ecx
mov edx, dword [eax + 0x10]
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x50], edi
mov dword [esi + 0x7c], edi
mov dword [esi + 0x80], edi
mov dword [esi + 0x88], edi
mov dword [esi + 0x30], edx
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x433dc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x465293
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push ebx
push esi
mov esi, ecx
push eax
mov dword [esp + 0xc], esi
call fcn.00433b10
xor ebx, ebx
push 0x58
mov dword [esp + 0x18], ebx
mov dword [esi], 0x469eb0
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], 0xc8
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x4c], 1
call fcn.00444aad
add esp, 4
mov dword [esp + 0x1c], eax
cmp eax, ebx
mov byte [esp + 0x14], 1
je 0x433e3e
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
push ecx
push edx
mov ecx, eax
call fcn.0042e060
jmp 0x433e40
xor eax, eax
mov ecx, eax
mov byte [esp + 0x14], bl
mov dword [esi + 0x78], eax
call fcn.00428280
mov eax, dword [esi + 0x78]
mov dword [esi + 0x38], 1
mov ecx, dword [eax + 0xc]
mov dword [esi + 0x2c], ecx
mov edx, dword [eax + 0x10]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x50], eax
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x88], ebx
mov dword [esi + 0x30], edx
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x10
Function at 0x433e90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x465293
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push ebx
push esi
mov esi, ecx
push eax
mov dword [esp + 0xc], esi
call fcn.00433b10
xor ebx, ebx
push 0x58
mov dword [esp + 0x18], ebx
mov dword [esi], 0x469eb0
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], 0xc8
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x4c], 1
call fcn.00444aad
add esp, 4
mov dword [esp + 0x1c], eax
cmp eax, ebx
mov byte [esp + 0x14], 1
je 0x433f13
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x24]
push edx
push ecx
mov ecx, eax
call fcn.0042e530
jmp 0x433f15
xor eax, eax
mov ecx, eax
mov byte [esp + 0x14], bl
mov dword [esi + 0x78], eax
call fcn.00428280
mov eax, dword [esi + 0x78]
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x38], 1
mov edx, dword [eax + 0xc]
mov dword [esi + 0x2c], edx
mov eax, dword [eax + 0x10]
mov dword [esi + 0x30], eax
mov dword [esi + 0x50], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x88], ebx
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x14
Function at 0x434580
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x465293
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push ebx
push esi
push edi
mov esi, ecx
push eax
mov dword [esp + 0x10], esi
call fcn.00433b10
mov edi, dword [esp + 0x3c]
xor ebx, ebx
and edi, 0x100
sub edi, 0x100
neg edi
sbb edi, edi
push 0x58
mov dword [esp + 0x1c], ebx
mov dword [esi], 0x469eb0
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], 0xc8
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x4c], 1
inc edi
call fcn.00444aad
add esp, 4
mov dword [esp + 0x20], eax
cmp eax, ebx
mov byte [esp + 0x18], 1
je 0x434629
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push edi
push ecx
mov ecx, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x38]
push ecx
push edx
mov ecx, eax
call fcn.0042ee50
jmp 0x43462b
xor eax, eax
mov dword [esi + 0x78], eax
mov ecx, dword [eax + 0xc]
mov dword [esi + 0x2c], ecx
mov edx, dword [eax + 0x10]
mov ecx, eax
mov byte [esp + 0x18], bl
mov dword [esi + 0x30], edx
call fcn.00428280
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x50], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x88], ebx
pop edi
mov dword [esi + 0x38], 1
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x20
Function at 0x436cd0
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea eax, [esp + 0x10]
push eax
push 2
lea ecx, [esp + 0x14]
push ecx
push esi
call edi
test eax, eax
je 0x436d43
cmp dword [esp + 0xc], 2
jne 0x436d43
cmp word [esp + 8], 0
jne 0x436d43
push 0
lea edx, [esp + 0x10]
push edx
push 2
lea eax, [esp + 0x14]
push eax
push esi
call edi
test eax, eax
je 0x436d43
cmp dword [esp + 0xc], 2
jne 0x436d43
cmp word [esp + 8], 1
jne 0x436d43
push 0
lea ecx, [esp + 0x10]
push ecx
push 2
lea edx, [esp + 0x14]
push edx
push esi
call edi
test eax, eax
je 0x436d43
cmp dword [esp + 0xc], 2
je 0x436d4c
pop edi
or eax, 0xffffffff
pop esi
add esp, 8
ret
movzx eax, word [esp + 8]
pop edi
pop esi
add esp, 8
ret
Function at 0x436e80
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x1c
mov eax, dword [esp + 0x20]
push ebx
push ebp
push 2
xor ebx, ebx
push ebx
push eax
mov dword [esp + 0x14], ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov ebp, eax
cmp ebp, ebx
jne 0x436ea7
pop ebp
xor eax, eax
pop ebx
add esp, 0x1c
ret
mov eax, dword [esp + 0x2c]
cmp eax, ebx
jge 0x436eb6
neg eax
movzx eax, ax
jmp 0x436ed9
lea ecx, [esp + 0x18]
push ecx
push 0x436d60
push 0xe
push ebp
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ebx
call dword [sym.imp.KERNEL32.dll_EnumResourceNamesW]
mov eax, dword [esp + 0x20]
cmp eax, ebx
push esi
push edi
je 0x437034
push 0xe
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_FindResourceW]
cmp eax, ebx
je 0x437062
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebx
je 0x437062
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
cmp edi, ebx
je 0x437062
movzx edx, word [edi + 4]
dec edx
shl edx, 5
add edx, 0x438
push edx
call fcn.00445884
mov esi, eax
add esp, 4
cmp esi, ebx
mov dword [esp + 0x10], esi
je 0x437062
mov ecx, dword [esp + 0x30]
movzx eax, word [edi + 4]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyW]
push ecx
lea edx, [esi + 0x20c]
push edx
mov dword [esi + 0x414], eax
call ebx
push 0x466680
lea eax, [esi + 4]
push eax
call ebx
mov eax, dword [esi + 0x414]
test eax, eax
mov dword [esp + 0x18], 0
jbe 0x437034
mov ebx, esi
add ebx, 0x424
add edi, 0x12
mov dword [esp + 0x14], edi
lea esp, [esp]
mov ecx, dword [esp + 0x14]
movzx edx, word [ecx]
push 3
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x437047
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x43704e
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
mov dword [ebx + 4], eax
je 0x43700b
push eax
call fcn.00445884
add esp, 4
mov dword [ebx], eax
mov eax, dword [ebx + 4]
push edi
mov dword [esp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, dword [ebx]
mov esi, eax
mov eax, dword [esp + 0x1c]
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebx - 0xc]
push ecx
call fcn.00436e10
add esp, 4
test eax, eax
je 0x437055
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov ecx, dword [edx + 0x414]
inc eax
add esi, 0xe
add ebx, 0x20
cmp eax, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], esi
jb 0x436f90
push ebp
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov eax, dword [esp + 0x10]
push eax
jmp 0x43705a
mov ecx, dword [esp + 0x10]
push ecx
jmp 0x43705a
mov edx, dword [esp + 0x10]
push edx
call fcn.00445979
add esp, 4
push ebp
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1c
ret
Function at 0x438490
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x628
mov eax, dword [0x477b14]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x634], eax
lea eax, [esp + 0x14]
push eax
push 1
xor ebp, ebp
push ebp
push str.Control_PanelDesktop
push SysReAllocString
mov esi, ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x438552
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x20]
push eax
push ebp
push str.Wallpaper
push ecx
mov dword [esp + 0x28], 0x104
mov dword [esp + 0x30], 2
call edi
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x430]
push eax
lea ecx, [esp + 0x20]
push ecx
push ebp
push str.WallpaperStyle
mov ebx, 0x208
push edx
mov dword [esp + 0x28], ebx
call edi
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x228]
push ecx
lea edx, [esp + 0x20]
push edx
push ebp
push str.TileWallpaper
push eax
mov dword [esp + 0x28], ebx
call edi
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
call dword [sym.imp.USER32.dll_GetSysColor]
mov dword [esi + 4], eax
mov ax, word [esp + 0x42c]
cmp ax, 0x30
jne 0x43858d
mov ax, word [esp + 0x224]
cmp ax, 0x30
jne 0x43857e
mov dword [esi + 0x28], ebp
jmp 0x4385a5
cmp ax, 0x31
jne 0x4385a5
mov dword [esi + 0x28], 1
jmp 0x4385a5
cmp ax, 0x32
jne 0x4385a5
cmp word [esp + 0x224], 0x30
jne 0x4385a5
mov dword [esi + 0x28], 2
mov eax, dword [esi + 0x28]
cmp eax, ebp
lea edi, [esi + 8]
mov dword [edi], ebp
mov dword [esi], ebp
mov dword [esi + 0xc], ebp
je 0x438610
cmp eax, 1
je 0x438610
cmp eax, 2
jne 0x438654
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
push ebp
call ebx
push 1
mov ebp, eax
call ebx
push 0x2010
push eax
push ebp
push 0
lea edx, [esp + 0x2c]
push edx
push 0
call dword [sym.imp.USER32.dll_LoadImageW]
push edi
mov dword [edi], eax
call fcn.0042df90
mov ecx, dword [edi]
add esp, 4
lea eax, [esi + 0x10]
push eax
push 0x18
push ecx
call dword [sym.imp.GDI32.dll_GetObjectW]
push 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edx, dword [edi]
push edx
jmp 0x438648
push 0x2010
push ebp
push ebp
push ebp
lea eax, [esp + 0x2c]
push eax
push ebp
call dword [sym.imp.USER32.dll_LoadImageW]
push edi
mov dword [edi], eax
call fcn.0042df90
mov edx, dword [edi]
add esp, 4
lea ecx, [esi + 0x10]
push ecx
push 0x18
push edx
call dword [sym.imp.GDI32.dll_GetObjectW]
push ebp
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [edi]
push ecx
push eax
mov dword [esi], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esi + 0xc], eax
mov ecx, dword [esp + 0x634]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
call fcn.00444c27
add esp, 0x628
ret
Function at 0x4393c0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4393f0
push esi
call fcn.0043cb40
mov al, byte [esi + 0x40]
add esp, 4
test al, al
je 0x4393e9
mov dword [esi + 0x10], 0xcf
mov al, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x439467
mov eax, dword [esi + 0x18c]
mov cl, byte [eax + 0x10]
test cl, cl
je 0x439457
mov eax, dword [esi + 8]
test eax, eax
je 0x439414
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x18c]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x439453
cmp eax, 2
je 0x439457
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x439407
cmp eax, 3
je 0x43943a
cmp eax, 1
jne 0x439407
inc dword [ecx + 4]
mov eax, dword [esi + 8]
mov edx, dword [eax + 4]
cmp edx, dword [eax + 8]
jl 0x439407
mov ecx, dword [esi + 0x118]
add dword [eax + 8], ecx
jmp 0x439407
xor al, al
pop esi
ret
mov edx, dword [esi + 0x7c]
mov dword [esi + 0x84], edx
call fcn.00439250
pop esi
ret
cmp eax, 0xcc
je 0x439487
mov eax, dword [esi]
mov dword [eax + 0x14], 0x12
mov ecx, dword [esi]
mov edx, dword [esi + 0x10]
mov dword [ecx + 0x18], edx
mov eax, dword [esi]
push esi
call dword [eax]
add esp, 4
call fcn.00439250
pop esi
ret