joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410d80
Capabilities:
Check if file exists
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bbbd0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x4e2210]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x20]
add eax, 0x2c
push eax
lea ecx, [ebp - 0x18]
call fcn.004057a0
mov dword [ebp - 4], 0
push 0x4cbe68
lea ecx, [ebp - 0x18]
call fcn.00403b80
mov ecx, dword [ebp - 0x20]
add ecx, 0x2c
push ecx
lea ecx, [ebp - 0x10]
call fcn.004057a0
mov byte [ebp - 4], 1
push str.SoftMgrPCSoftMgrToolsDll.dll
lea ecx, [ebp - 0x10]
call fcn.00403b80
lea ecx, [ebp - 0x10]
call fcn.004683f0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x410e26
push 0
lea ecx, [ebp - 0x18]
call fcn.004683f0
push eax
lea ecx, [ebp - 0x10]
call fcn.004683f0
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x1c], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00417fc0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00417fc0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x410e60
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bf0c8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4e2210]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x2c]
add eax, 0x2c
push eax
lea ecx, [ebp - 0x10]
call fcn.004057a0
mov dword [ebp - 4], 0
push 0x4cbed0
lea ecx, [ebp - 0x10]
call fcn.00403b80
lea ecx, [ebp - 0x10]
call fcn.004683f0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x410f69
lea ecx, [ebp - 0x10]
call fcn.004683f0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x410f12
mov ecx, dword [ebp - 0x10]
push ecx
push 0x4cbefc
push 0x4e77f8
call fcn.00489600
add esp, 0xc
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00417fc0
mov eax, dword [ebp - 0x20]
jmp 0x410f81
push str.UnknownOpenExtendCommand
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x18], eax
call dword [ebp - 0x18]
test eax, eax
jne 0x410f58
push str.Open__UnknownExtendCommand_inf_failed
push 0x4e77f8
call fcn.00489600
add esp, 8
mov dword [ebp - 0x24], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00417fc0
mov eax, dword [ebp - 0x24]
jmp 0x410f81
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 0x14], 1
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00417fc0
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x410f90
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bf0c8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4e2210]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x2c]
add eax, 0x2c
push eax
lea ecx, [ebp - 0x10]
call fcn.004057a0
mov dword [ebp - 4], 0
push 0x4cbf5c
lea ecx, [ebp - 0x10]
call fcn.00403b80
lea ecx, [ebp - 0x10]
call fcn.004683f0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x411099
lea ecx, [ebp - 0x10]
call fcn.004683f0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x411042
mov ecx, dword [ebp - 0x10]
push ecx
push 0x4cbf88
push 0x4e77f8
call fcn.00489600
add esp, 0xc
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00417fc0
mov eax, dword [ebp - 0x20]
jmp 0x4110b1
push str.IsOpenUnkownEnabled
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x18], eax
call dword [ebp - 0x18]
test eax, eax
jne 0x411088
push str.Open__IsOpenUnkownEnabled_inf_failed
push 0x4e77f8
call fcn.00489600
add esp, 8
mov dword [ebp - 0x24], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00417fc0
mov eax, dword [ebp - 0x24]
jmp 0x4110b1
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 0x14], 1
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00417fc0
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4110c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bf0a0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
mov eax, dword [0x4e2210]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], ecx
push str.Start_InstallSoftMgrService
mov esi, 0x4e77f8
call fcn.004897f0
add esp, 4
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x28]
add eax, 0x2c
push eax
lea ecx, [ebp - 0x10]
call fcn.004057a0
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
push 0x4cc018
lea ecx, [ebp - 0x10]
call fcn.00403b80
lea ecx, [ebp - 0x10]
call fcn.004683f0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4111fe
lea ecx, [ebp - 0x10]
call fcn.004683f0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x411160
jmp 0x4111fe
push str.InstallSoftMgrSrv
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x41117d
jmp 0x4111fe
mov edx, dword [ebp - 0x28]
add edx, 0x2c
push edx
lea ecx, [ebp - 0x1c]
call fcn.004057a0
mov byte [ebp - 4], 1
push str.QQPCSoftService.exe
lea ecx, [ebp - 0x1c]
call fcn.00403b80
push 0x4cc080
push 0
lea ecx, [ebp - 0x1c]
call fcn.00412e80
push 0x4cc084
lea ecx, [ebp - 0x1c]
call fcn.00404030
push 0x4cc088
lea ecx, [ebp - 0x1c]
call fcn.00403b80
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004683f0
push eax
call dword [ebp - 0x20]
add esp, 8
test eax, eax
jne 0x4111eb
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00417fc0
jmp 0x4111fe
mov dword [ebp - 0x14], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00417fc0
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x24], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00417fc0
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x411240
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bbb98
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x4e2210]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x24]
cmp dword [eax + 0x19c], 0
jne 0x41127e
mov eax, 1
jmp 0x411328
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0x24]
add ecx, 0x2c
push ecx
lea ecx, [ebp - 0x10]
call fcn.004057a0
mov dword [ebp - 4], 0
push 0x4cc0a4
lea ecx, [ebp - 0x10]
call fcn.00403b80
lea ecx, [ebp - 0x10]
call fcn.004683f0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x411306
lea ecx, [ebp - 0x10]
call fcn.004683f0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x4112dc
jmp 0x411306
push str.UninstallSoftMgrSrv
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x4112f6
jmp 0x411306
call dword [ebp - 0x1c]
test eax, eax
jne 0x4112ff
jmp 0x411306
mov dword [ebp - 0x14], 1
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00417fc0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x411340
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bbb98
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x4e2210]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x24]
add eax, 0x2c
push eax
lea ecx, [ebp - 0x10]
call fcn.004057a0
mov dword [ebp - 4], 0
push str.PCSoftMgrToolsDll.dll
lea ecx, [ebp - 0x10]
call fcn.00403b80
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x10]
call fcn.004683f0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x411406
lea ecx, [ebp - 0x10]
call fcn.004683f0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x4113dc
mov ecx, dword [ebp - 0x10]
push ecx
push str.Load_dll__s__Library_Failed
push 0x4e77f8
call fcn.00489600
add esp, 0xc
jmp 0x411406
push str.IsSoftMgrSrvInstalled
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x4113f6
jmp 0x411406
call dword [ebp - 0x1c]
test eax, eax
jne 0x4113ff
jmp 0x411406
mov dword [ebp - 0x14], 1
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00417fc0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x411440
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bf068
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x4e2210]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x18]
add eax, 0x2c
push eax
lea ecx, [ebp - 0x10]
call fcn.004057a0
mov dword [ebp - 4], 0
push str.npQMExtensionsIE.dll
lea ecx, [ebp - 0x10]
call fcn.00403b80
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0x198], 0
jne 0x4114bb
lea ecx, [ebp - 0x10]
call fcn.004683f0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4114bb
lea ecx, [ebp - 0x10]
call fcn.004683f0
push eax
mov ecx, dword [ebp - 0x18]
call fcn.00412b70
mov dword [ebp - 0x14], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00417fc0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x4117d0
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bc9e3
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x4e2210]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x230], ecx
mov dword [ebp - 0x22c], 0
lea ecx, [ebp - 0x14]
call fcn.00417fe0
mov dword [ebp - 4], 0
mov word [ebp - 0x224], 0
push 0x206
push 0
lea eax, [ebp - 0x222]
push eax
call fcn.0049d120
add esp, 0xc
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x228]
call fcn.00418790
mov byte [ebp - 4], 1
push 1
push str.SOFTWARETencentQQPCMgr
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x228]
call fcn.0040c500
test eax, eax
je 0x411880
lea ecx, [ebp - 0x14]
push ecx
push 0x4cc250
lea ecx, [ebp - 0x228]
call fcn.00418350
jmp 0x4118af
push 1
push str.SOFTWARETencentQQ2009
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x228]
call fcn.0040c500
test eax, eax
je 0x4118af
lea edx, [ebp - 0x14]
push edx
push 0x4cc298
lea ecx, [ebp - 0x228]
call fcn.00418350
push 0
push 0x26
lea eax, [ebp - 0x224]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4118cd
jmp 0x411915
lea ecx, [ebp - 0x14]
call fcn.00405df0
movzx ecx, al
test ecx, ecx
jne 0x4118ed
push 0
lea ecx, [ebp - 0x14]
call fcn.00403dc0
mov word [ebp - 0x224], ax
lea edx, [ebp - 0x224]
push edx
lea ecx, [ebp - 0x14]
call fcn.004058b0
lea eax, [ebp - 0x14]
push eax
call fcn.00401e40
add esp, 4
push 0x4cc2a8
lea ecx, [ebp - 0x14]
call fcn.00404030
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004057a0
mov edx, dword [ebp - 0x22c]
or edx, 1
mov dword [ebp - 0x22c], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x228]
call fcn.00407190
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00417fc0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0049d270
mov esp, ebp
pop ebp
ret 8
Function at 0x418350
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0
jne 0x418379
jmp 0x418408
lea ecx, [ebp - 0xc]
push ecx
push 0
lea edx, [ebp - 8]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 8], 1
je 0x4183a2
jmp 0x418408
mov ecx, dword [ebp + 0xc]
call fcn.00405c50
mov eax, dword [ebp - 0xc]
shr eax, 1
add eax, 1
push eax
mov ecx, dword [ebp + 0xc]
call fcn.004055f0
mov dword [ebp - 4], eax
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4183e9
jmp 0x418408
mov ecx, dword [ebp - 0xc]
shr ecx, 1
mov edx, dword [ebp - 4]
mov word [edx + ecx*2], 0
push 0xffffffffffffffff
mov ecx, dword [ebp + 0xc]
call fcn.004055c0
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret 8

Function at 0x418420
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
jne 0x41843c
jmp 0x418479
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0049d109
add esp, 4
lea edx, [eax + eax + 2]
push edx
mov eax, dword [ebp + 0xc]
push eax
push 1
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x418472
jmp 0x418479
mov dword [ebp - 4], 1
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8

Function at 0x418590
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 8], 4
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0
jne 0x4185ba
jmp 0x4185fa
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 4]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4185e7
cmp dword [ebp - 4], 4
je 0x4185eb
jmp 0x4185fa
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x14]
mov dword [ecx], edx
mov dword [ebp - 0xc], 1
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 8
Function at 0x4187f0
Capabilities:
Hide graphical window
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 8], 0x80004005
mov dword [ebp - 4], 0
push 0xf001f
push 4
push 0
lea eax, [ebp - 4]
push eax
push str.591D514A_55C0_5EE0_0E7A_1375D65E910B
push 4
mov ecx, 0x4e7708
call fcn.00424e40
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jge 0x418830
jmp 0x4188c6
cmp dword [ebp - 4], 0
je 0x4188c6
mov ecx, 0x4e7708
call fcn.00418ce0
mov ecx, dword [eax]
mov dword [ebp - 0x14], ecx
push 0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0xc], eax
push 1
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
push 1
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
push 3
push 0
push 0
push 0
push 0
push 0xfffffffffffffffe
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov esp, ebp
pop ebp
ret
Function at 0x41d540
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
xor eax, eax
jne 0x41d549
xor ecx, ecx
cmp dword [ebp + 0xc], 0
setne cl
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0
jne 0x41d569
push 0x80004005
call fcn.00404a90
xor edx, edx
jne 0x41d54d
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
lea ecx, [eax + edx*2]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
lea ecx, [eax + edx*2]
mov dword [ebp - 4], ecx
cmp dword [ebp - 0xc], 1
jne 0x41d57a
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 0xc]
push eax
push 7
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esp, ebp
pop ebp
ret 8

Function at 0x41d850
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x4e2210]
xor eax, ebp
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x228], ecx
lea ecx, [ebp - 0x10]
call fcn.00418790
push 0x2001f
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x228]
mov edx, dword [ecx]
push edx
lea ecx, [ebp - 0x10]
call fcn.0041d710
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x41d8b0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x21c], eax
lea ecx, [ebp - 0x10]
call fcn.00424850
mov eax, dword [ebp - 0x21c]
jmp 0x41d941
mov dword [ebp - 4], 0x100
lea ecx, [ebp - 0xc]
push ecx
push 0
push 0
push 0
lea edx, [ebp - 4]
push edx
lea eax, [ebp - 0x218]
push eax
push 0
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x41d916
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x10]
call fcn.0041d850
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x41d90d
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x220], eax
lea ecx, [ebp - 0x10]
call fcn.00424850
mov eax, dword [ebp - 0x220]
jmp 0x41d941
mov dword [ebp - 4], 0x100
jmp 0x41d8b7
lea ecx, [ebp - 0x10]
call fcn.0041d9b0
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x228]
call fcn.0041d9f0
mov dword [ebp - 0x224], eax
lea ecx, [ebp - 0x10]
call fcn.00424850
mov eax, dword [ebp - 0x224]
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0049d270
mov esp, ebp
pop ebp
ret 4
Function at 0x425020
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
jne 0x42503c
mov eax, dword [ebp - 4]
jmp 0x425117
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
shr ecx, 3
xor eax, 0xffffffff
test ecx, ecx
je 0x4250f2
push ebp
mov ebp, ecx
xor edx, edx
xor ecx, ecx
mov edi, edi
mov ebx, dword [esi]
add esi, 4
mov dl, bl
mov cl, bh
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x4c9fb0]
shr ebx, 0x10
xor eax, edi
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x4c9fb0]
mov dl, bl
xor eax, edi
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x4c9fb0]
mov cl, bh
xor eax, edi
mov ebx, dword [esi]
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x4c9fb0]
add esi, 4
xor eax, edi
mov dl, bl
mov cl, bh
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x4c9fb0]
shr ebx, 0x10
xor eax, edi
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x4c9fb0]
mov dl, bl
xor eax, edi
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x4c9fb0]
mov cl, bh
xor eax, edi
xor cl, al
shr eax, 8
xor eax, dword [ecx*4 + 0x4c9fb0]
dec ebp
jne 0x42505c
pop ebp
mov ecx, dword [ebp + 0x10]
xor edx, edx
and ecx, 7
je 0x42510e
mov dl, byte [esi]
inc esi
xor dl, al
shr eax, 8
xor eax, dword [edx*4 + 0x4c9fb0]
dec ecx
jne 0x4250fc
xor eax, 0xffffffff
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x427270
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c1134
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push esi
push edi
mov eax, dword [0x4e2210]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], 0
push 0
push 0x14
push 0x12c
push 0x26
push 0xb4
push 0x4c9e98
push str.title_text
mov edi, dword [ebp - 0x50]
call fcn.00476320
push 0x80
call fcn.0049d298
add esp, 4
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x28], 0
je 0x427319
push str.normal_font
lea ecx, [ebp - 0x44]
call fcn.00405580
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x4c]
or eax, 1
mov dword [ebp - 0x4c], eax
lea ecx, [ebp - 0x44]
push ecx
call fcn.0047a990
mov ecx, eax
call fcn.00427970
push eax
mov edx, dword [ebp - 0x28]
push edx
call fcn.00478e10
mov dword [ebp - 0x54], eax
jmp 0x427320
mov dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x4c]
and edx, 1
je 0x42734e
and dword [ebp - 0x4c], 0xfffffffe
lea ecx, [ebp - 0x44]
call fcn.00401df0
push 0x10b8
push 0x22b
push 0x32
mov eax, 0x54
mov edi, dword [ebp - 0x50]
mov esi, dword [ebp - 0x14]
call fcn.004745c0
push 0
push 0
push 3
push 0
push 1
push SysReAllocString
mov ecx, dword [ebp - 0x50]
add ecx, 0x68
call fcn.004683f0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x42742d
push 0
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
add eax, 1
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0049b68a
add esp, 4
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x20]
lea edx, [ecx + ecx + 2]
push edx
push 0
mov eax, dword [ebp - 0x18]
push eax
call fcn.0049d120
add esp, 0xc
mov dword [ebp - 0x1c], 0
push 0
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x427423
push 0
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x14]
call fcn.00479040
push 0xffffff
mov ecx, dword [ebp - 0x14]
call fcn.00427950
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x50]
call fcn.00427860
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret