joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1007251d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
mov ecx, dword [esi + 0x418]
test ecx, ecx
je 0x100725e5
mov eax, dword [esi + 0x410]
cmp eax, 2
jne 0x100725cf
xor ebx, ebx
cmp dword [esi + 0x40c], ebx
je 0x100725e5
cmp byte [ecx + 0x10], bl
je 0x10072567
mov byte [ecx + 0x10], bl
mov eax, dword [esi + 0x418]
mov dword [eax + 0xc], ebx
mov ecx, dword [esi + 0x418]
cmp dword [ecx + 4], esi
je 0x10072588
push 2
push ebx
push ebx
push dword [ecx + 8]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [esi + 0x418]
mov dword [eax + 4], esi
mov ecx, dword [esi + 0x418]
push ebx
lea eax, [ebp - 4]
mov dword [ebp - 4], ebx
push eax
push dword [esi + 0x40c]
lea eax, [esi + 8]
push eax
push dword [ecx + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [esi + 0x418]
mov eax, dword [ebp - 4]
add dword [ecx + 0xc], eax
mov eax, dword [ebp - 4]
cmp eax, dword [esi + 0x40c]
je 0x100725c4
mov dword [esi + 0x410], 3
add dword [esi + 4], eax
mov dword [esi + 0x40c], ebx
jmp 0x100725e5
cmp eax, 1
jne 0x100725e5
mov eax, 0x400
mov dword [esi + 0x408], eax
mov dword [esi + 0x40c], eax
pop esi
pop ebx
leave
ret

Function at 0x10073b78
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x102406a8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
push 0x410
xor ebx, ebx
lea eax, [ebp - 0x414]
push ebx
push eax
mov edi, ecx
call fcn.1012db70
add esp, 0xc
lea eax, [ebp - 0x414]
push 0x208
push eax
push dword [0x1024b9f8]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str...qutmload.dll
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x414]
push eax
call fcn.10114081
mov dword [edi + 4], eax
pop ecx
test eax, eax
je 0x10073c92
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.StartHookEx
push eax
call esi
push str.StopHook
push dword [edi + 4]
mov dword [edi + 0xc], eax
call esi
push str.Install
push dword [edi + 4]
mov dword [edi + 0x10], eax
call esi
push str.AddProtectedFile
push dword [edi + 4]
mov dword [edi + 8], eax
call esi
push str.RemoveProtectedFile
push dword [edi + 4]
mov dword [edi + 0x14], eax
call esi
push str.AddSpecialProtectedFile
push dword [edi + 4]
mov dword [edi + 0x18], eax
call esi
push str.RemoveSpecialProtectedFile
push dword [edi + 4]
mov dword [edi + 0x1c], eax
call esi
push str.RemoveAllProtectedFile
push dword [edi + 4]
mov dword [edi + 0x20], eax
call esi
mov ecx, eax
mov dword [edi + 0x24], ecx
pop esi
cmp dword [edi + 0x1c], ebx
je 0x10073c6b
cmp dword [edi + 0x20], ebx
je 0x10073c6b
test ecx, ecx
je 0x10073c6b
xor eax, eax
inc eax
jmp 0x10073c6d
mov eax, ebx
mov dword [edi + 0x2c], eax
cmp dword [edi + 0xc], ebx
je 0x10073c92
cmp dword [edi + 0x10], ebx
je 0x10073c92
cmp dword [edi + 8], ebx
je 0x10073c92
cmp dword [edi + 0x14], ebx
je 0x10073c92
cmp dword [edi + 0x18], ebx
je 0x10073c92
test ecx, ecx
je 0x10073c92
xor eax, eax
inc eax
jmp 0x10073c9b
mov ecx, edi
call fcn.10073da4
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.1012b632
leave
ret
Function at 0x100740f5
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x102406a8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, 0x200
lea eax, [ebp - 0x404]
xor esi, esi
push ebx
push esi
push eax
mov dword [ebp - 0x408], esi
call fcn.1012db70
push ebx
lea eax, [ebp - 0x204]
push esi
push eax
call fcn.1012db70
mov eax, dword [ebp + 8]
add esp, 0x18
sub eax, 1
je 0x1007415e
sub eax, 1
je 0x10074157
sub eax, 1
je 0x10074150
mov edi, str..PhysicalDrive0
jmp 0x10074163
mov edi, str..PhysicalDrive3
jmp 0x10074163
mov edi, str..PhysicalDrive2
jmp 0x10074163
mov edi, str..PhysicalDrive1
mov eax, 0x10226ea8
cmp dword [ebp + 0xc], esi
jne 0x10074172
mov eax, 0x10226ce8
push 0x1be
push eax
lea eax, [ebp - 0x204]
push eax
call fcn.1012d5f0
add esp, 0xc
mov word [ebp - 6], 0xaa55
push esi
push esi
push 3
push esi
push 3
push 0xc0000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x1007424c
mov ebx, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push esi
push esi
push esi
push edi
call ebx
push esi
lea eax, [ebp - 0x408]
push eax
push 0x200
lea eax, [ebp - 0x404]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1007423b
push 0x200
lea eax, [ebp - 0x404]
push eax
push edi
call fcn.10073e34
add esp, 0xc
test eax, eax
je 0x1007423b
push 0x4d
lea eax, [ebp - 0x252]
push eax
lea eax, [ebp - 0x52]
push eax
call fcn.1012d5f0
add esp, 0xc
mov word [ebp - 6], 0xaa55
push esi
push esi
push esi
push edi
call ebx
push esi
lea eax, [ebp - 0x408]
push eax
push 0x200
lea eax, [ebp - 0x204]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1007423b
xor esi, esi
push edi
inc esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10074252
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x10074254
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1012b632
leave
ret
Function at 0x1007750e
Capabilities:
Read .ini file

Disassembly:
push 0x214
mov eax, 0x1015ff14
call fcn.1012b6ae
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x10], ebx
jne 0x10077667
push 0x208
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.1012db70
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [0x1024b9f8]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str...uiitem.dat
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x220]
call fcn.100413a9
mov dword [ebp - 4], ebx
xor edi, edi
inc edi
mov byte [ebp - 0x219], 0x4c
push edi
lea eax, [ebp - 0x219]
push eax
push edi
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x220]
call fcn.10113d34
test eax, eax
jne 0x100775a8
mov dword [esi + 0x10], edi
jmp 0x10077658
lea ecx, [ebp - 0x220]
call fcn.101130bc
mov edi, eax
test edi, edi
je 0x10077651
cmp word [edi], bx
je 0x100775ff
push 0xa
pop eax
push eax
push edi
call fcn.1012e97a
pop ecx
pop ecx
mov ebx, eax
mov ecx, esi
push edi
test ebx, ebx
je 0x100775ec
xor eax, eax
mov word [ebx], ax
call fcn.10076d11
push 0xa
pop eax
mov word [ebx], ax
lea edi, [ebx + 2]
jmp 0x100775f1
call fcn.10076d11
test ebx, ebx
je 0x100775ff
xor eax, eax
cmp word [edi], ax
push 0xa
pop eax
jne 0x100775c5
xor eax, eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [0x1024b9f8]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str..._netconf.dat
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
push 0x5dc
push str.Umxc
push str.MAIN
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [esi + 0x1c], eax
mov dword [esi + 0x10], 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x220]
call fcn.1011194f
call fcn.1012b658
ret

Function at 0x1007af9b
Capabilities:
Initialize winsock library

Disassembly:
push 0x19c
mov eax, 0x1016057f
call fcn.1012b6ae
mov esi, ecx
mov dword [ebp - 0x1a4], esi
lea eax, [ebp - 0x1a0]
mov dword [ebp - 0x1a8], esi
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
and dword [ebp - 4], 0
lea ecx, [esi + 8]
and dword [esi + 4], 0
mov dword [esi], vtable.CHostNetworkInfo.0
mov dword [ebp - 0x1a4], ecx
call fcn.1007af5e
mov byte [ebp - 4], 2
lea ecx, [esi + 0x1c]
call fcn.10008950
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.1012b658
ret

Function at 0x1007b6ec
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x102406a8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov esi, 0x104
lea eax, [ebp - 0x108]
push esi
push 0
push eax
mov edi, ecx
call fcn.1012db70
add esp, 0xc
lea eax, [ebp - 0x108]
push esi
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
mov esi, eax
lea ecx, [edi + 0x1c]
lea eax, [ebp - 0x108]
push eax
call fcn.10008b31
mov ecx, dword [ebp - 4]
xor eax, eax
test esi, esi
pop edi
sete al
xor ecx, ebp
pop esi
call fcn.1012b632
leave
ret

Function at 0x1007bc85
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xc
call fcn.10010082
pop ecx
test eax, eax
je 0x1007bc97
pop ebp
jmp eax
pop ebp
jmp dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
Function at 0x1008008b
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push 0x10000
mov edi, ecx
mov dword [ebp - 0xc], 0x80004005
call fcn.101345c6
mov ebx, eax
mov eax, dword [edi]
push 8
mov dword [ebp - 8], eax
call fcn.10010082
pop ecx
pop ecx
xor esi, esi
push esi
push 0x80
push 4
push esi
push 1
push SysReAllocStringLen
push dword [ebp - 8]
test eax, eax
je 0x100800d4
call eax
jmp 0x100800da
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
je 0x100801c4
test ebx, ebx
je 0x100801bd
push 9
call fcn.10010082
pop ecx
push esi
test eax, eax
je 0x1008010c
lea ecx, [ebp - 4]
push ecx
push 0x10000
push ebx
push dword [ebp - 8]
call eax
jmp 0x1008011f
lea eax, [ebp - 4]
push eax
push 0x10000
push ebx
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100801ba
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x100801b7
cmp dword [edi + 0x28], esi
jne 0x100801ae
mov edx, dword [edi + 0xc]
test edx, edx
je 0x10080149
mov eax, dword [edx]
push ecx
push ebx
push edx
call dword [eax + 0x10]
mov ecx, dword [ebp - 4]
mov edx, dword [edi + 0x10]
test edx, edx
je 0x1008015b
mov eax, dword [edx]
push ecx
push ebx
push edx
call dword [eax + 0x10]
mov ecx, dword [ebp - 4]
mov edx, dword [edi + 0x18]
test edx, edx
je 0x1008017d
cmp dword [edi + 0x14], esi
jne 0x1008017d
mov eax, dword [edx]
push ecx
push ebx
push edx
call dword [eax + 0x10]
mov ecx, dword [ebp - 4]
test eax, eax
je 0x1008017d
mov dword [edi + 0x14], 1
cmp dword [edi + 4], esi
je 0x100800ee
mov eax, dword [edi + 8]
test eax, eax
je 0x100800ee
add dword [eax + 0x10], ecx
adc dword [eax + 0x14], esi
mov eax, dword [edi + 4]
push dword [edi + 8]
push esi
mov ecx, dword [eax]
push 0x9a
push eax
call dword [ecx + 4]
jmp 0x100800ee
mov dword [ebp - 0xc], 1
jmp 0x100801ba
mov dword [ebp - 0xc], esi
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x100801cf
push ebx
call fcn.101345c1
pop ecx
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x100801d9
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
push 0x160
mov eax, 0x101612ad
call fcn.1012b6ae
mov ebx, ecx
xor eax, eax
mov dword [ebp - 0x158], eax
mov dword [ebp - 4], 1
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x164], eax
mov dword [ebp - 0x160], eax
mov dword [ebp - 0x15c], eax
mov byte [ebp - 4], 2
push 0x11c
push eax
lea eax, [ebp - 0x150]
push eax
call fcn.1012db70
mov esi, dword [ebx]
lea edi, [ebp - 0x34]
push 9
pop ecx
xor eax, eax
rep stosd dword es:[edi], eax
push 0x1d
call fcn.10010082
add esp, 0x10
test eax, eax
je 0x1008024c
lea ecx, [ebp - 0x34]
push ecx
push 0
push esi
call eax
jmp 0x10080259
lea eax, [ebp - 0x34]
push eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
jne 0x10080267
mov esi, 0x80070057
jmp 0x1008037b
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x16c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x168], eax
lea eax, [ebp - 0x158]
push eax
push 0
push dword [ebx]
call dword [sym.imp.SHLWAPI.dll_SHCreateStreamOnFileW]
cmp dword [ebp - 0x158], 0
mov esi, eax
jne 0x1008029f
mov esi, 0x80004005
jmp 0x10080364
lea eax, [ebp - 0x150]
mov dword [ebp - 0x150], 0x11c
push eax
call fcn.1001820d
cmp dword [ebp - 0x14c], 6
pop ecx
jae 0x100802d4
push 0
push 0x18
push 0
push 0
lea eax, [ebp - 0x154]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
push dword [ebp - 0x154]
lea eax, [ebp - 0x164]
push eax
lea eax, [ebp - 0x15c]
push eax
push dword [ebp - 0x158]
call fcn.1011318d
test eax, eax
jne 0x10080364
lea edi, [ebx + 0x18]
mov ecx, dword [edi]
test ecx, ecx
je 0x10080308
and dword [edi], eax
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
call fcn.1000fecf
push edi
push 0x101989dc
mov ecx, eax
call fcn.1008a5b7
mov ecx, dword [edi]
test ecx, ecx
je 0x10080364
push dword [ebp - 0x168]
mov eax, dword [ecx]
push dword [ebp - 0x16c]
push dword [ebp - 0x160]
push dword [ebp - 0x164]
push ecx
call dword [eax + 0xc]
mov esi, eax
test esi, esi
jne 0x10080364
push dword [ebp - 0x15c]
lea ecx, [ebx + 0x1c]
call fcn.100091b4
mov eax, dword [ebp - 0x164]
mov dword [ebx + 0x20], eax
mov eax, dword [ebp - 0x160]
mov dword [ebx + 0x24], eax
cmp dword [ebp - 0x154], 0
je 0x1008037b
push 0
push dword [ebp - 0x154]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov byte [ebp - 4], 1
push dword [ebp - 0x15c]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x158]
test ecx, ecx
je 0x1008039f
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, esi
call fcn.1012b658
ret
Function at 0x100819c9
Capabilities:
Query environment variable

Disassembly:
push 0x41c
mov eax, 0x1014e6a3
call fcn.1012b6ae
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x420]
xor edi, edi
mov dword [ebp - 0x428], esi
push 0x410
push edi
push eax
mov dword [ebp - 0x424], edi
call fcn.1012db70
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x208
push eax
push str._AppData_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
jne 0x10081a27
push 0x101bd7f8
mov ecx, esi
call fcn.100088c7
jmp 0x10081a47
push str.360Safe360mbr.bin
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x420]
mov ecx, esi
push eax
call fcn.100088c7
mov dword [ebp - 4], edi
mov dword [ebp - 0x424], 1
mov eax, esi
call fcn.1012b658
ret 4

Function at 0x10081aff
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x102406a8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push 0x208
push 0
push eax
and dword [edi], 0
call fcn.1012db70
add esp, 0xc
call fcn.1012998f
mov ecx, eax
call fcn.1012998b
mov esi, eax
test esi, esi
je 0x10081bda
push esi
push 0x104
lea eax, [ebp - 0x20c]
push eax
call fcn.10019f19
test eax, eax
js 0x10081b8f
push str.driversAppleHFS.sys
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x10081b8f
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10081b8f
xor esi, esi
inc esi
mov dword [edi], esi
mov eax, esi
jmp 0x10081c5a
push esi
push 0x104
lea eax, [ebp - 0x20c]
push eax
call fcn.10019f19
test eax, eax
js 0x10081bda
push str.driversAppleSSD.sys
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x10081bda
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10081bda
xor eax, eax
mov dword [edi], 3
inc eax
jmp 0x10081c5a
mov esi, 0x208
lea eax, [ebp - 0x20c]
push esi
push 0
push eax
call fcn.1012db70
add esp, 0xc
mov dword [ebp - 0x210], esi
lea eax, [ebp - 0x210]
xor esi, esi
inc esi
mov dword [ebp - 0x214], esi
push 0
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x214]
push eax
push str.File
push str.SOFTWAREMicrosoftWindowsCurrentVersionInstallerUserDataS_1_5_18Components30098BE49C667694FBA205DA4365A133B7FCA65B5B7DB244E8D1B61443D7882B
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.1010e24e
mov ecx, eax
call fcn.1010d6c7
test eax, eax
jne 0x10081c58
lea eax, [ebp - 0x20c]
push str.Bootcamp.exe
push eax
call fcn.101311cd
pop ecx
pop ecx
test eax, eax
jne 0x10081c58
mov dword [edi], 2
jmp 0x10081b88
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1012b632
leave
ret
Function at 0x10083d02
Capabilities:
Check if file exists
Copy file
Create directory
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x102406a8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, 0x1018dc10
push edi
push ebx
call fcn.1012e6fe
pop ecx
pop ecx
test eax, eax
je 0x10083e4b
lea esi, [eax + 2]
xor ecx, ecx
push edi
push esi
mov word [eax], cx
call fcn.1012e6fe
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x10083e4b
xor eax, eax
mov word [edi], ax
test esi, esi
je 0x10083e4b
push esi
call fcn.10130fe5
pop ecx
test eax, eax
je 0x10083e4b
lea eax, [edi + 2]
push 0x1018dc10
push eax
mov dword [ebp - 0x418], eax
call fcn.1012e6fe
pop ecx
pop ecx
test eax, eax
je 0x10083e4b
xor ecx, ecx
lea edi, [eax + 2]
mov word [eax], cx
test edi, edi
je 0x10083e4b
push edi
call fcn.10130fe5
pop ecx
test eax, eax
je 0x10083e4b
mov eax, dword [ebp + 0xc]
push dword [eax]
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.10019f19
push ebx
call fcn.10130fe5
pop ecx
test eax, eax
je 0x10083df3
push ebx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10083df3
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push esi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push edi
push dword [ebp - 0x418]
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10083e33
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
jmp 0x10083e4d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1012b632
leave
ret
Function at 0x10084942
Capabilities:
Create thread
Resume thread

Disassembly:
push 0x24
push 0x101e0678
call fcn.1012b9c0
push 6
pop ecx
xor eax, eax
lea edi, [ebp - 0x34]
rep stosd dword es:[edi], eax
mov edi, dword [ebp + 8]
mov dword [ebp - 0x34], edi
push edi
call fcn.10130fe5
lea esi, [eax*2 + 2]
lea eax, [esi + edi]
mov dword [ebp - 0x30], eax
push eax
call fcn.10130fe5
lea esi, [esi + eax*2]
lea esi, [esi + 2]
lea eax, [esi + edi]
mov dword [ebp - 0x2c], eax
push eax
call fcn.10130fe5
lea esi, [esi + eax*2]
lea esi, [esi + 2]
lea eax, [esi + edi]
mov dword [ebp - 0x28], eax
push eax
call fcn.10130fe5
lea esi, [esi + eax*2]
lea esi, [esi + 2]
lea eax, [esi + edi]
mov dword [ebp - 0x24], eax
push eax
call fcn.10130fe5
lea eax, [esi + eax*2]
add edi, 2
add eax, edi
mov dword [ebp - 0x20], eax
push eax
call fcn.10130fe5
add esp, 0x18
mov dword [ebp + 8], 1
lea eax, [ebp - 0x1c]
push eax
push 4
lea eax, [ebp - 0x34]
push eax
push 0x1008544e
xor edi, edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
je 0x10084a24
mov dword [ebp - 4], edi
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp + 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10084a15
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
cmp dword [ebp + 8], eax
sete al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x10084ed9
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ecx + 0x50]
test edx, edx
je 0x10084f09
push dword [ebp + 0x18]
mov eax, dword [ebp + 0x14]
or eax, 0xf003f
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push edx
call fcn.10088bff
xor ecx, ecx
test eax, eax
setns cl
mov eax, ecx
jmp 0x10084f3a
push esi
push dword [ebp + 0x18]
add ecx, 4
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.100ab298
mov esi, eax
test esi, esi
jne 0x10084f37
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x10084f37
xor eax, eax
inc eax
jmp 0x10084f39
mov eax, esi
pop esi
pop ebp
ret 0x14
Function at 0x1008a118
Capabilities:
Get common file path

Disassembly:
push 0x418
mov eax, 0x10163391
call fcn.1012b6ae
mov esi, ecx
mov dword [ebp - 0x414], esi
push dword [esi + 0x30]
call fcn.10130fe5
pop ecx
test eax, eax
je 0x1008a1f7
push dword [esi + 0x3c]
lea ecx, [ebp - 0x424]
call fcn.1001de59
mov ebx, eax
and dword [ebp - 4], 0
lea ecx, [ebp - 0x420]
push dword [esi + 0x38]
call fcn.1001de59
mov edi, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x41c]
push dword [esi + 0x34]
call fcn.1001de59
mov esi, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x418]
mov eax, dword [ebp - 0x414]
push dword [eax + 0x30]
call fcn.1001de59
mov byte [ebp - 4], 3
push dword [ebx]
mov ecx, dword [ebp - 0x414]
push dword [edi]
push dword [esi]
mov ecx, dword [ecx + 4]
push dword [eax]
push ecx
mov edx, dword [ecx]
call dword [edx + 0xc]
test eax, eax
setne bl
mov byte [ebp - 4], 2
push dword [ebp - 0x418]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call esi
mov byte [ebp - 4], 1
push dword [ebp - 0x41c]
call esi
mov byte [ebp - 4], 0
push dword [ebp - 0x420]
call esi
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0x424]
call esi
test bl, bl
jne 0x1008a25c
mov ecx, dword [ebp - 0x414]
call fcn.1008a264
jmp 0x1008a25e
push 0x400
xor ebx, ebx
lea eax, [ebp - 0x410]
push ebx
push eax
call fcn.1012db70
add esp, 0xc
lea eax, [ebp - 0x410]
push ebx
push 0x1a
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x1008a25c
push str.360Quarant
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x1008a25c
mov eax, dword [esi + 4]
lea edx, [ebp - 0x410]
push ebx
push str.union
push str.360safe
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x1008a25c
mov ecx, esi
jmp 0x1008a1f0
xor eax, eax
call fcn.1012b658
ret