joyce8/EMBER2024-capa huggingface dataset:
Function at 0x466ca0
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 0x466cd0
push 0x477
push 0x6cb328
call fcn.00487100
test eax, eax
je 0x466cd0
int3
mov eax, dword [ebp - 8]
cmp dword [eax + 0x6c], 0
jne 0x466d16
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.004564a0
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.0040bcc0
jmp 0x466d30
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 0x466d40
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 0x466d70
push 0x48c
push 0x6cb328
call fcn.00487100
test eax, eax
je 0x466d70
int3
push 0x6c111c
mov ecx, dword [ebp + 0xc]
call fcn.004022b0
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x68], 0
jne 0x466dd7
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 0x466dd5
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.004564a0
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.0040bcc0
jmp 0x466df8
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x10]
call fcn.004732c0
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x466df8
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0xc]
call fcn.00466ca0
mov ecx, dword [ebp + 0xc]
call fcn.004023d0
mov esp, ebp
pop ebp
ret 8
Function at 0x46e7e0
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 0x46e865
call fcn.0045e8f0
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 0x46e865
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 0x46e83e
xor eax, eax
jmp 0x46e896
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 0x46e865
push 0x117f
push 0x6cb328
call fcn.00487100
test eax, eax
je 0x46e865
int3
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.0046e8a0
mov dword [ebp - 8], eax
cmp dword [ebp - 4], 0
je 0x46e893
cmp dword [ebp - 0xc], 0
je 0x46e893
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.004634f0
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 0x473720
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6a5d78
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x737d28]
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 0x473778
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0x6c], 0
jne 0x473778
push 0x100
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcwinocc.cpp
call fcn.00487100
test eax, eax
je 0x473778
int3
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0x6c], 0
jne 0x47379a
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 0x4737fd
lea ecx, [ebp - 0x10]
call fcn.004020d0
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.004023a0
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004581a0
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.00402220
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 0x47b180
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
call fcn.0047add0
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0
je 0x47b1d6
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
add eax, 1
push eax
mov ecx, dword [ebp - 8]
push ecx
mov ecx, dword [ebp + 0x10]
call fcn.004564a0
push eax
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
mov ecx, dword [ebp + 0x10]
call fcn.0040bcc0
jmp 0x47b1e8
mov ecx, dword [ebp + 0x10]
call fcn.004023a0
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.004b69f0
mov esp, ebp
pop ebp
ret 0xc

Function at 0x47b450
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 4]
call fcn.00473330
push 0xfffffffffffffff0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
and eax, 3
cmp eax, 3
je 0x47b48d
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0047add0
jmp 0x47b499
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp + 8]
call fcn.0047ae00
mov eax, dword [ebp + 8]
cmp dword [eax], 0
je 0x47b4fd
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jle 0x47b4d4
mov edx, dword [ebp - 8]
add edx, 1
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 0x10]
call fcn.004564a0
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x47b4f1
push 0x100
push 0xff
mov ecx, dword [ebp + 0x10]
call fcn.00402bb0
push eax
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
mov ecx, dword [ebp + 0x10]
call fcn.0040bcc0
jmp 0x47b52e
mov ecx, dword [ebp + 0x10]
call fcn.004023a0
push eax
push 0xffffffffffffffff
push 0x14d
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
jne 0x47b52e
mov ecx, dword [ebp + 0x10]
call fcn.004023a0
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.004b69f0
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4821f0
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
cmp dword [ebp + 8], 0
jne 0x482215
push 0x8d
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfc_appui3.cpp
call fcn.00487100
test eax, eax
je 0x482215
int3
cmp dword [ebp + 0xc], 0
jne 0x48222f
push 0x8e
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfc_appui3.cpp
call fcn.00487100
test eax, eax
je 0x48222f
int3
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0x58], 0
je 0x4822d1
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.00482140
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x48225b
mov eax, dword [ebp + 0x10]
jmp 0x482307
mov dword [ebp - 0xc], 4
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 4]
push eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x10], 0
jne 0x4822ca
cmp dword [ebp - 4], 4
je 0x4822ab
push 0x9c
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfc_appui3.cpp
call fcn.00487100
test eax, eax
je 0x4822ab
int3
cmp dword [ebp - 0xc], 4
je 0x4822c5
push 0x9d
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfc_appui3.cpp
call fcn.00487100
test eax, eax
je 0x4822c5
int3
mov eax, dword [ebp - 0x14]
jmp 0x482307
mov eax, dword [ebp + 0x10]
jmp 0x482307
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x6c], 0
jne 0x4822ee
push 0xa4
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfc_appui3.cpp
call fcn.00487100
test eax, eax
je 0x4822ee
int3
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x6c]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov esp, ebp
pop ebp
ret 0xc

Function at 0x483540
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 0x4835c8
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x483588
push str.hAdvAPI32___0
push 0
push 0x28c
push str.f:dd_vctools_vc7libs_ship_atlmfcinclude_atltransactionmanager.h
push 2
call fcn.006635a0
add esp, 0x14
cmp eax, 1
jne 0x483588
int3
cmp dword [ebp - 8], 0
jne 0x483595
mov eax, 1
jmp 0x4835e6
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 0x4835c6
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 0x4835e6
jmp 0x4835e1
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 4], 0
je 0x4835e1
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
jmp 0x4835e6
mov eax, 1
mov esp, ebp
pop ebp
ret 8
Function at 0x4851e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
cmp dword [ebp + 0xc], 0
je 0x485308
call fcn.0045e8f0
mov dword [ebp - 0x10], eax
push 0xf0
mov eax, dword [ebp + 0xc]
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 0x48529b
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 0x485272
push str.DLGINIT_resource_was_found__but_could_not_be_loaded._n
push 0
mov ecx, 0x73b250
call fcn.00402070
push eax
push 0x16c
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcoccmgr.cpp
lea ecx, [ebp - 0x20]
call fcn.00401f60
push eax
call fcn.00401fa0
add esp, 0x10
xor eax, eax
jmp 0x485376
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 0x485299
push 0x172
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcoccmgr.cpp
call fcn.00487100
test eax, eax
je 0x485299
int3
jmp 0x485308
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0
jne 0x4852be
push 0x17a
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcoccmgr.cpp
call fcn.00487100
test eax, eax
je 0x4852be
int3
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0xffffffff
je 0x485308
mov ecx, dword [ebp - 0x18]
cmp dword [ecx], 0
je 0x4852fd
push str.Dialog_has_OLE_controls__but_no_matching_DLGINIT_resource._n
push 0
mov ecx, 0x73b250
call fcn.00402070
push eax
push 0x180
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcoccmgr.cpp
lea ecx, [ebp - 0x28]
call fcn.00401f60
push eax
call fcn.00401fa0
add esp, 0x10
jmp 0x485308
mov edx, dword [ebp - 0x18]
add edx, 4
mov dword [ebp - 0x18], edx
jmp 0x4852be
mov dword [ebp - 8], 1
cmp dword [ebp - 4], 0
je 0x485331
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x20]
call eax
mov dword [ebp - 8], eax
cmp dword [ebp - 4], 0
je 0x485350
cmp dword [ebp - 0xc], 0
je 0x485350
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.004634f0
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x68], 0
je 0x485373
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x68]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x68]
mov edx, dword [eax]
mov eax, dword [edx + 0xa8]
call eax
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x48b9a0
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 0xc], 0
je 0x48b9bf
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.0048c0d0
mov dword [ebp - 8], eax
jmp 0x48b9cc
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
jne 0x48b9e8
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00492e30
mov esp, ebp
pop ebp
ret 8

Function at 0x48c0d0
Capabilities:
Delete file

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 0x48c14b
push 0x6cf194
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x48c118
push str.hKernel32___0
push 0
push 0x191
push str.f:dd_vctools_vc7libs_ship_atlmfcinclude_atltransactionmanager.h
push 2
call fcn.006635a0
add esp, 0x14
cmp eax, 1
jne 0x48c118
int3
cmp dword [ebp - 8], 0
jne 0x48c122
xor eax, eax
jmp 0x48c162
push str.DeleteFileTransactedA
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 0x48c149
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [ebp - 4]
jmp 0x48c162
jmp 0x48c160
mov eax, dword [ebp - 0xc]
cmp dword [eax + 4], 0
je 0x48c160
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x48c162
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x49cbb0
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 0x49cbd1
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
mov dword [ebp - 8], eax
jmp 0x49cc2c
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 0x49cbf5
call fcn.00489f80
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 0x49cc14
call fcn.00489f80
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 0x49cc2c
call fcn.00489f80
call fcn.004a3a60
cmp dword [eax + 0x3c], 0
je 0x49cc46
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.0049cb50
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.0049ca00
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x7c], 0
je 0x49cc76
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 0x49cc8b
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 0x4f2a60
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp + 8]
call fcn.0044f510
movzx eax, al
test eax, eax
jne 0x4f2a9d
mov ecx, dword [ebp + 8]
call fcn.004023a0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x4f2a9d
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 4]
add ecx, 0x90
call fcn.005b6940
mov eax, 1
mov esp, ebp
pop ebp
ret 4
Function at 0x4f7530
Capabilities:
Delete registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x4f7564
push str.m_hKey___0
push 0
push 0x1629
push 0x6d1078
push 2
call fcn.006635a0
add esp, 0x14
cmp eax, 1
jne 0x4f7564
int3
xor edx, edx
jne 0x4f7564
xor eax, eax
jne 0x4f753b
mov ecx, dword [ebp - 8]
cmp dword [ecx + 8], 0
je 0x4f758c
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp - 8]
mov ecx, dword [edx + 8]
call fcn.00483540
jmp 0x4f75fa
movzx eax, byte [0x73c398]
test eax, eax
jne 0x4f75c6
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4f75bf
push str.RegDeleteKeyExA
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x73c394], eax
mov byte [0x73c398], 1
cmp dword [0x73c394], 0
je 0x4f75ea
push 0
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx]
push eax
call dword [0x73c394]
jmp 0x4f75fa
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esp, ebp
pop ebp
ret 4
Function at 0x4fea90
Capabilities:
Delete registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x4feac2
push str.m_hKey___0
push 0
push 0x164f
push 0x6d1078
push 2
call fcn.006635a0
add esp, 0x14
cmp eax, 1
jne 0x4feac2
int3
xor edx, edx
jne 0x4feac2
xor eax, eax
jne 0x4fea99
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov esp, ebp
pop ebp
ret 4

Function at 0x55b7c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
cmp dword [ebp + 0xc], 0
jne 0x55b7d9
call fcn.0045e8f0
mov dword [ebp + 0xc], eax
mov ecx, 0x73d178
call fcn.004023a0
push eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x55b7ff
xor eax, eax
jmp 0x55b86f
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x55b81a
xor eax, eax
jmp 0x55b86f
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x55b83b
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
jmp 0x55b86f
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
mov edx, dword [ebp - 8]
push edx
mov ecx, dword [ebp - 0x14]
call fcn.0055c270
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
push eax
call fcn.004634f0
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8
Function at 0x566450
Capabilities:
Get number of processors

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6afe9e
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x737d28]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.00453600
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
mov dword [eax], vtable.CMFCToolBarButton.0
mov ecx, dword [ebp - 0x10]
add ecx, 0x2c
call fcn.004020d0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.004020d0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x54
call fcn.0069bcc0
mov ecx, dword [ebp - 0x10]
add ecx, 0x64
call fcn.0069b820
mov ecx, dword [ebp - 0x10]
call fcn.005665e0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 0x18]
mov dword [ecx + 0x3c], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x20], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0x14]
mov dword [edx + 4], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.00568470
cmp dword [ebp + 0x10], 0
jne 0x566504
mov dword [ebp - 0x14], 0x6c111c
jmp 0x56650a
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x2c
call fcn.004022b0
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0x20], 0
je 0x5665c2
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x3c], 0
jne 0x5665c2
mov eax, dword [ebp - 0x10]
cmp dword [eax + 4], 0
je 0x566580
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0x38], 0xffffffff
je 0x566563
push 1
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x38]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x20]
push edx
call fcn.00518890
mov ecx, eax
call fcn.00518a10
jmp 0x56657e
push 1
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x20]
push ecx
call fcn.00518890
mov ecx, eax
call fcn.00518a80
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x38], eax
jmp 0x5665c2
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x34], 0xffffffff
je 0x5665a7
push 0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x34]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x20]
push ecx
call fcn.00518890
mov ecx, eax
call fcn.00518a10
jmp 0x5665c2
push 0
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x20]
push eax
call fcn.00518890
mov ecx, eax
call fcn.00518a80
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x34], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x14