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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1a24
call fcn.00571a00
mov eax, dword [0x601ff0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, ecx
push edi
xor edi, edi
push edi
push edi
push 0x188
push dword [ebx + 0x958]
call esi
push edi
push edi
push 0x184
push dword [ebx + 0x958]
mov dword [ebp - 0x1a24], eax
call esi
mov ecx, edi
movzx eax, word [ecx + 0x6029d0]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x1a0e], ax
test ax, ax
jne 0x4230fb
lea edi, [ebp - 0x1a0c]
sub edi, 2
xor ecx, ecx
mov ax, word [edi + 2]
lea edi, [edi + 2]
cmp ax, cx
jne 0x42311d
mov eax, dword [0x5d8e78]
mov dword [edi], eax
lea edi, [ebp - 0x1a0c]
sub edi, 2
mov ax, word [edi + 2]
add edi, 2
cmp ax, cx
jne 0x423139
push 0xe
pop ecx
mov esi, str.Groupy.iniGroupyExclusions
lea eax, [ebp - 0x1a18]
rep movsd dword es:[edi], dword [esi]
push eax
lea eax, [ebp - 0x1a0c]
push eax
push SysReAllocString
movsw word es:[edi], word [esi]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
xor ecx, ecx
mov dword [ebp - 0x1a20], 1
mov edi, ecx
mov dword [ebp - 0x1a14], 0x104
xor eax, eax
push 0x206
mov word [ebp - 0x620], ax
lea eax, [ebp - 0x20e]
push ecx
push eax
call fcn.005744c0
add esp, 0xc
mov dword [ebp - 0x1a1c], 0x104
xor eax, eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x1a1c]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x1a20]
push eax
push 0
lea eax, [ebp - 0x1a14]
push eax
lea eax, [ebp - 0x620]
push eax
push edi
push dword [ebp - 0x1a18]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
xor ecx, ecx
inc edi
mov word [ebp - 0xa], cx
mov word [ebp - 0x41a], cx
cmp eax, 0x103
je 0x42323c
lea eax, [ebp - 0x620]
push eax
lea ecx, [ebp - 0x1a10]
call fcn.00403242
push dword [ebp - 0x1a10]
push 0
push 0x180
push dword [ebx + 0x958]
call esi
mov ecx, dword [ebp - 0x1a10]
lea ecx, [ecx - 0x10]
call fcn.0040241e
xor ecx, ecx
jmp 0x42317e
push dword [ebp - 0x1a18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
push dword [ebp - 0x1a24]
push 0x186
push dword [ebx + 0x958]
call esi
mov ecx, ebx
call fcn.00423081
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00570fd6
mov esp, ebp
pop ebp
ret
Function at 0x4247c3
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1a24
call fcn.00571a00
mov eax, dword [0x601ff0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, ecx
push edi
xor edi, edi
push edi
push edi
push 0x188
push dword [ebx + 0x178]
call esi
push edi
push edi
push 0x184
push dword [ebx + 0x178]
mov dword [ebp - 0x1a24], eax
call esi
mov ecx, edi
movzx eax, word [ecx + 0x602990]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x1a0e], ax
test ax, ax
jne 0x42480d
lea edi, [ebp - 0x1a0c]
sub edi, 2
xor ecx, ecx
mov ax, word [edi + 2]
lea edi, [edi + 2]
cmp ax, cx
jne 0x42482f
mov eax, dword [0x5d8e78]
mov dword [edi], eax
lea edi, [ebp - 0x1a0c]
sub edi, 2
mov ax, word [edi + 2]
add edi, 2
cmp ax, cx
jne 0x42484b
push 0xe
pop ecx
mov esi, str.Groupy.iniGroupyExclusions
lea eax, [ebp - 0x1a18]
rep movsd dword es:[edi], dword [esi]
push eax
lea eax, [ebp - 0x1a0c]
push eax
push SysReAllocString
movsw word es:[edi], word [esi]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
xor ecx, ecx
mov dword [ebp - 0x1a20], 1
mov edi, ecx
mov dword [ebp - 0x1a14], 0x104
xor eax, eax
push 0x206
mov word [ebp - 0x620], ax
lea eax, [ebp - 0x20e]
push ecx
push eax
call fcn.005744c0
add esp, 0xc
mov dword [ebp - 0x1a1c], 0x104
xor eax, eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x1a1c]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x1a20]
push eax
push 0
lea eax, [ebp - 0x1a14]
push eax
lea eax, [ebp - 0x620]
push eax
push edi
push dword [ebp - 0x1a18]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
xor ecx, ecx
inc edi
mov word [ebp - 0xa], cx
mov word [ebp - 0x41a], cx
cmp eax, 0x103
je 0x42494e
lea eax, [ebp - 0x620]
push eax
lea ecx, [ebp - 0x1a10]
call fcn.00403242
push dword [ebp - 0x1a10]
push 0
push 0x180
push dword [ebx + 0x178]
call esi
mov ecx, dword [ebp - 0x1a10]
lea ecx, [ecx - 0x10]
call fcn.0040241e
xor ecx, ecx
jmp 0x424890
push dword [ebp - 0x1a18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
push dword [ebp - 0x1a24]
push 0x186
push dword [ebx + 0x178]
call esi
mov ecx, ebx
call fcn.00424d25
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00570fd6
mov esp, ebp
pop ebp
ret
Function at 0x427c2f
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x601ff0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x61dbe4], 0
mov dword [ebp - 0x54], ecx
jne 0x427d62
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetDesktopWindow]
push edi
call esi
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0x78
push edi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push str.SetWindowRgnEx
push str.USER32.DLL
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x427c9d
test bl, 1
jne 0x427c9d
push edi
call esi
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
jmp 0x427d5f
push edi
call esi
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ebx, dword [ebp - 0x54]
lea eax, [ebp - 0x50]
and dword [ebp - 0x50], 0
and dword [ebp - 0x4c], 0
push eax
push ebx
mov dword [0x61dc04], 1
mov dword [ebp - 0x48], ebx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov esi, dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp - 0x44]
push eax
push ebx
call esi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3eb
push dword [0x61db68]
call edi
lea ecx, [ebp - 0x14]
push ecx
push eax
call esi
add dword [ebp - 0xc], 0x20
lea eax, [ebp - 0x34]
push eax
push ebx
call esi
mov edx, dword [ebp - 0xc]
mov eax, edx
sub eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x40]
add dword [ebp - 0x34], eax
sub edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x50]
add edx, ecx
mov eax, dword [ebp - 0x4c]
add dword [ebp - 0x44], edx
add dword [ebp - 0x3c], ecx
add dword [ebp - 0x38], eax
mov dword [ebp - 0x30], esi
add esi, eax
push 0x3ea
push ebx
mov dword [ebp - 0x40], esi
call edi
lea ecx, [ebp - 0x24]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x48]
push eax
push 0
push 0x427a36
call fcn.0057ce4c
add esp, 0xc
jmp 0x427d56
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x61dc04], 0
jne 0x427d4e
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00570fd6
mov esp, ebp
pop ebp
ret
Function at 0x4295a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4fc
mov eax, dword [0x601ff0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 4
pop ebx
push 0xf
pop ecx
and dword [ebp - 0x4f0], 0
lea edi, [ebp - 0x4ec]
mov esi, str.SOFTWAREMicrosoftWindowsCurrentVersionThemesPersonalize
mov dword [ebp - 0x4f8], ebx
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x4f4]
push eax
lea eax, [ebp - 0x4ec]
push eax
push SysReAllocString
movsb byte es:[edi], byte [esi]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
lea eax, [ebp - 0x4f8]
mov dword [ebp - 0x4fc], ebx
push eax
lea eax, [ebp - 0x4f0]
push eax
lea eax, [ebp - 0x4fc]
push eax
push 0
push str.AppsUseLightTheme
push dword [ebp - 0x4f4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [ebp - 0x4f0]
xor esi, esi
push dword [ebp - 0x4f4]
inc esi
test eax, eax
cmovne ecx, esi
mov dword [ebp - 0x4f0], ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [0x61e6bc]
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [ebp - 0x4f0], 0
jne 0x429660
mov dword [0x61db30], esi
push 0x1e1e1e
jmp 0x42966c
and dword [0x61db30], 0
push 0xffffff
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov ecx, dword [ebp - 4]
mov dword [0x61e6bc], eax
xor eax, eax
cmp dword [0x61db30], eax
pop edi
setne al
xor ecx, ebp
pop esi
pop ebx
call fcn.00570fd6
mov esp, ebp
pop ebp
ret

Function at 0x42a578
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 8]
push esi
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionThemesPersonalize
xor esi, esi
push SysReAllocString
inc esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x42a5cc
and dword [ebp - 4], eax
push 4
pop eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push str.ColorPrevalence
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x42a5cc
cmp dword [ebp - 4], eax
cmove esi, eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4320ad
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x4320f2
call fcn.0043d40a
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4320f2
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x43210e
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0043c2c5
mov ebx, eax
test edi, edi
je 0x43210c
test esi, esi
je 0x43210c
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x432af8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x432bb6
cmp dword [esi + 0x20], 0
je 0x432bb6
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x432bb6
cmp dword [ebp + 8], 0
je 0x432bb6
xor eax, eax
mov ebx, eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], ebx
mov edi, eax
call fcn.0043d40a
push 0x5a6c58
push dword [ebp + 8]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x432b87
mov edi, dword [ebp - 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 0x10]
mov dword [ebp - 4], eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x432bb6
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov dword [ebp - 8], eax
push dword [ebp - 4]
push ebx
push esi
call fcn.00448af7
add esp, 0xc
mov ebx, eax
cmp dword [ebp - 8], 0
je 0x432ba7
test edi, edi
je 0x432ba7
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
test ebx, ebx
je 0x432bb2
mov ecx, esi
call fcn.0043289b
mov eax, ebx
jmp 0x432bb8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x43752e
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x5a1f53
call fcn.00571861
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x74], ebx
jne 0x437554
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x4375b3
call fcn.0043a156
push eax
lea ecx, [ebp - 0x10]
call fcn.0040232f
mov edi, dword [edi + 0x74]
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 4], ebx
mov eax, dword [edi]
mov esi, dword [eax + 0x8c]
mov ecx, esi
call fcn.00571824
mov ecx, edi
call esi
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push esi
call fcn.0057d786
push eax
call fcn.00403001
add esp, 0x14
test esi, esi
je 0x4375a6
push esi
call fcn.0057d69e
pop ecx
mov ebx, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040241e
mov eax, ebx
call fcn.0057182a
ret 8
Function at 0x4385db
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, ecx
push edi
mov edi, dword [ebp + 8]
mov dword [ebx + 0x84], edi
test edi, 0xffff0000
jne 0x438606
cmp dword [ebx + 0x80], 0
jne 0x438606
movzx eax, di
mov dword [ebx + 0x80], eax
call fcn.0043d40a
push 5
push edi
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov edi, eax
mov ecx, ebx
push edi
call fcn.00438899
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x438640
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
call fcn.0043d40a
push 5
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x438677
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.00438698
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x43cc7d
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [esi + 4]
call fcn.00437122
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x43ccb9
call fcn.0043ce9f
mov dword [esi + 0xc], 1
jmp 0x43ccbe
call fcn.0043ce9f
cmp dword [esi], 0
je 0x43cd07
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x43cce1
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.0042f2ef
jmp 0x43ccf2
push 0xff
mov ecx, esi
call fcn.0040253a
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.0042f6bd
jmp 0x43cd2b
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x43cd2b
push dword [esi]
push dword [ebp - 4]
call fcn.0044607d
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x43cdf4
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.0043ce9f
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x43ce3c
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0042f2ef
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0042f6bd
jmp 0x43ce47
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.0044607d
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x43ecba
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov dword [ebp - 4], ebx
test byte [esi + 4], 1
je 0x43ecd4
mov edi, dword [esi + 0xc]
jmp 0x43ed14
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x43eced
call fcn.0043ae1e
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x43ed02
call fcn.0043ae1e
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x43ed14
call fcn.0043ae1e
call fcn.0043d40a
cmp dword [eax + 0x3c], 0
je 0x43ed29
push edi
mov ecx, ebx
call fcn.0043e34e
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.0043ef06
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x88]
test ecx, ecx
je 0x43ed52
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
and dword [eax + 0x88], 0
test ebx, ebx
je 0x43ed5e
mov edi, ebx
mov dword [eax + 0x88], ebx
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x44186a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor esi, esi
mov eax, ecx
push edi
mov edi, esi
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], esi
je 0x4418b4
call fcn.0043d40a
push 0xf0
push dword [ebp + 0xc]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4418b1
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x441902
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov eax, dword [ebp - 4]
xor ebx, ebx
inc ebx
test esi, esi
je 0x4418e0
mov ecx, dword [eax]
push dword [ebp + 0x10]
push esi
mov esi, dword [ecx + 0x20]
mov ecx, esi
push dword [ebp + 8]
call fcn.00571824
mov ecx, dword [ebp - 4]
call esi
mov ebx, eax
test edi, edi
je 0x4418e0
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp + 8]
mov edi, dword [eax + 0x70]
test edi, edi
je 0x441900
mov eax, dword [edi]
push dword [ebp + 0x10]
mov esi, dword [eax + 0xa0]
mov ecx, esi
call fcn.00571824
mov ecx, edi
call esi
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x442934
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
push edi
cmp dword [ecx + 0x58], esi
je 0x442987
push esi
push dword [ebp + 8]
call fcn.00442b27
mov edi, eax
test edi, edi
jne 0x442957
mov eax, dword [ebp + 0x10]
jmp 0x442999
lea eax, [ebp - 4]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push dword [ebp + 0xc]
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x442952
mov eax, dword [ebp - 8]
jmp 0x442999
push dword [ecx + 0x6c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4a45c4
Capabilities:
Get file system object information

Disassembly:
push 0x4cc
mov eax, 0x59b4ba
call fcn.00571895
mov ebx, ecx
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.00402ea5
pop ecx
lea esi, [eax + 0x10]
mov dword [ebp - 0x4d0], esi
and dword [ebp - 4], 0
lea ecx, [ebp - 0x4d0]
push 0
push 0x5d8e78
call fcn.00409768
cmp eax, 0xffffffff
jne 0x4a468f
push 0
push 0x5da480
lea ecx, [ebp - 0x4d0]
call fcn.00409768
cmp eax, 0xffffffff
jne 0x4a468f
push 0
push 0x5a9134
lea ecx, [ebp - 0x4d0]
call fcn.00409768
cmp eax, 0xffffffff
jne 0x4a468f
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.00402ea5
mov edi, eax
pop ecx
mov dword [ebp - 0x4d4], edi
lea ecx, [edi + 0x10]
mov dword [ebp - 0x4d8], ecx
xor edx, edx
mov byte [ebp - 4], 1
push edx
lea eax, [ebp - 0x218]
push eax
push 0x104
push edx
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
jne 0x4a466c
mov eax, dword [ebx]
mov edi, dword [eax + 0x14]
mov ecx, edi
call fcn.00571824
mov ecx, ebx
call edi
mov ecx, dword [ebp - 0x4d4]
mov edi, eax
call fcn.0040241e
jmp 0x4a46c7
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x4d0]
call fcn.00403202
mov ecx, edi
mov byte [ebp - 4], 0
call fcn.0040241e
mov esi, dword [ebp - 0x4d0]
push 0x105
push 0x2b4
lea eax, [ebp - 0x4cc]
push eax
push 0
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x4a46b5
mov edi, dword [ebp - 0x4cc]
jmp 0x4a46c7
mov eax, dword [ebx]
mov edi, dword [eax + 0x14]
mov ecx, edi
call fcn.00571824
mov ecx, ebx
call edi
mov edi, eax
lea ecx, [esi - 0x10]
call fcn.0040241e
mov eax, edi
call fcn.0057183f
ret
Function at 0x4aa5df
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
test esi, esi
jne 0x4aa5f8
call fcn.0043d40a
mov esi, dword [eax + 0xc]
push 0x5db4c0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x4aa64e
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4aa64d
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
test eax, eax
jne 0x4aa62e
xor esi, esi
jmp 0x4aa644
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.004aa656
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x58ae25
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0058aca4

Function at 0x58ee52
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0058eb12
Function at 0x4330e0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
jmp 0x4330f8
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jae 0x4331d6
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.00433a50
add esp, 8
sar eax, 0xc
cmp eax, 3
jne 0x4331d1
mov dword [ebp - 0x10], 0xfff
mov dword [ebp - 0xc], 0x9922c
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.00433a50
add esp, 8
and eax, dword [ebp - 0x10]
add eax, 0x8702
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0x9922c
mov dword [ebp - 0xc], 0x9922c
mov dword [ebp - 0xc], 0x9922c
mov dword [ebp - 0xc], 0x9922c
mov dword [ebp - 0xc], 0x9922c
mov dword [ebp - 0xc], 0x9922c
mov dword [ebp - 0xc], 0x9922c
mov dword [ebp - 0xc], 0x9922c
mov dword [ebp - 0xc], 0x9922c
mov dword [ebp - 0xc], 0x9922c
cmp dword [ebp - 4], 0
jne 0x4331aa
push 0x154b
push 0
call dword [sym.imp.USER32.dll_LoadIconW]
test eax, eax
je 0x4331aa
xor eax, eax
jmp 0x4331d6
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x10]
add ecx, dword [eax]
mov edx, dword [ebp - 8]
mov eax, dword [ecx + edx - 0x8702]
add eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x10]
add edx, dword [ecx]
mov ecx, dword [ebp - 8]
mov dword [edx + ecx - 0x8702], eax
jmp 0x4330ef
mov esp, ebp
pop ebp
ret

Function at 0x433a50
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], 0x240be8
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 0x240be8
push 0x15b9
push 0
call dword [sym.imp.USER32.dll_LoadIconW]
test eax, eax
je 0x433a85
xor eax, eax
jmp 0x433a8f
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
movzx eax, word [eax + edx*2]
mov esp, ebp
pop ebp
ret