joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44c650
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65645f
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x224
mov eax, dword [0x750990]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov byte [ebp - 0x21d], 0
lea ecx, [ebp - 0x230]
call fcn.0041a9a0
mov dword [ebp - 4], 0
mov byte [ebp - 4], 1
mov dword [ebp - 0x234], 0x104
xor eax, eax
mov word [ebp - 0x21c], ax
push 0x206
push 0
lea ecx, [ebp - 0x21a]
push ecx
call fcn.0062db60
add esp, 0xc
lea edx, [ebp - 0x21c]
push edx
mov eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jbe 0x44c6f2
lea ecx, [ebp - 0x21c]
push ecx
lea ecx, [ebp - 0x230]
call fcn.0041ac50
jmp 0x44c6fa
mov dword [ebp - 4], 0
jmp 0x44c70a
lea ecx, [ebp - 0x230]
call fcn.0041b380
test eax, eax
je 0x44c729
push str.C:_temp
lea ecx, [ebp - 0x230]
call fcn.0041ac50
lea ecx, [ebp - 0x230]
call fcn.0041b380
test eax, eax
jne 0x44c795
lea ecx, [ebp - 0x230]
call fcn.0041ae90
mov dword [ebp - 0x224], eax
cmp dword [ebp + 8], 0
je 0x44c783
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
cmp eax, dword [ebp - 0x224]
jle 0x44c781
lea ecx, [ebp - 0x230]
call fcn.0041ae70
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.006302e7
add esp, 0xc
mov byte [ebp - 0x21d], 1
jmp 0x44c78a
mov byte [ebp - 0x21d], 1
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x224]
mov dword [ecx], edx
mov al, byte [ebp - 0x21d]
mov byte [ebp - 0x21e], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.0041a9d0
mov al, byte [ebp - 0x21e]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0062dc28
mov esp, ebp
pop ebp
ret 8
Function at 0x44cfa0
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x750990]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0xc], 0
mov byte [ebp - 0xb], 0
mov byte [ebp - 0xa], 0
mov byte [ebp - 9], 0
mov byte [ebp - 8], 0
mov byte [ebp - 7], 5
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
lea ecx, [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x44d019
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x14]
push eax
push 0
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x44d00f
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_FreeSid]
cmp dword [ebp - 0x10], 0
je 0x44d028
mov dword [ebp - 0x18], 1
jmp 0x44d02f
mov dword [ebp - 0x18], 0
mov al, byte [ebp - 0x18]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0062dc28
mov esp, ebp
pop ebp
ret

Function at 0x44d8d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
mov byte [ebp - 1], 1
mov dword [ebp - 8], 0xffffffff
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x44d942
mov dword [ebp - 0xc], 0xc8
push 0
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x44d938
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp - 0xc]
jne 0x44d938
mov byte [ebp - 1], 1
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret 8
Function at 0x44d950
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 [0x750990]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x23c], ecx
call fcn.00408f00
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 0x44d9b3
mov ecx, dword [ebp - 0x218]
and ecx, 1
je 0x44d9b3
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 fcn.0062db60
add esp, 0xc
push 0x104
mov eax, dword [ebp + 8]
push eax
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
call fcn.0062eb20
add esp, 0x10
push 0x5c
lea edx, [ebp - 0x20c]
push edx
call fcn.00409490
add esp, 8
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
je 0x44da29
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.0043eb00
add esp, 4
push eax
call fcn.0044b4f0
movzx ecx, al
test ecx, ecx
jne 0x44da5a
lea edx, [ebp - 0x20c]
push edx
call fcn.0043eb00
add esp, 4
push eax
call fcn.0044b5a0
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x234], 0xc
mov dword [ebp - 0x22c], 0
lea eax, [ebp - 0x234]
push eax
call fcn.0044b860
movzx ecx, al
test ecx, ecx
je 0x44da97
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 0x44db15
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 0x44db08
mov eax, dword [ebp - 0x224]
cmp eax, dword [ebp - 0x228]
jne 0x44db08
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.0044b8b0
mov al, byte [ebp - 0x20d]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0062dc28
mov esp, ebp
pop ebp
ret 8
Function at 0x455ae0
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 0x455b94
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 0x455b94
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 0x455b94
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 0x455b94
cmp dword [ebp + 8], 0
je 0x455b7a
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 0x455b7a
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 fcn.0062e2e0
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 0x45b280
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x657d9a
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x750990]
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.00410340
add esp, 0x14
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x45b35a
mov ecx, dword [ebp - 0x24]
add ecx, 0x1034
call fcn.0041ae70
push eax
lea ecx, [ebp - 0x34]
push ecx
mov ecx, dword [ebp - 0x24]
add ecx, 0x1048
call fcn.0043d280
mov dword [ebp - 4], 0
lea edx, [ebp - 0x20]
push edx
lea ecx, [ebp - 0x34]
call fcn.0041ae70
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.0041a9d0
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.0062dc28
mov esp, ebp
pop ebp
ret
Function at 0x45d1e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x657f97
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x750990]
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 0x45d42e
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.0041ae70
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 0x45d42e
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 0x45d421
lea ecx, [ebp - 0x21c]
push ecx
lea ecx, [ebp - 0x240]
call fcn.0041aa50
mov dword [ebp - 4], 0
push 0x69473c
push str.DllName
call fcn.0062eae8
add esp, 4
push eax
lea edx, [ebp - 0x260]
push edx
lea ecx, [ebp - 0x240]
call fcn.0041b490
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.0041ae70
push eax
call fcn.0062e165
add esp, 8
test eax, eax
jne 0x45d331
mov dword [ebp - 0x234], 1
jmp 0x45d33b
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.0041a9d0
movzx edx, byte [ebp - 0x21d]
test edx, edx
je 0x45d3f1
lea ecx, [ebp - 0x240]
call fcn.0041ae70
push eax
mov ecx, dword [ebp - 0x224]
add ecx, 0x10
call fcn.0041ae70
push eax
push reloc.OLEAUT32.dll_SysReAllocString
lea eax, [ebp - 0x26c]
push eax
call fcn.0040e270
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.0041aca0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x26c]
call fcn.0041a9d0
lea ecx, [ebp - 0x240]
call fcn.0041b380
test eax, eax
jne 0x45d3f1
lea ecx, [ebp - 0x240]
call fcn.0041ae70
push eax
mov ecx, dword [ebp - 0x224]
call fcn.0045cf70
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.0041a9d0
jmp 0x45d287
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.0062dc28
mov esp, ebp
pop ebp
ret
Function at 0x45db10
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65811b
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x750990]
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.00460440
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x10]
add ecx, 0x3c
call fcn.00460440
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x10]
add ecx, 0x38
call fcn.00460440
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x10]
add ecx, 0x34
call fcn.00460440
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.00437760
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x24
call fcn.0041a9d0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.0041a9d0
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call fcn.0041a9d0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
call fcn.0041a9d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4614a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6588da
mov eax, dword fs:[0]
push eax
mov eax, 0x1034
call fcn.0062f6d0
mov eax, dword [0x750990]
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.0041a9f0
mov dword [ebp - 4], 0
push 0x6959c8
lea ecx, [ebp - 0x1040]
call fcn.0041aa50
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1040]
push ecx
lea ecx, [ebp - 0x1034]
call fcn.0041ada0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1040]
call fcn.0041a9d0
mov dword [ebp - 0x101c], 0
lea edx, [ebp - 0x101c]
push edx
push 0x20019
push 0
lea ecx, [ebp - 0x1034]
call fcn.0041ae70
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x461632
mov dword [ebp - 0x1018], 0x800
xor eax, eax
mov word [ebp - 0x1014], ax
push 0x1000
push 0
lea ecx, [ebp - 0x1012]
push ecx
call fcn.0062db60
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 0x461625
push 0
lea ecx, [ebp - 0x1014]
push ecx
lea ecx, [ebp - 0x1034]
call fcn.0041ae70
push eax
push SysReAllocStringLen
call fcn.0040e920
mov edx, dword [ebp - 0x1018]
add edx, 1
push edx
push 0
lea eax, [ebp - 0x1014]
push eax
call fcn.0062db60
add esp, 0xc
mov ecx, dword [ebp - 0x1020]
add ecx, 1
mov dword [ebp - 0x1020], ecx
mov dword [ebp - 0x1018], 0x800
jmp 0x46159a
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.0041a9d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0062dc28
mov esp, ebp
pop ebp
ret
Function at 0x464080
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x750990]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x240], ecx
call fcn.00408f00
mov dword [ebp - 0x234], eax
xor eax, eax
mov word [ebp - 0x21c], ax
push 0x206
push 0
lea ecx, [ebp - 0x21a]
push ecx
call fcn.0062db60
add esp, 0xc
push 0x104
lea edx, [ebp - 0x21c]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0044c880
mov byte [ebp - 0x21d], 0
lea ecx, [ebp - 0x21c]
push ecx
call fcn.0062eae8
add esp, 4
test eax, eax
jbe 0x46422d
push 0x5c
lea edx, [ebp - 0x21c]
push edx
call fcn.00409490
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 fcn.00631b50
add esp, 4
push eax
lea ecx, [ebp - 0x14]
push ecx
call fcn.00497910
lea edx, [ebp - 0x14]
mov dword [ebp - 0x224], edx
cmp dword [ebp - 0x224], 0
jne 0x46417e
mov dword [ebp - 0x230], 0
jmp 0x4641f4
mov eax, dword [ebp - 0x224]
push eax
call fcn.00631b50
add esp, 4
add eax, 1
mov dword [ebp - 0x228], eax
cmp dword [ebp - 0x228], 0x3fffffff
jle 0x4641ae
mov dword [ebp - 0x22c], 0
jmp 0x4641e8
mov eax, dword [ebp - 0x228]
shl eax, 1
call fcn.0062f6a0
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.0041d300
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 fcn.0062e165
add esp, 8
test eax, eax
jne 0x464215
mov byte [ebp - 0x21d], 1
push 5
lea edx, [ebp - 0x14]
push edx
call fcn.00631b50
add esp, 4
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00497910
lea esp, [ebp - 0x240]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0062dc28
mov esp, ebp
pop ebp
ret 4
Function at 0x465fe0
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6591e7
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x750990]
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.0041b380
test eax, eax
je 0x46610e
xor eax, eax
mov word [ebp - 0x218], ax
push 0x206
push 0
lea ecx, [ebp - 0x216]
push ecx
call fcn.0062db60
add esp, 0xc
lea edx, [ebp - 0x218]
push edx
call fcn.0040dbe0
test eax, eax
je 0x46610e
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.0041aa50
mov dword [ebp - 4], 0
push str._sCorelDownloads
mov ecx, dword [ebp - 0x220]
add ecx, 0x20
call fcn.0041ac50
lea ecx, [ebp - 0x230]
call fcn.0041ae70
push eax
push 0x696760
mov ecx, dword [ebp - 0x220]
add ecx, 0x20
call fcn.0041b590
mov ecx, dword [ebp - 0x220]
call fcn.00465ef0
push 0x104
mov ecx, dword [ebp - 0x220]
add ecx, 0x20
call fcn.0041af10
mov dword [ebp - 0x224], eax
mov ecx, dword [ebp - 0x220]
add ecx, 0x48
call fcn.0041ae70
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.0041afb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.0041a9d0
push str.dim_params.xml
mov ecx, dword [ebp - 0x220]
add ecx, 0x20
call fcn.0041ae70
push eax
push 0x104
mov ecx, dword [ebp - 0x220]
add ecx, 0x2c
call fcn.0041af10
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x220]
add ecx, 0x2c
call fcn.0041afb0
mov ecx, dword [ebp - 0x220]
add ecx, 0x20
call fcn.0041ae70
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x466181
mov ecx, dword [ebp - 0x220]
add ecx, 0x20
call fcn.0041ae70
push eax
call fcn.0044b5a0
mov byte [ebp - 0x219], al
jmp 0x466188
mov byte [ebp - 0x219], 1
movzx edx, byte [ebp - 0x219]
test edx, edx
je 0x4661d7
mov ecx, dword [ebp - 0x220]
add ecx, 0x2c
call fcn.0041ae70
push eax
call fcn.0044b4a0
movzx eax, al
test eax, eax
je 0x4661d7
mov ecx, dword [ebp - 0x220]
add ecx, 0x2c
call fcn.0041ae70
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4661d0
mov byte [ebp - 0x219], 0
jmp 0x4661d7
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.0062dc28
mov esp, ebp
pop ebp
ret 4
Function at 0x467db0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x74b6c4], 0x7af
jne 0x467df8
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
push 0x7585f8
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
jne 0x467dee
push 0x697dc0
push 0x10
push 0x7585f8
call fcn.006302e7
add esp, 0xc
mov dword [0x74b6c4], 0x7d2
mov eax, 0x7585f8
mov esp, ebp
pop ebp
ret

Function at 0x467e10
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x750990]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x74b6c8], 0x7af
jne 0x467e73
push 0x104
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x41c]
push ecx
lea edx, [ebp - 0x418]
push edx
push 0x74b6c8
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0x697dc4
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
jne 0x467e73
mov dword [0x74b6c8], 0
mov eax, dword [0x74b6c8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0062dc28
mov esp, ebp
pop ebp
ret

Function at 0x467e90
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x74b6cc], 0x7af
jne 0x467edb
mov dword [ebp - 4], 0x101
lea eax, [ebp - 4]
push eax
push 0x758618
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
jne 0x467ed1
push 0x697dcc
push 0x101
push 0x758618
call fcn.006302e7
add esp, 0xc
mov dword [0x74b6cc], 0x7d2
mov eax, 0x758618
mov esp, ebp
pop ebp
ret