joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40de90
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x454
mov eax, dword [0x42c6a0]
xor eax, ebp
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x454], ecx
call fcn.0040d820
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x2c]
call fcn.00410cc0
mov eax, dword [ebp - 0x454]
push eax
lea ecx, [ebp - 0x18]
call fcn.0040e180
lea ecx, [ebp - 0x438]
call fcn.00410cc0
push 0x400
mov ecx, dword [ebp + 8]
push ecx
call fcn.0040d870
add esp, 8
mov dword [ebp - 8], eax
push 2
push 0
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x40df0e
call fcn.0040d8a0
mov dword [ebp - 0x444], eax
jmp 0x40e063
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x440], eax
cmp dword [ebp - 0x440], 0
jne 0x40df3f
call fcn.0040d8a0
mov dword [ebp - 0x444], eax
jmp 0x40e063
mov eax, dword [ebp - 0x440]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x448], eax
cmp dword [ebp - 0x448], 0
jne 0x40df6f
call fcn.0040d8a0
mov dword [ebp - 0x444], eax
jmp 0x40e063
mov edx, dword [ebp - 0x440]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x448]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x1c]
add edx, 1
cmp edx, dword [ebp - 0x1c]
jae 0x40dfbf
mov dword [ebp - 0x44c], 0x8007000e
lea ecx, [ebp - 0x438]
call fcn.00410d10
lea ecx, [ebp - 0x2c]
call fcn.004108b0
mov eax, dword [ebp - 0x44c]
jmp 0x40e098
mov eax, dword [ebp - 0x1c]
add eax, 1
push eax
lea ecx, [ebp - 0x438]
call fcn.00410c90
lea ecx, [ebp - 0x438]
call fcn.00409d40
test eax, eax
jne 0x40dfec
mov dword [ebp - 0x444], 0x8007000e
jmp 0x40e063
mov ecx, dword [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x438]
call fcn.00409d40
push eax
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0xc]
push eax
push 0
call fcn.0040d820
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 0x43c], eax
cmp dword [ebp - 0x43c], 0
jne 0x40e02e
call fcn.0040d8a0
mov dword [ebp - 0x444], eax
jmp 0x40e063
lea ecx, [ebp - 0x438]
call fcn.00409d40
xor ecx, ecx
mov edx, dword [ebp - 0x43c]
mov word [eax + edx*2], cx
mov eax, dword [ebp + 0x14]
push eax
lea ecx, [ebp - 0x438]
call fcn.00409d40
push eax
lea ecx, [ebp - 0x18]
call fcn.0040e1b0
mov dword [ebp - 0x444], eax
cmp dword [ebp - 0x10], 0
je 0x40e073
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edx, dword [ebp - 0x444]
mov dword [ebp - 0x450], edx
lea ecx, [ebp - 0x438]
call fcn.00410d10
lea ecx, [ebp - 0x2c]
call fcn.004108b0
mov eax, dword [ebp - 0x450]
mov ecx, dword [ebp - 0x30]
xor ecx, ebp
call fcn.0041710f
mov esp, ebp
pop ebp
ret 0x10
Function at 0x40f970
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x42c6a0]
xor eax, ebp
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x230], ecx
lea ecx, [ebp - 0x14]
call fcn.0040f740
mov eax, dword [ebp - 0x230]
mov ecx, dword [eax + 4]
or ecx, 0x2001f
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x230]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x14]
call fcn.0040f910
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x40f9db
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x224], edx
lea ecx, [ebp - 0x14]
call fcn.0040f770
mov eax, dword [ebp - 0x224]
jmp 0x40fa6c
mov dword [ebp - 4], 0x100
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x220]
push edx
push 0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x40fa41
lea ecx, [ebp - 0x220]
push ecx
lea ecx, [ebp - 0x14]
call fcn.0040f970
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x40fa38
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x228], edx
lea ecx, [ebp - 0x14]
call fcn.0040f770
mov eax, dword [ebp - 0x228]
jmp 0x40fa6c
mov dword [ebp - 4], 0x100
jmp 0x40f9e2
lea ecx, [ebp - 0x14]
call fcn.0040f850
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x230]
call fcn.0040f7f0
mov dword [ebp - 0x22c], eax
lea ecx, [ebp - 0x14]
call fcn.0040f770
mov eax, dword [ebp - 0x22c]
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0041710f
mov esp, ebp
pop ebp
ret 4
Function at 0x40ffd0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
xor eax, eax
jne 0x40ffd9
xor ecx, ecx
jne 0x40ffd9
xor edx, edx
cmp dword [ebp + 0xc], 0
setne dl
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
jne 0x40fffa
mov eax, 0xd
jmp 0x410055
xor eax, eax
jne 0x40ffe1
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
lea edx, [ecx + eax*2]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2]
mov dword [ebp - 4], edx
cmp dword [ebp - 0xc], 1
jne 0x41000b
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 7
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esp, ebp
pop ebp
ret 8
Function at 0x412450
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x42c6a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x234], ecx
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.00417120
add esp, 0xc
push 0x104
lea edx, [ebp - 0x210]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHELL32.dll_DragQueryFileW]
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.SHELL32.dll_DragFinish]
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4125c4
lea eax, [ebp - 0x210]
push eax
push 0x3ed
mov ecx, dword [ebp - 0x234]
add ecx, 4
call fcn.00401170
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x412558
push 0
push 0x3f7
lea edx, [ebp - 0x218]
push edx
mov ecx, dword [ebp - 0x234]
add ecx, 4
call fcn.00402880
mov ecx, eax
call fcn.00409d40
push eax
lea ecx, [ebp - 0x214]
call fcn.004024f0
mov ecx, eax
call fcn.00412d20
push 1
push 0x3f8
lea eax, [ebp - 0x220]
push eax
mov ecx, dword [ebp - 0x234]
add ecx, 4
call fcn.00402880
mov ecx, eax
call fcn.00409d40
push eax
lea ecx, [ebp - 0x21c]
call fcn.004024f0
mov ecx, eax
call fcn.00412d20
jmp 0x4125c4
push 1
push 0x3f7
lea ecx, [ebp - 0x228]
push ecx
mov ecx, dword [ebp - 0x234]
add ecx, 4
call fcn.00402880
mov ecx, eax
call fcn.00409d40
push eax
lea ecx, [ebp - 0x224]
call fcn.004024f0
mov ecx, eax
call fcn.00412d20
push 0
push 0x3f8
lea edx, [ebp - 0x230]
push edx
mov ecx, dword [ebp - 0x234]
add ecx, 4
call fcn.00402880
mov ecx, eax
call fcn.00409d40
push eax
lea ecx, [ebp - 0x22c]
call fcn.004024f0
mov ecx, eax
call fcn.00412d20
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041710f
mov esp, ebp
pop ebp
ret 4
Function at 0x412da0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbc
mov eax, dword [0x42c6a0]
xor eax, ebp
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0xb8], ecx
call fcn.0040d820
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x18]
call fcn.00410cc0
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov edx, dword [ebp + 8]
mov dword [edx], 0
mov eax, dword [ebp - 0xb8]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov dword [ebp - 0xc], eax
lea ecx, [ebp - 0xa8]
call fcn.00410cc0
cmp dword [ebp - 0xc], 0
jle 0x412e99
mov edx, dword [ebp - 0xc]
add edx, 1
push edx
lea ecx, [ebp - 0xa8]
call fcn.00413130
lea ecx, [ebp - 0xa8]
call fcn.00409d40
test eax, eax
jne 0x412e4e
mov dword [ebp - 0xac], 0
lea ecx, [ebp - 0xa8]
call fcn.00410d10
lea ecx, [ebp - 0x18]
call fcn.004108b0
mov eax, dword [ebp - 0xac]
jmp 0x412f01
mov eax, dword [ebp - 0xc]
add eax, 1
push eax
lea ecx, [ebp - 0xa8]
call fcn.00409d40
push eax
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ecx]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jne 0x412e99
mov dword [ebp - 0xb0], 0
lea ecx, [ebp - 0xa8]
call fcn.00410d10
lea ecx, [ebp - 0x18]
call fcn.004108b0
mov eax, dword [ebp - 0xb0]
jmp 0x412f01
lea ecx, [ebp - 0xa8]
call fcn.00409d40
push eax
call fcn.0040d870
add esp, 4
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
cmp dword [ebp - 0xc], 0
jne 0x412ecb
mov dword [ebp - 0xbc], 1
jmp 0x412edc
mov edx, dword [ebp + 8]
xor eax, eax
cmp dword [edx], 0
setne al
mov dword [ebp - 0xbc], eax
mov ecx, dword [ebp - 0xbc]
mov dword [ebp - 0xb4], ecx
lea ecx, [ebp - 0xa8]
call fcn.00410d10
lea ecx, [ebp - 0x18]
call fcn.004108b0
mov eax, dword [ebp - 0xb4]
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0041710f
mov esp, ebp
pop ebp
ret 4
Function at 0x413c80
Capabilities:
Create process on windows
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x260
mov eax, dword [0x42c6a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x260], ecx
push str.D7B7CDDF_EF6B_4070_9478_2B37F70BE701
push 0x400
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x413cc1
xor eax, eax
jmp 0x413e93
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x413cdf
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x413e93
push 0
push 0
push 0
push 6
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x413d0b
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x413e93
push 0x400
push 0
mov eax, dword [ebp - 0xc]
push eax
call fcn.00417120
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 4], ecx
mov dword [ebp - 0x258], 0
jmp 0x413d3f
mov edx, dword [ebp - 0x258]
add edx, 1
mov dword [ebp - 0x258], edx
cmp dword [ebp - 0x258], 0xc
jae 0x413dc3
mov eax, dword [ebp - 0x258]
imul eax, eax, 0x18
mov ecx, dword [ebp - 0x260]
mov edx, dword [ecx + eax + 0x30]
push edx
mov ecx, dword [ebp - 0x260]
add ecx, 4
call fcn.00402860
mov dword [ebp - 0x25c], eax
mov eax, dword [ebp - 0x258]
imul eax, eax, 0x18
mov ecx, dword [ebp - 0x260]
mov edx, dword [ebp - 0x25c]
cmp edx, dword [ecx + eax + 0x44]
je 0x413dbe
mov eax, dword [ebp - 0x258]
imul eax, eax, 0x18
mov ecx, dword [ebp - 0x260]
lea edx, [ecx + eax + 0x34]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x25c]
mov dword [ecx + 0x10], edx
mov eax, dword [ebp - 4]
add eax, 0x14
mov dword [ebp - 4], eax
jmp 0x413d30
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
xor edx, edx
mov word [ebp - 0x218], dx
push 0x206
push 0
lea eax, [ebp - 0x216]
push eax
call fcn.00417120
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x3c
push 0
lea edx, [ebp - 0x254]
push edx
call fcn.00417120
add esp, 0xc
mov dword [ebp - 0x254], 0x3c
mov dword [ebp - 0x250], 0x40
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x248], 0x426a50
lea eax, [ebp - 0x218]
mov dword [ebp - 0x244], eax
mov dword [ebp - 0x240], str._SetFileAssoc
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 5
lea ecx, [ebp - 0x254]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
push 0x1388
mov edx, dword [ebp - 0x21c]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041710f
mov esp, ebp
pop ebp
ret
Function at 0x414140
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x42c6a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x218], ecx
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.00417120
add esp, 0xc
push 0x104
lea edx, [ebp - 0x210]
push edx
push str._APPDATA_WinMount
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp - 0x210]
push eax
push 0x3f3
mov ecx, dword [ebp - 0x218]
add ecx, 4
call fcn.00401170
push 0
push 0x3fb
mov ecx, dword [ebp - 0x218]
add ecx, 4
call fcn.00402830
push 1
push 0x413
mov ecx, dword [ebp - 0x218]
add ecx, 4
call fcn.00402830
mov dword [ebp - 0x214], 0
jmp 0x4141ee
mov ecx, dword [ebp - 0x214]
add ecx, 1
mov dword [ebp - 0x214], ecx
cmp dword [ebp - 0x214], 0xc
jae 0x414234
mov edx, dword [ebp - 0x214]
imul edx, edx, 0x18
mov eax, dword [ebp - 0x218]
mov dword [eax + edx + 0x44], 0
push 0
mov ecx, dword [ebp - 0x214]
imul ecx, ecx, 0x18
mov edx, dword [ebp - 0x218]
mov eax, dword [edx + ecx + 0x30]
push eax
mov ecx, dword [ebp - 0x218]
add ecx, 4
call fcn.00402830
jmp 0x4141df
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041710f
mov esp, ebp
pop ebp
ret 0x10
Function at 0x414250
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x42c6a0]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x220], ecx
lea ecx, [ebp - 4]
call fcn.00410cc0
lea ecx, [ebp - 8]
call fcn.00410cc0
mov ecx, dword [ebp - 0x220]
add ecx, 0x24
call fcn.00409d40
mov dword [ebp - 0x224], eax
lea ecx, [ebp - 4]
call fcn.00409e40
push eax
push 0xf0
mov eax, dword [ebp - 0x224]
push eax
mov ecx, dword [ebp - 0x224]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
call eax
mov ecx, dword [ebp - 0x220]
add ecx, 0x24
call fcn.00409d40
mov dword [ebp - 0x228], eax
lea ecx, [ebp - 8]
call fcn.00409e40
push eax
push 0xf1
mov ecx, dword [ebp - 0x228]
push ecx
mov edx, dword [ebp - 0x228]
mov eax, dword [edx]
mov ecx, dword [eax + 0x14]
call ecx
push 4
lea ecx, [ebp - 4]
call fcn.00409d40
push eax
lea ecx, [ebp - 8]
call fcn.00409d40
push eax
mov ecx, dword [ebp - 0x220]
add ecx, 4
call fcn.004028b0
cmp eax, 6
jne 0x4143bc
xor edx, edx
mov word [ebp - 0x218], dx
push 0x206
push 0
lea eax, [ebp - 0x216]
push eax
call fcn.00417120
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str.Uninstall.exe
push 0x5c
lea edx, [ebp - 0x218]
push edx
call fcn.00409050
add esp, 8
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
call fcn.004038d0
test eax, eax
je 0x414388
push 5
push 0
push 0x426ac0
lea eax, [ebp - 0x218]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x4143a5
push 5
push 0
push str._slience
lea ecx, [ebp - 0x218]
push ecx
push str.runas
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0
push 2
push 0x111
mov ecx, dword [ebp - 0x220]
add ecx, 4
call fcn.0040a550
mov dword [ebp - 0x21c], 0
lea ecx, [ebp - 8]
call fcn.00401130
lea ecx, [ebp - 4]
call fcn.00401130
mov eax, dword [ebp - 0x21c]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0041710f
mov esp, ebp
pop ebp
ret 0x10
Function at 0x416260
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1020
call fcn.00417f90
mov eax, dword [0x42c6a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x1020], ecx
mov eax, dword [ebp - 0x1020]
cmp dword [eax], 0
jne 0x41628f
xor eax, eax
jmp 0x4163ef
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 0x4162e9
push 0x426d98
lea eax, [ebp - 0x1018]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x4162e9
mov eax, 1
jmp 0x4163ef
lea ecx, [ebp - 0x810]
push ecx
mov edx, dword [ebp + 8]
push edx
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov dword [ebp - 0x814], eax
cmp dword [ebp - 0x814], 0
je 0x41634f
push 0x426dcc
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push 0x426e00
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]
mov dword [ebp - 0x814], eax
xor eax, eax
cmp dword [ebp - 0x814], 0
sete al
jmp 0x4163ef
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]
push 0x426e34
lea edx, [ebp - 0x808]
push edx
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
mov dword [ebp - 0x80c], eax
mov eax, dword [ebp - 0x80c]
lea ecx, [ebp - 0x808]
cmp eax, ecx
jne 0x4163af
xor eax, eax
jmp 0x4163ef
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.0041710f
mov esp, ebp
pop ebp
ret 4
Function at 0x416400
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x810
mov eax, dword [0x42c6a0]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov word [ebp - 0x808], ax
push 0x7fe
push 0
lea ecx, [ebp - 0x806]
push ecx
call fcn.00417120
add esp, 0xc
push 4
push str..wmt
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
jne 0x416489
push str.image_file
lea ecx, [ebp - 0x80c]
call fcn.004092c0
mov eax, dword [ebp - 0x80c]
push eax
push 0x426e74
push 0x426e90
push 0x400
lea ecx, [ebp - 0x808]
push ecx
call fcn.0041719a
add esp, 0x14
lea ecx, [ebp - 0x80c]
call fcn.00401130
jmp 0x4164f3
push 4
push str..mou
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
je 0x4164b3
push 4
push str..zip
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
jne 0x4164f3
push str.archiver
lea ecx, [ebp - 0x810]
call fcn.004092c0
mov ecx, dword [ebp - 0x810]
push ecx
push 0x426ec8
push str._s__s
push 0x400
lea edx, [ebp - 0x808]
push edx
call fcn.0041719a
add esp, 0x14
lea ecx, [ebp - 0x810]
call fcn.00401130
movzx eax, word [ebp - 0x808]
test eax, eax
je 0x41652c
lea ecx, [ebp - 0x808]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [eax + eax + 2]
push edx
lea eax, [ebp - 0x808]
push eax
push 1
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueW]
mov eax, 1
jmp 0x41652e
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041710f
mov esp, ebp
pop ebp
ret
Function at 0x416540
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x122c
call fcn.00417f90
mov eax, dword [0x42c6a0]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x122c], ecx
mov eax, dword [ebp + 8]
push eax
push 0x426ef0
push 0x426f0c
lea ecx, [ebp - 0x808]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea edx, [ebp - 0x810]
push edx
mov eax, dword [ebp + 8]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov dword [ebp - 0x814], eax
cmp dword [ebp - 0x814], 0
je 0x4165c1
lea ecx, [ebp - 0x810]
push ecx
mov edx, dword [ebp + 8]
push edx
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
je 0x4165c1
xor eax, eax
jmp 0x41674a
lea eax, [ebp - 0x808]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [ebp - 0x808]
push edx
push 1
push 0
mov eax, dword [ebp - 0x810]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueW]
mov ecx, dword [ebp - 0x810]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [ebp - 0x80c]
push edx
lea eax, [ebp - 0x808]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov dword [ebp - 0x814], eax
cmp dword [ebp - 0x814], 0
je 0x416627
xor eax, eax
jmp 0x41674a
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x80c]
push edx
call fcn.00416400
add esp, 8
mov eax, dword [ebp - 0x80c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 8]
push ecx
call fcn.004161f0
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x416734
push str.DefaultIcon
lea edx, [ebp - 0x808]
push edx
push 0x426f34
lea eax, [ebp - 0x1018]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea ecx, [ebp - 0x101c]
push ecx
lea edx, [ebp - 0x1018]
push edx
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov dword [ebp - 0x814], eax
cmp dword [ebp - 0x814], 0
jne 0x416734
cmp dword [ebp + 0xc], 0
je 0x4166c6
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x1228]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x4166da
push 0x104
lea edx, [ebp - 0x1228]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, dword [ebp - 4]
add eax, 1
push eax
lea ecx, [ebp - 0x1228]
push ecx
push str._s__d
lea edx, [ebp - 0x1228]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x1228]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [ebp - 0x1228]
push edx
push 1
push 0
mov eax, dword [ebp - 0x101c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueW]
mov ecx, dword [ebp - 0x101c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x808]
push eax
mov ecx, dword [ebp - 0x122c]
call fcn.004167b0
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0041710f
mov esp, ebp
pop ebp
ret 8