joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42c7d0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov byte [eax + 0x68], 0
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp - 4]
mov dword [edx + ecx + 0x10], 0
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp - 4]
mov dword [edx + ecx + 0x10], 0
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp - 4]
mov dword [edx + ecx], 0x67452301
mov eax, 4
shl eax, 0
mov ecx, dword [ebp - 4]
mov dword [ecx + eax], 0xefcdab89
mov edx, 4
shl edx, 1
mov eax, dword [ebp - 4]
mov dword [eax + edx], 0x98badcfe
mov ecx, 4
imul edx, ecx, 3
mov eax, dword [ebp - 4]
mov dword [eax + edx], 0x10325476
mov esp, ebp
pop ebp
ret

Function at 0x42de40
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x42de72
mov dword [ebp - 8], 1
jmp 0x42de79
mov dword [ebp - 8], 0
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov dword [edx + 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 4
Function at 0x42ea20
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
push 0
push 1
push 0x5181c8
push 0
lea eax, [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x42ea49
mov eax, dword [ebp - 4]
jmp 0x42ea61
push 8
push 1
push 0x518228
push 0
lea ecx, [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x42ea70
Capabilities:
Encrypt data using rc4 via winapi
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x1c], ecx
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0x8003
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x42ea9b
xor eax, eax
jmp 0x42eb27
mov edx, dword [ebp + 0xc]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 8]
mov dl, byte [ecx]
mov byte [ebp - 1], dl
add dword [ebp - 8], 1
cmp byte [ebp - 1], 0
jne 0x42eaaa
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
push 0
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x42eae1
xor eax, eax
jmp 0x42eb27
lea ecx, [ebp - 0x18]
push ecx
push 0x800000
mov edx, dword [ebp - 0xc]
push edx
push 0x6801
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
jne 0x42eb05
xor eax, eax
jmp 0x42eb27
cmp dword [ebp - 0xc], 0
je 0x42eb24
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
test eax, eax
jne 0x42eb24
mov dword [ebp - 0xc], 0
xor eax, eax
jmp 0x42eb27
mov eax, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret 8
Function at 0x42f680
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x5524b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x210], ecx
xor eax, eax
mov word [ebp - 0x20c], ax
push 0x206
push 0
lea ecx, [ebp - 0x20a]
push ecx
call fcn.004ab2f0
add esp, 0xc
push 0
push 0x10
lea edx, [ebp - 0x20c]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x5182f4
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a4bd0
mov esp, ebp
pop ebp
ret

Function at 0x42f700
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50f2ca
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x5524b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x230], ecx
xor eax, eax
mov word [ebp - 0x218], ax
push 0x206
push 0
lea ecx, [ebp - 0x216]
push ecx
call fcn.004ab2f0
add esp, 0xc
push 0
push 0xb
lea edx, [ebp - 0x218]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x518308
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x21c]
call fcn.00403340
mov dword [ebp - 4], 0
push 0x518314
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x22c]
push ecx
call fcn.0042fc80
add esp, 0xc
mov byte [ebp - 4], 1
push 0x51832c
lea edx, [ebp - 0x21c]
push edx
lea eax, [ebp - 0x228]
push eax
call fcn.0042fc80
add esp, 0xc
mov byte [ebp - 4], 2
push 0x518344
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x224]
push edx
call fcn.0042fc80
add esp, 0xc
mov byte [ebp - 4], 3
push 0x51835c
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x220]
push ecx
call fcn.0042fc80
add esp, 0xc
lea ecx, [ebp - 0x224]
call fcn.00403280
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x220]
call fcn.00403280
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x22c]
call fcn.00403280
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x228]
call fcn.00403280
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x220]
call fcn.004032f0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x224]
call fcn.004032f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x228]
call fcn.004032f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x22c]
call fcn.004032f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21c]
call fcn.004032f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a4bd0
mov esp, ebp
pop ebp
ret
Function at 0x42f8c0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50f302
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x5524b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4c], ecx
lea eax, [ebp - 0x40]
push eax
call fcn.0042ef00
mov ecx, eax
call fcn.00440b60
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x48], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x48]
call fcn.004036a0
push eax
lea ecx, [ebp - 0x28]
call fcn.00409570
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.00408cf0
push 1
push 0x518374
push 0x51837c
push 0x518388
lea ecx, [ebp - 0x28]
call fcn.004036a0
push eax
call fcn.00402a60
add esp, 0x14
push 0x320
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
push 0x518398
push str._unregall
push 0x5183ac
lea ecx, [ebp - 0x28]
call fcn.004036a0
push eax
call fcn.00402a60
add esp, 0x14
push 0x5183bc
push reloc.WS2_32.dll_accept
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
push str.SoftwarePhotoViewerUpdate
push reloc.WS2_32.dll_accept
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
push 0x5183f4
push 0x5183fc
push reloc.WS2_32.dll_accept
call fcn.00402f20
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00408cf0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a4bd0
mov esp, ebp
pop ebp
ret
Function at 0x4304c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50f3df
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x5524b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x254], ecx
call fcn.0042ef00
mov ecx, eax
call fcn.00440e90
movzx eax, al
test eax, eax
je 0x4305e6
xor ecx, ecx
mov word [ebp - 0x218], cx
push 0x206
push 0
lea edx, [ebp - 0x216]
push edx
call fcn.004ab2f0
add esp, 0xc
push 0
push 0x10
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x5187b0
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [ebp - 0x248]
push edx
call fcn.0042ef00
mov ecx, eax
call fcn.00440b60
mov dword [ebp - 0x24c], eax
mov eax, dword [ebp - 0x24c]
mov dword [ebp - 0x250], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x250]
call fcn.004036a0
push eax
lea ecx, [ebp - 0x230]
push ecx
call fcn.00402620
add esp, 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x248]
call fcn.00408cf0
push 0x5187c4
lea ecx, [ebp - 0x230]
call fcn.00415430
push 0
lea edx, [ebp - 0x218]
push edx
push 0
lea ecx, [ebp - 0x230]
call fcn.00408500
push eax
mov ecx, dword [ebp - 0x254]
call fcn.00430d30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.00408940
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a4bd0
mov esp, ebp
pop ebp
ret
Function at 0x4310b0
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x150
mov eax, dword [0x5524b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x150], ecx
xor eax, eax
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x12c], eax
push 0x11c
push 0
lea ecx, [ebp - 0x120]
push ecx
call fcn.004ab2f0
add esp, 0xc
mov dword [ebp - 0x120], 0x11c
lea edx, [ebp - 0x120]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x431139
xor eax, eax
jmp 0x431245
push 0x518920
push 0x518934
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x128], eax
cmp dword [ebp - 0x128], 0
je 0x43116e
lea eax, [ebp - 0x14c]
push eax
call dword [ebp - 0x128]
jmp 0x43117b
lea ecx, [ebp - 0x14c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov dword [ebp - 0x124], 0
cmp dword [ebp - 0x110], 2
jne 0x43123f
cmp dword [ebp - 0x11c], 4
jbe 0x43123f
cmp dword [ebp - 0x11c], 6
jne 0x4311e7
cmp dword [ebp - 0x118], 0
jne 0x4311bd
mov dword [ebp - 0x124], 4
jmp 0x4311e5
cmp dword [ebp - 0x118], 1
jne 0x4311d2
mov dword [ebp - 0x124], 5
jmp 0x4311e5
cmp dword [ebp - 0x118], 2
jne 0x4311e5
mov dword [ebp - 0x124], 6
jmp 0x43123f
cmp dword [ebp - 0x11c], 5
jne 0x431205
cmp dword [ebp - 0x118], 2
jne 0x431205
mov dword [ebp - 0x124], 3
jmp 0x43123f
cmp dword [ebp - 0x11c], 5
jne 0x431223
cmp dword [ebp - 0x118], 1
jne 0x431223
mov dword [ebp - 0x124], 2
jmp 0x43123f
cmp dword [ebp - 0x11c], 5
jne 0x43123f
cmp dword [ebp - 0x118], 0
jne 0x43123f
mov dword [ebp - 0x124], 1
mov eax, dword [ebp - 0x124]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a4bd0
mov esp, ebp
pop ebp
ret
Function at 0x432170
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50f610
mov eax, dword fs:[0]
push eax
sub esp, 0x1f0
mov eax, dword [0x5524b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1fc], ecx
mov byte [ebp - 0x118], 0
push 0x104
push 0
lea eax, [ebp - 0x117]
push eax
call fcn.004ab2f0
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x118]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x130]
push eax
call fcn.004024f0
add esp, 8
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x178]
push edx
call fcn.004024f0
add esp, 8
mov byte [ebp - 4], 1
push 0x518488
lea eax, [ebp - 0x130]
push eax
push str.__delete__tn
lea ecx, [ebp - 0x190]
push ecx
call fcn.00405fa0
add esp, 0xc
mov dword [ebp - 0x1dc], eax
mov edx, dword [ebp - 0x1dc]
mov dword [ebp - 0x1e0], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1e0]
push eax
lea ecx, [ebp - 0x160]
push ecx
call fcn.00405bc0
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x190]
call fcn.00408cf0
push str.___sc__hourly
lea edx, [ebp - 0x178]
push edx
push str.__tr__
lea eax, [ebp - 0x130]
push eax
push str.__create__tn
lea ecx, [ebp - 0x1d8]
push ecx
call fcn.00405fa0
add esp, 0xc
mov dword [ebp - 0x1e4], eax
mov edx, dword [ebp - 0x1e4]
mov dword [ebp - 0x1e8], edx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x1e8]
push eax
lea ecx, [ebp - 0x1c0]
push ecx
call fcn.00405bc0
add esp, 0xc
mov dword [ebp - 0x1ec], eax
mov edx, dword [ebp - 0x1ec]
mov dword [ebp - 0x1f0], edx
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x1f0]
push eax
lea ecx, [ebp - 0x1a8]
push ecx
call fcn.00405c10
add esp, 0xc
mov dword [ebp - 0x1f4], eax
mov edx, dword [ebp - 0x1f4]
mov dword [ebp - 0x1f8], edx
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x1f8]
push eax
lea ecx, [ebp - 0x148]
push ecx
call fcn.00405bc0
add esp, 0xc
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x1a8]
call fcn.00408cf0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x1c0]
call fcn.00408cf0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x1d8]
call fcn.00408cf0
push 1
push 0
lea ecx, [ebp - 0x160]
call fcn.004036a0
push eax
push 0x5184c4
lea edx, [ebp - 0x118]
push edx
call fcn.00402a60
add esp, 0x14
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
push 0
lea ecx, [ebp - 0x148]
call fcn.004036a0
push eax
push str.schtasks.exe
lea eax, [ebp - 0x118]
push eax
call fcn.00402a60
add esp, 0x14
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x148]
call fcn.00408cf0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x160]
call fcn.00408cf0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x178]
call fcn.00408cf0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x130]
call fcn.00408cf0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a4bd0
mov esp, ebp
pop ebp
ret 8
Function at 0x432e50
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x5524b4]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
je 0x432e6f
cmp dword [ebp + 0xc], 0
jne 0x432e73
xor eax, eax
jmp 0x432ee8
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x23c]
push ecx
call fcn.004328a0
add esp, 8
xor edx, edx
mov word [ebp - 0x20c], dx
push 0x206
push 0
lea eax, [ebp - 0x20a]
push eax
call fcn.004ab2f0
add esp, 0xc
mov dword [ebp - 0x240], 0x104
lea ecx, [ebp - 0x240]
push ecx
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
push 0
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x23c]
push ecx
push 0x2000
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00432910
add esp, 0x18
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a4bd0
mov esp, ebp
pop ebp
ret

Function at 0x433580
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50f788
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x5524b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x5c], ecx
mov ecx, dword [ebp - 0x5c]
add ecx, 0xc
call fcn.00434050
lea eax, [ebp - 0x40]
push eax
call fcn.0042ef00
mov ecx, eax
call fcn.00440b60
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x68], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x68]
call fcn.004036a0
push eax
mov ecx, dword [ebp - 0x5c]
call fcn.004339e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00408cf0
lea edx, [ebp - 0x60]
push edx
mov ecx, dword [ebp - 0x5c]
add ecx, 0xc
call fcn.0040fc70
jmp 0x43360f
lea ecx, [ebp - 0x60]
call fcn.0040fbf0
lea eax, [ebp - 0x74]
push eax
mov ecx, dword [ebp - 0x5c]
add ecx, 0xc
call fcn.0040fc60
push eax
lea ecx, [ebp - 0x60]
call fcn.0040fbd0
movzx ecx, al
test ecx, ecx
je 0x433686
lea ecx, [ebp - 0x60]
call fcn.00403280
mov ecx, eax
call fcn.004036a0
push eax
lea edx, [ebp - 0x28]
push edx
call fcn.00402620
add esp, 8
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00408500
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x433675
lea ecx, [ebp - 0x28]
call fcn.00408500
push eax
mov ecx, dword [ebp - 0x5c]
call fcn.00433d40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00408940
jmp 0x433607
lea eax, [ebp - 0x58]
push eax
call fcn.0042ef00
mov ecx, eax
call fcn.00440b60
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x70], ecx
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x70]
call fcn.004036a0
push eax
mov ecx, dword [ebp - 0x5c]
call fcn.004339e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00408cf0
mov ecx, dword [ebp - 0x5c]
add ecx, 0xc
call fcn.00434050
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a4bd0
mov esp, ebp
pop ebp
ret
Function at 0x433d40
Capabilities:
Check if file exists
Delete file
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x630
mov eax, dword [0x5524b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x62c], ecx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x433d6c
jmp 0x433f07
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x628], eax
cmp dword [ebp - 0x628], 0
je 0x433d8a
jmp 0x433f07
xor edx, edx
mov word [ebp - 0x414], dx
push 0x206
push 0
lea eax, [ebp - 0x412]
push eax
call fcn.004ab2f0
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0x61c], cx
push 0x206
push 0
lea edx, [ebp - 0x61a]
push edx
call fcn.004ab2f0
add esp, 0xc
lea eax, [ebp - 0x61c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [ebp - 0x414]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x62c]
call fcn.00433f20
mov dword [ebp - 0x630], 0
mov dword [ebp - 0x620], 0
mov eax, 1
test eax, eax
je 0x433f07
mov dword [ebp - 0x624], 1
xor ecx, ecx
mov word [ebp - 0x20c], cx
push 0x206
push 0
lea edx, [ebp - 0x20a]
push edx
call fcn.004ab2f0
add esp, 0xc
cmp dword [ebp - 0x620], 0
jne 0x433e67
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x61c]
push ecx
push 0x518df0
lea edx, [ebp - 0x20c]
push edx
call fcn.00424fa0
add esp, 0x10
jmp 0x433e90
mov eax, dword [ebp - 0x620]
push eax
lea ecx, [ebp - 0x414]
push ecx
lea edx, [ebp - 0x61c]
push edx
push str._s_s.del_d
lea eax, [ebp - 0x20c]
push eax
call fcn.00424fa0
add esp, 0x14
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x433eb4
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x624], eax
cmp dword [ebp - 0x624], 0
jne 0x433edc
cmp dword [ebp - 0x620], 0xa
jl 0x433ec8
jmp 0x433f07
mov eax, dword [ebp - 0x620]
add eax, 1
mov dword [ebp - 0x620], eax
jmp 0x433e04
lea ecx, [ebp - 0x20c]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004af1b1
add esp, 8
push 5
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x433f07
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a4bd0
mov esp, ebp
pop ebp
ret 4
Function at 0x434f50
Capabilities:
Get common file path
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x5524b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x218], 0
xor eax, eax
mov word [ebp - 0x20c], ax
push 0x206
push 0
lea ecx, [ebp - 0x20a]
push ecx
call fcn.004ab2f0
add esp, 0xc
lea edx, [ebp - 0x20c]
push edx
push 0
push 0
push 0x25
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jge 0x434fb0
mov eax, dword [ebp - 0x218]
jmp 0x43508b
push 0x51967c
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0
lea ecx, [ebp - 0x20c]
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x210], eax
cmp dword [ebp - 0x210], 0
jbe 0x435085
mov edx, dword [ebp - 0x210]
push edx
call fcn.004a4c93
add esp, 4
mov dword [ebp - 0x220], eax
mov eax, dword [ebp - 0x220]
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x21c], 0
mov ecx, dword [ebp - 0x214]
push ecx
mov edx, dword [ebp - 0x210]
push edx
push 0
lea eax, [ebp - 0x20c]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x43506a
lea ecx, [ebp - 0x224]
push ecx
lea edx, [ebp - 0x21c]
push edx
push 0x519698
mov eax, dword [ebp - 0x214]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x43506a
mov ecx, dword [ebp - 0x21c]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x218], edx
mov eax, dword [ebp - 0x214]
mov dword [ebp - 0x228], eax
mov ecx, dword [ebp - 0x228]
push ecx
call fcn.004a4c9c
add esp, 4
mov eax, dword [ebp - 0x218]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a4bd0
mov esp, ebp
pop ebp
ret

Function at 0x4352b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50f9e0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x5524b4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x14]
call fcn.004032e0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004032d0
push eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x435317
mov byte [ebp - 0xd], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004095e0
mov al, byte [ebp - 0xd]
jmp 0x43536d
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
push 0
push 0
mov ecx, dword [ebp + 0x10]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00403280
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x435357
mov byte [ebp - 0xe], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004095e0
mov al, byte [ebp - 0xe]
jmp 0x43536d
mov byte [ebp - 0xf], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004095e0
mov al, byte [ebp - 0xf]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x435440
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50fa03
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x5524b4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x14]
call fcn.004032e0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004032d0
push eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x4354a7
mov byte [ebp - 0xd], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004095e0
mov al, byte [ebp - 0xd]
jmp 0x4354f9
mov edx, dword [ebp + 0x1c]
push edx
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
push 0
mov edx, dword [ebp + 0x10]
push edx
lea ecx, [ebp - 0x14]
call fcn.00403280
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x4354da
mov dword [ebp - 0x18], 1
jmp 0x4354e1
mov dword [ebp - 0x18], 0
mov al, byte [ebp - 0x18]
mov byte [ebp - 0xe], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004095e0
mov al, byte [ebp - 0xe]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret