joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4400c0
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 0x440148
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x440108
push str.hAdvAPI32___0
push 0
push 0x28c
push str.f:dd_vctools_vc7libs_ship_atlmfcinclude_atltransactionmanager.h
push 2
call fcn.006188d0
add esp, 0x14
cmp eax, 1
jne 0x440108
int3
cmp dword [ebp - 8], 0
jne 0x440115
mov eax, 1
jmp 0x440166
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 0x440146
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 0x440166
jmp 0x440161
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 4], 0
je 0x440161
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
jmp 0x440166
mov eax, 1
mov esp, ebp
pop ebp
ret 8

Function at 0x4415b0
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.00448270
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 0x441608
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 0x441622
push 0x113
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcdlgcore.cpp
call fcn.00458050
test eax, eax
je 0x441622
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.00441660
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x14]
push eax
call fcn.0047e330
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 0x443200
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 0x443328
call fcn.00448270
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 0x4432bb
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 0x443292
push str.DLGINIT_resource_was_found__but_could_not_be_loaded._n
push 0
mov ecx, 0x6eb48c
call fcn.0044af20
push eax
push 0x16c
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcoccmgr.cpp
lea ecx, [ebp - 0x20]
call fcn.00651710
push eax
call fcn.00413a60
add esp, 0x10
xor eax, eax
jmp 0x443396
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 0x4432b9
push 0x172
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcoccmgr.cpp
call fcn.00458050
test eax, eax
je 0x4432b9
int3
jmp 0x443328
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0
jne 0x4432de
push 0x17a
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcoccmgr.cpp
call fcn.00458050
test eax, eax
je 0x4432de
int3
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0xffffffff
je 0x443328
mov ecx, dword [ebp - 0x18]
cmp dword [ecx], 0
je 0x44331d
push str.Dialog_has_OLE_controls__but_no_matching_DLGINIT_resource._n
push 0
mov ecx, 0x6eb48c
call fcn.0044af20
push eax
push 0x180
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcoccmgr.cpp
lea ecx, [ebp - 0x28]
call fcn.00651710
push eax
call fcn.00413a60
add esp, 0x10
jmp 0x443328
mov edx, dword [ebp - 0x18]
add edx, 4
mov dword [ebp - 0x18], edx
jmp 0x4432de
mov dword [ebp - 8], 1
cmp dword [ebp - 4], 0
je 0x443351
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 0x443370
cmp dword [ebp - 0xc], 0
je 0x443370
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.0047e330
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 0x443393
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 0x44be00
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.0044ba50
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0
je 0x44be56
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.0042ed50
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.0042eda0
jmp 0x44be68
mov ecx, dword [ebp + 0x10]
call fcn.0044af20
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.0045b6d0
mov esp, ebp
pop ebp
ret 0xc

Function at 0x44bf50
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.004353f0
push 0xfffffffffffffff0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
and eax, 3
cmp eax, 3
je 0x44bf8d
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0044ba50
jmp 0x44bf99
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp + 8]
call fcn.0044ba80
mov eax, dword [ebp + 8]
cmp dword [eax], 0
je 0x44bffd
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 0x44bfd4
mov edx, dword [ebp - 8]
add edx, 1
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 0x10]
call fcn.0042ed50
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x44bff1
push 0x100
push 0xff
mov ecx, dword [ebp + 0x10]
call fcn.0045aa60
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.0042eda0
jmp 0x44c02e
mov ecx, dword [ebp + 0x10]
call fcn.0044af20
push eax
push 0xffffffffffffffff
push 0x14d
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
jne 0x44c02e
mov ecx, dword [ebp + 0x10]
call fcn.0044af20
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.0045b6d0
mov esp, ebp
pop ebp
ret 0xc
Function at 0x452280
Capabilities:
Create http request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65e9c8
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x6e5134]
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.0042f3b0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
mov dword [eax], vtable.CInternetSession.0
mov ecx, dword [ebp + 0x1c]
and ecx, 0x10000000
je 0x4522df
push 0x1ca
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcinet.cpp
call fcn.00458050
test eax, eax
je 0x4522df
int3
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x10], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0xc], 0
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0xc]
mov dword [edx + 4], eax
cmp dword [ebp + 8], 0
jne 0x45230a
call fcn.004482d0
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 0x10]
cmp dword [edx + 8], 0
jne 0x452343
push 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
push ecx
call fcn.00454610
jmp 0x452358
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
push ecx
mov ecx, 0x6eb258
call fcn.00452380
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 0x18
Function at 0x452bd0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x659e13
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x6e5134]
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.0049aa40
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
mov dword [eax], vtable.CInternetFile.0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 0x18]
mov dword [ecx + 0x20], edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x28
call fcn.0042eb20
mov byte [ebp - 4], 1
push 0xffffffffffffffff
mov eax, dword [ebp + 0x14]
push eax
call fcn.0045cac0
test eax, eax
jne 0x452c4b
push 0x30e
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcinet.cpp
call fcn.00458050
test eax, eax
je 0x452c4b
int3
push 0xffffffffffffffff
mov edx, dword [ebp + 0x10]
push edx
call fcn.0045cac0
test eax, eax
jne 0x452c6e
push 0x30f
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcinet.cpp
call fcn.00458050
test eax, eax
je 0x452c6e
int3
cmp dword [ebp + 8], 0
jne 0x452c88
push 0x310
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcinet.cpp
call fcn.00458050
test eax, eax
je 0x452c88
int3
mov edx, dword [ebp + 0x10]
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call fcn.0042ebc0
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x28
call fcn.0042ebc0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
mov dword [ecx + 0x18], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0x1c]
mov dword [eax + 0x1c], ecx
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x40], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x34], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x38], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x3c], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x2c], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x30], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x44], 0
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 0x18
Function at 0x46ebc0
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 0x46ebe1
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
mov dword [ebp - 8], eax
jmp 0x46ec3c
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 0x46ec05
call fcn.0044fad0
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 0x46ec24
call fcn.0044fad0
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 0x46ec3c
call fcn.0044fad0
call fcn.00459dc0
cmp dword [eax + 0x3c], 0
je 0x46ec56
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.0046eb60
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.0046ea10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x7c], 0
je 0x46ec86
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 0x46ec9b
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 0x488390
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.0043c5d0
movzx eax, al
test eax, eax
jne 0x4883cd
mov ecx, dword [ebp + 8]
call fcn.0044af20
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x4883cd
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 4]
add ecx, 0x90
call fcn.004c0530
mov eax, 1
mov esp, ebp
pop ebp
ret 4
Function at 0x48bbe0
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 0x48bc14
push str.m_hKey___0
push 0
push 0x1629
push 0x686640
push 2
call fcn.006188d0
add esp, 0x14
cmp eax, 1
jne 0x48bc14
int3
xor edx, edx
jne 0x48bc14
xor eax, eax
jne 0x48bbeb
mov ecx, dword [ebp - 8]
cmp dword [ecx + 8], 0
je 0x48bc3c
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.004400c0
jmp 0x48bcaa
movzx eax, byte [0x6eb7f4]
test eax, eax
jne 0x48bc76
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x48bc6f
push str.RegDeleteKeyExA
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x6eb7f0], eax
mov byte [0x6eb7f4], 1
cmp dword [0x6eb7f0], 0
je 0x48bc9a
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 [0x6eb7f0]
jmp 0x48bcaa
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 0x5034f0
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 0x503522
push str.m_hKey___0
push 0
push 0x164f
push 0x686640
push 2
call fcn.006188d0
add esp, 0x14
cmp eax, 1
jne 0x503522
int3
xor edx, edx
jne 0x503522
xor eax, eax
jne 0x5034f9
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 0x5250b0
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 0x5250c9
call fcn.00448270
mov dword [ebp + 0xc], eax
mov ecx, 0x6ed578
call fcn.0044af20
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 0x5250ef
xor eax, eax
jmp 0x52515f
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 0x52510a
xor eax, eax
jmp 0x52515f
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 0x52512b
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
jmp 0x52515f
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.00525b60
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
push eax
call fcn.0047e330
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 0x53bf60
Capabilities:
Get number of processors

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6622ae
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x6e5134]
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.0042f3b0
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.0042eb20
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.0042eb20
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x54
call fcn.006539a0
mov ecx, dword [ebp - 0x10]
add ecx, 0x64
call fcn.00651570
mov ecx, dword [ebp - 0x10]
call fcn.0053c0f0
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.0053dfc0
cmp dword [ebp + 0x10], 0
jne 0x53c014
mov dword [ebp - 0x14], 0x672fef
jmp 0x53c01a
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.0042ebc0
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0x20], 0
je 0x53c0d2
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x3c], 0
jne 0x53c0d2
mov eax, dword [ebp - 0x10]
cmp dword [eax + 4], 0
je 0x53c090
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0x38], 0xffffffff
je 0x53c073
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.004ec950
mov ecx, eax
call fcn.004ecad0
jmp 0x53c08e
push 1
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x20]
push ecx
call fcn.004ec950
mov ecx, eax
call fcn.004ecb40
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x38], eax
jmp 0x53c0d2
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x34], 0xffffffff
je 0x53c0b7
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.004ec950
mov ecx, eax
call fcn.004ecad0
jmp 0x53c0d2
push 0
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x20]
push eax
call fcn.004ec950
mov ecx, eax
call fcn.004ecb40
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
Function at 0x553610
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
jne 0x553644
push str.m_hKey___0
push 0
push 0x170a
push 0x686640
push 2
call fcn.006188d0
add esp, 0x14
cmp eax, 1
jne 0x553644
int3
xor edx, edx
jne 0x553644
xor eax, eax
jne 0x55361b
mov dword [ebp - 8], 4
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 4]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x55367f
mov eax, dword [ebp - 0xc]
jmp 0x55368e
cmp dword [ebp - 4], 4
je 0x55368c
mov eax, 0xd
jmp 0x55368e
xor eax, eax
mov esp, ebp
pop ebp
ret 8

Function at 0x5536a0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
cmp dword [ebp + 0x10], 0
jne 0x5536d2
push str.pnBytes___0
push 0
push 0x1733
push 0x686640
push 2
call fcn.006188d0
add esp, 0x14
cmp eax, 1
jne 0x5536d2
int3
mov ecx, dword [ebp - 0xc]
cmp dword [ecx], 0
jne 0x5536fb
push str.m_hKey___0
push 0
push 0x1734
push 0x686640
push 2
call fcn.006188d0
add esp, 0x14
cmp eax, 1
jne 0x5536fb
int3
xor eax, eax
jne 0x5536fb
xor ecx, ecx
jne 0x5536d2
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 4]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x55372f
mov eax, dword [ebp - 8]
jmp 0x55373e
cmp dword [ebp - 4], 3
je 0x55373c
mov eax, 0xd
jmp 0x55373e
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc

Function at 0x553750
Capabilities:
Set 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 0x553782
push str.m_hKey___0
push 0
push 0x1805
push 0x686640
push 2
call fcn.006188d0
add esp, 0x14
cmp eax, 1
jne 0x553782
int3
xor edx, edx
jne 0x553782
xor eax, eax
jne 0x553759
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 3
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esp, ebp
pop ebp
ret 0xc

Function at 0x5537b0
Capabilities:
Set 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 0x5537e2
push str.m_hKey___0
push 0
push 0x180d
push 0x686640
push 2
call fcn.006188d0
add esp, 0x14
cmp eax, 1
jne 0x5537e2
int3
xor edx, edx
jne 0x5537e2
xor eax, eax
jne 0x5537b9
push 4
lea ecx, [ebp + 0xc]
push ecx
push 4
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esp, ebp
pop ebp
ret 8
Function at 0x61eb40
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x6e5134]
jne 0x61eb4a
repz ret
jmp fcn.0063d0b0