joyce8/EMBER2024-capa huggingface dataset:
Function at 0x421536
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
mov esi, ecx
call fcn.004214fc
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [esi + 0x320], eax
cmp eax, 0x390
jae 0x421564
and dword [esi + 0x320], 0
xor al, al
jmp 0x4215a4
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [esi + 0x318], eax
test eax, eax
je 0x421559
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [esi + 0x31c], eax
test eax, eax
jne 0x4215a2
push dword [esi + 0x318]
call dword [sym.imp.KERNEL32.dll_FreeResource]
and dword [esi + 0x318], 0
jmp 0x421559
mov al, 1
pop esi
ret 8

Function at 0x4225e9
Capabilities:
Identify system language via api

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x14]
xor ebp, ebp
test edi, edi
je 0x422651
push ecx
push edi
mov ecx, 0x44f540
call fcn.0040981d
mov esi, eax
test esi, esi
jne 0x4226aa
cmp word [edi], bp
je 0x422651
mov esi, ebp
cmp dword [0x44f544], esi
jbe 0x422651
mov ebx, ebp
mov eax, dword [0x44f540]
add eax, ebx
push edi
push eax
call fcn.00411044
pop ecx
pop ecx
test eax, eax
je 0x422643
inc esi
add ebx, 0x34c
cmp esi, dword [0x44f544]
jb 0x42261e
jmp 0x422651
imul esi, esi, 0x34c
add esi, dword [0x44f540]
jne 0x4226aa
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
mov edi, dword [0x44f544]
movzx ecx, ax
mov esi, ebp
test edi, edi
je 0x422690
mov edx, dword [0x44f540]
lea eax, [edx + 0x30c]
test ecx, ecx
je 0x42267a
cmp dword [eax], ecx
je 0x422686
inc esi
add eax, 0x34c
cmp esi, edi
jb 0x422672
jmp 0x422690
imul esi, esi, 0x34c
add esi, edx
jne 0x4226aa
push ecx
push 0x442520
mov ecx, 0x44f540
call fcn.0040981d
mov esi, eax
test esi, esi
jne 0x4226aa
xor al, al
jmp 0x4226ea
mov ecx, esi
call fcn.00421aa5
test al, al
jne 0x4226d8
push ecx
mov esi, 0x44f540
push 0x442520
mov ecx, esi
call fcn.0040981d
test eax, eax
je 0x4226d0
push eax
mov ecx, esi
jmp 0x4226de
mov dword [0x44f54c], ebp
jmp 0x4226e8
push esi
mov ecx, 0x44f540
call fcn.004097de
mov dword [0x44f54c], eax
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x422752
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x788
lea ecx, [ebp - 0x784]
push ebx
push esi
push edi
call fcn.00405a58
lea ecx, [ebp - 0x21c]
call fcn.00405a58
lea ecx, [ebp - 0x56c]
call fcn.00421eff
push 0x442520
lea ecx, [ebp - 0x21c]
call fcn.00409692
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x56c]
call fcn.00421cb6
test al, al
jne 0x4227a9
xor bl, bl
jmp 0x422819
lea eax, [ebp - 0x56c]
mov edi, 0x44f540
push eax
mov ecx, edi
call fcn.004097a8
mov esi, dword [ebp + 0x10]
xor ebx, ebx
test esi, esi
je 0x422808
cmp word [esi], bx
je 0x422808
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x422808
push esi
lea ecx, [ebp - 0x21c]
call fcn.00409692
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x56c]
call fcn.00421cb6
test al, al
je 0x422808
lea eax, [ebp - 0x56c]
push eax
mov ecx, edi
call fcn.004097a8
jmp 0x422817
push edi
push 0x4226f1
push 0xa
push ebx
call dword [sym.imp.KERNEL32.dll_EnumResourceNamesW]
mov bl, 1
lea ecx, [ebp - 0x56c]
call fcn.00421ed5
pop edi
pop esi
mov al, bl
pop ebx
leave
ret 0x14

Function at 0x4229d6
Capabilities:
Hash data using sha1
Hash data using sha1 via wincrypt
Hash data via wincrypt
Import public key
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [ebp + 8], 0
push esi
push edi
mov esi, ecx
je 0x422a45
cmp dword [ebp + 0xc], 0
je 0x422a45
cmp dword [ebp + 0x10], 0
je 0x422a45
cmp dword [ebp + 0x14], 0
je 0x422a45
mov eax, dword [esi]
test eax, eax
je 0x422a45
xor edi, edi
cmp dword [eax + 0xc], edi
je 0x422a45
push 0xf0000000
push 1
push edi
push edi
lea eax, [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x422a45
lea eax, [ebp - 8]
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
add eax, 0x38
push eax
push 0x10001
push dword [ebp - 4]
call dword [sym.imp.CRYPT32.dll_CryptImportPublicKeyInfo]
test eax, eax
jne 0x422a4d
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor al, al
pop edi
pop esi
leave
ret 0x10
lea eax, [ebp - 0xc]
push eax
push edi
push edi
push 0x8004
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x422a70
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
jmp 0x422a3b
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x422a98
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
jmp 0x422a3b
push edi
push edi
push dword [ebp - 8]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptVerifySignatureW]
push dword [ebp - 8]
test eax, eax
je 0x422a87
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov al, 1
jmp 0x422a47
Function at 0x42300f
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push esi
mov esi, dword [ebp + 8]
test esi, esi
jne 0x423027
xor al, al
jmp 0x4230c3
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push esi
call ebx
cmp eax, 0xffffffff
je 0x42303d
mov al, 1
jmp 0x4230c2
push edi
push SysReAllocString
push esi
push ecx
mov edx, 0x103
lea ecx, [ebp - 0x208]
call fcn.00422ec5
xor eax, eax
lea edi, [ebp - 0x208]
cmp word [ebp - 0x208], ax
je 0x4230a5
push 0x5c
pop ecx
cmp word [edi], cx
jne 0x42309d
xor eax, eax
mov word [edi], ax
lea eax, [ebp - 0x208]
push eax
call ebx
cmp eax, 0xffffffff
jne 0x423095
xor eax, eax
push eax
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x4230bb
push 0x5c
pop ecx
mov word [edi], cx
xor eax, eax
add edi, 2
cmp word [edi], ax
jne 0x423069
push esi
call ebx
cmp eax, 0xffffffff
jne 0x4230bf
xor eax, eax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4230bf
xor al, al
jmp 0x4230c1
mov al, 1
pop edi
pop ebx
pop esi
leave
ret 4
Function at 0x423314
Capabilities:
Check if file exists
Delete file
Enumerate files on windows
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x664
cmp dword [ebp + 8], 0
push ebx
push esi
push edi
je 0x4233c0
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x4233c0
xor ebx, ebx
push esi
xor eax, eax
push ebx
mov word [esi], ax
push ebx
cmp dword [ebp + 0xc], eax
jne 0x423372
push 0x1a
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x4233c0
mov edi, dword [ebp + 0x14]
push ecx
lea eax, [ebp + 0x10]
push eax
mov edx, edi
mov ecx, esi
call fcn.00422f19
test eax, eax
js 0x4233ae
push SysReAllocString
push str.MacromediaFlash_PlayerSharedObjects
jmp 0x42339e
push 0x1c
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x4233c0
mov edi, dword [ebp + 0x14]
push ecx
lea eax, [ebp + 0x10]
push eax
mov edx, edi
mov ecx, esi
call fcn.00422f19
test eax, eax
js 0x4233ae
push SysReAllocString
push str.GoogleChromeUser_DataDefaultPepper_DataShockwave_FlashWritableRootSharedObjects
mov eax, dword [ebp + 0x10]
mov edx, edi
push ecx
sub edx, eax
lea ecx, [esi + eax*2]
call fcn.00422ec5
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x4233c9
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor al, al
pop edi
pop esi
pop ebx
leave
ret 0x10
cmp eax, 0xffffffff
je 0x4233c0
xor eax, eax
push 0x206
mov word [ebp - 0x458], ax
lea eax, [ebp - 0x456]
push ebx
push eax
call fcn.004127f0
push 0x24c
lea eax, [ebp - 0x24c]
push ebx
push eax
mov dword [ebp - 0x250], ebx
call fcn.004127f0
push esi
push 0x4427cc
lea eax, [ebp - 0x660]
push 0x103
push eax
call fcn.00409cfd
add esp, 0x28
lea eax, [ebp - 0x250]
push eax
lea eax, [ebp - 0x660]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp + 0x14], eax
cmp eax, 0xffffffff
je 0x4234e4
test byte [ebp - 0x250], 2
jne 0x4234ab
test byte [ebp - 0x250], 0x10
je 0x4234ab
cmp word [ebp - 0x224], 0x2e
je 0x4234ab
push dword [ebp + 8]
lea eax, [ebp - 0x224]
push eax
push esi
push str._s_s_s
lea eax, [ebp - 0x660]
push 0x103
push eax
call fcn.00409cfd
add esp, 0x18
lea eax, [ebp - 0x660]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4234c5
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x458]
push 0x104
push eax
call fcn.0041063b
mov eax, dword [ebp + 0x14]
add esp, 0xc
lea ecx, [ebp - 0x250]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x4234d7
mov eax, dword [ebp + 0x14]
jmp 0x42343b
lea eax, [ebp - 0x660]
push eax
mov edx, edi
mov ecx, esi
call fcn.00409d2c
mov bl, 1
push dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_FindClose]
test bl, bl
jne 0x423508
cmp word [ebp - 0x458], 0
je 0x423508
push dword [ebp + 8]
lea eax, [ebp - 0x458]
push eax
push esi
push str._s_s_s
push edi
push esi
call fcn.00409cfd
add esp, 0x18
mov al, bl
jmp 0x4233c2
Function at 0x423551
Capabilities:
Delete file

Disassembly:
sub esp, 0x10
push ebx
mov eax, 0xbf00
push ebp
mov word [esp + 8], ax
xor eax, eax
push esi
push edi
mov edi, ecx
mov dword [esp + 0x12], eax
mov dword [esp + 0x16], 0x4f534354
mov dword [esp + 0x1a], 0x400
mov word [esp + 0x1e], ax
cmp dword [esp + 0x24], eax
je 0x42371a
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x42371a
mov ebp, dword [esp + 0x30]
test ebp, ebp
je 0x42371a
push ecx
push 2
push ecx
push 0x40000000
push dword [esp + 0x34]
call fcn.00409510
test al, al
je 0x42371a
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4235c0
sub ecx, edx
mov edx, ebp
lea esi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x4235ce
sub edx, esi
mov esi, 0xff00
lea eax, [edx + 0x18]
add eax, ecx
movzx edx, ax
mov ecx, edx
and ecx, esi
mov eax, edx
shl eax, 0x10
add ecx, eax
mov eax, edx
sar eax, 8
shl ecx, 8
and eax, esi
add ecx, eax
sar edx, 0x18
add ecx, edx
push 0x10
lea eax, [esp + 0x14]
mov dword [esp + 0x16], ecx
push eax
mov ecx, edi
call fcn.004093db
cmp eax, 0x10
jne 0x423709
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x423620
and dword [esp + 0x30], 0
sub ecx, edx
movzx esi, cx
mov eax, esi
shl eax, 8
movzx eax, ax
mov dword [esp + 0x28], eax
push 2
lea eax, [esp + 0x2c]
push eax
mov ecx, edi
call fcn.004093db
cmp eax, 2
jne 0x423709
push esi
push ebx
mov ecx, edi
call fcn.004093db
cmp eax, esi
jne 0x423709
push 3
lea eax, [esp + 0x34]
push eax
mov ecx, edi
call fcn.004093db
cmp eax, 3
jne 0x423709
push 2
pop ebx
push ebx
lea eax, [esp + 0x2c]
push eax
mov ecx, edi
mov dword [esp + 0x30], 0x903
call fcn.004093db
cmp eax, ebx
jne 0x423709
push 4
push str.uniq
mov ecx, edi
call fcn.004093db
cmp eax, 4
jne 0x423709
mov ecx, ebp
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4236b0
sub ecx, edx
movzx esi, cx
mov eax, esi
shl eax, 9
add eax, 0x106
movzx eax, ax
mov dword [esp + 0x28], eax
push ebx
lea eax, [esp + 0x2c]
push eax
mov ecx, edi
call fcn.004093db
cmp eax, ebx
jne 0x423709
push esi
push ebp
mov ecx, edi
call fcn.004093db
cmp eax, esi
jne 0x423709
push 1
lea ecx, [esp + 0x34]
push ecx
mov ecx, edi
call fcn.004093db
cmp eax, 1
jne 0x423709
mov ecx, edi
call fcn.0040954c
mov al, 1
jmp 0x42371c
mov ecx, edi
call fcn.0040954c
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x10

Function at 0x42406e
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
xor eax, eax
push edi
mov edi, edx
mov esi, ecx
mov dword [esp + 0x10], eax
test ebp, ebp
je 0x4240ad
test esi, esi
je 0x4240b8
mov ebx, eax
test edi, edi
je 0x4240b8
movsx edx, byte [ebx + esi]
mov eax, ebx
and eax, 0xf
mov al, byte [eax + ebp]
add al, byte [esp + 0x10]
mov dword [esp + 0x10], edx
xor byte [ebx + esi], al
inc ebx
cmp ebx, edi
jb 0x42408f
jmp 0x4240b8
push 0x43ea18
call fcn.0042410b
pop ecx
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x4240be
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
xor ebx, ebx
push edi
mov esi, edx
test ebp, ebp
je 0x4240f9
cmp dword [esp + 0x18], ebx
je 0x4240f9
test ecx, ecx
je 0x424106
mov edi, ebx
test esi, esi
je 0x424106
xor edx, edx
mov eax, edi
div dword [esp + 0x18]
mov al, byte [edx + ebp]
add al, bl
xor byte [edi + ecx], al
movsx ebx, byte [edi + ecx]
inc edi
cmp edi, esi
jb 0x4240de
jmp 0x424106
push 0x43ea18
call fcn.00424149
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x42410b
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
push ebp
push edi
mov edi, ecx
mov ebp, edx
xor ebx, ebx
mov dword [esp + 0xc], ebp
test edi, edi
je 0x424144
push esi
mov esi, ebx
test ebp, ebp
je 0x424143
mov ebp, dword [esp + 0x18]
movsx edx, byte [esi + edi]
mov eax, esi
and eax, 0xf
mov al, byte [ebp + eax*4]
add al, bl
xor byte [esi + edi], al
inc esi
mov ebx, edx
cmp esi, dword [esp + 0x10]
jb 0x424124
pop esi
pop edi
pop ebp
pop ebx
pop ecx
ret

Function at 0x424149
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, edx
xor edx, edx
test ecx, ecx
je 0x424176
push esi
mov esi, edx
test edi, edi
je 0x424175
push ebx
mov ebx, dword [esp + 0x10]
mov eax, esi
and eax, 0xf
mov al, byte [ebx + eax*4]
add al, dl
xor byte [esi + ecx], al
movsx edx, byte [esi + ecx]
inc esi
cmp esi, edi
jb 0x42415e
pop ebx
pop esi
pop edi
ret

Function at 0x424b19
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov byte [ecx + 0x68], al
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret
Function at 0x424c62
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Move file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x464
push ebx
push esi
push edi
xor eax, eax
push 0x206
push eax
mov word [esp + 0x20], ax
lea eax, [esp + 0x22]
mov esi, ecx
push eax
mov dword [esp + 0x1c], esi
xor ebx, ebx
call fcn.004127f0
mov edi, dword [ebp + 8]
add esp, 0xc
test edi, edi
je 0x424e62
cmp dword [ebp + 0xc], ebx
je 0x424e62
push dword [ebp + 0xc]
lea eax, [esp + 0x1c]
push edi
push 0x442874
push 0x104
push eax
call fcn.00409cfd
add esp, 0x14
lea eax, [esp + 0x220]
push eax
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
je 0x424e0b
test byte [esp + 0x220], 0x10
je 0x424d64
cmp byte [ebp + 0x10], 0
je 0x424d64
push 0x442870
lea eax, [esp + 0x250]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x424de7
push 0x442868
lea eax, [esp + 0x250]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x424de7
lea eax, [esp + 0x24c]
push eax
push edi
push 0x442874
lea eax, [esp + 0x24]
push 0x104
push eax
call fcn.00409cfd
add esp, 0x14
lea eax, [esp + 0x18]
push dword [ebp + 0x10]
mov ecx, esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call fcn.00424c62
add ebx, eax
jmp 0x424de7
lea eax, [esp + 0x24c]
push eax
push edi
push 0x442874
lea eax, [esp + 0x24]
push 0x104
push eax
call fcn.00409cfd
add esp, 0x14
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x424de6
lea ecx, [esp + 0x18]
call fcn.004078bb
cmp eax, dword [0x44d230]
jae 0x424de6
mov esi, dword [0x44d22c]
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, eax
push eax
lea eax, [esp + 0x1c]
push eax
push esi
call fcn.00417186
add esp, 0xc
test eax, eax
je 0x424de2
push 4
push 0
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov esi, dword [esp + 0x10]
mov byte [esi], 1
jmp 0x424de6
mov esi, dword [esp + 0x10]
inc ebx
lea eax, [esp + 0x220]
push eax
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x424ce2
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp byte [ebp + 0x14], 0
je 0x424e5e
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x424e1f
inc ebx
jmp 0x424e5e
mov ecx, edi
call fcn.004078bb
cmp eax, dword [0x44d230]
jae 0x424e5e
mov esi, dword [0x44d22c]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, eax
push eax
push edi
push esi
call fcn.00417186
add esp, 0xc
test eax, eax
je 0x424e5e
push 4
push 0
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, dword [esp + 0x10]
mov byte [ecx], 1
mov eax, ebx
jmp 0x424e64
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x424e6d
Capabilities:
Get file system object information
Query or enumerate registry value

Disassembly:
sub esp, 0x6bc
push ebp
push esi
xor ebp, ebp
push 0x2b0
lea eax, [esp + 0x18]
push ebp
push eax
mov dword [esp + 0x1c], ebp
call fcn.004127f0
mov esi, dword [esp + 0x6d4]
add esp, 0xc
test esi, esi
je 0x424fe0
push edi
mov edi, dword [esp + 0x6d0]
test edi, edi
je 0x424fdf
push ebx
mov ebx, dword [esp + 0x6d8]
test ebx, ebx
je 0x424fde
push 0x1000
xor eax, eax
mov word [edi], ax
or dword [ebx], 0xffffffff
push 0x2b4
lea eax, [esp + 0x20]
push eax
push ebp
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov ebp, dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [esp + 0x24]
push eax
call ebp
test eax, eax
jle 0x424f08
lea eax, [esp + 0x24]
push eax
push edi
call ebp
lea edx, [eax - 1]
mov ecx, edi
call fcn.00409fab
mov eax, dword [esp + 0x1c]
jmp 0x424fdc
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x4d0]
push eax
push esi
mov dword [esp + 0x1c], 0x200
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
push eax
push SysReAllocStringLen
call esi
push str.DefaultIcon
mov edx, 0x200
lea ecx, [esp + 0x4d0]
call fcn.00409f71
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x2d0]
push eax
lea eax, [esp + 0x4d4]
push eax
push SysReAllocStringLen
mov dword [esp + 0x20], 0x104
call esi
lea eax, [esp + 0x2cc]
push 0x442864
push eax
call fcn.0040fdd1
pop ecx
pop ecx
mov dword [esp + 0x14], eax
test eax, eax
je 0x424fde
push eax
call ebp
xor esi, esi
inc esi
sub esi, eax
lea eax, [esp + 0x2cc]
push eax
call ebp
push edi
add esi, eax
call ebp
shr eax, 1
je 0x424fce
cmp eax, 0x7fffffff
ja 0x424fce
shr esi, 1
cmp esi, 0x7ffffffe
jbe 0x424fbb
xor eax, eax
mov word [edi], ax
jmp 0x424fce
push esi
lea ecx, [esp + 0x2d0]
push ecx
push ecx
mov edx, eax
mov ecx, edi
call fcn.00424bb0
mov eax, dword [esp + 0x14]
add eax, 2
push eax
call fcn.004102a7
pop ecx
mov dword [ebx], eax
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x6bc
ret 0xc
Function at 0x424feb
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push esi
push edi
xor eax, eax
push 0x1fe
mov word [ebp - 0x208], ax
xor edi, edi
lea eax, [ebp - 0x206]
push edi
push eax
call fcn.004127f0
mov esi, dword [ebp + 0xc]
add esp, 0xc
mov dword [ebp - 4], edi
test esi, esi
je 0x42512d
cmp dword [ebp + 0x10], edi
je 0x42512d
lea eax, [ebp - 4]
push eax
push 0x43a5f0
push 1
push edi
push 0x43a620
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x42512d
mov edx, dword [ebp - 4]
test edx, edx
je 0x42512d
mov eax, dword [ebp + 0x20]
test eax, eax
jns 0x425075
lea eax, [ebp + 0x20]
push eax
lea eax, [ebp - 0x208]
push eax
push esi
call fcn.00424e6d
mov eax, dword [ebp + 0x20]
mov edx, dword [ebp - 4]
cmp word [ebp - 0x208], di
mov ecx, dword [edx]
push eax
lea eax, [ebp - 0x208]
cmove eax, dword [ebp + 0x1c]
push eax
push edx
call dword [ecx + 0x44]
mov eax, dword [ebp - 4]
lea edx, [ebp - 8]
push edx
push pe_nt_image_headers32
lea edx, [ebp - 0x208]
mov dword [ebp - 8], edi
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x40]
mov eax, dword [ebp - 4]
push esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
mov eax, dword [ebp - 4]
mov esi, 0x441ddc
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x2c]
mov eax, dword [ebp - 4]
push dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
mov eax, dword [ebp - 4]
push esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
mov eax, dword [ebp - 4]
push 1
mov ecx, dword [eax]
push eax
call dword [ecx + 0x3c]
mov eax, dword [ebp - 4]
lea edx, [ebp + 0xc]
push edx
mov dword [ebp + 0xc], edi
mov ecx, dword [eax]
push 0x43a630
push eax
call dword [ecx]
mov esi, eax
test esi, esi
js 0x42511b
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x42511b
mov eax, dword [ecx]
push 1
push dword [ebp + 0x10]
push ecx
call dword [eax + 0x18]
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
test esi, esi
setns al
jmp 0x42512f
xor eax, eax
pop edi
pop esi
leave
ret 0x1c
Function at 0x425135
Capabilities:
Get common file path

Disassembly:
sub esp, 0x20c
push ebp
push esi
xor eax, eax
xor ecx, ecx
push 0x206
mov word [esp + 0x10], ax
push ecx
lea eax, [esp + 0x16]
push eax
mov dword [esp + 0x14], ecx
call fcn.004127f0
add esp, 0xc
cmp dword [esp + 0x21c], 0
je 0x42521d
cmp dword [esp + 0x220], 0
je 0x42521d
cmp dword [esp + 0x228], 0
je 0x42521d
mov ebp, dword [esp + 0x22c]
test ebp, ebp
je 0x42521d
mov esi, dword [esp + 0x230]
test esi, esi
je 0x42521d
lea eax, [esp + 8]
push eax
push dword [esp + 0x21c]
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
js 0x42521d
lea eax, [esp + 0xc]
push eax
push dword [esp + 0xc]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x42521d
push dword [esp + 0x224]
lea eax, [esp + 0x10]
push eax
push str._s_s.lnk
lea eax, [ebp - 1]
push eax
push dword [esp + 0x238]
call fcn.00409cfd
add esp, 0x14
xor eax, eax
cmp word [esi], ax
push eax
cmove esi, dword [esp + 0x224]
push esi
push ecx
push ecx
push dword [esp + 0x238]
push dword [esp + 0x234]
push dword [esp + 0x234]
call fcn.00424feb
jmp 0x42521f
xor eax, eax
pop esi
pop ebp
add esp, 0x20c
ret 0x1c

Function at 0x425290
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x42c
push ebx
xor eax, eax
push 0x206
mov word [ebp - 0x428], ax
xor ebx, ebx
lea eax, [ebp - 0x426]
push ebx
push eax
call fcn.004127f0
add esp, 0xc
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x4253d7
cmp dword [ebp + 0x10], ebx
je 0x4253d7
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
js 0x4253d7
lea eax, [ebp - 0x428]
push eax
push dword [ebp - 8]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x4253ab
push 0x442888
mov edx, 0x208
lea ecx, [ebp - 0x428]
call fcn.00409f71
push dword [ebp + 0xc]
mov edx, 0x208
lea ecx, [ebp - 0x428]
call fcn.00409f71
lea eax, [ebp - 0x428]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x425394
lea eax, [ebp - 0x210]
mov dword [ebp - 0x21c], eax
xor eax, eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x428]
push eax
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x220], 0x444620
mov dword [ebp - 0x218], ebx
mov dword [ebp - 0x214], 0x104
call fcn.00409692
mov ecx, dword [ebp - 0x21c]
mov dword [ebp - 0x220], 0x444620
call fcn.00409eae
mov bl, al
jmp 0x425396
mov bl, 1
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x428]
push eax
mov eax, dword [ebp + 0x14]
lea edx, [eax + eax]
call fcn.00409fab
lea eax, [ebp - 4]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
js 0x4253ce
mov eax, dword [ebp - 4]
push dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
test bl, bl
setne al
jmp 0x4253d9
xor eax, eax
pop ebx
leave
ret 0x10