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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b1e1d
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x4ed4e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
push 0x206
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x216]
xor eax, eax
push ebx
mov dword [ebp - 0x220], ebx
push ecx
mov dword [ebp - 0x224], esi
mov word [ebp - 0x218], ax
call fcn.0048ac40
add esp, 0xc
push 0x104
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp - 0x218]
push eax
mov ecx, esi
call fcn.00401bb0
mov edi, 1
mov dword [ebp - 4], ebx
mov eax, edi
lea ecx, [ebp - 0x21c]
mov edx, esi
mov dword [ebp - 0x220], edi
call fcn.0040c3c0
mov dword [ebp - 4], edi
mov edi, dword [ebp - 0x21c]
push edi
push 0x4c4b0c
push esi
call fcn.00407760
lea eax, [edi - 0x10]
add esp, 0xc
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x419dc0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00485532
mov esp, ebp
pop ebp
ret
Function at 0x41aae0
Capabilities:
Check if file exists
Copy file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4acc68
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4ed4e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebx]
mov ecx, dword [ebp + 0x10]
mov ecx, dword [ecx]
mov edx, dword [ebp + 0xc]
mov edx, dword [edx]
mov esi, dword [ebp + 8]
mov esi, dword [esi]
push eax
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea esi, [ebp - 0x14]
lea eax, [ebx + 4]
call fcn.00483ac0
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41ab46
test al, 0x10
jne 0x41ab46
mov eax, 1
jmp 0x41ab48
xor eax, eax
test eax, eax
mov eax, dword [ebp - 0x14]
sete byte [ebp - 0xd]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41ab6d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [ebp - 0xd], 0
je 0x41ac01
lea esi, [ebp + 0xc]
lea eax, [ebx + 4]
call fcn.00483ac0
mov edi, eax
lea esi, [ebp + 0x10]
mov eax, ebx
mov dword [ebp - 4], 0
call fcn.00483ac0
mov edi, dword [edi]
mov eax, dword [eax]
push 1
push 0
push 0
push 0
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileExW]
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41abc8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41ac1d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebx + 4]
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
push ecx
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x41cd10
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x4ed4e0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [esi], 0
jne 0x41cdc1
push 0x114
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.0048ac40
add esp, 0xc
lea ecx, [ebp - 0x118]
push ecx
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 6
jae 0x41cd9a
cmp byte [esi], 0
je 0x41cd7c
mov byte [esi + 1], 1
mov al, byte [esi + 1]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00485532
mov esp, ebp
pop ebp
ret
lea eax, [esi + 1]
test eax, eax
je 0x41cdbe
mov byte [eax], 1
mov al, byte [esi + 1]
mov byte [esi], 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00485532
mov esp, ebp
pop ebp
ret
cmp byte [esi], 0
je 0x41cdb4
mov byte [esi + 1], 0
mov al, byte [esi + 1]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00485532
mov esp, ebp
pop ebp
ret
lea eax, [esi + 1]
test eax, eax
je 0x41cdbe
mov byte [eax], 0
mov byte [esi], 1
mov ecx, dword [ebp - 4]
mov al, byte [esi + 1]
xor ecx, ebp
call fcn.00485532
mov esp, ebp
pop ebp
ret
Function at 0x41e140
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b407e
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4ed4e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, 1
test byte [sym.Install.exe____B_1__get_instance___singleton_VCFpFunshionIni___serialization_boost__CAAAVCFpFunshionIni__XZ_51], al
jne 0x41e19b
or dword [sym.Install.exe____B_1__get_instance___singleton_VCFpFunshionIni___serialization_boost__CAAAVCFpFunshionIni__XZ_51], eax
mov dword [ebp - 4], 0
call fcn.0041a460
push 0x4bab40
call fcn.00485809
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov esi, 0x28
lea edi, [ebp - 0x14]
call fcn.00409890
mov eax, dword [eax]
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push eax
call ebx
test eax, eax
mov eax, dword [ebp - 0x14]
sete byte [ebp - 0xd]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e1d8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [ebp - 0xd], 0
je 0x41e1f6
mov ecx, dword [0x4fea94]
mov edx, dword [0x4fe658]
push ecx
push 0
push 0
push edx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov esi, 0x25
lea edi, [ebp - 0x18]
call fcn.00409890
mov eax, dword [eax]
push eax
call ebx
test eax, eax
mov eax, dword [ebp - 0x18]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e22c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x41e248
mov ecx, dword [sym.Install.exe__t__1__get_instance___singleton_VCFpFunshionIni___serialization_boost__CAAAVCFpFunshionIni__XZ_4V__singleton_wrapp]
mov edx, dword [0x4fe658]
push ecx
push 0
push 0
push edx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41f140
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x4ed4e0]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
mov dword [ebp - 0x210], 0
push ecx
mov word [ebp - 0x20c], ax
call fcn.0048ac40
add esp, 0xc
push 0
push 0x26
lea edx, [ebp - 0x20c]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x41f1e1
lea eax, [ebp - 0x210]
push str.Funshion_Online_
push eax
mov ecx, 0x4fe664
call fcn.0040c430
mov ecx, dword [eax]
push ecx
lea edx, [ebp - 0x20c]
push 0x104
push edx
call fcn.00486bd0
mov eax, dword [ebp - 0x210]
add eax, 0xfffffff0
add esp, 0x14
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f1e1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x20c]
push ecx
mov ecx, esi
call fcn.00401bb0
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, esi
call fcn.00485532
mov esp, ebp
pop ebp
ret
Function at 0x41f900
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b21d0
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4ed4e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
lea eax, [ebx + 2]
lea ecx, [ebp - 0x10]
lea edx, [ebp + 8]
mov dword [ebp - 4], ebx
call fcn.0040c3c0
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
or edi, 0xffffffff
cmp eax, edi
jne 0x41f9a4
lea eax, [esi - 0x10]
mov edx, edi
lea ecx, [eax + 0xc]
mov byte [ebp - 4], bl
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f96c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], edi
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x41f98b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 0x80004005
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea edx, [ebp + 8]
call fcn.0041faa0
test eax, eax
je 0x41f94e
mov ecx, dword [ebp + 8]
push ecx
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
lea eax, [esi - 0x10]
mov byte [ebp - 4], bl
mov edx, edi
lea ecx, [eax + 0xc]
je 0x41f959
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f9e7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], edi
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x41fa06
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x420320
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b3520
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push edi
mov eax, dword [0x4ed4e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x14]
push eax
xor edi, edi
push ecx
mov dword [ebp - 0x14], edi
call fcn.00420410
lea edx, [ebp - 0x10]
push 0x4fe670
push edx
mov ebx, eax
mov dword [ebp - 4], edi
call fcn.00407e10
add esp, 8
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
or edi, 0xffffffff
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420391
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, edi
je 0x4203a3
test al, 0x10
je 0x4203c2
push 0x4c4720
mov ecx, esi
call fcn.00401bb0
mov dword [ebp - 4], edi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
lock xadd dword [edx], edi
dec edi
jmp 0x4203e7
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push eax
call fcn.00401550
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], edi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x4203f5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x421380
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b1920
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
mov eax, dword [0x4ed4e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.FunShion.ini
lea ecx, [ebp - 0x10]
call fcn.00401bb0
lea esi, [ebp - 0x20]
mov dword [ebp - 4], 0
call fcn.00418b10
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x1c]
push edx
mov ebx, eax
mov byte [ebp - 4], 1
call fcn.00407e10
mov esi, eax
lea eax, [ebp - 0x18]
push 0x4fe660
push eax
mov ebx, 0x4c43b8
mov byte [ebp - 4], 2
call fcn.00406680
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x14]
push edx
mov ebx, eax
mov byte [ebp - 4], 3
call fcn.00407e10
mov esi, dword [esi]
mov eax, dword [eax]
add esp, 0x18
push 0
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421432
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421455
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421478
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42149b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4214c1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4214e0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b549b
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x4ed4e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor esi, esi
mov dword [ebp - 0x10], esi
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 4], esi
mov ecx, dword [ebp + 8]
push eax
push ecx
call fcn.00420410
lea edx, [ebp - 0x20]
push 0x4fe670
push edx
lea ebx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00407e10
add esp, 8
mov byte [ebp - 4], 2
mov eax, dword [eax]
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push eax
mov dword [ebp - 0x10], 1
call edi
mov esi, 3
cmp eax, 0xffffffff
je 0x4215d8
test al, 0x10
jne 0x4215d8
mov eax, ebx
push eax
lea ecx, [ebp - 0x1c]
push ecx
mov ebx, 0x4c43b8
call fcn.00406680
lea edx, [ebp + 8]
push 0x4fe678
mov dword [ebp - 4], esi
push edx
mov ebx, eax
mov dword [ebp - 0x10], esi
call fcn.00407e10
add esp, 0x10
mov dword [ebp - 4], 4
mov eax, dword [eax]
push eax
mov dword [ebp - 0x10], 7
call edi
cmp eax, 0xffffffff
je 0x4215d8
test al, 0x10
jne 0x4215d8
lea eax, [ebp - 0x18]
push eax
mov ebx, 0x4c42f8
mov edi, str.SoftwareFunshionFunshion
mov ecx, 0x80000002
call fcn.0041efe0
add esp, 4
test eax, eax
jne 0x4215d8
lea edi, [esi - 2]
jmp 0x4215da
xor edi, edi
mov dword [ebp - 4], esi
mov ebx, dword [ebp - 0x10]
test bl, 4
je 0x42160a
mov eax, dword [ebp + 8]
and ebx, 0xfffffffb
add eax, 0xfffffff0
mov dword [ebp - 0x10], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42160a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 2
test bl, 2
je 0x42163b
mov eax, dword [ebp - 0x1c]
and ebx, 0xfffffffd
add eax, 0xfffffff0
mov dword [ebp - 0x10], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42163b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 1
test bl, 1
je 0x421666
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421666
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421689
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4216af
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x424a20
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b2b38
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4ed4e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
mov ebx, 0x4c4720
mov edi, str.SOFTWAREClassesCLSID18689D3E_CF06_482F_AEB1_0880F859F0AAInprocServer32
mov ecx, 0x80000002
mov dword [ebp - 4], 0
call fcn.0041efe0
mov esi, dword [ebp - 0x10]
add esp, 4
cmp dword [esi - 0xc], 0
je 0x424a9f
lea ecx, [ebp - 0x10]
push ecx
mov edi, str.SOFTWAREClassesCLSID1CF25200_FD42_45F6_ABBD_6C0C9C89B77AInprocServer32
mov ecx, 0x80000002
call fcn.0041efe0
mov esi, dword [ebp - 0x10]
add esp, 4
mov eax, dword [esi - 0xc]
or edi, 0xffffffff
test eax, eax
je 0x424ae8
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, edi
je 0x424ae8
test al, 0x10
jne 0x424ae8
lea eax, [esi - 0x10]
mov dword [ebp - 4], edi
lea edx, [eax + 0xc]
lock xadd dword [edx], edi
dec edi
test edi, edi
jg 0x424ad4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [esi - 0x10]
mov dword [ebp - 4], edi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x424b04
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x424b20
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b52d6
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push esi
push edi
mov eax, dword [0x4ed4e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, 1
xor edi, edi
test byte [sym.Install.exe____B_1__get_instance___singleton_VCFpInstallPath___serialization_boost__CAAAVCFpInstallPath__XZ_51], bl
jne 0x424b79
or dword [sym.Install.exe____B_1__get_instance___singleton_VCFpInstallPath___serialization_boost__CAAAVCFpInstallPath__XZ_51], ebx
mov dword [ebp - 4], edi
call fcn.0041f0a0
push 0x4bb280
call fcn.00485809
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x1c]
push eax
push sym.Install.exe__t__1__get_instance___singleton_VCFpInstallPath___serialization_boost__CAAAVCFpInstallPath__XZ_4V__singleton_wrapp
call fcn.00420410
push eax
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], ebx
push ecx
mov ebx, str._funoictl.dll
call fcn.00406680
add esp, 8
mov bl, 3
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x424bc0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x18]
push ecx
lea edx, [ebp - 0x10]
push str._s___s_
push edx
call fcn.00407760
add esp, 0xc
push str.regsvr32
lea ecx, [ebp - 0x14]
call fcn.00401bb0
push 0x38
lea eax, [ebp - 0x54]
push edi
push eax
call fcn.0048ac40
mov ecx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x10]
add esp, 0xc
lea edx, [ebp - 0x58]
push edx
mov dword [ebp - 0x58], 0x3c
mov dword [ebp - 0x54], 0x100
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x3c], edi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov edi, eax
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x424c53
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x424c72
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x424c98
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x424cb0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b52d6
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push esi
push edi
mov eax, dword [0x4ed4e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, 1
xor edi, edi
test byte [sym.Install.exe____B_1__get_instance___singleton_VCFpInstallPath___serialization_boost__CAAAVCFpInstallPath__XZ_51], bl
jne 0x424d09
or dword [sym.Install.exe____B_1__get_instance___singleton_VCFpInstallPath___serialization_boost__CAAAVCFpInstallPath__XZ_51], ebx
mov dword [ebp - 4], edi
call fcn.0041f0a0
push 0x4bb280
call fcn.00485809
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x1c]
push eax
push sym.Install.exe__t__1__get_instance___singleton_VCFpInstallPath___serialization_boost__CAAAVCFpInstallPath__XZ_4V__singleton_wrapp
call fcn.00420410
push eax
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], ebx
push ecx
mov ebx, str._funoictl.dll
call fcn.00406680
add esp, 8
mov bl, 3
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x424d50
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x18]
push ecx
lea edx, [ebp - 0x10]
push str._u__s___s_
push edx
call fcn.00407760
add esp, 0xc
push str.regsvr32
lea ecx, [ebp - 0x14]
call fcn.00401bb0
push 0x38
lea eax, [ebp - 0x54]
push edi
push eax
call fcn.0048ac40
mov ecx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x10]
add esp, 0xc
lea edx, [ebp - 0x58]
push edx
mov dword [ebp - 0x58], 0x3c
mov dword [ebp - 0x54], 0x100
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x3c], edi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov edi, eax
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x424de3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x424e02
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x424e28
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret