joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c5170
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x573904
mov eax, dword fs:[0]
push eax
sub esp, 0x470
mov eax, dword [0x5f969c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x47c], ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x474], esp
push 0
call fcn.004d7680
mov ecx, dword [ebp - 0x47c]
call fcn.004c5870
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x47c]
mov dword [eax], vtable.CSFXModulePage.0
push 0
mov ecx, dword [ebp - 0x47c]
add ecx, 0x54
call fcn.004da240
mov ecx, dword [ebp - 0x47c]
add ecx, 0x58
call fcn.0049d450
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x47c]
mov dword [ecx + 0x26c], 0xffffffff
mov edx, dword [ebp - 0x47c]
mov eax, dword [ebp + 8]
mov dword [edx + 0x270], eax
push 0x104
mov ecx, dword [ebp - 0x47c]
add ecx, 0x64
push ecx
mov ecx, 0x5fbeec
call fcn.0044ab70
mov edx, dword [eax]
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, dword [ebp - 0x47c]
add eax, 0x64
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov dword [ebp - 0x10], eax
xor ecx, ecx
mov edx, dword [ebp - 0x10]
mov word [edx], cx
push 0x587b98
mov eax, dword [ebp - 0x47c]
add eax, 0x64
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov ecx, dword [ebp - 0x47c]
add ecx, 0x64
push ecx
lea edx, [ebp - 0x46c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push str..sfx
lea eax, [ebp - 0x46c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x264]
push ecx
lea edx, [ebp - 0x46c]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x470], eax
cmp dword [ebp - 0x470], 0xffffffff
jne 0x4c52b0
jmp 0x4c531c
mov eax, dword [ebp - 0x264]
and eax, 0x10
je 0x4c52bd
jmp 0x4c52f7
lea ecx, [ebp - 0x238]
push ecx
lea ecx, [ebp - 0x478]
call fcn.0041a130
mov byte [ebp - 4], 2
lea edx, [ebp - 0x478]
push edx
mov ecx, dword [ebp - 0x47c]
add ecx, 0x58
call fcn.004c5940
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x478]
call fcn.0044fc20
lea eax, [ebp - 0x264]
push eax
mov ecx, dword [ebp - 0x470]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4c52b0
mov edx, dword [ebp - 0x470]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x47c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0053c85d
mov esp, ebp
pop ebp
ret 4
Function at 0x4c98c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x573d3c
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x5f969c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x138], ecx
lea ecx, [ebp - 0x9c]
call dword [sym.imp.DuiLib.dll_public:_void___thiscall_DuiLib::CDuiString::constructor_void_]
mov dword [ebp - 4], 0
lea eax, [ebp - 0x120]
push eax
mov ecx, dword [ebp - 0x138]
mov ecx, dword [ecx + 0x2e0]
call fcn.004cbb50
mov dword [ebp - 0x13c], eax
mov edx, dword [ebp - 0x13c]
mov dword [ebp - 0x140], edx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x140]
call dword [sym.imp.DuiLib.dll_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const]
push eax
lea eax, [ebp - 0x124]
push eax
mov ecx, dword [0x5fbf48]
mov edx, dword [ecx + 0x500]
mov eax, dword [0x5fbf48]
mov ecx, dword [eax + 0x500]
mov edx, dword [edx]
mov eax, dword [edx + 0x78]
call eax
mov dword [ebp - 0x144], eax
mov ecx, dword [ebp - 0x144]
mov dword [ebp - 0x148], ecx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x148]
call fcn.004dfdf0
push eax
lea ecx, [ebp - 0x9c]
call dword [sym.imp.DuiLib.dll_public:_class_DuiLib::CDuiString_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x124]
call fcn.0044fc20
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x120]
call dword [sym.imp.DuiLib.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
lea ecx, [ebp - 0x9c]
call dword [sym.imp.DuiLib.dll_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4c9a24
sub esp, 0x84
mov ecx, esp
mov dword [ebp - 0x128], esp
lea edx, [ebp - 0x9c]
push edx
call dword [sym.imp.DuiLib.dll_public:_void___thiscall_DuiLib::CDuiString::constructor_class_DuiLib::CDuiString_const__]
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp - 0x138]
mov ecx, dword [eax + 0x2e0]
call fcn.004cb8a0
mov dword [ebp - 0x12c], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x9c]
call dword [sym.imp.DuiLib.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
mov eax, dword [ebp - 0x12c]
jmp 0x4c9ab2
push 0x587e80
mov ecx, dword [ebp - 0x138]
mov edx, dword [ecx + 0x310]
mov eax, dword [ebp - 0x138]
mov ecx, dword [eax + 0x310]
mov edx, dword [edx]
mov eax, dword [edx + 0x2c]
call eax
sub esp, 0x84
mov ecx, esp
mov dword [ebp - 0x130], esp
push 0xffffffffffffffff
push 0x587e84
call dword [sym.imp.DuiLib.dll_public:_void___thiscall_DuiLib::CDuiString::constructor_wchar_t_const___int_]
mov dword [ebp - 0x150], eax
mov ecx, dword [ebp - 0x138]
mov ecx, dword [ecx + 0x2e0]
call fcn.004cb8a0
mov dword [ebp - 0x134], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x9c]
call dword [sym.imp.DuiLib.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
mov eax, dword [ebp - 0x134]
jmp 0x4c9ab2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0053c85d
mov esp, ebp
pop ebp
ret
Function at 0x4c9ad0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x573d87
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x5f969c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x138], ecx
lea ecx, [ebp - 0x9c]
call dword [sym.imp.DuiLib.dll_public:_void___thiscall_DuiLib::CDuiString::constructor_void_]
mov dword [ebp - 4], 0
lea eax, [ebp - 0x120]
push eax
mov ecx, dword [ebp - 0x138]
mov ecx, dword [ecx + 0x2e0]
call fcn.004cbb50
mov dword [ebp - 0x13c], eax
mov edx, dword [ebp - 0x13c]
mov dword [ebp - 0x140], edx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x140]
call dword [sym.imp.DuiLib.dll_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const]
push eax
lea eax, [ebp - 0x124]
push eax
mov ecx, dword [0x5fbf48]
mov edx, dword [ecx + 0x500]
mov eax, dword [0x5fbf48]
mov ecx, dword [eax + 0x500]
mov edx, dword [edx]
mov eax, dword [edx + 0x7c]
call eax
mov dword [ebp - 0x144], eax
mov ecx, dword [ebp - 0x144]
mov dword [ebp - 0x148], ecx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x148]
call fcn.004dfdf0
push eax
lea ecx, [ebp - 0x9c]
call dword [sym.imp.DuiLib.dll_public:_class_DuiLib::CDuiString_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x124]
call fcn.0044fc20
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x120]
call dword [sym.imp.DuiLib.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
lea ecx, [ebp - 0x9c]
call dword [sym.imp.DuiLib.dll_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4c9c34
sub esp, 0x84
mov ecx, esp
mov dword [ebp - 0x128], esp
lea edx, [ebp - 0x9c]
push edx
call dword [sym.imp.DuiLib.dll_public:_void___thiscall_DuiLib::CDuiString::constructor_class_DuiLib::CDuiString_const__]
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp - 0x138]
mov ecx, dword [eax + 0x2e0]
call fcn.004cb8a0
mov dword [ebp - 0x12c], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x9c]
call dword [sym.imp.DuiLib.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
mov eax, dword [ebp - 0x12c]
jmp 0x4c9cc2
push 0x587e88
mov ecx, dword [ebp - 0x138]
mov edx, dword [ecx + 0x310]
mov eax, dword [ebp - 0x138]
mov ecx, dword [eax + 0x310]
mov edx, dword [edx]
mov eax, dword [edx + 0x2c]
call eax
sub esp, 0x84
mov ecx, esp
mov dword [ebp - 0x130], esp
push 0xffffffffffffffff
push 0x587e8c
call dword [sym.imp.DuiLib.dll_public:_void___thiscall_DuiLib::CDuiString::constructor_wchar_t_const___int_]
mov dword [ebp - 0x150], eax
mov ecx, dword [ebp - 0x138]
mov ecx, dword [ecx + 0x2e0]
call fcn.004cb8a0
mov dword [ebp - 0x134], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x9c]
call dword [sym.imp.DuiLib.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
mov eax, dword [ebp - 0x134]
jmp 0x4c9cc2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0053c85d
mov esp, ebp
pop ebp
ret
Function at 0x4cd280
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x10], ecx
lea eax, [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 4]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4cd2e0
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp + 0x18]
jae 0x4cd2c0
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x14], ecx
jmp 0x4cd2c6
mov edx, dword [ebp + 0x18]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.0053fa60
add esp, 0xc
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 0x14

Function at 0x4cd350
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
lea eax, [ebp - 8]
push eax
push 0
lea ecx, [ebp - 4]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4cd383
mov eax, dword [ebp - 8]
jmp 0x4cd385
xor eax, eax
mov esp, ebp
pop ebp
ret 4

Function at 0x4cd390
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x574142
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x5f969c]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x234], ecx
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x22c]
call fcn.00438030
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
push eax
push 0x5883c4
lea ecx, [ebp - 0x22c]
push ecx
call fcn.004386c0
add esp, 0xc
mov dword [ebp - 0x230], 0x208
lea edx, [ebp - 0x230]
push edx
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x14]
push ecx
push 0
lea ecx, [ebp - 0x22c]
call fcn.004dfdf0
push eax
mov edx, dword [ebp - 0x234]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x228], eax
cmp dword [ebp - 0x228], 0
jne 0x4cd440
cmp dword [ebp - 0x14], 1
je 0x4cd454
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x22c]
call fcn.0044fc20
jmp 0x4cd49a
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x224]
push eax
call dword [ebp + 0xc]
test eax, eax
jne 0x4cd483
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x22c]
call fcn.0044fc20
jmp 0x4cd49a
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x22c]
call fcn.0044fc20
jmp 0x4cd3c8
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0053c85d
mov esp, ebp
pop ebp
ret 8
Function at 0x4d19a0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5745b3
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x5f969c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
push ecx
push 0
push 0x20006
push 0
push 0
push 0
mov edx, dword [ebp + 8]
push edx
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], 0
cmp dword [ebp - 0x1c], 0
je 0x4d1ab6
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x20]
call fcn.0041a130
mov dword [ebp - 4], 0
push 0x588664
push 0
lea ecx, [ebp - 0x20]
call fcn.004d45a0
lea ecx, [ebp - 0x20]
call fcn.004dfdf0
push eax
call fcn.004d4c70
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x4d1a55
mov dword [ebp - 0x28], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.0044fc20
mov eax, dword [ebp - 0x28]
jmp 0x4d1b23
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x14]
push eax
push 0
push 0x20006
push 0
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4d1aa0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.0044fc20
mov eax, dword [ebp - 0x2c]
jmp 0x4d1b23
mov dword [ebp - 0x10], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.0044fc20
push 0x58868c
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x10], 0
je 0x4d1b1a
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x24]
call fcn.0041a130
mov dword [ebp - 4], 1
push str.HKEY_CURRENT_USER_
push 0
lea ecx, [ebp - 0x24]
call fcn.004d45a0
lea ecx, [ebp - 0x24]
call fcn.004dfdf0
push eax
call fcn.004d4900
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.0044fc20
xor eax, eax
cmp dword [ebp - 0x1c], 0
sete al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4d1bf0
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5745fc
mov eax, dword fs:[0]
push eax
sub esp, 0x434
mov eax, dword [0x5f969c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x228]
call fcn.00438030
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x228]
push ecx
call fcn.004d1970
add esp, 8
lea edx, [ebp - 0x224]
push edx
push 0xf003f
push 0
lea ecx, [ebp - 0x228]
call fcn.004dfdf0
push eax
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x22c], eax
cmp dword [ebp - 0x22c], 0
je 0x4d1c9b
mov dword [ebp - 0x43c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x228]
call fcn.0044fc20
mov eax, dword [ebp - 0x43c]
jmp 0x4d1d81
xor eax, eax
mov word [ebp - 0x21c], ax
push 0x206
push 0
lea ecx, [ebp - 0x21a]
push ecx
call fcn.0053c870
add esp, 0xc
mov dword [ebp - 0x438], 0x208
lea edx, [ebp - 0x438]
push edx
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x220]
push ecx
push 0
push 0x5886dc
mov edx, dword [ebp - 0x224]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, 0x5fd8fc
call fcn.004dfdf0
push eax
lea eax, [ebp - 0x434]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x434]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov dword [ebp - 0x22c], 0
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x434]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4d1d4a
push str.Progid
mov edx, dword [ebp - 0x224]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov eax, dword [ebp - 0x224]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ecx, ecx
cmp dword [ebp - 0x22c], 0
sete cl
mov dword [ebp - 0x440], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x228]
call fcn.0044fc20
mov eax, dword [ebp - 0x440]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0053c85d
mov esp, ebp
pop ebp
ret
Function at 0x4d1e80
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x574644
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x5f969c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x18]
call fcn.00438030
mov dword [ebp - 4], 0
push 0x9c
lea ecx, [ebp - 0x18]
call fcn.0041a8c0
mov eax, dword [ebp + 0xc]
add eax, 2
push eax
lea ecx, [ebp - 0x1c]
call fcn.0041a130
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.004d4680
lea ecx, [ebp - 0x10]
call fcn.00438030
mov byte [ebp - 4], 2
push 0xcb
lea ecx, [ebp - 0x10]
call fcn.0041a8c0
lea ecx, [ebp - 0x14]
call fcn.00438030
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x18]
push eax
push str._s__s__s
lea ecx, [ebp - 0x14]
push ecx
call fcn.004386c0
add esp, 0x14
lea ecx, [ebp - 0x14]
call fcn.00438090
movzx edx, al
test edx, edx
jne 0x4d1f90
lea ecx, [ebp - 0x14]
call fcn.004664a0
lea eax, [eax + eax + 2]
push eax
lea ecx, [ebp - 0x14]
call fcn.004dfdf0
push eax
push 1
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueW]
mov dword [ebp - 0x20], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.0044fc20
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.0044fc20
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.0044fc20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0044fc20
mov eax, dword [ebp - 0x20]
jmp 0x4d1fcd
mov dword [ebp - 0x24], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.0044fc20
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.0044fc20
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.0044fc20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0044fc20
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x4d2060
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x574667
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x5f969c]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x104
lea eax, [ebp - 0x224]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x18]
call fcn.00438030
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
push ecx
call fcn.004d1fe0
add esp, 4
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
push edx
lea eax, [ebp - 0x224]
push eax
push 0x588738
lea ecx, [ebp - 0x18]
push ecx
call fcn.004386c0
add esp, 0x10
lea ecx, [ebp - 0x18]
call fcn.004664a0
lea edx, [eax + eax + 2]
push edx
lea ecx, [ebp - 0x18]
call fcn.004dfdf0
push eax
push 1
push 0
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueW]
mov dword [ebp - 0x10], eax
xor ecx, ecx
cmp dword [ebp - 0x10], 0
sete cl
mov dword [ebp - 0x228], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0044fc20
mov eax, dword [ebp - 0x228]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0053c85d
mov esp, ebp
pop ebp
ret
Function at 0x4d27a0
Capabilities:
Delete registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x818
mov eax, dword [0x5f969c]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x818], ecx
mov dword [ebp - 0x814], 0x800
xor eax, eax
mov word [ebp - 0x810], ax
lea ecx, [ebp - 0x814]
push ecx
lea edx, [ebp - 0x810]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x818]
mov edx, dword [ecx]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4d27fd
xor eax, eax
jmp 0x4d28cc
mov eax, dword [str.NoAssociate.KZ]
push eax
lea ecx, [ebp - 0x810]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
sbb eax, eax
add eax, 1
mov dword [ebp - 8], eax
je 0x4d2840
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.004d2240
add esp, 8
mov eax, dword [ebp + 8]
push eax
push bind
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
xor eax, eax
jmp 0x4d28cc
mov dword [ebp - 4], 0
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
push bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4d28bc
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [ebp - 0x810]
push edx
push 1
push 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueW]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp + 8]
push edx
call fcn.004d1bf0
add esp, 4
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.004d2240
add esp, 8
xor eax, eax
cmp dword [ebp - 0xc], 0
sete al
jmp 0x4d28cc
push 0
mov ecx, dword [ebp + 8]
push ecx
call fcn.004d2240
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0053c85d
mov esp, ebp
pop ebp
ret 4
Function at 0x4d3f20
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1020
call fcn.0053f2e0
mov eax, dword [0x5f969c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x1020], ecx
mov eax, dword [ebp - 0x1020]
cmp dword [eax], 0
jne 0x4d3f4f
xor eax, eax
jmp 0x4d40ec
mov dword [ebp - 0x101c], 0x800
lea ecx, [ebp - 0x101c]
push ecx
lea edx, [ebp - 0x1018]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x1020]
mov edx, dword [ecx]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
mov dword [ebp - 0x814], eax
cmp dword [ebp - 0x814], 0
jne 0x4d3faa
mov eax, dword [str.NoAssociate.KZ]
push eax
lea ecx, [ebp - 0x1018]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x4d3faa
mov eax, 1
jmp 0x4d40ec
lea edx, [ebp - 0x810]
push edx
mov eax, dword [ebp + 8]
push eax
push bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov dword [ebp - 0x814], eax
cmp dword [ebp - 0x814], 0
je 0x4d4036
lea ecx, [ebp - 0x810]
push ecx
mov edx, dword [ebp + 8]
push edx
push bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov dword [ebp - 0x814], eax
mov eax, dword [ebp - 0x810]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [str.NoAssociate.KZ]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [eax + eax + 2]
push edx
mov eax, dword [str.NoAssociate.KZ]
push eax
push 1
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x1020]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueW]
xor eax, eax
cmp dword [ebp - 0x814], 0
sete al
jmp 0x4d40ec
mov dword [ebp - 0x101c], 0x800
lea ecx, [ebp - 0x101c]
push ecx
lea edx, [ebp - 0x808]
push edx
push 0
mov eax, dword [ebp - 0x810]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
mov ecx, dword [ebp - 0x810]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x1020]
add edx, 4
push edx
lea eax, [ebp - 0x808]
push eax
call fcn.004426d0
add esp, 8
mov dword [ebp - 0x80c], eax
mov ecx, dword [ebp - 0x80c]
lea edx, [ebp - 0x808]
cmp ecx, edx
jne 0x4d40ac
mov eax, dword [str.NoAssociate.KZ]
push eax
lea ecx, [ebp - 0x808]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea edx, [ebp - 0x808]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
lea ecx, [ebp - 0x808]
push ecx
push 1
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x1020]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueW]
mov dword [ebp - 0x814], eax
xor eax, eax
cmp dword [ebp - 0x814], 0
sete al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053c85d
mov esp, ebp
pop ebp
ret 4