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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x6c0924]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x208
push 0
lea eax, [ebp - 0x20c]
push eax
call fcn.005b1170
add esp, 0xc
push 0
push 0x1a
lea ecx, [ebp - 0x20c]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.lockhomepageLogguardhp.log
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x627a50
push 0x6400000
push 0
push 0
lea eax, [ebp - 0x20c]
push eax
call fcn.00478ce0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052e057
mov esp, ebp
pop ebp
ret

Function at 0x43eee0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x6c0924]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x20c], ecx
push 0
lea ecx, [ebp - 0x21c]
call fcn.00424fb0
mov eax, dword [ebp - 0x20c]
mov ecx, dword [eax + 4]
or ecx, 0x2001f
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x20c]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x21c]
call fcn.00428670
mov dword [ebp - 0x208], eax
cmp dword [ebp - 0x208], 0
je 0x43ef5f
mov edx, dword [ebp - 0x208]
mov dword [ebp - 0x220], edx
lea ecx, [ebp - 0x21c]
call fcn.00425220
mov eax, dword [ebp - 0x220]
jmp 0x43f014
mov dword [ebp - 0x210], 0x100
lea eax, [ebp - 0x230]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 0x210]
push ecx
lea edx, [ebp - 0x204]
push edx
push 0
mov eax, dword [ebp - 0x21c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x43efe3
lea ecx, [ebp - 0x204]
push ecx
lea ecx, [ebp - 0x21c]
call fcn.0043eee0
mov dword [ebp - 0x208], eax
cmp dword [ebp - 0x208], 0
je 0x43efd7
mov edx, dword [ebp - 0x208]
mov dword [ebp - 0x224], edx
lea ecx, [ebp - 0x21c]
call fcn.00425220
mov eax, dword [ebp - 0x224]
jmp 0x43f014
mov dword [ebp - 0x210], 0x100
jmp 0x43ef69
lea ecx, [ebp - 0x21c]
call fcn.004269d0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x20c]
call fcn.0043cce0
mov dword [ebp - 0x228], eax
lea ecx, [ebp - 0x21c]
call fcn.00425220
mov eax, dword [ebp - 0x228]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052e057
mov esp, ebp
pop ebp
ret 4

Function at 0x43f0f0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x43f14f
push 0x61e17c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x43f11c
mov eax, 1
jmp 0x43f16d
push str.RegDeleteKeyTransactedW
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x43f14d
push 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
push 0
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [ebp - 0xc]
jmp 0x43f16d
jmp 0x43f168
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x43f168
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x43f16d
mov eax, 1
mov esp, ebp
pop ebp
ret 8
Function at 0x4408f0
Capabilities:
Create directory
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x609258
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x6c0924]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x44097c
lea ecx, [ebp - 0x10]
call fcn.00405c40
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
push ecx
push str.cmd__c_mkdir___s_
lea edx, [ebp - 0x10]
push edx
call fcn.00407610
add esp, 0xc
push 0
push 0
lea ecx, [ebp - 0x10]
call fcn.00403580
push eax
push str.cmd.exe
push 0x627a88
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00405df0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x4409c0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0x28], ecx
xor eax, eax
jne 0x4409c9
cmp dword [ebp + 0xc], 0
je 0x4409dc
mov dword [ebp - 0x18], 1
jmp 0x4409e3
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x1c], 0
jne 0x4409f9
mov eax, 0xd
jmp 0x440a7c
xor edx, edx
jne 0x4409cd
mov dword [ebp - 0x14], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
add edx, 2
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 8]
mov cx, word [eax]
mov word [ebp - 2], cx
add dword [ebp - 8], 2
cmp word [ebp - 2], 0
jne 0x440a19
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 0x20]
sar edx, 1
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
lea eax, [edx + ecx*2]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
lea eax, [edx + ecx*2]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x10], 1
jne 0x440a0a
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 7
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esp, ebp
pop ebp
ret 8
Function at 0x440a90
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x1c], ecx
xor eax, eax
jne 0x440a99
cmp dword [ebp + 0xc], 0
je 0x440aac
mov dword [ebp - 0xc], 1
jmp 0x440ab3
mov dword [ebp - 0xc], 0
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0
jne 0x440ac6
mov eax, 0xd
jmp 0x440b1b
xor edx, edx
jne 0x440a9d
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
add ecx, 2
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 8]
mov ax, word [edx]
mov word [ebp - 2], ax
add dword [ebp - 8], 2
cmp word [ebp - 2], 0
jne 0x440ad9
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0x14]
sar ecx, 1
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
lea eax, [edx + edx + 2]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 0x10]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x440b30
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60d11b
mov eax, dword fs:[0]
push eax
sub esp, 0x100
mov eax, dword [0x6c0924]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x627dc0
mov ecx, dword [ebp + 8]
call fcn.004176c0
test eax, eax
je 0x440cd2
push 0x627dd8
lea ecx, [ebp - 0x50]
call fcn.00402600
mov dword [ebp - 4], 0
push str.product_ex
lea ecx, [ebp - 0x4c]
call fcn.00402600
mov byte [ebp - 4], 1
push 0
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x4c]
push ecx
lea edx, [ebp - 0x48]
push edx
call fcn.0043dcf0
add esp, 0x10
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4c]
call fcn.00405df0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x50]
call fcn.00405df0
lea ecx, [ebp - 0x48]
call fcn.00410370
movzx eax, al
test eax, eax
je 0x440cc3
call fcn.00478bf0
mov dword [ebp - 0x54], eax
push 1
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x54]
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 0x5c], al
cmp byte [ebp - 0x5c], 1
je 0x440bfb
jmp 0x440cb2
push 0x627df8
lea ecx, [ebp - 0x40]
call fcn.00408710
mov byte [ebp - 4], 5
push 0x627df4
lea ecx, [ebp - 0x28]
call fcn.00408710
mov byte [ebp - 4], 6
call fcn.00478bf0
mov dword [ebp - 0x58], eax
push str.product_ex_not_exist
lea ecx, [ebp - 0x70]
push ecx
call fcn.0040b7b0
add esp, 8
mov dword [ebp - 0x60], eax
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x64], edx
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x64]
push eax
push 0x79
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x28]
push edx
lea ecx, [ebp - 0x10c]
call fcn.0040d3b0
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x6c]
call fcn.0040b2d0
push eax
mov ecx, dword [ebp - 0x58]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x58]
mov eax, dword [edx + 0x1c]
call eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x10c]
call fcn.0040e140
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x70]
call fcn.00405df0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
call fcn.00405e70
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
call fcn.00405e70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.00405df0
jmp 0x440d12
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.00405df0
mov ecx, dword [ebp + 0xc]
call fcn.004031e0
lea ecx, [eax + eax + 2]
mov dword [ebp - 0x74], ecx
xor edx, edx
mov byte [ebp - 0x41], dl
mov eax, dword [ebp - 0x74]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00403580
push eax
push 1
mov ecx, dword [ebp + 8]
call fcn.00403580
push eax
lea ecx, [ebp - 0x41]
call fcn.0043b770
push eax
push reloc.WS2_32.dll_accept
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052e057
mov esp, ebp
pop ebp
ret
Function at 0x448a60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60dcf6
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x6c0924]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24c], ecx
mov dword [ebp - 0x250], 0
mov ecx, dword [ebp - 0x24c]
call fcn.00410370
movzx eax, al
test eax, eax
je 0x448b6c
mov dword [ebp - 0x258], 1
push 0x208
push 0
lea ecx, [ebp - 0x218]
push ecx
call fcn.005b1170
add esp, 0xc
mov dword [ebp - 0x254], 0x104
push str.u1RkzLXaFHw5p120IozSWfoQcMtX_3WVLKcnQ5Niiw5lXmDdJrGGWoHUY9U7fZUP2F46miRy2vcv3_MgEDjaA
lea ecx, [ebp - 0x230]
call fcn.0040d080
mov dword [ebp - 4], 0
lea edx, [ebp - 0x230]
push edx
lea eax, [ebp - 0x248]
push eax
call fcn.004519c0
add esp, 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x230]
call fcn.0040df90
lea ecx, [ebp - 0x254]
push ecx
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x258]
push eax
push 0x62acd4
lea ecx, [ebp - 0x248]
call fcn.00413b20
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea ecx, [ebp - 0x218]
push ecx
mov ecx, dword [ebp - 0x24c]
call fcn.00402800
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x248]
call fcn.0040df90
mov edx, dword [ebp - 0x24c]
push edx
mov ecx, dword [ebp + 8]
call fcn.00405c20
mov eax, dword [ebp - 0x250]
or eax, 1
mov dword [ebp - 0x250], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052e057
mov esp, ebp
pop ebp
ret 4

Function at 0x44bb70
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x6c0924]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x118], 0x114
push 0x110
push 0
lea eax, [ebp - 0x114]
push eax
call fcn.005b1170
add esp, 0xc
lea ecx, [ebp - 0x118]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [ebp - 0x120], eax
cmp dword [ebp - 0x120], 0
je 0x44bbd4
cmp dword [ebp - 0x114], 6
jb 0x44bbd4
mov dword [ebp - 0x11c], 1
jmp 0x44bbde
mov dword [ebp - 0x11c], 0
mov al, byte [ebp - 0x11c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052e057
mov esp, ebp
pop ebp
ret
Function at 0x44c370
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
call fcn.0044ad90
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
mov edx, dword [eax + 0x40]
call edx
cmp dword [ebp - 0xc], 1
jne 0x44c50d
mov eax, dword [ebp - 4]
cmp dword [eax + 0x68], 0
je 0x44c50d
lea ecx, [ebp + 8]
push ecx
mov ecx, dword [ebp - 4]
add ecx, 4
call fcn.0044cbe0
mov ecx, dword [ebp - 4]
call fcn.0044b810
mov dword [ebp - 0x10], eax
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov ecx, dword [eax + 0xf4]
call ecx
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x44c405
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [eax + 0x84]
call edx
test eax, eax
je 0x44c50d
mov dword [ebp - 0xc], 2
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
je 0x44c425
mov dword [ebp - 0x14], 1
jmp 0x44c42c
mov dword [ebp - 0x14], 0
cmp dword [ebp - 0x14], 0
je 0x44c465
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x58], 0
jne 0x44c465
mov edx, dword [ebp - 4]
mov dword [edx + 0x58], 1
mov eax, dword [ebp - 4]
mov dword [eax + 0x5c], 0
push 1
push 0
push 0x3401
mov ecx, dword [ebp - 4]
add ecx, 4
call fcn.0041e300
jmp 0x44c48b
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x58], 0
je 0x44c48b
mov edx, dword [ebp - 4]
cmp dword [edx + 0x5c], 0
jne 0x44c48b
mov eax, dword [ebp - 4]
mov dword [eax + 0x58], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x5c], 1
push 2
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movsx edx, ax
and edx, 0x8000
je 0x44c4a7
mov dword [ebp - 0x18], 1
jmp 0x44c4ae
mov dword [ebp - 0x18], 0
cmp dword [ebp - 0x18], 0
je 0x44c4e7
mov eax, dword [ebp - 4]
cmp dword [eax + 0x60], 0
jne 0x44c4e7
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x60], 1
mov edx, dword [ebp - 4]
mov dword [edx + 0x5c], 0
push 1
push 1
push 0x3401
mov ecx, dword [ebp - 4]
add ecx, 4
call fcn.0041e300
jmp 0x44c50d
mov eax, dword [ebp - 4]
cmp dword [eax + 0x60], 0
je 0x44c50d
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x5c], 0
jne 0x44c50d
mov edx, dword [ebp - 4]
mov dword [edx + 0x60], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x5c], 1
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 8

Function at 0x44fc40
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push eax
call fcn.00455a00
test eax, eax
je 0x44fc6e
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x44fc6e
push 1
mov edx, dword [ebp + 8]
push edx
call fcn.00453ef0
add esp, 8
jmp 0x44fc73
mov eax, 1
pop ebp
ret
Function at 0x4504c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x6c0924]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x210], 0
push 0x208
push 0
lea eax, [ebp - 0x20c]
push eax
call fcn.005b1170
add esp, 0xc
push 0
push 0x1c
lea ecx, [ebp - 0x20c]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edx, [ebp - 0x20c]
push edx
mov ecx, dword [ebp + 8]
call fcn.0040d080
mov eax, dword [ebp - 0x210]
or eax, 1
mov dword [ebp - 0x210], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052e057
mov esp, ebp
pop ebp
ret

Function at 0x450b30
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60e453
mov eax, dword fs:[0]
push eax
sub esp, 0x104
mov eax, dword [0x6c0924]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x5c], 0
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x60], 0x10
lea ecx, [ebp - 0x60]
push ecx
lea edx, [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
jne 0x450c79
call fcn.00478bf0
mov dword [ebp - 0x54], eax
push 1
mov eax, dword [ebp - 0x54]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x54]
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 0x64], al
cmp byte [ebp - 0x64], 1
je 0x450bb2
jmp 0x450c79
push 0x62ee68
lea ecx, [ebp - 0x50]
call fcn.00408710
mov dword [ebp - 4], 0
push 0x62ee64
lea ecx, [ebp - 0x38]
call fcn.00408710
mov byte [ebp - 4], 1
call fcn.00478bf0
mov dword [ebp - 0x58], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetComputerName_fail__errno___d
lea ecx, [ebp - 0x78]
push ecx
call fcn.0040b9a0
add esp, 0xc
mov dword [ebp - 0x68], eax
mov edx, dword [ebp - 0x68]
mov dword [ebp - 0x6c], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x6c]
push eax
push 0x8db
lea ecx, [ebp - 0x50]
push ecx
lea edx, [ebp - 0x38]
push edx
lea ecx, [ebp - 0x110]
call fcn.0040d3b0
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x74], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x74]
call fcn.0040b2a0
push eax
mov ecx, dword [ebp - 0x58]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x58]
mov eax, dword [edx + 0x1c]
call eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x110]
call fcn.0040e140
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x78]
call fcn.00405df0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.00405e70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.00405e70
lea ecx, [ebp - 0x20]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00408710
mov edx, dword [ebp - 0x5c]
or edx, 1
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052e057
mov esp, ebp
pop ebp
ret
Function at 0x4532e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60e9cb
mov eax, dword fs:[0]
push eax
mov eax, 0x1034
call fcn.0052e070
mov eax, dword [0x6c0924]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1038], 0
mov dword [ebp - 0x1030], 0
lea ecx, [ebp - 0x102c]
call fcn.0040d0f0
mov dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
je 0x453347
cmp dword [ebp + 0x10], 0
je 0x453347
cmp dword [ebp + 0x14], 0
jne 0x45334c
jmp 0x45340f
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x453360
mov dword [ebp - 0x1034], 0x100
jmp 0x45336a
mov dword [ebp - 0x1034], 0x200
lea ecx, [ebp - 0x1030]
push ecx
mov edx, dword [ebp - 0x1034]
or edx, 0x20019
push edx
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x45339b
cmp dword [ebp - 0x1030], 0
jne 0x45339d
jmp 0x45340f
mov dword [ebp - 0x1040], 0x800
push 0x1002
push 0
lea edx, [ebp - 0x1014]
push edx
call fcn.005b1170
add esp, 0xc
mov dword [ebp - 0x103c], 0x1000
lea eax, [ebp - 0x103c]
push eax
lea ecx, [ebp - 0x1014]
push ecx
push 0
push 0xffff
mov edx, dword [ebp + 0x14]
push edx
push 0
mov eax, dword [ebp - 0x1030]
push eax
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x4533f5
jmp 0x45340f
lea ecx, [ebp - 0x1014]
push ecx
lea ecx, [ebp - 0x102c]
call fcn.0042f870
xor edx, edx
jne 0x453335
cmp dword [ebp - 0x1030], 0
je 0x45342f
mov eax, dword [ebp - 0x1030]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x1030], 0
lea ecx, [ebp - 0x102c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0040cf10
mov edx, dword [ebp - 0x1038]
or edx, 1
mov dword [ebp - 0x1038], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x102c]
call fcn.0040df90
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052e057
mov esp, ebp
pop ebp
ret
Function at 0x453ef0
Capabilities:
Delete file
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x6c0924]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x208
push 0
lea eax, [ebp - 0x414]
push eax
call fcn.005b1170
add esp, 0xc
lea ecx, [ebp - 0x414]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x208
push 0
lea edx, [ebp - 0x20c]
push edx
call fcn.005b1170
add esp, 0xc
xor eax, eax
mov byte [ebp - 0x415], al
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
call fcn.005c329c
add esi, eax
push esi
lea ecx, [ebp - 0x414]
push ecx
lea ecx, [ebp - 0x415]
call fcn.0044f710
push eax
push 0x104
lea edx, [ebp - 0x20c]
push edx
call fcn.00455800
add esp, 0x14
push 1
lea eax, [ebp - 0x20c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x453fb2
push 4
push 0
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov eax, 1
jmp 0x453fcf
cmp dword [ebp + 0xc], 0
je 0x453fcd
push 4
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov eax, 1
jmp 0x453fcf
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052e057
mov esp, ebp
pop ebp
ret

Function at 0x455390
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60eb88
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x6c0924]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4553cd
mov eax, 1
jmp 0x455487
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathIsRootW]
test eax, eax
je 0x4553e2
xor eax, eax
jmp 0x455487
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x4553f7
xor eax, eax
jmp 0x455487
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x10]
call fcn.00402600
mov dword [ebp - 4], 0
push 0
lea ecx, [ebp - 0x10]
call fcn.00406280
xor ecx, ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], ecx
mov word [ebp - 0x1c], cx
mov dword [ebp - 0x34], 3
mov edx, 0x614
mov word [ebp - 0x28], dx
lea ecx, [ebp - 0x10]
call fcn.00403580
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
jne 0x455468
mov dword [ebp - 0x14], 1
jmp 0x45546f
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00405df0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4557a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov ecx, dword [ebp + 8]
call fcn.00403580
push eax
lea ecx, [ebp - 8]
call fcn.0044efb0
push 0
push 0
lea ecx, [ebp - 8]
call fcn.0043cdc0
push eax
push 0x44fee0
push 0
push 0
call fcn.005c3209
add esp, 0x18
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4557e8
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 8]
call fcn.00438460
mov esp, ebp
pop ebp
ret