joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46db70
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
push 0
mov eax, dword [ebp + 0xc]
sub eax, 2
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004e7c20
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
push 2
push 1
lea eax, [ebp - 4]
push eax
call fcn.004e76a0
add esp, 0x10
lea ecx, [ebp - 4]
push ecx
call fcn.0046db20
add esp, 4
mov esp, ebp
pop ebp
ret 8

Function at 0x46dbc0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp + 0x10]
push eax
push 1
call fcn.004e40c0
add esp, 8
mov dword [ebp - 4], eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004e7c20
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
push 1
mov edx, dword [ebp - 4]
push edx
call fcn.004e76a0
add esp, 0x10
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x46e8a0
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5282bc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x30], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x30]
cmp dword [eax + 0x8c], 0
jne 0x46e8ff
push str.Call_one_of_the_CPictureEx::Load___member_functions_before_calling_Draw___n
push 0x1ed
push 0x5436bc
lea ecx, [ebp - 0x24]
call fcn.00401a00
push eax
call fcn.004715e0
add esp, 8
xor eax, eax
jmp 0x46ea3c
mov ecx, dword [ebp - 0x30]
call fcn.004702d0
test eax, eax
je 0x46e979
lea ecx, [ebp - 0x14]
push ecx
push 4
mov edx, dword [ebp - 0x30]
push edx
push 0x46f650
push 0
push 0
call fcn.004ed410
add esp, 0x18
mov ecx, dword [ebp - 0x30]
mov dword [ecx + 0xa8], eax
mov edx, dword [ebp - 0x30]
cmp dword [edx + 0xa8], 0
jne 0x46e964
push str.Draw:_Couldnt_start_a_GIF_animation_thread_n
push 0x1fb
push 0x5436bc
lea ecx, [ebp - 0x2c]
call fcn.00401a00
push eax
call fcn.004715e0
add esp, 8
xor eax, eax
jmp 0x46ea3c
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0xa8]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x46ea22
mov edx, dword [ebp - 0x30]
cmp dword [edx + 0xb0], 0
je 0x46ea22
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 0xb0]
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0xb0]
mov edx, dword [edx]
push ecx
mov eax, dword [edx + 0x18]
call eax
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 0xb0]
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 0xb0]
mov eax, dword [eax]
push edx
mov ecx, dword [eax + 0x1c]
call ecx
push 0
mov edx, dword [ebp - 0x1c]
neg edx
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
push 0
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 0x68]
push eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 0x64]
push edx
push 0
push 0
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0x90]
push ecx
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 0xb0]
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 0xb0]
mov eax, dword [eax]
push edx
mov ecx, dword [eax + 0x20]
call ecx
test eax, eax
jne 0x46ea22
push 0
mov ecx, dword [ebp - 0x30]
call fcn.00498bc0
mov eax, 1
jmp 0x46ea3c
xor eax, eax
jmp 0x46ea3c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46ed80
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5282ea
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x38
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x48], ecx
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
jne 0x46edc6
push 0x262
push str.PictureEx.cpp
call fcn.004b8810
test eax, eax
je 0x46edc6
int3
cmp dword [ebp + 0xc], 0
jne 0x46ede0
push 0x263
push str.PictureEx.cpp
call fcn.004b8810
test eax, eax
je 0x46ede0
int3
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004b2660
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x46ee16
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.004b2660
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x46ee41
mov edx, dword [ebp + 8]
push edx
push str.Load__resource_:_Error_loading_resource__s_n
push 0x269
push 0x5436bc
lea ecx, [ebp - 0x34]
call fcn.00401a00
push eax
call fcn.004715e0
add esp, 0xc
xor eax, eax
jmp 0x46ef58
mov eax, dword [ebp - 0x28]
push eax
call fcn.004b2660
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
push ecx
push 0x22
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x46ee9a
push str.Load__resource_:_Error_allocating_memory_n
push 0x274
push 0x5436bc
lea ecx, [ebp - 0x3c]
call fcn.00401a00
push eax
call fcn.004715e0
add esp, 8
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
jmp 0x46ef58
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x46eec0
cmp dword [ebp - 0x14], 0
jne 0x46eef8
push str.Load__resource_:_Error_locking_memory_n
push 0x27d
push 0x5436bc
lea ecx, [ebp - 0x44]
call fcn.00401a00
push eax
call fcn.004715e0
add esp, 8
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
jmp 0x46ef58
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.004dffb0
add esp, 0xc
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x48]
call fcn.0046e100
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 0x1c]
jmp 0x46ef58
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x472e10
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov dword [ebp - 0x224], ecx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
jne 0x472e46
mov eax, 1
jmp 0x472fe0
lea edx, [ebp - 8]
push edx
push 0x20019
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
je 0x472ea4
cmp dword [ebp - 0x214], 2
jne 0x472e90
push str.Key_not_found._n
call fcn.004e31e0
add esp, 4
mov eax, 1
jmp 0x472fe0
push str.Error_opening_key._n
call fcn.004e31e0
add esp, 4
xor eax, eax
jmp 0x472fe0
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp + 0xc]
lea edx, [ecx + eax*2]
mov dword [ebp - 0x220], edx
mov eax, dword [ebp - 0x220]
movzx ecx, word [eax - 2]
cmp ecx, 0x5c
je 0x472ef1
mov edx, 0x5c
mov eax, dword [ebp - 0x220]
mov word [eax], dx
mov ecx, dword [ebp - 0x220]
add ecx, 2
mov dword [ebp - 0x220], ecx
xor edx, edx
mov eax, dword [ebp - 0x220]
mov word [eax], dx
mov dword [ebp - 4], 0x104
lea ecx, [ebp - 0x21c]
push ecx
push 0
push 0
push 0
lea edx, [ebp - 4]
push edx
lea eax, [ebp - 0x210]
push eax
push 0
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
jne 0x472f96
lea edx, [ebp - 0x210]
push edx
push 0x208
mov eax, dword [ebp - 0x220]
push eax
call fcn.00474820
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x224]
call fcn.00473e40
test eax, eax
jne 0x472f5c
jmp 0x472f96
mov dword [ebp - 4], 0x104
lea eax, [ebp - 0x21c]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x210]
push edx
push 0
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
je 0x472f2b
mov ecx, dword [ebp - 0x220]
sub ecx, 2
mov dword [ebp - 0x220], ecx
xor edx, edx
mov eax, dword [ebp - 0x220]
mov word [eax], dx
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
jne 0x472fde
mov eax, 1
jmp 0x472fe0
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x4732c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52859d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x34
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], 0
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.0044e4a0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x14]
push eax
push 0x20019
push 0
lea ecx, [ebp + 0x10]
call fcn.00459cf0
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x473385
lea edx, [ebp - 0x14]
push edx
push 0x20119
push 0
lea ecx, [ebp + 0x10]
call fcn.00459cf0
push eax
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x473385
push 0x536a04
mov ecx, dword [ebp + 8]
call fcn.0041baf0
mov ecx, dword [ebp - 0x38]
or ecx, 1
mov dword [ebp - 0x38], ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.00401640
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x10]
call fcn.00401640
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x14]
call fcn.00401640
mov eax, dword [ebp + 8]
jmp 0x4734cb
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 4
lea edx, [ebp - 0x20]
push edx
push 0
lea eax, [ebp - 0x18]
push eax
push 0
lea ecx, [ebp + 0x14]
call fcn.00459cf0
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x1c], eax
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x20]
push eax
lea ecx, [ebp - 0x24]
call fcn.00403530
push eax
lea ecx, [ebp - 0x18]
push ecx
push 0
lea ecx, [ebp + 0x14]
call fcn.00459cf0
push eax
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x1c], eax
jmp 0x47342f
mov dword [ebp - 4], 3
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0xffffffffffffffff
lea ecx, [ebp - 0x24]
call fcn.00474870
cmp dword [ebp - 0x1c], 0
je 0x47348f
push str.NULLABLE
mov ecx, dword [ebp + 8]
call fcn.0041baf0
mov eax, dword [ebp - 0x38]
or eax, 1
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.00401640
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x10]
call fcn.00401640
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x14]
call fcn.00401640
mov eax, dword [ebp + 8]
jmp 0x4734cb
lea ecx, [ebp - 0x24]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004100e0
mov edx, dword [ebp - 0x38]
or edx, 1
mov dword [ebp - 0x38], edx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.00401640
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x10]
call fcn.00401640
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x14]
call fcn.00401640
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4736f0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x528621
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
mov dword [ebp - 0x30], ecx
mov dword [ebp - 4], 2
mov dword [ebp - 0x18], 0xfffffff6
lea ecx, [ebp + 0xc]
call fcn.0045c9f0
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
lea eax, [ebp + 8]
push eax
call fcn.004100e0
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x38], ecx
mov byte [ebp - 4], 3
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x30]
call fcn.00473dc0
mov dword [ebp - 0x3c], eax
mov edx, dword [ebp - 0x3c]
push edx
mov ecx, dword [ebp - 0x30]
call fcn.00473cc0
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
lea ecx, [ebp + 0xc]
call fcn.00459cf0
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
lea edx, [ebp + 8]
push edx
call fcn.004100e0
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 4
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x30]
call fcn.00473dc0
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x473824
lea edx, [ebp - 0x10]
push edx
lea ecx, [ebp + 0xc]
call fcn.00459cf0
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
lea eax, [ebp + 8]
push eax
call fcn.004100e0
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x50], ecx
mov byte [ebp - 4], 5
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x30]
call fcn.00473dc0
mov dword [ebp - 0x54], eax
mov edx, dword [ebp - 0x54]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
je 0x473824
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.00401640
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.00401640
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.00401640
mov eax, dword [ebp - 0x28]
jmp 0x47387e
push 4
lea ecx, [ebp + 0x14]
push ecx
push 4
push 0
lea ecx, [ebp + 0x10]
call fcn.00459cf0
push eax
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x2c], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.00401640
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.00401640
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.00401640
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x47cba0
Capabilities:
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5296f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov dword [ebp - 0x30], 0
push str.Caption
push 0x530754
push str.SELECT__FROM_Win32_OperatingSystem
push str.ROOTcimv2
lea eax, [ebp - 0x2c]
push eax
call fcn.0047c300
add esp, 0x14
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00401e80
mov edx, dword [ebp - 0x30]
or edx, 1
mov dword [ebp - 0x30], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00401ef0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x47cc20
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52972c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x21c
mov dword [ebp - 0x228], ecx
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x21c], 0xff
xor eax, eax
mov word [ebp - 0x214], ax
push 0x1fc
push 0
lea ecx, [ebp - 0x212]
push ecx
call fcn.004df590
add esp, 0xc
mov dword [ebp - 0x10], 0x1fe
mov edx, dword [ebp - 0x10]
push edx
lea eax, [ebp - 0x214]
push eax
push 0x59
push 0x800
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov dword [ebp - 0x218], eax
lea ecx, [ebp - 0x220]
call fcn.0044e4a0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x214]
push ecx
lea ecx, [ebp - 0x220]
call fcn.00410130
lea edx, [ebp - 0x220]
push edx
mov ecx, dword [ebp + 8]
call fcn.004100e0
mov eax, dword [ebp - 0x224]
or eax, 1
mov dword [ebp - 0x224], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x220]
call fcn.00401640
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x48c23b
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x529ede
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x244
mov eax, dword [0x581890]
xor eax, ebp
mov dword [ebp - 0x20], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x14]
call fcn.004100e0
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x48c15d
call fcn.004b7d50
cmp eax, 1
jne 0x48c15d
lea ecx, [ebp - 0x14]
push ecx
push str.SoftwareClasses_
lea edx, [ebp - 0x238]
push edx
call fcn.0041eeb0
add esp, 0xc
mov dword [ebp - 0x248], eax
mov eax, dword [ebp - 0x248]
mov dword [ebp - 0x24c], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x24c]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00421ab0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x238]
call fcn.00401640
mov dword [ebp + 8], 0x80000001
lea edx, [ebp - 0x18]
push edx
lea ecx, [ebp - 0x14]
call fcn.00459cf0
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x48c27d
push 0x104
lea ecx, [ebp - 0x230]
push ecx
push 0
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x48c24b
mov byte [ebp - 4], 2
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x240]
call fcn.0041baf0
mov dword [ebp - 0x250], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x240]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call fcn.0048c0b0
mov dword [ebp - 0x254], eax
mov eax, dword [ebp - 0x254]
mov dword [ebp - 0x1c], eax
xor ecx, ecx
cmp dword [ebp - 0x1c], 0
setne cl
mov byte [ebp - 0x239], cl
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x240]
call fcn.00401640
movzx edx, byte [ebp - 0x239]
test edx, edx
je 0x48c214
mov byte [ebp - 4], 0
jmp 0x48c24b
jmp 0x48c23b
mov dword [ebp - 4], 0
jmp 0x48c246
jmp 0x48c181
cmp dword [ebp - 0x1c], 0x103
je 0x48c25d
cmp dword [ebp - 0x1c], 0x3f2
jne 0x48c273
lea ecx, [ebp - 0x14]
call fcn.00459cf0
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x244], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00401640
mov eax, dword [ebp - 0x244]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.004eddb0
mov esp, ebp
pop ebp
ret 8
Function at 0x48f560
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 0x48f590
push 0x45d
push 0x54af80
call fcn.004b8810
test eax, eax
je 0x48f590
int3
mov eax, dword [ebp - 8]
cmp dword [eax + 0x50], 0
jne 0x48f5d6
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
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.0047f1b0
push eax
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, dword [ebp + 8]
call fcn.00474870
jmp 0x48f5f0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x50]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 0x50]
mov edx, dword [eax]
mov eax, dword [edx + 0x94]
call eax
mov esp, ebp
pop ebp
ret 4

Function at 0x495a20
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 0x495aa5
call fcn.004b2660
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_FindResourceW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x495aa5
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 0x495a7e
xor eax, eax
jmp 0x495ad6
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 0x495aa5
push 0x1047
push 0x54af80
call fcn.004b8810
test eax, eax
je 0x495aa5
int3
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.00495ae0
mov dword [ebp - 8], eax
cmp dword [ebp - 4], 0
je 0x495ad3
cmp dword [ebp - 0xc], 0
je 0x495ad3
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.004a3a20
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 0x499bc0
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52bfa8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x581890]
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 0x499c18
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0x50], 0
jne 0x499c18
push 0x100
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcwinocc.cpp
call fcn.004b8810
test eax, eax
je 0x499c18
int3
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0x50], 0
jne 0x499c3a
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_GetWindowTextW]
jmp 0x499c9d
lea ecx, [ebp - 0x10]
call fcn.0044e4a0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x50]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x50]
mov edx, dword [edx]
mov eax, dword [edx + 0x94]
call eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.00459cf0
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0047e110
add esp, 0x10
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00401640
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8