joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40dd70
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 0x40ddcf
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x40dd9c
mov eax, 1
jmp 0x40dded
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 0x40ddcd
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 0x40dded
jmp 0x40dde8
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x40dde8
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x40dded
mov eax, 1
mov esp, ebp
pop ebp
ret 8

Function at 0x40e400
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x82384c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], ecx
xor eax, eax
jne 0x40e413
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
shl edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x40e456
mov eax, dword [ebp - 0x10]
jmp 0x40e4bc
cmp dword [ebp - 8], 1
je 0x40e469
cmp dword [ebp - 8], 2
je 0x40e469
mov eax, 0xd
jmp 0x40e4bc
cmp dword [ebp + 0xc], 0
je 0x40e4b0
cmp dword [ebp - 0xc], 0
je 0x40e49f
mov eax, dword [ebp - 0xc]
xor edx, edx
mov ecx, 2
div ecx
test edx, edx
jne 0x40e496
mov edx, dword [ebp - 0xc]
shr edx, 1
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + edx*2 - 2]
test ecx, ecx
je 0x40e49d
mov eax, 0xd
jmp 0x40e4bc
jmp 0x40e4b0
mov edx, 2
imul eax, edx, 0
xor ecx, ecx
mov edx, dword [ebp + 0xc]
mov word [edx + eax], cx
mov eax, dword [ebp - 0xc]
shr eax, 1
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fb522
mov esp, ebp
pop ebp
ret 0xc
Function at 0x40e520
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x1c], ecx
xor eax, eax
jne 0x40e529
cmp dword [ebp + 0xc], 0
je 0x40e53c
mov dword [ebp - 0xc], 1
jmp 0x40e543
mov dword [ebp - 0xc], 0
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0
jne 0x40e556
mov eax, 0xd
jmp 0x40e5ab
xor edx, edx
jne 0x40e52d
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 0x40e569
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 0x40e5c0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x82384c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x224], ecx
push 0xc
lea ecx, [ebp - 0x21c]
call fcn.0040e4d0
push 0
lea ecx, [ebp - 0x21c]
call fcn.0040e0d0
mov eax, dword [ebp - 0x224]
mov ecx, dword [eax + 4]
or ecx, 0x2001f
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x224]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x21c]
call fcn.0040e350
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0
je 0x40e64c
mov edx, dword [ebp - 0x220]
mov dword [ebp - 0x228], edx
lea ecx, [ebp - 0x21c]
call fcn.0040e100
mov eax, dword [ebp - 0x228]
jmp 0x40e701
mov dword [ebp - 0x208], 0x100
lea eax, [ebp - 0x210]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 0x208]
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 0x40e6d0
lea ecx, [ebp - 0x204]
push ecx
lea ecx, [ebp - 0x21c]
call fcn.0040e5c0
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0
je 0x40e6c4
mov edx, dword [ebp - 0x220]
mov dword [ebp - 0x22c], edx
lea ecx, [ebp - 0x21c]
call fcn.0040e100
mov eax, dword [ebp - 0x22c]
jmp 0x40e701
mov dword [ebp - 0x208], 0x100
jmp 0x40e656
lea ecx, [ebp - 0x21c]
call fcn.0040e1d0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x224]
call fcn.0040e120
mov dword [ebp - 0x230], eax
lea ecx, [ebp - 0x21c]
call fcn.0040e100
mov eax, dword [ebp - 0x230]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fb522
mov esp, ebp
pop ebp
ret 4
Function at 0x40ea90
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
mov dword [eax], 0
push 8
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push str.MyContainer
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x40eb23
push 0
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x40eb23
push 0x20
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x40eb23
push 0x28
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x40eb23
push 0
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push str.MyContainer
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x40eb27
mov al, 1
jmp 0x40eb35
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
call fcn.0040eb40
xor al, al
mov esp, ebp
pop ebp
ret 4

Function at 0x40eb80
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x82384c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
mov dword [ebp - 8], 0
mov byte [ebp - 9], 0
lea ecx, [ebp - 8]
push ecx
push 0
push 0
push 0x8003
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x40ebc6
jmp 0x40ec12
push 0
mov ecx, dword [ebp + 0xc]
call fcn.004149f0
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00414a30
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x40ebea
jmp 0x40ec12
mov edx, dword [ebp + 0x10]
push edx
push 0
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
jne 0x40ec0a
jmp 0x40ec12
mov byte [ebp - 9], 1
xor ecx, ecx
jne 0x40eba7
cmp dword [ebp - 8], 0
je 0x40ec2a
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
test eax, eax
jne 0x40ec2a
mov byte [ebp - 9], 0
mov dword [ebp - 8], 0
movzx eax, byte [ebp - 9]
test eax, eax
jne 0x40ec45
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.0040ec60
add esp, 4
mov al, byte [ebp - 9]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fb522
mov esp, ebp
pop ebp
ret 0xc
Function at 0x40ed10
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x82384c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 8], 1
mov byte [ebp - 0xd], 1
lea eax, [ebp - 8]
push eax
lea ecx, [ebp + 8]
push ecx
call fcn.0040eca0
add esp, 8
movzx edx, al
test edx, edx
jne 0x40ed4b
mov byte [ebp - 0xd], 0
jmp 0x40ee8b
mov ecx, dword [ebp + 0xc]
call fcn.004149f0
xor edx, edx
div dword [ebp - 8]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp + 0xc]
call fcn.004149f0
xor edx, edx
div dword [ebp - 8]
test edx, edx
je 0x40ed75
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp + 0xc]
call fcn.004149f0
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x30]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.00414ab0
mov edx, dword [eax]
mov dword [ebp - 0x28], edx
push 0
mov eax, dword [ebp - 8]
imul eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
lea edx, [ebp - 0x34]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.00414b30
mov eax, 0x3e8
xor edx, edx
div dword [ebp - 8]
mov eax, 0x3e8
sub eax, edx
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
jmp 0x40eddb
mov ecx, dword [ebp - 0x14]
add ecx, dword [ebp - 0xc]
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x18], 0
jne 0x40ee77
mov edx, dword [ebp - 0x20]
sub edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 0xc]
jg 0x40ee00
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x18], 1
movzx ecx, byte [ebp + 0x10]
test ecx, ecx
je 0x40ee3b
mov ecx, dword [ebp + 0xc]
call fcn.004149f0
sub eax, dword [ebp - 0x14]
push eax
lea edx, [ebp - 0xc]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.00414a30
add eax, dword [ebp - 0x14]
push eax
push 0
mov eax, dword [ebp - 0x18]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
mov dword [ebp - 0x24], eax
jmp 0x40ee60
lea edx, [ebp - 0xc]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.00414a30
add eax, dword [ebp - 0x14]
push eax
push 0
mov eax, dword [ebp - 0x18]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x2c], edx
cmp dword [ebp - 0x2c], 0
jne 0x40ee72
mov byte [ebp - 0xd], 0
jmp 0x40ee77
jmp 0x40edd2
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.004149d0
xor ecx, ecx
jne 0x40ed2b
lea edx, [ebp + 8]
push edx
call fcn.0040ec60
add esp, 4
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fb522
mov esp, ebp
pop ebp
ret
Function at 0x40efd0
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x735026
mov eax, dword fs:[0]
push eax
sub esp, 0x444
mov eax, dword [0x82384c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 1
push 0xc
lea ecx, [ebp - 0x430]
call fcn.0040e4d0
push 0
lea ecx, [ebp - 0x430]
call fcn.0040e0d0
mov byte [ebp - 4], 2
push 0x7eca00
lea ecx, [ebp - 0x448]
call fcn.00405710
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x20]
call fcn.00405580
mov dword [ebp - 0x44c], eax
lea ecx, [ebp + 8]
call fcn.00405580
mov dword [ebp - 0x450], eax
lea eax, [ebp - 0x44c]
push eax
lea ecx, [ebp - 0x450]
push ecx
push str._autostart___s__s
call fcn.00416c20
add esp, 0xc
push 0
push 0
push 0xf003f
push 0
push 0
lea ecx, [ebp - 0x448]
call fcn.00405580
push eax
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x430]
call fcn.0040e280
test eax, eax
je 0x40f0aa
push str._autostart_
call fcn.00416d10
add esp, 4
jmp 0x40f150
push 0x410
push 0
lea edx, [ebp - 0x420]
push edx
call fcn.005796b0
add esp, 0xc
mov dword [ebp - 0x424], 0x208
lea eax, [ebp - 0x424]
push eax
lea ecx, [ebp - 0x420]
push ecx
lea ecx, [ebp + 0x20]
call fcn.00405580
push eax
lea ecx, [ebp - 0x430]
call fcn.0040e400
cmp dword [ebp - 0x424], 0
jbe 0x40f118
cmp dword [ebp - 0x424], 0
jbe 0x40f148
lea edx, [ebp - 0x420]
push edx
lea eax, [ebp + 8]
push eax
call fcn.00416d80
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x40f148
push 1
lea ecx, [ebp + 8]
call fcn.00405580
push eax
lea ecx, [ebp + 0x20]
call fcn.00405580
push eax
lea ecx, [ebp - 0x430]
call fcn.0040e520
test eax, eax
je 0x40f148
push str._autostart__SetStringValue
call fcn.00416d10
add esp, 4
xor edx, edx
jne 0x40f06b
lea ecx, [ebp - 0x430]
call fcn.0040e1d0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x448]
call fcn.00405650
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x430]
call fcn.0040e100
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00405650
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.00405650
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004fb522
mov esp, ebp
pop ebp
ret
Function at 0x40f720
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x735138
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x82384c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x28]
call fcn.00405770
mov dword [ebp - 4], 0
mov eax, dword [0x7f0bb8]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x28]
call fcn.004147c0
mov edx, dword [0x7f0bb8]
push edx
push 0x5c
mov ecx, dword [ebp + 8]
call fcn.00414480
mov dword [ebp - 0x38], eax
mov eax, dword [0x7f0bb8]
cmp eax, dword [ebp - 0x38]
je 0x40f7c0
mov ecx, dword [ebp - 0x38]
push ecx
push 0
lea edx, [ebp - 0x54]
push edx
lea ecx, [ebp - 0x28]
call fcn.00414370
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x28]
call fcn.00405690
lea ecx, [ebp - 0x54]
call fcn.00405650
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea ecx, [ebp - 0x2c]
push ecx
push 0x759f10
push 1
push 0
push 0x75f270
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jge 0x40f7ee
jmp 0x40f89a
lea edx, [ebp - 0x30]
push edx
push 0x75b300
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ecx]
call eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jge 0x40f812
jmp 0x40f89a
mov ecx, dword [ebp + 8]
call fcn.00405580
push eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [edx + 0x50]
call ecx
mov ecx, dword [ebp + 0x14]
call fcn.00405580
push eax
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [eax + 0x2c]
call edx
mov ecx, dword [ebp + 0x10]
call fcn.00405580
push eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ecx + 0x1c]
call eax
lea ecx, [ebp - 0x28]
call fcn.00405580
push eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [edx + 0x24]
call ecx
push 1
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [eax + 0x3c]
call edx
push 1
mov ecx, dword [ebp + 0xc]
call fcn.00405580
push eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x30]
push edx
mov eax, dword [ecx + 0x18]
call eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x30], 0
je 0x40f8ae
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [edx + 8]
call ecx
cmp dword [ebp - 0x2c], 0
je 0x40f8c2
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [eax + 8]
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00405650
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004fb522
mov esp, ebp
pop ebp
ret
Function at 0x410300
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x73535b
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x82384c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0
xor eax, eax
mov word [ebp - 0x218], ax
push 0x206
push 0
lea ecx, [ebp - 0x216]
push ecx
call fcn.005796b0
add esp, 0xc
lea edx, [ebp - 0x21c]
push edx
mov eax, dword [ebp + 0xc]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x410412
lea ecx, [ebp - 0x218]
push ecx
mov edx, dword [ebp - 0x21c]
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov dword [ebp - 0x224], eax
mov eax, dword [ebp - 0x21c]
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
cmp dword [ebp - 0x224], 0
je 0x410412
push 0x7ececc
lea ecx, [ebp - 0x244]
call fcn.00405710
mov dword [ebp - 0x228], eax
mov ecx, dword [ebp - 0x228]
mov dword [ebp - 0x22c], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x22c]
push edx
lea eax, [ebp - 0x218]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00416e80
add esp, 0xc
mov edx, dword [ebp - 0x220]
or edx, 1
mov dword [ebp - 0x220], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x244]
call fcn.00405650
mov eax, dword [ebp + 8]
jmp 0x410431
push 0x7eced0
mov ecx, dword [ebp + 8]
call fcn.00405710
mov eax, dword [ebp - 0x220]
or eax, 1
mov dword [ebp - 0x220], 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.004fb522
mov esp, ebp
pop ebp
ret
Function at 0x410b00
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x735461
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x82384c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x230]
call fcn.00405770
mov dword [ebp - 4], 0
xor eax, eax
mov word [ebp - 0x218], ax
push 0x206
push 0
lea ecx, [ebp - 0x216]
push ecx
call fcn.005796b0
add esp, 0xc
push 0x104
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x410b96
mov byte [ebp - 0x236], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.00405650
mov al, byte [ebp - 0x236]
jmp 0x410d15
push 0x7ed0a0
lea ecx, [ebp - 0x230]
call fcn.00405600
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.004055b0
push 0x7ed0a4
lea ecx, [ebp - 0x230]
call fcn.004055b0
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x230]
call fcn.004147a0
mov byte [ebp - 0x235], 0
call fcn.00410d30
movzx edx, al
test edx, edx
je 0x410c88
mov dword [ebp - 0x234], 0
lea eax, [ebp - 0x234]
push eax
call fcn.004110d0
add esp, 4
movzx ecx, al
test ecx, ecx
je 0x410c86
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x264]
call fcn.00405710
mov byte [ebp - 4], 1
push 1
lea eax, [ebp - 0x264]
push eax
push 0
push 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x240], esp
lea edx, [ebp - 0x230]
push edx
call fcn.00405790
mov dword [ebp - 0x244], eax
call fcn.00410fc0
add esp, 0x28
mov byte [ebp - 0x237], al
mov al, byte [ebp - 0x237]
mov byte [ebp - 0x235], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x264]
call fcn.00405650
mov ecx, dword [ebp - 0x234]
push ecx
call fcn.00411120
add esp, 4
jmp 0x410cf1
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x27c]
call fcn.00405710
mov byte [ebp - 4], 2
push 1
lea eax, [ebp - 0x27c]
push eax
push 0
push 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x248], esp
lea edx, [ebp - 0x230]
push edx
call fcn.00405790
mov dword [ebp - 0x24c], eax
call fcn.00410fc0
add esp, 0x28
mov byte [ebp - 0x238], al
mov al, byte [ebp - 0x238]
mov byte [ebp - 0x235], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x27c]
call fcn.00405650
mov cl, byte [ebp - 0x235]
mov byte [ebp - 0x239], cl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.00405650
mov al, byte [ebp - 0x239]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004fb522
mov esp, ebp
pop ebp
ret
Function at 0x410da0
Capabilities:
Check if file exists
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7354b9
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x82384c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
call fcn.00405570
movzx eax, al
test eax, eax
je 0x410de1
xor al, al
jmp 0x410f98
mov ecx, dword [ebp + 8]
call fcn.00405580
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x410dfb
xor al, al
jmp 0x410f98
lea ecx, [ebp - 0x28]
call fcn.00405770
mov dword [ebp - 4], 0
mov dword [ebp - 0x6c], 0x44
push 0x40
push 0
lea ecx, [ebp - 0x68]
push ecx
call fcn.005796b0
add esp, 0xc
mov dword [ebp - 0x40], 1
mov edx, 1
mov word [ebp - 0x3c], dx
mov eax, dword [ebp + 8]
push eax
push 0x7ed0ec
lea ecx, [ebp - 0xfc]
push ecx
call fcn.00416dc0
add esp, 0xc
mov dword [ebp - 0x84], eax
mov edx, dword [ebp - 0x84]
mov dword [ebp - 0x88], edx
mov byte [ebp - 4], 1
push 0x7ed0e8
mov eax, dword [ebp - 0x88]
push eax
lea ecx, [ebp - 0xe4]
push ecx
call fcn.00417080
add esp, 0xc
mov dword [ebp - 0x8c], eax
mov edx, dword [ebp - 0x8c]
mov dword [ebp - 0x90], edx
mov byte [ebp - 4], 2
push 0x7ed0e4
mov eax, dword [ebp - 0x90]
push eax
lea ecx, [ebp - 0xcc]
push ecx
call fcn.00417080
add esp, 0xc
mov dword [ebp - 0x94], eax
mov edx, dword [ebp - 0x94]
mov dword [ebp - 0x98], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x98]
push ecx
lea edx, [ebp - 0xb4]
push edx
call fcn.00416f80
add esp, 0xc
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x28]
call fcn.00405690
lea ecx, [ebp - 0xb4]
call fcn.00405650
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xcc]
call fcn.00405650
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xe4]
call fcn.00405650
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xfc]
call fcn.00405650
lea ecx, [ebp - 0x7c]
push ecx
lea edx, [ebp - 0x6c]
push edx
push 0
push 0
push 0x8000000
push 0
push 0
push 0
lea ecx, [ebp - 0x28]
call fcn.00405580
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp dword [ebp - 0x7c], 0
jne 0x410f6e
mov byte [ebp - 0x7d], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00405650
mov al, byte [ebp - 0x7d]
jmp 0x410f98
mov eax, dword [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x78]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 0x7e], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00405650
mov al, byte [ebp - 0x7e]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004fb522
mov esp, ebp
pop ebp
ret