joyce8/EMBER2024-capa huggingface dataset:
Function at 0x462620
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x73bdeb
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x8312b0]
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 eax, dword [ebp + 8]
mov dword [ebp - 0x24c], eax
lea eax, [ebp - 0x238]
push eax
push 9
push 0
push edx
push ecx
mov dword [ebp - 0x238], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4627fd
push 0x208
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.0070dcd0
add esp, 0xc
mov dword [ebp - 0x244], 0x104
lea eax, [ebp - 0x268]
mov dword [ebp - 0x240], 0
push eax
lea eax, [ebp - 0x250]
push eax
lea eax, [ebp - 0x254]
push eax
lea eax, [ebp - 0x258]
push eax
lea eax, [ebp - 0x25c]
push eax
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x240]
push eax
push 0
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x21c]
push eax
push dword [ebp - 0x238]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x4627fd
mov eax, dword [ebp - 0x23c]
xor ecx, ecx
inc eax
mov edx, 2
mov dword [ebp - 0x23c], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.006f4f6d
mov edi, eax
add esp, 4
test edi, edi
je 0x4627fd
xor esi, esi
cmp dword [ebp - 0x240], esi
jbe 0x4627f4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
nop word [eax + eax]
mov eax, dword [ebp - 0x23c]
mov dword [ebp - 0x248], eax
lea eax, [ebp - 0x268]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x248]
push eax
push edi
push esi
push dword [ebp - 0x238]
call ebx
test eax, eax
jne 0x4627e7
mov dword [ebp - 0x224], eax
mov word [ebp - 0x234], ax
mov eax, edi
mov dword [ebp - 0x220], 7
lea edx, [eax + 2]
nop word [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4627a0
sub eax, edx
lea ecx, [ebp - 0x234]
sar eax, 1
push eax
push edi
call fcn.0044bdc0
mov ecx, dword [ebp - 0x24c]
lea eax, [ebp - 0x234]
push eax
mov dword [ebp - 4], 0
call fcn.0044c580
lea ecx, [ebp - 0x234]
mov dword [ebp - 4], 0xffffffff
call fcn.0044bf40
inc esi
cmp esi, dword [ebp - 0x240]
jb 0x462750
push edi
call fcn.006f4f76
add esp, 4
mov eax, dword [ebp - 0x238]
test eax, eax
je 0x46280e
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
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.006f4f1e
mov esp, ebp
pop ebp
ret
Function at 0x462830
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c8
mov eax, dword [0x8312b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [0x7e6d94]
movups xmm0, xmmword [0x7e6d84]
push ebx
push esi
push 0x80
mov byte [ebp - 0x10], al
mov esi, ecx
lea eax, [ebp - 0xb0]
mov dword [ebp - 0x4c8], edx
push 0
push eax
xor bl, bl
mov dword [ebp - 0x4c0], 0
mov dword [ebp - 0x4b8], 0
mov dword [ebp - 0x4bc], 0
mov dword [ebp - 0x4b4], 0
movups xmmword [ebp - 0x20], xmm0
call fcn.0070dcd0
add esp, 0xc
lea eax, [ebp - 0x4c0]
push 0xf0000000
push 1
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x462a7d
lea eax, [ebp - 0x4b8]
push eax
push 0
push 0
push 0x8003
push dword [ebp - 0x4c0]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x462a6f
push 0
push 0x8000000
push 3
push 0
push 1
push SysReAllocString
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x4c4], eax
cmp eax, 0xffffffff
je 0x462a63
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
lea ecx, [ebp - 0x4bc]
push 0
push ecx
push 0x400
lea ecx, [ebp - 0x4b0]
push ecx
push eax
call esi
test eax, eax
je 0x462a57
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_CryptHashData]
nop dword [eax]
mov eax, dword [ebp - 0x4bc]
push 0
test eax, eax
je 0x46298a
push eax
lea eax, [ebp - 0x4b0]
push eax
push dword [ebp - 0x4b8]
call edi
test eax, eax
je 0x462a56
push 0
lea eax, [ebp - 0x4bc]
push eax
push 0x400
lea eax, [ebp - 0x4b0]
push eax
push dword [ebp - 0x4c4]
call esi
test eax, eax
jne 0x462940
jmp 0x462a56
lea eax, [ebp - 0x4b4]
mov dword [ebp - 0x4b4], 0x10
push eax
lea eax, [ebp - 0x30]
push eax
push 2
push dword [ebp - 0x4b8]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x462a54
xor eax, eax
xor ebx, ebx
mov dword [ebp - 0xc], eax
mov word [ebp - 8], ax
cmp dword [ebp - 0x4b4], eax
jbe 0x462a39
nop dword [eax + eax]
movzx ecx, byte [ebp + ebx - 0x30]
mov eax, ecx
shr ecx, 4
and eax, 0xf
movsx eax, byte [ebp + eax - 0x20]
push eax
movsx eax, byte [ebp + ecx - 0x20]
push eax
lea eax, [ebp - 0xc]
push 0x7e6d98
push eax
call fcn.004634c0
lea eax, [ebp - 0xc]
add esp, 0x10
mov esi, eax
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x462a00
lea edi, [ebp - 0xb0]
sub eax, esi
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x462a16
mov ecx, eax
inc ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp ebx, dword [ebp - 0x4b4]
jb 0x4629d0
push 0x21
lea eax, [ebp - 0xb0]
push eax
push dword [ebp - 0x4c8]
call fcn.00715c7e
add esp, 0xc
mov bl, 1
jmp 0x462a56
xor bl, bl
pop edi
push dword [ebp - 0x4c4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x4b8]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0
push dword [ebp - 0x4c0]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.006f4f1e
mov esp, ebp
pop ebp
ret
Function at 0x462a90
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc0
mov eax, dword [0x8312b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
movups xmm0, xmmword [0x7e6da4]
push ebx
push esi
push edi
mov dword [ebp - 0xc0], eax
mov esi, edx
mov al, byte [0x7e6db4]
mov edi, ecx
push 0x80
mov byte [ebp - 0x10], al
xor bl, bl
lea eax, [ebp - 0xb0]
mov dword [ebp - 0xbc], 0
push 0
push eax
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0
movups xmmword [ebp - 0x20], xmm0
call fcn.0070dcd0
add esp, 0xc
lea eax, [ebp - 0xbc]
push 0xf0000000
push 1
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x462c40
lea eax, [ebp - 0xb8]
push eax
push 0
push 0
push 0x8003
push dword [ebp - 0xbc]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x462c32
push 0
push esi
push edi
push dword [ebp - 0xb8]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x462c26
push 0
lea eax, [ebp - 0xb4]
mov dword [ebp - 0xb4], 0x10
push eax
lea eax, [ebp - 0x30]
push eax
push 2
push dword [ebp - 0xb8]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x462c24
xor eax, eax
xor ebx, ebx
mov dword [ebp - 0xc], eax
mov word [ebp - 8], ax
cmp dword [ebp - 0xb4], eax
jbe 0x462c09
nop dword [eax + eax]
movzx ecx, byte [ebp + ebx - 0x30]
mov eax, ecx
shr ecx, 4
and eax, 0xf
movsx eax, byte [ebp + eax - 0x20]
push eax
movsx eax, byte [ebp + ecx - 0x20]
push eax
lea eax, [ebp - 0xc]
push 0x7e6db8
push eax
call fcn.004634c0
lea eax, [ebp - 0xc]
add esp, 0x10
mov esi, eax
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x462bd0
lea edi, [ebp - 0xb0]
sub eax, esi
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x462be6
mov ecx, eax
inc ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp ebx, dword [ebp - 0xb4]
jb 0x462ba0
push 0x21
lea eax, [ebp - 0xb0]
push eax
push dword [ebp - 0xc0]
call fcn.00715c7e
add esp, 0xc
mov bl, 1
jmp 0x462c26
xor bl, bl
push dword [ebp - 0xb8]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0
push dword [ebp - 0xbc]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006f4f1e
mov esp, ebp
pop ebp
ret
Function at 0x462c60
Capabilities:
Get file size
Parse pe header
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov dword [ebp - 4], edx
mov esi, ecx
xor bl, bl
call fcn.00461b90
test al, al
je 0x462d42
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x462d42
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 8], eax
cmp eax, 0x40
jbe 0x462d3b
push edi
push 0
push 0
push 0
push 2
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov edi, eax
test edi, edi
je 0x462d3a
push 0
push 0
push 0
push 4
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ecx, eax
test ecx, ecx
je 0x462d33
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x462d33
mov edx, dword [ecx + 0x3c]
lea eax, [edx + 0xf8]
cmp eax, dword [ebp - 8]
jae 0x462d33
cmp dword [edx + ecx], 0x4550
jne 0x462d2c
movzx eax, word [edx + ecx + 0x18]
mov edx, 0x10b
cmp dx, ax
jne 0x462d1a
mov eax, dword [ebp - 4]
mov byte [eax], 1
jmp 0x462d2a
mov edx, 0x20b
cmp dx, ax
jne 0x462d2a
mov eax, dword [ebp - 4]
mov byte [eax], 0
mov bl, 1
push ecx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x462d50
Capabilities:
Delete file
Get file attributes
Set file attributes

Disassembly:
push esi
mov esi, ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 1
je 0x462d69
and eax, 0xfffffffe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
pop esi
setne al
ret
Function at 0x462d80
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x815de0
push 0x70c690
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x8312b0]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, ecx
mov dword [ebp - 4], 0
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.006f4f6d
add esp, 4
mov edi, eax
mov dword [ebp - 0x20], edi
test edi, edi
je 0x462f0e
push esi
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov esi, edi
mov dword [ebp - 0x1c], esi
cmp word [edi], 0x5c
jne 0x462e59
cmp word [edi + 2], 0x5c
jne 0x462e59
lea esi, [edi + 2]
mov dword [ebp - 0x1c], esi
add esi, 2
mov dword [ebp - 0x1c], esi
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
movzx eax, word [esi]
test ax, ax
je 0x462e38
cmp eax, 0x5c
je 0x462e2d
push esi
call ebx
mov esi, eax
mov dword [ebp - 0x1c], esi
jmp 0x462e16
test ax, ax
je 0x462e38
add esi, 2
mov dword [ebp - 0x1c], esi
movzx eax, word [esi]
test ax, ax
je 0x462e85
cmp eax, 0x5c
je 0x462e4c
push esi
call ebx
mov esi, eax
jmp 0x462e35
test ax, ax
je 0x462e85
add esi, 2
mov dword [ebp - 0x1c], esi
jmp 0x462e85
cmp word [edi + 2], 0x3a
jne 0x462e7f
lea esi, [edi + 2]
mov dword [ebp - 0x1c], esi
add esi, 2
mov dword [ebp - 0x1c], esi
movzx eax, word [esi]
test ax, ax
je 0x462e7f
cmp eax, 0x5c
jne 0x462e7f
add esi, 2
mov dword [ebp - 0x1c], esi
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
movzx eax, word [esi]
test ax, ax
je 0x462ed6
cmp eax, 0x5c
jne 0x462ecc
xor eax, eax
mov word [esi], ax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x462ec0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x462ec4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x462ec4
push edi
jmp 0x462f06
test al, 0x10
je 0x462ebd
mov eax, 0x5c
mov word [esi], ax
push esi
call ebx
mov esi, eax
mov dword [ebp - 0x1c], esi
jmp 0x462e85
mov dword [ebp - 4], 0xfffffffe
push edi
call fcn.006f4f76
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.006f4f76
add esp, 4
mov dword [ebp - 4], 0xfffffffe
xor al, al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x462fc0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x61c
mov eax, dword [0x8312b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword fs:[0x2c]
push esi
mov esi, ecx
mov ecx, dword [eax]
mov eax, dword [0x83d268]
cmp eax, dword [ecx + 4]
jle 0x463034
push 0x83d268
call fcn.006f54d6
add esp, 4
cmp dword [0x83d268], 0xffffffff
jne 0x463034
xor eax, eax
mov dword [0x83d27c], 0
push 0x749c50
mov dword [0x83d280], 7
mov word [0x83d26c], ax
call fcn.006f5223
push 0x83d268
call fcn.006f548c
add esp, 8
cmp dword [0x83d27c], 0
jne 0x463101
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0070dcd0
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp eax, 0x103
jbe 0x463081
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006f4f1e
mov esp, ebp
pop ebp
ret
push 0x410
lea eax, [ebp - 0x61c]
push 0
push eax
call fcn.0070dcd0
add esp, 0xc
lea eax, [ebp - 0x61c]
push 0x208
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
cmp eax, 0x208
jae 0x4630d7
test eax, eax
je 0x4630d7
lea ecx, [ebp - 0x61c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4630c4
lea eax, [ebp - 0x61c]
jmp 0x4630f1
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4630e0
lea eax, [ebp - 0x20c]
sub ecx, edx
sar ecx, 1
push ecx
push eax
mov ecx, 0x83d26c
call fcn.00460700
cmp esi, 0x83d26c
je 0x46312a
cmp dword [0x83d280], 8
mov eax, 0x83d26c
push dword [0x83d27c]
cmovae eax, dword [0x83d26c]
mov ecx, esi
push eax
call fcn.0044bdc0
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.006f4f1e
mov esp, ebp
pop ebp
ret
Function at 0x466630
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x73c0c8
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x8312b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor al, al
test esi, esi
je 0x46672d
push 3
xor eax, eax
mov dword [ebp - 0x18], 0
push 0x7e7360
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.0044bdc0
mov eax, esi
mov dword [ebp - 4], 0
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x466696
sub eax, edx
lea ecx, [ebp - 0x28]
sar eax, 1
push eax
push esi
call fcn.00460700
xorps xmm0, xmm0
mov dword [ebp - 0x64], 0x3c
movlpd qword [ebp - 0x44], xmm0
movlpd qword [ebp - 0x3c], xmm0
movlpd qword [ebp - 0x34], xmm0
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp dword [ebp - 0x14], 8
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x64]
push eax
mov dword [ebp - 0x58], 0x7e7368
mov dword [ebp - 0x54], 0x7e7374
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x60], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x466721
cmp dword [ebp - 0x44], 0x20
jbe 0x466721
mov bl, 1
jmp 0x466723
xor bl, bl
lea ecx, [ebp - 0x28]
call fcn.0044bf40
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.006f4f1e
mov esp, ebp
pop ebp
ret 4
Function at 0x473b60
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1260
call fcn.006f5e10
mov eax, dword [0x8312b0]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
push 0x800
mov dword [ebp - 0x1260], eax
lea eax, [ebp - 0x80c]
push 0
push eax
call fcn.0070dcd0
add esp, 0xc
lea eax, [ebp - 0x80c]
push esi
push ebx
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x125c]
push eax
lea eax, [ebp - 0x80c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x473c26
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
nop
push 0x800
lea eax, [ebp - 0x100c]
push 0
push eax
call fcn.0070dcd0
add esp, 0xc
lea eax, [ebp - 0x1230]
push eax
push ebx
lea eax, [ebp - 0x100c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push dword [ebp - 0x1260]
lea eax, [ebp - 0x100c]
push eax
call fcn.00473a70
test al, al
jne 0x473c3b
lea eax, [ebp - 0x125c]
push eax
push esi
call edi
test eax, eax
jne 0x473bd0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.006f4f1e
mov esp, ebp
pop ebp
ret 0xc
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 8]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006f4f1e
mov esp, ebp
pop ebp
ret 0xc

Function at 0x473d80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 1
push 0
push dword [ebp + 8]
xor bl, bl
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x473df8
mov dword [ebp + 8], eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 8]
mov dword [ebp - 0xc], 4
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 8], 4
push eax
push 0
push str.Installed
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x473dea
cmp dword [ebp + 8], 0
mov eax, 1
movzx ebx, bl
cmovne ebx, eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x473df8
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x477730
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x73c9dd
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x8312b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x7eb088
call fcn.00473d80
test al, al
jne 0x477771
xor al, al
jmp 0x477a01
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0070dcd0
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push 0x25
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x47776a
xor bl, bl
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x230]
push 0xc
xor eax, eax
mov dword [ebp - 0x220], 0
push 0x7eb0f4
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
call fcn.0044bdc0
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x23c]
call fcn.0044c580
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], bl
call fcn.0044bf40
push 0xc
xor eax, eax
mov dword [ebp - 0x220], 0
push 0x7eb110
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
call fcn.0044bdc0
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x23c]
call fcn.0044c580
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], bl
call fcn.0044bf40
push 0xa
xor eax, eax
mov dword [ebp - 0x220], 0
push 0x7eb12c
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
call fcn.0044bdc0
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x23c]
call fcn.0044c580
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], bl
call fcn.0044bf40
push 0xb
xor eax, eax
mov dword [ebp - 0x220], 0
push 0x7eb144
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
call fcn.0044bdc0
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x23c]
call fcn.0044c580
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], bl
call fcn.0044bf40
xor eax, eax
mov dword [ebp - 0x220], 0
push 0xb
mov dword [ebp - 0x21c], 7
lea ecx, [ebp - 0x230]
mov word [ebp - 0x230], ax
push 0x7eb15c
call fcn.0044bdc0
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x23c]
call fcn.0044c580
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], bl
call fcn.0044bf40
push 0xc
xor eax, eax
mov dword [ebp - 0x220], 0
push 0x7eb174
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
call fcn.0044bdc0
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x23c]
call fcn.0044c580
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], bl
call fcn.0044bf40
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00473a70
test al, al
je 0x4779f4
push 0x7eb190
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov edx, 0x7eb1a8
lea ecx, [ebp - 0x218]
call fcn.00461e90
mov bl, al
lea ecx, [ebp - 0x23c]
call fcn.004635a0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.006f4f1e
mov esp, ebp
pop ebp
ret
Function at 0x477d60
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x73c9dd
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x8312b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x7eb330
call fcn.00473d80
test al, al
jne 0x477da1
xor al, al
jmp 0x478031
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0070dcd0
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push 0x25
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x477d9a
xor bl, bl
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x230]
push 0xc
xor eax, eax
mov dword [ebp - 0x220], 0
push 0x7eb314
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
call fcn.0044bdc0
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x23c]
call fcn.0044c580
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], bl
call fcn.0044bf40
push 0xc
xor eax, eax
mov dword [ebp - 0x220], 0
push 0x7eb39c
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
call fcn.0044bdc0
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x23c]
call fcn.0044c580
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], bl
call fcn.0044bf40
push 0xa
xor eax, eax
mov dword [ebp - 0x220], 0
push 0x7eb3b8
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
call fcn.0044bdc0
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x23c]
call fcn.0044c580
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], bl
call fcn.0044bf40
push 0xb
xor eax, eax
mov dword [ebp - 0x220], 0
push 0x7eb3d0
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
call fcn.0044bdc0
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x23c]
call fcn.0044c580
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], bl
call fcn.0044bf40
xor eax, eax
mov dword [ebp - 0x220], 0
push 0xb
mov dword [ebp - 0x21c], 7
lea ecx, [ebp - 0x230]
mov word [ebp - 0x230], ax
push 0x7eb3e8
call fcn.0044bdc0
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x23c]
call fcn.0044c580
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], bl
call fcn.0044bf40
push 0xc
xor eax, eax
mov dword [ebp - 0x220], 0
push 0x7eb400
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
call fcn.0044bdc0
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x23c]
call fcn.0044c580
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], bl
call fcn.0044bf40
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00473a70
test al, al
je 0x478024
push 0x7eb41c
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov edx, 0x7eb434
lea ecx, [ebp - 0x218]
call fcn.00461e90
mov bl, al
lea ecx, [ebp - 0x23c]
call fcn.004635a0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.006f4f1e
mov esp, ebp
pop ebp
ret