joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410500
Capabilities:
Link many functions at runtime

Disassembly:
mov eax, dword [esp + 4]
push ebx
xor ebx, ebx
push esi
mov esi, ecx
push eax
mov dword [esi], vtable.CEt99Ex.0
mov dword [esi + 8], eax
mov dword [esi + 0xc], ebx
mov dword [esi + 4], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x10], ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 0xc], eax
cmp eax, ebx
je 0x4105af
cmp eax, 0xffffffff
je 0x4105af
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.et_FindToken
push eax
call edi
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0xc]
push str.et_OpenToken
push eax
call edi
mov ecx, dword [esi + 0xc]
push str.et_CloseToken
push ecx
mov dword [esi + 0x18], eax
call edi
mov edx, dword [esi + 0xc]
push str.et_Verify
push edx
mov dword [esi + 0x1c], eax
call edi
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0xc]
push str.et_Read
push eax
call edi
mov dword [esi + 0x24], eax
pop edi
cmp dword [esi + 0x14], ebx
je 0x4105af
cmp dword [esi + 0x18], ebx
je 0x4105af
cmp dword [esi + 0x1c], ebx
je 0x4105af
cmp dword [esi + 0x20], ebx
je 0x4105af
cmp eax, ebx
mov eax, esi
je 0x4105b1
mov dword [esi + 0x10], 1
pop esi
pop ebx
ret 4
mov eax, esi
pop esi
pop ebx
ret 4

Function at 0x410790
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
lea eax, [esp]
push eax
push 0x20019
push 0
push ecx
push edx
mov dword [esp + 0x14], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4107be
xor eax, eax
pop ecx
ret 0x18
mov ecx, dword [esp + 0x18]
push esi
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x20]
push edx
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [esp + 4]
push edx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
pop esi
pop ecx
ret 0x18
Function at 0x410880
Capabilities:
Query or enumerate registry key

Disassembly:
push ecx
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push edi
lea eax, [esp + 4]
push eax
push 0x20019
xor edi, edi
push edi
push ecx
push edx
mov dword [esp + 0x18], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
je 0x4108ae
xor eax, eax
pop edi
pop ecx
ret 0x10
mov eax, 0xfc0fc0fd
mul dword [esp + 0x18]
push ebx
mov ebx, dword [esp + 0x18]
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
shr edx, 9
push esi
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], 0x104
mov ecx, dword [esp + 0x10]
push 0
push 0
push 0
push 0
lea eax, [esp + 0x2c]
push eax
push ebx
push edi
push ecx
call ebp
mov esi, eax
inc edi
cmp esi, 0x103
je 0x41090c
cmp edi, dword [esp + 0x18]
ja 0x41090c
add ebx, 0x208
mov dword [esp + 0x1c], 0x104
test esi, esi
je 0x4108d3
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x41092d
cmp esi, 0x103
je 0x41092d
pop esi
pop ebp
pop ebx
xor eax, eax
pop edi
pop ecx
ret 0x10
pop esi
pop ebp
pop ebx
mov eax, 1
pop edi
pop ecx
ret 0x10
Function at 0x411210
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x101c
call fcn.004536f0
mov eax, dword [0x49ab20]
xor eax, esp
mov dword [esp + 0x1018], eax
push ebx
mov ebx, dword [esp + 0x1024]
push ebp
push esi
mov esi, dword [esp + 0x1030]
push edi
mov ebp, ecx
xor edi, edi
push 0x7fe
lea ecx, [esp + 0x82e]
xor eax, eax
push edi
mov dword [esp + 0x20], edi
push ecx
mov dword [esp + 0x30], ebp
mov dword [esp + 0x20], ebx
mov word [esp + 0x834], ax
call fcn.00451660
push 0x3fe
lea eax, [esp + 0x43a]
xor edx, edx
push edi
push eax
mov word [esp + 0x440], dx
call fcn.00451660
add esp, 0x18
push 0x400
lea ecx, [esp + 0x42c]
push ecx
push 1
push 0x4858e4
push esi
push SysReAllocString
mov ecx, ebp
call fcn.00410790
test eax, eax
je 0x4112dd
lea edx, [esp + 0x828]
push edx
lea eax, [esp + 0x42c]
push eax
mov ecx, ebp
call fcn.00410940
test eax, eax
je 0x4112dd
lea ecx, [esp + 0x828]
push ecx
mov ecx, ebx
call fcn.00405330
mov eax, ebx
jmp 0x41145c
push 0x3fe
lea eax, [esp + 0x2e]
xor edx, edx
push edi
push eax
mov word [esp + 0x34], dx
call fcn.00451660
push esi
lea ecx, [esp + 0x38]
push str._sOpenWithProgids
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x30]
push ecx
push SysReAllocString
mov ecx, ebp
mov dword [esp + 0x28], edi
mov dword [esp + 0x20], edi
call fcn.00410800
mov eax, dword [esp + 0x10]
imul eax, eax, 0x104
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0042eb4e
mov ebx, eax
add esp, 4
cmp ebx, edi
jne 0x411381
mov eax, dword [esp + 0x10]
imul eax, eax, 0x104
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0042eb4e
mov ebx, eax
add esp, 4
cmp ebx, edi
je 0x41144a
mov eax, dword [esp + 0x10]
imul eax, eax, 0x208
push eax
push edi
push ebx
call fcn.00451660
add esp, 0xc
lea ecx, [esp + 0x1c]
push ecx
push 0x20019
push 0
lea edx, [esp + 0x34]
push edx
mov dword [esp + 0x30], edi
push SysReAllocString
mov edi, ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x411441
xor esi, esi
cmp dword [esp + 0x10], esi
jbe 0x411406
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov edi, edi
mov ecx, dword [esp + 0x1c]
push 0
push 0
push 0
push 0
lea eax, [esp + 0x30]
push eax
push edi
push esi
push ecx
mov dword [esp + 0x40], 0x104
call ebp
cmp eax, 0x103
je 0x411402
inc esi
add edi, 0x208
cmp esi, dword [esp + 0x10]
jb 0x4113d0
mov ebp, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
mov edi, ebx
cmp dword [esp + 0x10], esi
jbe 0x411441
jmp 0x411420
lea eax, [esp + 0x828]
push eax
push edi
mov ecx, ebp
call fcn.00410940
test eax, eax
jne 0x411477
inc esi
add edi, 0x208
cmp esi, dword [esp + 0x10]
jb 0x411420
push ebx
call fcn.0042eb59
add esp, 4
push 0x4858e4
mov esi, dword [esp + 0x18]
mov ecx, esi
call fcn.00405330
mov eax, esi
mov ecx, dword [esp + 0x1028]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004522e0
add esp, 0x101c
ret 8
push ebx
call fcn.0042eb59
add esp, 4
lea ecx, [esp + 0x828]
push ecx
jmp 0x41144f
Function at 0x412190
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
lea eax, [esp]
push eax
push 0x20019
push 0
push ecx
push edx
mov dword [esp + 0x14], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4121bc
xor eax, eax
pop ecx
ret
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push esi
push eax
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x20]
push edx
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [esp + 4]
push edx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
pop esi
pop ecx
ret

Function at 0x412200
Capabilities:
Check if file exists
Get file attributes
Persist via run registry key
Query environment variable

Disassembly:
sub esp, 0x61c
mov eax, dword [0x49ab20]
xor eax, esp
mov dword [esp + 0x618], eax
push esi
mov esi, dword [esp + 0x624]
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x41e]
push ecx
mov dword [esp + 0x10], 0x104
mov word [esp + 0x420], ax
call fcn.00451660
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x424]
push eax
push 1
push str.CDGRegedit
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00412190
add esp, 0x24
test eax, eax
jne 0x412281
pop esi
mov ecx, dword [esp + 0x618]
xor ecx, esp
call fcn.004522e0
add esp, 0x61c
ret
push edi
xor ecx, ecx
push 0x208
push ecx
lea edx, [esp + 0x16]
push edx
mov word [esp + 0x18], cx
call fcn.00451660
add esp, 0xc
push 0x104
lea eax, [esp + 0x10]
push eax
push str.USERPROFILE
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push str.EstTemp_
lea ecx, [esp + 0x10]
push ecx
call edi
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4122ea
test al, 0x10
je 0x4122ea
push 0x104
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
jmp 0x41234b
xor ecx, ecx
push 0x1fe
push ecx
lea edx, [esp + 0x222]
push edx
mov word [esp + 0x224], cx
call fcn.00451660
push 0
push 0
push 0
push 0
push 0x100
lea eax, [esp + 0x238]
push eax
push 0x100
lea ecx, [esp + 0x440]
push esi
push ecx
mov dword [esi], 0
call fcn.00453073
add esp, 0x30
lea edx, [esp + 0x218]
push edx
push esi
call edi
push str.TEMP_
push esi
call edi
mov ecx, dword [esp + 0x620]
pop edi
pop esi
xor ecx, esp
mov eax, 1
call fcn.004522e0
add esp, 0x61c
ret
Function at 0x412370
Capabilities:
Parse pe header
Read file on windows

Disassembly:
sub esp, 0x380
mov eax, dword [0x49ab20]
xor eax, esp
mov dword [esp + 0x37c], eax
push esi
mov esi, dword [esp + 0x388]
push edi
push 0x3c
lea eax, [esp + 0x2c]
push 0
push eax
mov dword [esp + 0x30], 0
call fcn.00451660
xor ecx, ecx
push 0x1fe
push ecx
lea edx, [esp + 0x19a]
push edx
mov word [esp + 0x19c], cx
call fcn.00451660
lea eax, [esp + 0x19c]
push eax
call fcn.00412200
push 0
push 0
push 0x100
lea ecx, [esp + 0x1ac]
push ecx
push 0
push 0
push 0
push 0
push esi
mov edi, eax
call fcn.00453073
add esp, 0x40
lea edx, [esp + 0x184]
push str.ugs_router
push edx
call fcn.00453f81
add esp, 8
test eax, eax
je 0x4124a2
lea eax, [esp + 0x184]
push str.proe
push eax
call fcn.00453f81
add esp, 8
test eax, eax
je 0x4124a2
lea ecx, [esp + 0x184]
push str.VSLauncher
push ecx
call fcn.00453f81
add esp, 8
test eax, eax
je 0x4124a2
lea edx, [esp + 0x184]
push str.powerpnt
push edx
call fcn.00453f81
add esp, 8
test eax, eax
jne 0x41245d
test edi, edi
je 0x4124a2
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4124a2
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea eax, [esp + 0xc]
push eax
push 0x40
lea ecx, [esp + 0x150]
push ecx
push esi
call edi
test eax, eax
jne 0x4124bb
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x37c]
xor ecx, esp
call fcn.004522e0
add esp, 0x380
ret
mov edx, 0x5a4d
cmp dx, word [esp + 0x144]
jne 0x41249b
push 0
lea eax, [esp + 0xc]
push eax
push 0x40
lea ecx, [esp + 0x30]
push ecx
push esi
call edi
test eax, eax
je 0x41249b
mov edx, dword [esp + 0x180]
push 0
push 0
push edx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x41249b
push 0
lea eax, [esp + 0xc]
push eax
push 4
lea ecx, [esp + 0x18]
push ecx
push esi
call edi
test eax, eax
je 0x41249b
cmp dword [esp + 0xc], 0x4550
jne 0x41249b
push 0
lea edx, [esp + 0xc]
push edx
push 0x14
lea eax, [esp + 0x1c]
push eax
push esi
call edi
test eax, eax
je 0x41249b
push 0
lea ecx, [esp + 0xc]
push ecx
push 0xe0
lea edx, [esp + 0x70]
push edx
push esi
call edi
push esi
test eax, eax
je 0x41249c
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x384]
xor eax, eax
cmp word [esp + 0xa8], 2
pop edi
sete al
pop esi
xor ecx, esp
call fcn.004522e0
add esp, 0x380
ret
Function at 0x412600
Capabilities:
Acquire debug privileges
Create thread
Inject dll
Inject thread

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x38]
xor ebp, ebp
mov eax, edi
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], ebp
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x412620
sub eax, edx
sar eax, 1
lea esi, [eax + 1]
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0042eb4e
add esp, 4
mov ebx, eax
push edi
mov dword [ebx], ebp
push ebx
lea ebp, [esi + esi]
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [esp + 0x10]
push eax
push 0xf01ff
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x412681
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20
ret
lea ecx, [esp + 0x18]
push ecx
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x412677
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
push 0
push 0
push 0x10
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x20]
push 0
push edx
mov dword [esp + 0x38], 1
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x412768
mov eax, dword [esp + 0x34]
push eax
push 0
push 0x2a
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x412768
cmp esi, 0xffffffff
je 0x412758
push 4
push 0x3000
push ebp
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov edi, eax
test edi, edi
je 0x412758
push 0
push ebp
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x412758
push 0x4776e8
push str.Kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
push 0
push edi
push eax
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test eax, eax
je 0x412758
mov dword [esp + 0x14], 1
cmp eax, 0xffffffff
je 0x412758
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x412768
cmp esi, 0xffffffff
je 0x412768
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x412790
cmp eax, 0xffffffff
je 0x412790
push 0
push str.SeDebugPrivilege
push eax
call fcn.00412580
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x41279d
push ebx
call fcn.0042eb59
add esp, 4
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
Function at 0x412a50
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x20c
mov eax, dword [0x49ab20]
xor eax, esp
mov dword [esp + 0x208], eax
push ebx
push ebp
mov ebp, dword [esp + 0x218]
push esi
push edi
mov edi, dword [esp + 0x224]
xor eax, eax
push 0x206
mov esi, ecx
push eax
lea ecx, [esp + 0x1a]
push ecx
mov word [esp + 0x1c], ax
call fcn.00451660
mov edx, dword [esi + 0x7c]
add esp, 0xc
push edx
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [esp + 0x10]
lea edx, [eax + 2]
jmp 0x412ab0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x412ab0
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatW]
sub eax, edx
sar eax, 1
cmp word [esp + eax*2 + 0xe], 0x5c
je 0x412ad9
push 0x485864
lea ecx, [esp + 0x14]
push ecx
call ebx
push str.PCID.DAT
lea edx, [esp + 0x14]
push edx
call ebx
mov ecx, dword [esi + 0x80]
lea eax, [esp + 0x10]
push eax
push 0
push str.Auto
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea edx, [esp + 0x10]
push edx
push 0x104
push edi
push 0
mov dword [ebp], eax
mov eax, dword [esi + 0x80]
push str.Pcid
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
xor ecx, ecx
test eax, eax
setg cl
pop edi
pop esi
pop ebp
pop ebx
mov eax, ecx
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.004522e0
add esp, 0x20c
ret 8
Function at 0x414290
Capabilities:
Delete file
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x10ec
call fcn.004536f0
mov eax, dword [0x49ab20]
xor eax, esp
mov dword [esp + 0x10e8], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0xef2]
push ecx
mov word [esp + 0xef4], ax
call fcn.00451660
push esi
lea edx, [esp + 0xef8]
push str.ODMGuard__s
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
push 0xed1
lea eax, [esp + 0x2c]
push 0
push eax
call fcn.00451660
add esp, 0x24
lea ecx, [esp + 0xee8]
push ecx
push 1
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov ebx, eax
test ebx, ebx
je 0x4144a9
cmp ebx, 0xffffffff
je 0x4144a9
push 0
push 0
push 0
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push ebx
test eax, eax
jne 0x41434b
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esp + 0x18]
push 0
push 0
push 0x844
push edx
jmp 0x4144b7
mov esi, eax
mov ecx, 0x3b4
lea edi, [esp + 0x14]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
mov eax, dword [esp + 0x18]
push 0
push 0
push 0x844
push eax
call dword [sym.imp.USER32.dll_PostThreadMessageW]
mov ecx, dword [esp + 0x14]
push ecx
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x414399
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call edi
cmp dword [esp + 0x10], 2
jne 0x4143e0
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
mov esi, eax
lea eax, [esp + 0x20]
push eax
push 5
push 4
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x10e8]
xor ecx, esp
call fcn.004522e0
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0x224]
push ecx
call fcn.0041f950
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
add esp, 4
call esi
push eax
call fcn.00414920
add esp, 4
push 1
call esi
push eax
call fcn.004019a0
add esp, 8
call esi
push eax
call fcn.00401a90
mov eax, dword [esp + 0x14]
add esp, 4
xor edi, edi
sub eax, 1
je 0x414443
sub eax, 3
jne 0x414469
lea edx, [esp + 0x634]
push edx
lea eax, [esp + 0x228]
push eax
call fcn.00422ac0
add esp, 8
jmp 0x414467
push 0
push 0
lea ecx, [esp + 0x63c]
push ecx
lea edx, [esp + 0x230]
push edx
lea eax, [esp + 0x43c]
push eax
call fcn.004225c0
add esp, 0x14
mov edi, eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.0041fb50
add esp, 4
test eax, eax
je 0x414487
lea edx, [esp + 0x1c]
push edx
call fcn.004180f0
add esp, 4
call esi
push eax
call fcn.00401aa0
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x10e8]
xor ecx, esp
call fcn.004522e0
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x18]
push 0
push 0
push 0x844
push eax
call dword [sym.imp.USER32.dll_PostThreadMessageW]
mov ecx, dword [esp + 0x10f4]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.004522e0
mov esp, ebp
pop ebp
ret
Function at 0x414dc0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x548
mov eax, dword [0x49ab20]
xor eax, esp
mov dword [esp + 0x544], eax
push ebx
push esi
xor ebx, ebx
push 0x3ff
lea eax, [esp + 0x151]
push ebx
push eax
mov byte [esp + 0x158], bl
call fcn.00451660
mov edx, dword [esp + 0x560]
lea ecx, [esp + 0x564]
push ecx
push edx
lea eax, [esp + 0x160]
push 0x400
push eax
call fcn.00454984
push 0x103
lea ecx, [esp + 0x69]
push ebx
push ecx
mov byte [esp + 0x70], bl
call fcn.00451660
add esp, 0x28
push 0x104
lea edx, [esp + 0x4c]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push str.CDGControlDll.LOG
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [esp + 0x48]
push 0x477cd8
push ecx
call fcn.004548ba
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x414ef3
xor eax, eax
lea edx, [esp + 0x14c]
mov dword [esp + 9], eax
mov dword [esp + 0xd], eax
mov dword [esp + 0x11], eax
mov dword [esp + 0x15], eax
mov dword [esp + 0x19], eax
mov dword [esp + 0x1d], eax
mov dword [esp + 0x21], eax
mov word [esp + 0x25], ax
mov byte [esp + 0x27], al
mov dword [esp + 0x29], eax
mov dword [esp + 0x2d], eax
mov dword [esp + 0x31], eax
mov dword [esp + 0x35], eax
mov dword [esp + 0x39], eax
mov dword [esp + 0x3d], eax
mov dword [esp + 0x41], eax
mov word [esp + 0x45], ax
mov byte [esp + 0x47], al
push edx
lea eax, [esp + 0x2c]
push eax
mov byte [esp + 0x10], bl
mov byte [esp + 0x30], bl
call fcn.004547da
add esp, 4
push eax
lea ecx, [esp + 0x10]
push ecx
call fcn.0045471b
add esp, 4
push eax
push str._s__s____s_n
push esi
call fcn.00454553
push esi
call fcn.004544d7
add esp, 0x18
mov ecx, dword [esp + 0x54c]
pop esi
pop ebx
xor ecx, esp
call fcn.004522e0
add esp, 0x548
ret
Function at 0x417870
Capabilities:
Get common file path
Get disk size

Disassembly:
sub esp, 0x220
mov eax, dword [0x49ab20]
xor eax, esp
mov dword [esp + 0x21c], eax
mov ecx, 0x3a
mov word [esp + 0xa], cx
mov edx, 0x5c
xor ecx, ecx
push 0x208
mov word [esp + 0x10], dx
xor eax, eax
push ecx
lea edx, [esp + 0x1a]
push edx
mov word [esp + 0x14], ax
mov word [esp + 0x1a], ax
mov word [esp + 0x1c], cx
call fcn.00451660
add esp, 0xc
push 0x104
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov cx, word [esp + 0x10]
push 4
lea edx, [esp + 0x14]
push 0x485854
push edx
mov word [esp + 0x14], cx
call fcn.00454f22
add esp, 0xc
test eax, eax
jne 0x4178fa
mov ax, word [esp + 0x18]
mov word [esp + 8], ax
push 0
push 0
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x41793e
cmp dword [esp + 4], 0
ja 0x41793e
jb 0x417924
cmp dword [esp], 0x6400000
ja 0x41793e
mov eax, 1
mov ecx, dword [esp + 0x21c]
xor ecx, esp
call fcn.004522e0
add esp, 0x220
ret
mov ecx, dword [esp + 0x21c]
xor ecx, esp
xor eax, eax
call fcn.004522e0
add esp, 0x220
ret

Function at 0x417960
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov eax, 0x240c
call fcn.004536f0
mov eax, dword [0x49ab20]
xor eax, esp
mov dword [esp + 0x2408], eax
mov eax, dword [esp + 0x2420]
push ebx
mov ebx, dword [esp + 0x241c]
push esi
mov esi, dword [esp + 0x2418]
push edi
mov edi, dword [esp + 0x2420]
xor ecx, ecx
push 0x1ffe
push ecx
lea edx, [esp + 0x41e]
push edx
mov dword [esp + 0x1c], eax
mov word [esp + 0x420], cx
call fcn.00451660
add esp, 0xc
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x418]
push ecx
lea edx, [esp + 0x2430]
push edx
push ebx
push edi
push esi
mov dword [esp + 0x24], 0x2000
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x4179ff
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x2408]
xor ecx, esp
call fcn.004522e0
add esp, 0x240c
ret
push ebp
xor eax, eax
push 0x3fe
push eax
lea ecx, [esp + 0x22]
push ecx
mov word [esp + 0x24], ax
call fcn.00451660
push ebx
lea edx, [esp + 0x28]
push 0x47818c
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2444]
mov ebp, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
add esp, 0x18
push eax
lea ecx, [esp + 0x41c]
push ecx
push edx
lea eax, [esp + 0x24]
push eax
push edi
push esi
call ebp
test eax, eax
je 0x417a57
xor eax, eax
jmp 0x417a76
mov ecx, dword [esp + 0x2434]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x242c]
push ecx
push edx
push eax
push ebx
push edi
push esi
call ebp
neg eax
sbb eax, eax
inc eax
mov ecx, dword [esp + 0x2418]
pop ebp
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004522e0
add esp, 0x240c
ret