joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4463c0
Capabilities:
Check if file exists
Get file attributes
Set file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x572734]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x23c], ecx
call fcn.00406200
mov dword [ebp - 0x238], eax
mov byte [ebp - 0x20d], 1
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x218], 0xffffffff
je 0x446423
mov ecx, dword [ebp - 0x218]
and ecx, 1
je 0x446423
mov edx, dword [ebp - 0x218]
and edx, 0xfffffffe
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
xor ecx, ecx
mov word [ebp - 0x20c], cx
push 0x206
push 0
lea edx, [ebp - 0x20a]
push edx
call sub.MSVCR120.dll_memset
add esp, 0xc
push 0x104
mov eax, dword [ebp + 8]
push eax
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.MSVCR120.dll_wcsncpy_s]
add esp, 0x10
push 0x5c
lea edx, [ebp - 0x20c]
push edx
call fcn.00406530
add esp, 8
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
je 0x44649a
mov eax, dword [ebp - 0x214]
add eax, 2
mov dword [ebp - 0x214], eax
xor ecx, ecx
mov edx, dword [ebp - 0x214]
mov word [edx], cx
lea eax, [ebp - 0x20c]
push eax
call fcn.00414270
add esp, 4
push eax
call fcn.00443f80
movzx ecx, al
test ecx, ecx
jne 0x4464cb
lea edx, [ebp - 0x20c]
push edx
call fcn.00414270
add esp, 4
push eax
call fcn.00444030
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x234], 0xc
mov dword [ebp - 0x22c], 0
lea eax, [ebp - 0x234]
push eax
call fcn.00444300
movzx ecx, al
test ecx, ecx
je 0x446508
lea edx, [ebp - 0x234]
mov dword [ebp - 0x21c], edx
push 0
push 0x22
push 2
mov eax, dword [ebp - 0x21c]
push eax
push 0
push 0x40000000
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0xffffffff
je 0x446586
mov dword [ebp - 0x224], 0xc8
push 0
lea edx, [ebp - 0x228]
push edx
mov eax, dword [ebp - 0x224]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x220]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x446579
mov eax, dword [ebp - 0x224]
cmp eax, dword [ebp - 0x228]
jne 0x446579
mov byte [ebp - 0x20d], 1
mov ecx, dword [ebp - 0x220]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x21c]
push edx
call fcn.00444350
mov al, byte [ebp - 0x20d]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e134c
mov esp, ebp
pop ebp
ret 8
Function at 0x44e470
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 8], ecx
mov byte [ebp - 1], 0
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0
je 0x44e524
mov ecx, dword [ebp + 0x14]
push ecx
movzx edx, word [ebp + 0x10]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x44e524
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x44e524
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x44e524
cmp dword [ebp + 8], 0
je 0x44e50a
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0xc]
cmp dword [ecx], eax
jb 0x44e50a
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp + 8]
push edx
call sub.MSVCR120.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov byte [ebp - 1], 1
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret 0x10

Function at 0x453ca0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e984a
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x572734]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24], ecx
mov byte [ebp - 0x20], 0x73
mov byte [ebp - 0x1f], 0x75
mov byte [ebp - 0x1e], 0x62
mov byte [ebp - 0x1d], 0
mov byte [ebp - 0x1c], 0x73
mov byte [ebp - 0x1b], 0x75
mov byte [ebp - 0x1a], 0x62
mov byte [ebp - 0x19], 0
mov byte [ebp - 0x18], 0x73
mov byte [ebp - 0x17], 0x75
mov byte [ebp - 0x16], 0x62
mov byte [ebp - 0x15], 0
xor eax, eax
mov byte [ebp - 0x14], al
push 0xffffffffffffffff
push 0
push 1
push 0
push 1
call fcn.0040c240
add esp, 0x14
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x453d7a
mov ecx, dword [ebp - 0x24]
add ecx, 0x1034
call fcn.004157f0
push eax
lea ecx, [ebp - 0x34]
push ecx
mov ecx, dword [ebp - 0x24]
add ecx, 0x1048
call fcn.00436d30
mov dword [ebp - 4], 0
lea edx, [ebp - 0x20]
push edx
lea ecx, [ebp - 0x34]
call fcn.004157f0
push eax
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x24]
add ecx, 0x2e0
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x2e0]
mov edx, dword [eax + 0x20]
call edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00415310
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e134c
mov esp, ebp
pop ebp
ret
Function at 0x455cf0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e9a97
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x572734]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x224], ecx
mov eax, dword [ebp - 0x224]
cmp dword [eax + 0x34], 0
jne 0x455f40
mov ecx, dword [ebp - 0x224]
mov dword [ecx + 0x34], 1
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x230], 0x104
lea edx, [ebp - 0x228]
push edx
push 0x20019
push 0
mov ecx, dword [ebp - 0x224]
add ecx, 0x10
call fcn.004157f0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x248], eax
cmp dword [ebp - 0x248], 0
jne 0x455f40
mov dword [ebp - 0x22c], 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x21c]
push ecx
mov edx, dword [ebp - 0x22c]
push edx
mov eax, dword [ebp - 0x228]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x455f33
lea ecx, [ebp - 0x21c]
push ecx
lea ecx, [ebp - 0x240]
call fcn.004153a0
mov dword [ebp - 4], 0
push 0x512180
push str.DllName
call dword [sym.imp.MSVCR120.dll_wcslen]
add esp, 4
push eax
lea edx, [ebp - 0x260]
push edx
lea ecx, [ebp - 0x240]
call fcn.00415e40
mov dword [ebp - 0x244], eax
mov eax, dword [ebp - 0x244]
mov dword [ebp - 0x250], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x250]
call fcn.004157f0
push eax
call dword [sym.imp.MSVCR120.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x455e43
mov dword [ebp - 0x234], 1
jmp 0x455e4d
mov dword [ebp - 0x234], 0
mov cl, byte [ebp - 0x234]
mov byte [ebp - 0x21d], cl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x260]
call fcn.00415310
movzx edx, byte [ebp - 0x21d]
test edx, edx
je 0x455f03
lea ecx, [ebp - 0x240]
call fcn.004157f0
push eax
mov ecx, dword [ebp - 0x224]
add ecx, 0x10
call fcn.004157f0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
lea eax, [ebp - 0x26c]
push eax
call fcn.0040a5f0
add esp, 0x10
mov dword [ebp - 0x24c], eax
mov ecx, dword [ebp - 0x24c]
mov dword [ebp - 0x254], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x254]
push edx
lea ecx, [ebp - 0x240]
call fcn.00415600
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x26c]
call fcn.00415310
lea ecx, [ebp - 0x240]
call fcn.00415d20
test eax, eax
jne 0x455f03
lea ecx, [ebp - 0x240]
call fcn.004157f0
push eax
mov ecx, dword [ebp - 0x224]
call fcn.00455a80
mov eax, dword [ebp - 0x22c]
add eax, 1
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x230], 0x104
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x240]
call fcn.00415310
jmp 0x455d97
mov ecx, dword [ebp - 0x228]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e134c
mov esp, ebp
pop ebp
ret
Function at 0x456710
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e9bdb
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x572734]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 8
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x10]
add ecx, 0x40
call fcn.00459070
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x10]
add ecx, 0x3c
call fcn.00459070
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x10]
add ecx, 0x38
call fcn.00459070
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x10]
add ecx, 0x34
call fcn.00459070
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.00409150
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x24
call fcn.00415310
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.00415310
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call fcn.00415310
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
call fcn.00415310
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x45a030
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ea3ca
mov eax, dword fs:[0]
push eax
mov eax, 0x1034
call fcn.004e13f0
mov eax, dword [0x572734]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1024], ecx
mov eax, dword [ebp - 0x1024]
add eax, 4
push eax
lea ecx, [ebp - 0x1034]
call fcn.00415330
mov dword [ebp - 4], 0
push 0x5133b0
lea ecx, [ebp - 0x1040]
call fcn.004153a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1040]
push ecx
lea ecx, [ebp - 0x1034]
call fcn.00415710
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1040]
call fcn.00415310
mov dword [ebp - 0x101c], 0
lea edx, [ebp - 0x101c]
push edx
push 0x20019
push 0
lea ecx, [ebp - 0x1034]
call fcn.004157f0
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x45a1c2
mov dword [ebp - 0x1018], 0x800
xor eax, eax
mov word [ebp - 0x1014], ax
push 0x1000
push 0
lea ecx, [ebp - 0x1012]
push ecx
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [ebp - 0x1028], 0
mov dword [ebp - 0x1020], 0
lea edx, [ebp - 0x1028]
push edx
push 0
push 0
push 0
lea eax, [ebp - 0x1018]
push eax
lea ecx, [ebp - 0x1014]
push ecx
mov edx, dword [ebp - 0x1020]
push edx
mov eax, dword [ebp - 0x101c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x45a1b5
push 0
lea ecx, [ebp - 0x1014]
push ecx
lea ecx, [ebp - 0x1034]
call fcn.004157f0
push eax
push SysReAllocString
call fcn.0040ac10
mov edx, dword [ebp - 0x1018]
add edx, 1
push edx
push 0
lea eax, [ebp - 0x1014]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov ecx, dword [ebp - 0x1020]
add ecx, 1
mov dword [ebp - 0x1020], ecx
mov dword [ebp - 0x1018], 0x800
jmp 0x45a12a
mov edx, dword [ebp - 0x101c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1034]
call fcn.00415310
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e134c
mov esp, ebp
pop ebp
ret
Function at 0x45caf0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x572734]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x240], ecx
call fcn.00406200
mov dword [ebp - 0x234], eax
xor eax, eax
mov word [ebp - 0x21c], ax
push 0x206
push 0
lea ecx, [ebp - 0x21a]
push ecx
call sub.MSVCR120.dll_memset
add esp, 0xc
push 0x104
lea edx, [ebp - 0x21c]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00460220
add esp, 0xc
mov byte [ebp - 0x21d], 0
lea ecx, [ebp - 0x21c]
push ecx
call dword [sym.imp.MSVCR120.dll_wcslen]
add esp, 4
test eax, eax
jbe 0x45cca2
push 0x5c
lea edx, [ebp - 0x21c]
push edx
call fcn.00406530
add esp, 8
add eax, 2
mov dword [ebp - 0x23c], eax
mov byte [ebp - 0x14], 0x48
mov byte [ebp - 0x13], 0x56
mov byte [ebp - 0x12], 0x48
mov byte [ebp - 0x11], 0xb
mov byte [ebp - 0x10], 0x5f
mov byte [ebp - 0xf], 0x1a
mov byte [ebp - 0xe], 0x25
mov byte [ebp - 0xd], 0x5a
mov byte [ebp - 0xc], 0x29
mov byte [ebp - 0xb], 0x44
mov byte [ebp - 0xa], 0x50
mov byte [ebp - 9], 0x33
mov byte [ebp - 8], 0x17
mov byte [ebp - 7], 0
push 5
lea eax, [ebp - 0x14]
push eax
call sub.MSVCR120.dll_strlen
add esp, 4
push eax
lea ecx, [ebp - 0x14]
push ecx
call fcn.0048e4d0
lea edx, [ebp - 0x14]
mov dword [ebp - 0x224], edx
cmp dword [ebp - 0x224], 0
jne 0x45cbf2
mov dword [ebp - 0x230], 0
jmp 0x45cc68
mov eax, dword [ebp - 0x224]
push eax
call sub.MSVCR120.dll_strlen
add esp, 4
add eax, 1
mov dword [ebp - 0x228], eax
cmp dword [ebp - 0x228], 0x3fffffff
jle 0x45cc22
mov dword [ebp - 0x22c], 0
jmp 0x45cc5c
mov eax, dword [ebp - 0x228]
shl eax, 1
call fcn.004e13c0
mov dword [ebp - 0x238], esp
mov ecx, dword [ebp - 0x234]
push ecx
mov edx, dword [ebp - 0x228]
push edx
mov eax, dword [ebp - 0x224]
push eax
mov ecx, dword [ebp - 0x238]
push ecx
call fcn.00417bd0
mov dword [ebp - 0x22c], eax
mov edx, dword [ebp - 0x22c]
mov dword [ebp - 0x230], edx
mov eax, dword [ebp - 0x230]
push eax
mov ecx, dword [ebp - 0x23c]
push ecx
call dword [sym.imp.MSVCR120.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x45cc8a
mov byte [ebp - 0x21d], 1
push 5
lea edx, [ebp - 0x14]
push edx
call sub.MSVCR120.dll_strlen
add esp, 4
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0048e4d0
lea esp, [ebp - 0x240]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e134c
mov esp, ebp
pop ebp
ret 4
Function at 0x45ea50
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eacb7
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x572734]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x220], ecx
mov byte [ebp - 0x219], 0
mov ecx, dword [ebp - 0x220]
add ecx, 0x20
call fcn.00415d20
test eax, eax
je 0x45eb7e
xor eax, eax
mov word [ebp - 0x218], ax
push 0x206
push 0
lea ecx, [ebp - 0x216]
push ecx
call sub.MSVCR120.dll_memset
add esp, 0xc
lea edx, [ebp - 0x218]
push edx
call fcn.00409f60
test eax, eax
je 0x45eb7e
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.004153a0
mov dword [ebp - 4], 0
push str._sCorelDownloads
mov ecx, dword [ebp - 0x220]
add ecx, 0x20
call fcn.004155b0
lea ecx, [ebp - 0x230]
call fcn.004157f0
push eax
push 0x514120
mov ecx, dword [ebp - 0x220]
add ecx, 0x20
call fcn.00415f40
mov ecx, dword [ebp - 0x220]
call fcn.0045e960
push 0x104
mov ecx, dword [ebp - 0x220]
add ecx, 0x20
call fcn.00415890
mov dword [ebp - 0x224], eax
mov ecx, dword [ebp - 0x220]
add ecx, 0x48
call fcn.004157f0
push eax
mov ecx, dword [ebp - 0x224]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x220]
add ecx, 0x20
call fcn.00415930
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.00415310
push str.dim_params.xml
mov ecx, dword [ebp - 0x220]
add ecx, 0x20
call fcn.004157f0
push eax
push 0x104
mov ecx, dword [ebp - 0x220]
add ecx, 0x2c
call fcn.00415890
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x220]
add ecx, 0x2c
call fcn.00415930
mov ecx, dword [ebp - 0x220]
add ecx, 0x20
call fcn.004157f0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x45ebf1
mov ecx, dword [ebp - 0x220]
add ecx, 0x20
call fcn.004157f0
push eax
call fcn.00444030
mov byte [ebp - 0x219], al
jmp 0x45ebf8
mov byte [ebp - 0x219], 1
movzx edx, byte [ebp - 0x219]
test edx, edx
je 0x45ec47
mov ecx, dword [ebp - 0x220]
add ecx, 0x2c
call fcn.004157f0
push eax
call fcn.00443f30
movzx eax, al
test eax, eax
je 0x45ec47
mov ecx, dword [ebp - 0x220]
add ecx, 0x2c
call fcn.004157f0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x45ec40
mov byte [ebp - 0x219], 0
jmp 0x45ec47
mov byte [ebp - 0x219], 1
mov al, byte [ebp - 0x219]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e134c
mov esp, ebp
pop ebp
ret 4
Function at 0x4608b0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x56e6b4], 0x7af
jne 0x4608f9
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
push 0x574950
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
jne 0x4608ef
push 0x515768
push 0x10
push 0x574950
call dword [sym.imp.MSVCR120.dll_wcscpy_s]
add esp, 0xc
mov dword [0x56e6b4], 0x7d2
mov eax, 0x574950
mov esp, ebp
pop ebp
ret

Function at 0x460910
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x572734]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x56e6b8], 0x7af
jne 0x460973
push 0x104
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x41c]
push ecx
lea edx, [ebp - 0x418]
push edx
push 0x56e6b8
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0x51576c
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
jne 0x460973
mov dword [0x56e6b8], 0
mov eax, dword [0x56e6b8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e134c
mov esp, ebp
pop ebp
ret

Function at 0x460990
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x56e6bc], 0x7af
jne 0x4609dc
mov dword [ebp - 4], 0x101
lea eax, [ebp - 4]
push eax
push 0x574970
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
jne 0x4609d2
push 0x515774
push 0x101
push 0x574970
call dword [sym.imp.MSVCR120.dll_wcscpy_s]
add esp, 0xc
mov dword [0x56e6bc], 0x7d2
mov eax, 0x574970
mov esp, ebp
pop ebp
ret
Function at 0x462ff0
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eb385
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x572734]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 1
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x46304f
mov ecx, dword [ebp - 0x10]
and ecx, 1
je 0x46304f
mov edx, dword [ebp - 0x10]
and edx, 0xfffffffe
push edx
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov dword [ebp - 0x1c], 5
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x48]
call fcn.00431da0
mov byte [ebp - 4], 2
mov edx, dword [ebp + 0x10]
push edx
lea ecx, [ebp - 0x18]
call fcn.004090b0
mov byte [ebp - 4], 3
mov eax, dword [0x56e7d8]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004090b0
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x24], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x24]
push edx
lea ecx, [ebp - 0x68]
call fcn.00459000
mov byte [ebp - 4], 5
lea eax, [ebp - 0x68]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x3c], esp
mov edx, dword [0x56e7d4]
push edx
call fcn.004090b0
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 6
lea ecx, [ebp + 0xc]
call fcn.004d5340
mov byte [ebp - 4], 5
mov ecx, eax
call fcn.00459890
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x68]
call fcn.00414560
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
call fcn.00409190
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x78]
call fcn.00459000
mov byte [ebp - 4], 7
lea edx, [ebp - 0x78]
push edx
lea ecx, [ebp + 0xc]
call fcn.004d5340
mov ecx, eax
call fcn.00459740
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x78]
call fcn.00414560
cmp dword [ebp - 0x30], 0
jl 0x463158
mov dword [ebp - 0x34], 0
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x50]
call fcn.00431da0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x50]
push ecx
lea ecx, [ebp - 0x48]
call fcn.004476d0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x50]
call fcn.00405d70
jmp 0x463187
mov dword [ebp - 0x38], 4
lea edx, [ebp - 0x38]
push edx
lea ecx, [ebp - 0x58]
call fcn.00431da0
mov byte [ebp - 4], 9
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x48]
call fcn.004476d0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x58]
call fcn.00405d70
lea ecx, [ebp - 0x48]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004642a0
mov edx, dword [ebp - 0x14]
or edx, 1
mov dword [ebp - 0x14], edx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.00409190
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.00405d70
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.00409150
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x464b10
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eb938
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x572734]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.00464940
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
cmp dword [ebp + 8], 0xffffffff
je 0x464bec
push 0
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x30]
call fcn.00465090
sub esp, 0xc
mov edx, esp
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov eax, dword [eax + 8]
mov dword [edx + 8], eax
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x3c]
push edx
call fcn.00465850
mov ecx, eax
call fcn.00465250
push 0x400
push 0
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x24]
call fcn.004655d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
push str.Date
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
push SysReAllocString
call fcn.0040a8d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x469a20
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ec4ab
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x572734]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], ecx
push 8
push 0
lea eax, [ebp - 0x2c]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
push 8
push 0
lea ecx, [ebp - 0x24]
push ecx
call sub.MSVCR120.dll_memset
add esp, 0xc
push 8
push 0
lea edx, [ebp - 0x1c]
push edx
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x2c]
push edx
mov ecx, dword [ebp - 0x14]
add ecx, 0x50
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
jmp 0x469acd
mov dword [ebp - 4], 0xffffffff
jmp 0x469add
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret