joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4166e0
Capabilities:
Enumerate process modules
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x458
mov eax, dword [0x4f62a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x458], ecx
mov dword [ebp - 0x440], 0x22c
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.0042efe0
add esp, 0xc
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x444], eax
cmp dword [ebp - 0x444], 0xffffffff
jne 0x416742
xor eax, eax
jmp 0x41683e
lea edx, [ebp - 0x440]
push edx
mov eax, dword [ebp - 0x444]
push eax
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
mov dword [ebp - 0x448], eax
cmp dword [ebp - 0x448], 0
je 0x41682c
lea ecx, [ebp - 0x41c]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00426522
add esp, 8
test eax, eax
jne 0x41680d
mov eax, dword [ebp - 0x438]
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x44c], eax
cmp dword [ebp - 0x44c], 0
je 0x4167f8
mov dword [ebp - 0x450], 0
mov dword [ebp - 0x454], 0
lea ecx, [ebp - 0x454]
push ecx
push 4
lea edx, [ebp - 0x450]
push edx
mov eax, dword [ebp - 0x44c]
push eax
call dword [sym.imp.PSAPI.DLL_EnumProcessModules]
push 0x104
lea ecx, [ebp - 0x210]
push ecx
mov edx, dword [ebp - 0x450]
push edx
mov eax, dword [ebp - 0x44c]
push eax
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
mov ecx, dword [ebp - 0x444]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x210]
jmp 0x41683e
lea edx, [ebp - 0x440]
push edx
mov eax, dword [ebp - 0x444]
push eax
call dword [sym.imp.KERNEL32.dll_Process32NextW]
mov dword [ebp - 0x448], eax
jmp 0x41675c
mov ecx, dword [ebp - 0x444]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x4cf760
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00425912
mov esp, ebp
pop ebp
ret 4

Function at 0x416850
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x1c], ecx
call fcn.00406980
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x1c]
add eax, 0x1a68
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4168c0
push str.UnPackEx2
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4168a6
mov edx, dword [ebp - 0x1c]
add edx, 0x1860
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [ebp - 0x18]
cmp dword [ebp + 0x10], 0
je 0x4168b6
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, dword [ebp - 0x1c]
add ecx, 0x1a68
push ecx
mov edx, dword [ebp - 8]
push edx
push str.hDll__0x_x_wClient7zFile___s_Error___d
push str.CModuleAidManger::Un7zZip
push 0x7bb
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0x4cf7f8
push 1
mov eax, dword [0x4fb18c]
push eax
call fcn.00406b40
add esp, 0x28
mov esp, ebp
pop ebp
ret 0xc
Function at 0x416910
Capabilities:
Check if file exists
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x4f62a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x214], ecx
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.0042efe0
add esp, 0xc
lea edx, [ebp - 0x210]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x210]
mov dword [ebp - 0x218], eax
mov ecx, dword [ebp - 0x214]
add ecx, 0x1860
mov dword [ebp - 0x21c], ecx
mov edx, dword [ebp - 0x21c]
mov dword [ebp - 0x220], edx
mov eax, dword [ebp - 0x218]
mov cx, word [eax]
mov word [ebp - 0x222], cx
mov edx, dword [ebp - 0x21c]
mov ax, word [ebp - 0x222]
mov word [edx], ax
mov ecx, dword [ebp - 0x218]
add ecx, 2
mov dword [ebp - 0x218], ecx
mov edx, dword [ebp - 0x21c]
add edx, 2
mov dword [ebp - 0x21c], edx
cmp word [ebp - 0x222], 0
jne 0x416984
lea eax, [ebp - 0x210]
mov dword [ebp - 0x228], eax
mov ecx, dword [ebp - 0x214]
add ecx, 0x1a68
mov dword [ebp - 0x22c], ecx
mov edx, dword [ebp - 0x22c]
mov dword [ebp - 0x230], edx
mov eax, dword [ebp - 0x228]
mov cx, word [eax]
mov word [ebp - 0x232], cx
mov edx, dword [ebp - 0x22c]
mov ax, word [ebp - 0x232]
mov word [edx], ax
mov ecx, dword [ebp - 0x228]
add ecx, 2
mov dword [ebp - 0x228], ecx
mov edx, dword [ebp - 0x22c]
add edx, 2
mov dword [ebp - 0x22c], edx
cmp word [ebp - 0x232], 0
jne 0x4169f6
push str.7z.dll
mov eax, dword [ebp - 0x214]
add eax, 0x1860
push eax
call fcn.004100d0
add esp, 8
push str.Client7z.dll
mov ecx, dword [ebp - 0x214]
add ecx, 0x1a68
push ecx
call fcn.004100d0
add esp, 8
mov edx, dword [ebp - 0x214]
add edx, 0x1860
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x416a9a
mov eax, dword [ebp - 0x214]
add eax, 0x1860
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0x214]
add ecx, 0x1860
push ecx
push 0x4cf840
push 0x89
mov ecx, dword [ebp - 0x214]
call fcn.00415570
mov edx, dword [ebp - 0x214]
add edx, 0x1a68
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x416ae5
mov eax, dword [ebp - 0x214]
add eax, 0x1a68
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0x214]
add ecx, 0x1a68
push ecx
push 0x4cf84c
push 0x8a
mov ecx, dword [ebp - 0x214]
call fcn.00415570
mov edx, dword [ebp - 0x214]
add edx, 0x1a68
push edx
mov eax, dword [ebp - 0x214]
add eax, 0x1860
push eax
push str.w7zFile___s_wClient7zFile___s
push str.CModuleAidManger::Release7z
push 0x7d4
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str.ModuleAid.cpp
push 1
mov ecx, dword [0x4fb18c]
push ecx
call fcn.00406b40
add esp, 0x24
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00425912
mov esp, ebp
pop ebp
ret
Function at 0x416b60
Capabilities:
Check if file exists
Delete file
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x4f62a0]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x420], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x416ce6
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x416ce6
xor edx, edx
mov word [ebp - 0x210], dx
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.0042efe0
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0x418], cx
push 0x206
push 0
lea edx, [ebp - 0x416]
push edx
call fcn.0042efe0
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [ebp - 0x418]
push ecx
push 0
push str.retmp
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push 3
lea eax, [ebp - 0x418]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x416cd5
lea edx, [ebp - 0x418]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x418]
push eax
lea ecx, [ebp - 0x41c]
call fcn.00405d00
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x210]
push edx
lea ecx, [ebp - 0x41c]
call fcn.00417480
push 3
lea ecx, [ebp - 0x41c]
call sym.Setup.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x416c9e
push 3
lea ecx, [ebp - 0x418]
push ecx
lea ecx, [ebp - 0x41c]
call sym.Setup.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x416cc8
push 5
push 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
push 3
push 0
lea ecx, [ebp - 0x41c]
call sym.Setup.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [ebp - 0x41c]
call fcn.00405d40
jmp 0x416ce6
push 5
push 0
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00425912
mov esp, ebp
pop ebp
ret 8
Function at 0x416f50
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x14]
mov al, byte [edx]
mov byte [ebp - 0x19], al
add dword [ebp - 0x14], 1
cmp byte [ebp - 0x19], 0
jne 0x416f68
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x18]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
mov dword [ebp - 4], edx
lea eax, [ebp - 0xc]
push eax
push str.SoftWareGamePP2
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x416fcd
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
push 1
push 0
push 0x4cf934
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x416fcf
xor eax, eax
mov esp, ebp
pop ebp
ret 4

Function at 0x416fe0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x4f62a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x54], ecx
push 0x4c99c3
lea ecx, [ebp - 0x48]
call fcn.00402a70
mov byte [ebp - 0x24], 0
xor eax, eax
mov dword [ebp - 0x23], eax
mov dword [ebp - 0x1f], eax
mov dword [ebp - 0x1b], eax
mov dword [ebp - 0x17], eax
mov dword [ebp - 0x13], eax
mov dword [ebp - 0xf], eax
mov dword [ebp - 0xb], eax
mov word [ebp - 7], ax
mov byte [ebp - 5], al
mov dword [ebp - 0x4c], 1
mov dword [ebp - 0x2c], 0x20
lea ecx, [ebp - 0x28]
push ecx
push 1
push 0
push str.SoftWarePUBGTools
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jne 0x41707b
lea edx, [ebp - 0x2c]
push edx
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x4c]
push ecx
push 0
push 0x4cf94c
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x48]
call fcn.00417460
lea edx, [ebp - 0x48]
push edx
mov ecx, dword [ebp + 8]
call fcn.00402ab0
lea ecx, [ebp - 0x48]
call fcn.00402b30
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00425912
mov esp, ebp
pop ebp
ret 4
Function at 0x4172c0
Capabilities:
Decode data using base64 via winapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov ecx, dword [ebp + 0xc]
call fcn.004063a0
test eax, eax
jne 0x4172e7
push 0x4cf954
mov ecx, dword [ebp + 8]
call fcn.00405d00
mov eax, dword [ebp + 8]
jmp 0x4173bc
mov dword [ebp - 0x14], 0x400
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x14]
push edx
push 0
push 1
mov ecx, dword [ebp + 0xc]
call fcn.004063a0
push eax
mov ecx, dword [ebp + 0xc]
call sym.Setup.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryW]
xor ecx, ecx
mov eax, dword [ebp - 0x14]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00424d7a
add esp, 4
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x14]
shl ecx, 1
push ecx
push 0
mov edx, dword [ebp - 0x10]
push edx
call fcn.0042efe0
add esp, 0xc
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x10]
push eax
push 1
mov ecx, dword [ebp + 0xc]
call fcn.004063a0
push eax
mov ecx, dword [ebp + 0xc]
call sym.Setup.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryW]
mov ecx, dword [ebp - 0x10]
push ecx
lea ecx, [ebp - 4]
call fcn.00405d00
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
push eax
call fcn.004262e5
add esp, 4
lea ecx, [ebp - 4]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00407b70
lea ecx, [ebp - 4]
call fcn.00405d40
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret
Function at 0x4187e0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x4fb49c], 0
jne 0x418805
push str.msgbox_event
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x4fb49c], eax
cmp dword [0x4fb49c], 0
je 0x41881a
mov eax, dword [0x4fb49c]
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push 0x450
call fcn.0042634c
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x41883d
mov ecx, dword [ebp - 8]
call fcn.00417df0
mov dword [ebp - 0xc], eax
jmp 0x418844
mov dword [ebp - 0xc], 0
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
jne 0x418857
xor eax, eax
jmp 0x41890a
push 0
push 0
push SysReAllocString
push SysReAllocString
push SysReAllocString
push SysReAllocString
push 0x60000
push 0x10cf0000
push 0x4ca7c0
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 4]
call fcn.0040c440
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 4]
call fcn.00417ed0
push 1
mov ecx, dword [ebp - 4]
call sym.Setup.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 4]
call fcn.00418730
mov ecx, dword [ebp - 4]
call sym.Setup.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
push eax
call fcn.00418fb0
add esp, 4
mov ecx, dword [ebp - 4]
call sym.Setup.exe_public:_unsigned_int___thiscall_DuiLib::CWindowWnd::ShowModal_void_
push 0xffffffffffffffff
mov eax, dword [0x4fb49c]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x418905
mov ecx, dword [0x4fb49c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x4fb49c], 0
mov eax, dword [0x4fb498]
mov esp, ebp
pop ebp
ret

Function at 0x418a70
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
call fcn.00418a50
test eax, eax
je 0x418a87
xor eax, eax
jmp 0x418ac5
mov eax, dword [ebp - 4]
cmp dword [eax + 0x18], 0
jne 0x418a94
xor eax, eax
jmp 0x418ac5
mov ecx, dword [ebp - 4]
add ecx, 8
push ecx
push 0
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x1c]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x18]
push edx
push 0
push 0
call fcn.00428cef
add esp, 0x18
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 4]
call fcn.00418a50
mov esp, ebp
pop ebp
ret

Function at 0x418bc0
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
lea eax, [ebp - 4]
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x418bf3
mov ecx, dword [ebp - 4]
and ecx, 2
jne 0x418bec
mov edx, dword [ebp - 4]
and edx, 1
jne 0x418bec
mov eax, dword [ebp - 4]
and eax, 4
je 0x418bf3
mov eax, 1
jmp 0x418c01
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [edx + 8]
call ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x418d70
Capabilities:
Delete file
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x4f62a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x41c], ecx
cmp dword [ebp + 8], 0
je 0x418d99
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
test ecx, ecx
jne 0x418da0
xor eax, eax
jmp 0x418e26
cmp dword [ebp + 0xc], 0
je 0x418db0
mov edx, dword [ebp + 0xc]
movzx eax, word [edx]
test eax, eax
jne 0x418e05
xor ecx, ecx
mov word [ebp - 0x418], cx
push 0x40e
push 0
lea edx, [ebp - 0x416]
push edx
call fcn.0042efe0
add esp, 0xc
push 0
push 0
push 0x104
lea eax, [ebp - 0x418]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0
call dword [sym.imp.urlmon.dll_URLDownloadToCacheFileW]
test eax, eax
jl 0x418e03
lea edx, [ebp - 0x418]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, 1
jmp 0x418e26
jmp 0x418e24
push 0
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0
call dword [sym.imp.urlmon.dll_URLDownloadToFileW]
test eax, eax
jl 0x418e24
mov eax, 1
jmp 0x418e26
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00425912
mov esp, ebp
pop ebp
ret 8

Function at 0x418f10
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4f62a0]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x208
push 0
lea eax, [ebp - 0x210]
push eax
call fcn.0042efe0
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x210]
push ecx
push 0x4ca3e8
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea ecx, [ebp - 0x214]
call fcn.00405ce0
mov edx, dword [ebp + 8]
push edx
push 0x4ca42c
lea eax, [ebp - 0x214]
push eax
call fcn.004068d0
add esp, 0xc
lea ecx, [ebp - 0x210]
push ecx
lea ecx, [ebp - 0x214]
call sym.Setup.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
push str.WithWindowStart
push str.GPPSHOW
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0x214]
call fcn.00405d40
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00425912
mov esp, ebp
pop ebp
ret
Function at 0x41aa90
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
call fcn.004064f0
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x41aac3
xor eax, eax
jmp 0x41ab77
mov edx, dword [ebp - 0x10]
push edx
call fcn.00428b96
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x41aadf
xor eax, eax
jmp 0x41ab77
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x41ab68
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
push ecx
push 0x4c9ca0
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.VERSION.dll_VerQueryValueW]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0xc]
and ecx, 0xffff
movzx edx, cx
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0xc]
shr ecx, 0x10
and ecx, 0xffff
movzx edx, cx
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 8]
and ecx, 0xffff
movzx edx, cx
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 8]
shr ecx, 0x10
and ecx, 0xffff
movzx edx, cx
push edx
push 0x4c9ca4
mov eax, dword [ebp + 0xc]
push eax
call fcn.004068d0
add esp, 0x18
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.0042819b
add esp, 4
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x41b1f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x4f62a0]
xor eax, ebp
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x218]
call fcn.00405ce0
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.0042efe0
add esp, 0xc
lea edx, [ebp - 0x214]
push edx
push 0x20019
push 0
push 0x4ca094
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
jne 0x41b2bc
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0x104
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x210]
push ecx
lea edx, [ebp - 0x224]
push edx
push 0
push 0x4ca164
mov eax, dword [ebp - 0x214]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x21c], eax
mov ecx, dword [ebp - 0x214]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [ebp - 0x210]
push edx
lea ecx, [ebp - 0x218]
call fcn.00405d60
lea eax, [ebp - 0x218]
push eax
mov ecx, dword [ebp + 8]
call fcn.00407b70
lea ecx, [ebp - 0x218]
call fcn.00405d40
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00425912
mov esp, ebp
pop ebp
ret
Function at 0x425912
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4f62a0]
jne 0x42591c
repz ret
jmp fcn.0042bb97

Function at 0x439d0a
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4f62a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0042cea9
and dword [ebp - 0x14], 0
cmp dword [0x4f9f28], 0
mov dword [ebp - 0x18], eax
jne 0x439dbd
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x439e65
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4bd15c
push ebx
call edi
test eax, eax
je 0x439e65
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4f9f28], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4f9f2c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4f9f30], eax
call edi
push eax
call esi
mov dword [0x4f9f38], eax
test eax, eax
je 0x439dbd
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4f9f34], eax
mov eax, dword [0x4f9f34]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x439e16
cmp dword [0x4f9f38], ecx
je 0x439e16
push eax
call esi
push dword [0x4f9f38]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x439e16
test ebx, ebx
je 0x439e16
call edi
test eax, eax
je 0x439e0d
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x439e0d
test byte [ebp - 8], 1
jne 0x439e16
or dword [ebp + 0x10], 0x200000
jmp 0x439e49
mov eax, dword [0x4f9f2c]
cmp eax, dword [ebp - 0x18]
je 0x439e49
push eax
call esi
test eax, eax
je 0x439e49
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x439e49
mov eax, dword [0x4f9f30]
cmp eax, dword [ebp - 0x18]
je 0x439e49
push eax
call esi
test eax, eax
je 0x439e49
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4f9f28]
call esi
test eax, eax
je 0x439e65
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x439e67
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00425912
leave
ret
Function at 0x448db0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
test eax, eax
jge 0x448dd1
mov ecx, dword [ebp - 4]
or ecx, 8
mov dword [ebp - 4], ecx
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
test edx, edx
jge 0x448de9
mov eax, dword [ebp - 4]
or eax, 2
mov dword [ebp - 4], eax
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
test ecx, ecx
jge 0x448e01
mov edx, dword [ebp - 4]
or edx, 1
mov dword [ebp - 4], edx
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
test eax, eax
jge 0x448e17
mov ecx, dword [ebp - 4]
or ecx, 4
mov dword [ebp - 4], ecx
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
test edx, edx
jge 0x448e2f
mov eax, dword [ebp - 4]
or eax, 0x20
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret