joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002607e
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
push ebx
push esi
xor esi, esi
push edi
cmp dword [ebp + 8], esi
jne 0x10026097
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
call fcn.10025fa3
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
mov edi, 0x10026193
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
call fcn.10025e77
cmp dword [ebp - 0x14], esi
je 0x1002608e
push dword [ebp - 0x18]
push esi
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x10], eax
cmp eax, esi
je 0x100260d3
cmp eax, 0xffffffff
jne 0x100260df
lea ecx, [ebp - 0x10]
call fcn.10002ce0
mov eax, esi
jmp 0x10026090
lea ecx, [ebp - 8]
push ecx
push 0xf01ff
push eax
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x100260d3
push esi
push dword [ebp - 8]
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0xc], esi
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x10026189
mov edi, dword [ebp + 8]
call fcn.100250df
push 0x40
mov dword [ebp + 8], eax
lea eax, [ebp - 0x70]
push esi
push eax
mov dword [ebp - 0x74], 0x44
call fcn.1003c500
add esp, 0xc
push 5
pop eax
mov word [ebp - 0x44], ax
xor eax, eax
mov dword [ebp - 0x2c], esi
lea edi, [ebp - 0x28]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x74]
push eax
push esi
push dword [ebp - 0xc]
mov dword [ebp - 0x48], 1
push 0x420
push esi
push esi
push esi
push dword [ebp + 8]
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x10026178
push dword [ebp - 0x28]
mov esi, dword [ebp - 0x2c]
call ebx
push dword [ebp + 8]
call fcn.1002510c
push dword [ebp - 0xc]
call dword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
push dword [ebp - 8]
call ebx
jmp 0x100260d3

Function at 0x1002622b
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x10065060]
xor eax, ebp
mov dword [ebp - 4], eax
test edi, edi
jne 0x10026252
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10039e38
leave
ret 8
push esi
push dword [ebp + 8]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [ebp - 0x210], esi
test esi, esi
je 0x10026274
cmp esi, 0xffffffff
jne 0x10026286
xor esi, esi
lea ecx, [ebp - 0x210]
call fcn.10002ce0
mov eax, esi
pop esi
jmp 0x10026244
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.1003c500
add esp, 0xc
push 0x104
lea eax, [ebp - 0x20c]
push eax
push esi
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
jbe 0x10026274
push dword [ebp + 0xc]
mov edx, edi
lea ecx, [ebp - 0x20c]
call fcn.10025bac
xor esi, esi
inc esi
jmp 0x10026276
Function at 0x100262cf
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp + 8], eax
jne 0x100262e2
xor eax, eax
inc eax
jmp 0x10026314
push esi
push dword [ebp + 8]
xor esi, esi
push esi
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp + 8], eax
cmp eax, esi
je 0x10026309
cmp eax, 0xffffffff
je 0x10026309
push dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov esi, eax
lea ecx, [ebp + 8]
call fcn.10002ce0
mov eax, esi
pop esi
pop ebp
ret 8

Function at 0x100268ed
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x10026992
cmp dword [ebp + 0xc], ebx
je 0x10026992
push esi
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
cmp esi, ebx
je 0x10026991
lea eax, [esi + esi]
push edi
push eax
call fcn.1003aa52
mov edi, eax
pop ecx
cmp edi, ebx
je 0x10026990
push esi
push ebx
push edi
call fcn.1003c500
add esp, 0xc
push edi
push esi
push ebx
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x10026989
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push 0x10059cbc
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x10026989
mov eax, dword [ebp - 4]
movzx ecx, word [eax + 0xc]
push ecx
movzx ecx, word [eax + 0xe]
push ecx
movzx ecx, word [eax + 8]
movzx eax, word [eax + 0xa]
push ecx
push eax
push str._d._d._d._d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x1c
inc ebx
push edi
call fcn.1003a975
pop ecx
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 0xc
Function at 0x10026f3e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x800
lea ebp, [esp - 4]
mov eax, dword [0x10065060]
xor eax, ebp
mov dword [ebp + 0x800], eax
push 0x20
mov eax, 0x10050158
call fcn.1003b501
mov eax, dword [ebp + 0x80c]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x810]
mov esi, edx
mov dword [ebp - 0x14], ecx
xor edi, edi
mov dword [ebp - 0x2c], edi
xor ecx, ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], esi
mov dword [eax + 0x18], 7
call fcn.100024e0
xor ebx, ebx
inc ebx
mov dword [ebp - 4], edi
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], edi
cmp esi, edi
je 0x10027054
xor eax, eax
push 0x7fe
mov word [ebp], ax
lea eax, [ebp + 2]
push edi
push eax
call fcn.1003c500
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
push edi
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x14]
mov dword [ebp - 0x10], edi
push esi
push dword [ebp - 0x18]
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov dword [ebp - 0x1c], edi
call esi
cmp dword [ebp - 0x1c], ebx
je 0x10026fe4
cmp dword [ebp - 0x1c], 2
jne 0x10027054
mov eax, dword [ebp - 0x10]
cmp eax, edi
je 0x10027054
cmp eax, 0x800
jbe 0x10027021
add eax, 2
push eax
call fcn.1003aa52
mov ebx, eax
mov eax, dword [ebp - 0x10]
add eax, 2
push eax
push edi
push ebx
call fcn.1003c500
add esp, 0x10
lea eax, [ebp - 0x10]
push eax
push ebx
push edi
push dword [ebp - 0x14]
push dword [ebp - 0x20]
push dword [ebp - 0x18]
call esi
jmp 0x10027038
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp]
push eax
push edi
push dword [ebp - 0x14]
push dword [ebp - 0x20]
push dword [ebp - 0x18]
call esi
mov ebx, dword [ebp - 0x28]
mov eax, ebx
cmp ebx, edi
jne 0x10027041
lea eax, [ebp]
push dword [ebp - 0x24]
call fcn.10001b40
cmp ebx, edi
je 0x10027054
push ebx
call fcn.1003a975
pop ecx
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x800]
xor ecx, ebp
call fcn.10039e38
add ebp, 0x804
leave
ret
Function at 0x1002707a
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10050ee9
mov eax, dword fs:[0]
push eax
mov eax, 0x2040
call fcn.10045a60
mov eax, dword [0x10065060]
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]
xor edi, edi
mov dword [ebp - 4], edi
push eax
mov dword [ebp - 0x2028], eax
mov dword [ebp - 0x202c], edi
call fcn.10008eb0
lea eax, [ebp - 0x201c]
push eax
xor esi, esi
inc esi
push esi
push edi
push str.Softwareprojonepodlpworkflow_volatileResults_
push 0x80000002
mov dword [ebp - 0x202c], esi
mov dword [ebp - method.RegHandleHolder.virtual_0], vtable.RegHandleHolder.0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 4], esi
cmp dword [ebp - 0x201c], edi
je 0x100271aa
xor eax, eax
push 0x1ffe
mov word [ebp - 0x2014], ax
lea eax, [ebp - 0x2012]
push edi
push eax
mov dword [ebp - 0x2018], edi
call fcn.1003c500
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
add esp, 0xc
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x2024]
push eax
lea eax, [ebp - 0x2014]
push eax
push edi
jmp 0x10027194
inc dword [ebp - 0x2018]
lea eax, [ebp - 0x2014]
lea ecx, [ebp - 0x2048]
call fcn.10001aa0
lea eax, [ebp - 0x2048]
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x2028]
push eax
call fcn.100277ca
lea esi, [ebp - 0x2048]
mov byte [ebp - 4], 1
call fcn.10001b10
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x2024]
push eax
lea eax, [ebp - 0x2014]
push eax
push dword [ebp - 0x2018]
push dword [ebp - 0x201c]
mov dword [ebp - 0x2024], 0x1000
call ebx
test eax, eax
je 0x10027140
mov dword [ebp - method.RegHandleHolder.virtual_0], vtable.RegHandleHolder.0
cmp dword [ebp - 0x201c], edi
je 0x100271c8
push dword [ebp - 0x201c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x2028]
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.10039e38
leave
ret
Function at 0x100271e8
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10050ee9
mov eax, dword fs:[0]
push eax
mov eax, 0x2040
call fcn.10045a60
mov eax, dword [0x10065060]
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]
xor edi, edi
mov dword [ebp - 4], edi
push eax
mov dword [ebp - 0x2028], eax
mov esi, edx
mov dword [ebp - 0x2018], ecx
mov dword [ebp - 0x202c], edi
call fcn.10008eb0
lea eax, [ebp - 0x201c]
push eax
push 8
push edi
push dword [ebp - 0x2018]
xor ebx, ebx
inc ebx
push esi
mov dword [ebp - 0x202c], ebx
mov dword [ebp - method.RegHandleHolder.virtual_0], vtable.RegHandleHolder.0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x201c], edi
je 0x1002731b
xor eax, eax
push 0x1ffe
mov word [ebp - 0x2014], ax
lea eax, [ebp - 0x2012]
push edi
push eax
mov dword [ebp - 0x2018], edi
call fcn.1003c500
add esp, 0xc
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x2024]
push eax
lea eax, [ebp - 0x2014]
push eax
push edi
jmp 0x10027301
inc dword [ebp - 0x2018]
lea eax, [ebp - 0x2014]
lea ecx, [ebp - 0x2048]
call fcn.10001aa0
lea eax, [ebp - 0x2048]
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x2028]
push eax
call fcn.100277ca
lea esi, [ebp - 0x2048]
mov byte [ebp - 4], bl
call fcn.10001b10
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x2024]
push eax
lea eax, [ebp - 0x2014]
push eax
push dword [ebp - 0x2018]
push dword [ebp - 0x201c]
mov dword [ebp - 0x2024], 0x1000
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x100272ae
mov dword [ebp - method.RegHandleHolder.virtual_0], vtable.RegHandleHolder.0
cmp dword [ebp - 0x201c], edi
je 0x10027339
push dword [ebp - 0x201c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x2028]
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.10039e38
leave
ret
Function at 0x10027359
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x30
mov eax, 0x10050e96
call fcn.1003b501
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x1c], esi
push dword [ebp + 8]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
call fcn.10027745
lea eax, [ebp - 0x10]
push eax
push esi
lea eax, [ebp - 0x14]
push eax
push str._allowedInstaller
mov dword [ebp - 4], esi
mov ebx, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push str.Softwareprojonepodlp_smpcache_
push 0x80000002
mov dword [ebp - 0x1c], 1
call ebx
cmp dword [ebp - 0x14], 7
jne 0x10027455
cmp dword [ebp - 0x10], esi
jbe 0x10027455
add dword [ebp - 0x10], 0x100
push dword [ebp - 0x10]
call fcn.1003aa52
mov edi, eax
pop ecx
mov dword [ebp - 0x18], edi
cmp edi, esi
je 0x10027455
push dword [ebp - 0x10]
push esi
push edi
call fcn.1003c500
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
push edi
push esi
push str._allowedInstaller
push str.Softwareprojonepodlp_smpcache_
push 0x80000002
call ebx
mov ebx, edi
cmp word [edi], si
je 0x1002744e
mov eax, dword [ebp - 0x10]
lea eax, [edi + eax*2]
cmp ebx, eax
jae 0x1002744e
mov eax, ebx
lea ecx, [ebp - 0x38]
call fcn.10001aa0
mov dword [ebp - 4], 1
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x14]
mov ecx, dword [edi]
push eax
push ecx
lea eax, [ebp - 0x38]
push eax
call fcn.10027d96
lea esi, [ebp - 0x38]
mov byte [ebp - 4], 0
call fcn.10001b10
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, dword [ebp - 0x18]
lea ebx, [ebx + eax*2 + 2]
cmp word [ebx], 0
jne 0x10027400
push edi
call fcn.1003a975
pop ecx
mov eax, dword [ebp + 8]
call fcn.1003b5d9
ret
Function at 0x1002745e
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
push 0x800
mov dword [ebp - 0xc], 0x400
xor ebx, ebx
call fcn.1003aa52
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
pop ecx
mov ecx, dword [eax + 0x14]
mov ecx, dword [ecx]
mov dword [ebp - 0x14], ecx
mov ecx, dword [eax]
mov dword [ebp - 0x18], ecx
mov ecx, dword [eax + 0x14]
mov eax, dword [eax]
lea esi, [ebp - 0x20]
lea edi, [ebp - 0x18]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], eax
call fcn.1001d3e0
test al, al
je 0x1002753d
mov esi, edi
call fcn.10008b00
mov dword [ebp - 0x10], eax
mov eax, dword [eax + 0x14]
lea ecx, [eax + ebx + 2]
mov eax, dword [ebp - 0xc]
cmp ecx, eax
jbe 0x100274ef
lea edi, [eax + eax]
mov esi, edi
lea edi, [esi + esi]
push edi
push dword [ebp - 8]
mov dword [ebp - 0xc], esi
call fcn.1003abd8
pop ecx
pop ecx
mov dword [ebp - 8], eax
test eax, eax
je 0x10027539
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x14]
lea eax, [eax + ebx + 2]
cmp eax, esi
ja 0x100274c7
lea esi, [ebp - 0x18]
call fcn.10008b00
mov edi, dword [eax + 0x14]
call fcn.10008b00
cmp dword [eax + 0x18], 8
jb 0x1002750a
mov eax, dword [eax + 4]
jmp 0x1002750d
add eax, 4
inc edi
push edi
push eax
mov eax, dword [ebp - 8]
lea eax, [eax + ebx*2]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
lea esi, [ebp - 0x18]
call fcn.10008b00
mov eax, dword [eax + 0x14]
lea ebx, [ebx + eax + 1]
call fcn.10015ea0
mov eax, dword [ebp + 8]
jmp 0x1002748e
xor al, al
jmp 0x10027574
mov esi, dword [ebp - 8]
add ebx, ebx
xor eax, eax
mov word [ebx + esi], ax
add ebx, 2
push ebx
push esi
push 7
push str._allowedInstaller
push str.Softwareprojonepodlp_smpcache_
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push esi
mov edi, eax
call fcn.1003a975
xor eax, eax
test edi, edi
pop ecx
sete al
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1002a7ce
Capabilities:
Print debug messages
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x17ac]
mov eax, 0x182c
call fcn.10045a60
mov eax, dword [0x10065060]
xor eax, ebp
mov dword [ebp + 0x17a8], eax
push esi
push edi
push 4
pop esi
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x60]
push eax
mov edi, ecx
push edi
push str.Softwareprojonepodlp_smpcache_
push 0x80000002
mov dword [ebp - 0x64], esi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x1002a822
cmp dword [ebp - 0x60], esi
jne 0x1002a822
mov eax, dword [ebp - 0x5c]
jmp 0x1002a824
xor eax, eax
test eax, eax
je 0x1002a8ea
push ebx
push 0x7fe
lea eax, [ebp + 0xfaa]
push 0
push eax
call fcn.1003c500
mov ebx, dword [sym.imp.SHLWAPI.dll_StrNCatW]
add esp, 0xc
push 0x5b
pop eax
push 0x400
mov word [ebp + 0xfa8], ax
push edi
lea eax, [ebp + 0xfa8]
push eax
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x1005a2ac
lea eax, [ebp + 0xfa8]
push eax
call edi
lea eax, [ebp - 0x80]
push eax
call fcn.10025d9f
cmp dword [eax + 0x18], 8
pop ecx
jb 0x1002a88b
mov eax, dword [eax + 4]
jmp 0x1002a88e
add eax, 4
push eax
lea eax, [ebp + 0xfa8]
push eax
call edi
lea esi, [ebp - 0x80]
call fcn.10001b10
push 0x1005a2b4
lea eax, [ebp + 0xfa8]
push eax
call edi
push 0x400
push dword [ebp + 0x17b4]
lea eax, [ebp + 0xfa8]
push eax
call ebx
lea eax, [ebp + 0x17b8]
push eax
lea eax, [ebp + 0xfa8]
push eax
push 0x800
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.SHLWAPI.dll_wvnsprintfW]
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
pop ebx
mov ecx, dword [ebp + 0x17a8]
pop edi
xor ecx, ebp
pop esi
call fcn.10039e38
add ebp, 0x17ac
leave
ret

Function at 0x1002a9d5
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2028
call fcn.10045a60
mov eax, dword [0x10065060]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
call fcn.1002aab4
test al, al
je 0x1002aaa7
xor eax, eax
mov word [ebp - 0x80c], ax
mov word [ebp - 0x100c], ax
push 0x1005a2d0
lea eax, [ebp - 0x80c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x1005a2e4
lea eax, [ebp - 0x80c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatW]
lea eax, [ebp - 0x2028]
push eax
call fcn.1002a901
cmp dword [eax + 0x18], 8
pop ecx
jb 0x1002aa46
mov eax, dword [eax + 4]
jmp 0x1002aa49
add eax, 4
push dword [ebp + 8]
push eax
lea eax, [ebp - 0x80c]
push eax
lea eax, [ebp - 0x100c]
push 0x400
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x14
lea esi, [ebp - 0x2028]
call fcn.10001b10
xor eax, eax
mov word [ebp - 0x200c], ax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x100c]
push eax
push 0x800
lea eax, [ebp - 0x200c]
push eax
call dword [sym.imp.SHLWAPI.dll_wvnsprintfW]
lea eax, [ebp - 0x200c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 8]
xor ecx, ebp
pop esi
call fcn.10039e38
leave
ret
Function at 0x100346e8
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x10065060]
xor eax, ebp
mov dword [ebp + 0x18c], eax
and dword [ebp - 0x80], 0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x7c], ax
lea eax, [ebp - 0x7a]
push eax
call fcn.1003c500
add esp, 0xc
push 0x104
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push str.Logsignored
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x7c]
mov ecx, esi
call fcn.10001aa0
mov ecx, dword [ebp + 0x18c]
xor ecx, ebp
mov eax, esi
call fcn.10039e38
add ebp, 0x190
leave
ret

Function at 0x1003475e
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x224
lea ebp, [esp - 4]
mov eax, dword [0x10065060]
xor eax, ebp
mov dword [ebp + 0x224], eax
push 4
mov eax, 0x1004fe71
call fcn.1003b501
mov edi, dword [ebp + 0x230]
mov esi, dword [ebp + 0x238]
xor eax, eax
xor ebx, ebx
push 0x206
mov word [ebp + 0x1c], ax
lea eax, [ebp + 0x1e]
push ebx
push eax
mov dword [ebp - 0x10], ebx
call fcn.1003c500
add esp, 0xc
push 0x104
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
cmp dword [ebp + 0x234], 1
jne 0x100347ca
push str.projonepodlp
jmp 0x100347d8
cmp dword [ebp + 0x234], 2
jne 0x100347f6
push str.projonepotcm
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp esi, ebx
je 0x100347f1
push esi
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp + 0x1c]
jmp 0x10034846
cmp dword [ebp + 0x234], ebx
jne 0x10034841
push ebx
lea eax, [ebp]
push 2
push eax
call fcn.1003475e
add esp, 0xc
mov dword [ebp - 4], ebx
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
jae 0x1003481c
lea eax, [ebp + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
push esi
test eax, eax
je 0x1003483d
push 2
push edi
call fcn.1003475e
add esp, 0xc
lea esi, [ebp]
call fcn.10001b10
jmp 0x1003484d
push 1
jmp 0x1003482a
mov eax, 0x10057ce4
mov ecx, edi
call fcn.10001aa0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x224]
xor ecx, ebp
call fcn.10039e38
add ebp, 0x228
leave
ret
Function at 0x10034d20
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push esi
xor esi, esi
push esi
push esi
call dword [sym.imp.ole32.dll_CoInitializeEx]
push 0x10068e4c
push 0x100575d4
push 1
push esi
push 0x100576a4
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x10034d83
mov eax, dword [0x10068e4c]
mov ecx, dword [eax]
push 0x10069058
push esi
push esi
push esi
push esi
push esi
push esi
push str.ROOTCIMV2
push eax
call dword [ecx + 0xc]
test eax, eax
jl 0x10034d83
push esi
push esi
push 3
push 3
push esi
push esi
push 0xa
push dword [0x10069058]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jl 0x10034d83
inc esi
jmp 0x10034dad
mov eax, dword [0x10068e4c]
cmp eax, esi
je 0x10034d98
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [0x10068e4c], esi
mov eax, dword [0x10069058]
cmp eax, esi
je 0x10034dad
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [0x10069058], esi
mov eax, esi
pop esi
ret
Function at 0x100352cf
Capabilities:
Get file version info

Disassembly:
push ebp
lea ebp, [esp - 0x20a0]
mov eax, 0x2120
call fcn.10045a60
mov eax, dword [0x10065060]
xor eax, ebp
mov dword [ebp + 0x209c], eax
mov eax, dword [ebp + 0x20a8]
push ebx
push esi
push edi
xor ebx, ebx
push 0x1fff
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x63]
mov esi, ecx
push ebx
mov dword [ebp - 0x6c], ebx
push eax
mov dword [ebp - 0x70], esi
mov edi, edx
mov byte [ebp - 0x64], bl
call fcn.1003c500
add esp, 0xc
lea eax, [ebp - 0x64]
push eax
push 0x2000
push ebx
push edi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x10035342
mov eax, 0x10057ce4
mov ecx, esi
call fcn.10001aa0
mov eax, esi
jmp 0x1003543a
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x7c]
push eax
push str.VarFileInfoTranslation
lea eax, [ebp - 0x64]
push eax
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x68], ebx
call sub.VERSION.dll_VerQueryValueW
mov edi, dword [sym.imp.SHLWAPI.dll_wnsprintfW]
test eax, eax
je 0x100353d5
test dword [ebp - 0x68], 0xfffffffc
mov esi, dword [ebp - 0x7c]
mov dword [ebp - 0x74], ebx
jbe 0x100353d5
mov eax, dword [ebp - 0x74]
push dword [ebp - 0x80]
shl eax, 2
movzx ecx, word [eax + esi + 2]
movzx eax, word [eax + esi]
push ecx
push eax
push str.StringFileInfo_04x_04x_s
lea eax, [ebp + 0x1f9c]
push 0x80
push eax
call edi
add esp, 0x18
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp + 0x1f9c]
push eax
lea eax, [ebp - 0x64]
push eax
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x10035452
mov eax, dword [ebp - 0x68]
inc dword [ebp - 0x74]
shr eax, 2
cmp dword [ebp - 0x74], eax
jb 0x10035377
mov dword [ebp - 0x78], 0x40904b0
mov dword [ebp - 0x74], 0x40904e4
xor esi, esi
push dword [ebp - 0x80]
lea eax, [ebp + 0x1f9c]
push dword [ebp + esi*4 - 0x78]
push str.StringFileInfo_08x_s
push 0x80
push eax
call edi
add esp, 0x14
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp + 0x1f9c]
push eax
lea eax, [ebp - 0x64]
push eax
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x10035452
inc esi
cmp esi, 2
jb 0x100353e5
mov ecx, dword [ebp - 0x70]
mov eax, 0x10057ce4
call fcn.10001aa0
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp + 0x209c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10039e38
add ebp, 0x20a0
leave
ret
push dword [ebp - 0x68]
mov edi, dword [ebp - 0x70]
push dword [ebp - 0x6c]
call fcn.10035262
pop ecx
pop ecx
mov eax, edi
jmp 0x1003543a