joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100160d3
Capabilities:
Check if file exists
Delete file

Disassembly:
push 0x10
mov eax, 0x100e4d61
call fcn.100bf4b7
mov esi, ecx
call fcn.10002632
push eax
lea ecx, [ebp - 0x10]
call fcn.10002388
xor edi, edi
push esi
mov dword [ebp - 4], edi
call fcn.10002333
pop ecx
push eax
push esi
lea ecx, [ebp - 0x10]
call fcn.100022bf
mov esi, dword [ebp - 0x10]
mov ebx, str..lnk
cmp dword [esi - 0xc], edi
jne 0x10016152
mov esi, str.CloudZip
push esi
call fcn.10002333
pop ecx
push eax
push esi
lea ecx, [ebp - 0x10]
call fcn.100022bf
mov esi, 0x10105e28
push esi
call fcn.10002333
pop ecx
push eax
push esi
lea ecx, [ebp - 0x10]
call fcn.10002c8b
push ebx
call fcn.10002333
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x10]
call fcn.10002c8b
mov esi, dword [ebp - 0x10]
lea eax, [ebp - 0x1c]
push eax
call fcn.10019f8d
mov byte [ebp - 4], 1
mov dword [esp], str.CZipMPage.exe
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.10002a54
add esp, 8
mov byte [ebp - 4], 2
mov ebx, dword [eax]
lea eax, [ebp - 0x14]
push str..lnk
push esi
push eax
call fcn.10002904
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], edi
jne 0x10016199
lea ecx, [eax - 0x10]
jmp 0x100161be
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100161ad
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebx
push dword [ebp - 0x14]
call fcn.100026f5
mov ecx, dword [ebp - 0x14]
mov edi, eax
lea ecx, [ecx - 0x10]
call fcn.100026dd
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.100026dd
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.100026dd
lea ecx, [esi - 0x10]
call fcn.100026dd
mov eax, edi
call fcn.100bf480
ret
Function at 0x100161e9
Capabilities:
Check if file exists
Delete file

Disassembly:
push 0x14
mov eax, 0x100e4d9c
call fcn.100bf4b7
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], ecx
call fcn.10002632
push eax
lea ecx, [ebp - 0x10]
call fcn.10002388
xor ebx, ebx
mov dword [ebp - 4], ebx
call fcn.10002632
push eax
lea ecx, [ebp - 0x18]
call fcn.10002388
push dword [ebp + 8]
mov byte [ebp - 4], 1
call fcn.10002333
pop ecx
push eax
push dword [ebp + 8]
lea ecx, [ebp - 0x18]
call fcn.100022bf
mov edi, dword [ebp - 0x18]
cmp dword [edi - 0xc], ebx
je 0x100162f3
push 1
call fcn.1001a060
mov esi, eax
push esi
call fcn.10002333
pop ecx
pop ecx
push eax
push esi
lea ecx, [ebp - 0x10]
call fcn.100022bf
mov esi, str.Cache
push esi
call fcn.10002333
pop ecx
push eax
push esi
lea ecx, [ebp - 0x10]
call fcn.10002c8b
mov esi, 0x101057f4
push esi
call fcn.10002333
pop ecx
push eax
push esi
lea ecx, [ebp - 0x10]
call fcn.10002c8b
push 0x2f
push edi
call fcn.100c0567
pop ecx
pop ecx
test eax, eax
jne 0x1001629b
or eax, 0xffffffff
jmp 0x1001629f
sub eax, edi
sar eax, 1
lea ecx, [eax + 1]
mov eax, dword [edi - 0xc]
sub eax, ecx
push eax
push ecx
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x18]
call fcn.10002b12
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
mov esi, dword [ebp - 0x14]
push dword [esi - 0xc]
push esi
call fcn.10002c8b
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 1
call fcn.100026dd
mov esi, dword [ebp - 0x10]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100162f6
push ebx
push esi
push edi
call fcn.10014442
mov ecx, eax
call fcn.10020a84
jmp 0x100162f6
mov esi, dword [ebp - 0x10]
push ecx
push str..url
push dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
push eax
call fcn.10002904
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], ebx
jne 0x10016319
lea ecx, [eax - 0x10]
jmp 0x10016341
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1001632d
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call fcn.100027f5
mov ecx, dword [ebp - 0x14]
mov ebx, eax
lea ecx, [ecx - 0x10]
call fcn.100026dd
lea ecx, [edi - 0x10]
call fcn.100026dd
lea ecx, [esi - 0x10]
call fcn.100026dd
mov eax, ebx
call fcn.100bf480
ret

Function at 0x100163c9
Capabilities:
Create process on windows
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.100163f7
test eax, eax
je 0x100163ed
push 1
xor eax, eax
push eax
push eax
push esi
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jg 0x100163f5
mov ecx, esi
pop esi
jmp fcn.10016608
pop esi
ret
Function at 0x10016491
Capabilities:
Create process on windows

Disassembly:
push 0x18
mov eax, 0x100e4e1d
call fcn.100bf4b7
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
call fcn.10002632
push eax
lea ecx, [ebp - 0x10]
call fcn.10002388
mov byte [ebp - 4], 1
call fcn.10002632
push eax
lea ecx, [ebp - 0x18]
call fcn.10002388
push 0x20119
push str.SOFTWAREWOW6432NodeMicrosoftWindowsCurrentVersionUninstallGoogle_Chrome
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.10002de5
mov ecx, 0x1000
test eax, eax
jne 0x10016529
mov dword [ebp - 0x14], ecx
push ecx
lea ecx, [ebp - 0x10]
call fcn.1000218d
lea ecx, [ebp - 0x14]
push ecx
push eax
push str.InstallLocation
lea ecx, [ebp - 0x24]
call fcn.10002d1f
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
mov esi, eax
call fcn.1000316d
test esi, esi
jne 0x10016529
mov esi, dword [ebp - 0x10]
cmp dword [esi - 0xc], ebx
jne 0x10016577
jmp 0x1001652c
mov esi, dword [ebp - 0x10]
push 0x20119
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallGoogle_Chrome
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x24]
call fcn.10002de5
test eax, eax
jne 0x10016577
mov eax, 0x1000
lea ecx, [ebp - 0x10]
push eax
mov dword [ebp - 0x14], eax
call fcn.1000218d
lea ecx, [ebp - 0x14]
push ecx
push eax
push str.InstallLocation
lea ecx, [ebp - 0x24]
call fcn.10002d1f
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.1000316d
mov esi, dword [ebp - 0x10]
mov eax, dword [esi - 0xc]
test eax, eax
jne 0x10016583
mov edi, dword [ebp - 0x18]
jmp 0x100165e8
dec eax
lea ecx, [ebp - 0x10]
push eax
call fcn.10002aee
cmp ax, 0x5c
je 0x100165ac
mov esi, 0x101057f4
push esi
call fcn.10002333
pop ecx
push eax
push esi
lea ecx, [ebp - 0x10]
call fcn.10002c8b
mov esi, dword [ebp - 0x10]
push 0x78
push 0x65
push 0x6d
push 0x6f
push 0x72
push 0x68
push 0x63
push esi
lea eax, [ebp - 0x18]
push str._s_c_c_c_c_c_c.e_ce
push eax
call fcn.10004425
add esp, 0x28
push 5
push ebx
push edi
mov edi, dword [ebp - 0x18]
push edi
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor ebx, ebx
cmp eax, 0x20
setg bl
lea ecx, [edi - 0x10]
call fcn.100026dd
lea ecx, [esi - 0x10]
call fcn.100026dd
lea ecx, [ebp - 0x24]
call fcn.100030a3
mov eax, ebx
call fcn.100bf480
ret
Function at 0x10016608
Capabilities:
Create process on windows
Get common file path
Get program files directory

Disassembly:
push 0x210
mov eax, 0x100e4e43
call fcn.100bf4eb
mov esi, ecx
push 1
push 0
push esi
push str.iexplore.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor ebx, ebx
cmp eax, 0x20
setg bl
jle 0x10016647
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x483
jne 0x100166c3
push 0x208
xor ebx, ebx
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.100c1710
add esp, 0xc
lea eax, [ebp - 0x218]
push ebx
push 0x26
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
call fcn.10002632
push eax
lea ecx, [ebp - 0x21c]
call fcn.10002388
lea eax, [ebp - 0x218]
mov dword [ebp - 4], ebx
push eax
lea eax, [ebp - 0x21c]
push str.__sInternet_Exploreriexplore.exe_
push eax
call fcn.10004425
add esp, 0xc
push 1
push ebx
push esi
mov esi, dword [ebp - 0x21c]
push esi
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
lea ecx, [esi - 0x10]
setg bl
call fcn.100026dd
mov eax, ebx
call fcn.100bf495
ret

Function at 0x100169b5
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
mov esi, ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi + 0x77c], eax
test eax, eax
jne 0x100169d6
xor eax, eax
jmp 0x100169ef
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x100169ec
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
jmp 0x100169d2
xor eax, eax
inc eax
pop esi
pop ebp
ret 4
Function at 0x10018497
Capabilities:
Print debug messages

Disassembly:
push 0x18
mov eax, 0x100e51f6
call fcn.100bf4b7
call fcn.10002632
push eax
lea ecx, [ebp - 0x10]
call fcn.10002388
mov eax, 0x104
lea ecx, [ebp - 0x10]
push eax
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.1000218d
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
or edi, 0xffffffff
lea ecx, [ebp - 0x10]
push edi
call fcn.1000316d
mov esi, dword [ebp - 0x10]
cmp dword [esi - 0xc], ebx
je 0x1001863d
push 0x5c
push esi
call fcn.100c0567
pop ecx
pop ecx
test eax, eax
je 0x100184f9
mov edi, eax
sub edi, esi
sar edi, 1
mov eax, dword [esi - 0xc]
lea ecx, [edi + 1]
sub eax, ecx
push eax
push ecx
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
call fcn.10002b12
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x10]
call fcn.1000311d
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.100026dd
call fcn.100186c9
cmp eax, 5
jne 0x100185a9
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x24], 0x1010943c
call fcn.10002632
push eax
lea ecx, [ebp - 0x1c]
call fcn.10002388
mov dword [ebp - 0x20], ebx
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 2
push eax
push 0x10109404
push 4
push ebx
push 0x1010582c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x10018581
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.100026dd
jmp 0x1001863a
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x1c]
call fcn.1000311d
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x24]
mov dword [ebp - 0x20], ecx
push edx
push ecx
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [ebp - 0x14]
push ebx
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
jmp 0x10018615
cmp eax, 6
jne 0x1001862c
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x24], 0x10109418
call fcn.10002632
push eax
lea ecx, [ebp - 0x1c]
call fcn.10002388
mov dword [ebp - 0x20], ebx
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 3
push eax
push 0x101093f4
push 4
push ebx
push 0x1010582c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x10018571
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x1c]
call fcn.1000311d
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x18]
push edx
mov dword [ebp - 0x20], ecx
lea edx, [ebp - 0x24]
push edx
mov eax, dword [ecx]
push ecx
call dword [eax + 0xc]
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x18]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x14], ebx
lea ecx, [ecx - 0x10]
call fcn.100026dd
push str.ITrayNotify_set
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor ebx, ebx
inc ebx
mov esi, dword [ebp - 0x10]
lea ecx, [esi - 0x10]
call fcn.100026dd
mov eax, ebx
call fcn.100bf480
ret
Function at 0x100186c9
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x1011b3bc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0x118
xor ebx, ebx
mov dword [ebp - 0x120], 0x11c
lea eax, [ebp - 0x11c]
push ebx
push eax
call fcn.100c1710
add esp, 0xc
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x11c]
push eax
call fcn.1001867e
mov eax, dword [ebp - 0x11c]
add esp, 0xc
cmp eax, 5
jne 0x10018748
cmp dword [ebp - 0x118], ebx
jbe 0x10018782
cmp dword [ebp - 0x118], 1
setne bl
inc ebx
jmp 0x10018782
cmp eax, 6
jne 0x10018772
cmp byte [ebp - 6], 1
jne 0x1001876e
mov eax, dword [ebp - 0x118]
sub eax, ebx
je 0x1001876a
sub eax, 1
je 0x10018766
push 7
jmp 0x10018779
push 5
jmp 0x10018779
push 3
jmp 0x10018779
push 4
jmp 0x10018779
cmp eax, 0xa
jne 0x1001877c
push 8
pop ebx
jmp 0x10018782
push 9
pop ecx
cmova ebx, ecx
mov ecx, dword [ebp - 4]
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.100be7ca
leave
ret

Function at 0x100187f5
Capabilities:
Check mutex on windows

Disassembly:
push 0x1c
mov eax, 0x100e5219
call fcn.100bf4b7
mov esi, ecx
lea ecx, [ebp - 0x28]
call fcn.10021746
and dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.1002175f
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0xc
call fcn.1002175b
push dword [ebp + 8]
and dword [ebp - 0x10], 0
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push 1
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 0xb7
lea ecx, [ebp - 0x28]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 4], eax
call fcn.10021756
call fcn.100bf480
ret 4

Function at 0x10018861
Capabilities:
Check mutex on windows

Disassembly:
push 0x1c
mov eax, 0x100e5219
call fcn.100bf4b7
mov esi, ecx
lea ecx, [ebp - 0x28]
call fcn.10021746
and dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.1002175f
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0xc
call fcn.1002175b
push dword [ebp + 8]
and dword [ebp - 0x10], 0
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push 1
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 0xb7
lea ecx, [ebp - 0x28]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 4], eax
call fcn.10021756
call fcn.100bf480
ret 4
Function at 0x10019c26
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push 0x70
mov eax, 0x100e540b
call fcn.100bf4eb
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0x18]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10019c4e
push 2
pop eax
jmp 0x10019d99
push esi
call fcn.1001b1ce
push esi
call fcn.1001b21c
pop ecx
pop ecx
mov esi, eax
push str.5Xgkkz8HyLxnaYNpPqtnsdranP85FF9zZdDi44WpxmPMNjxMr45AvHp3igZUQNGwcmoBAv6Y46DFyhIS8hAx8GykkxE3xUOOS4GlX4cvOl6JGMor9kg6H1LYxpjgH8rraEk7KNTE8DRsuDKMm0kzJqt1Pk98zTjSmtRKofHEDozo2y5Gah1QJH7ucaFwDNtLHy37E6
push esi
call fcn.1001b1b0
pop ecx
push eax
lea eax, [ebp - 0x40]
push esi
push eax
call fcn.10021afd
add esp, 0x10
and dword [ebp - 4], 0
cmp dword [eax + 0x14], 0x10
jb 0x10019c84
mov eax, dword [eax]
push eax
call fcn.1001b298
pop ecx
lea ecx, [ebp - 0x40]
mov esi, eax
call fcn.1000b399
and dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
push str._scl
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 1
call fcn.100066f5
push str.26
lea ecx, [ebp - 0x28]
call fcn.100066f5
push str._scl_size
lea ecx, [ebp - 0x28]
call fcn.100066f5
push 0x100eb8f4
lea ecx, [ebp - 0x28]
call fcn.100066f5
push esi
lea ecx, [ebp - 0x28]
call fcn.100066f5
push 0x100eb818
lea ecx, [ebp - 0x28]
call fcn.100066f5
push 0x100eb8f8
lea ecx, [ebp - 0x28]
call fcn.100066f5
push 0x100eb8f4
lea ecx, [ebp - 0x28]
call fcn.100066f5
push str.Cloud
lea ecx, [ebp - 0x28]
call fcn.100066f5
push 0x3c
pop esi
push esi
lea eax, [ebp - 0x7c]
push 0
push eax
call fcn.100c1710
add esp, 0xc
mov dword [ebp - 0x7c], esi
test ebx, ebx
mov dword [ebp - 0x6c], edi
mov ecx, str.open
mov dword [ebp - 0x78], 0x40
mov eax, str.runas
cmove eax, ecx
cmp dword [ebp - 0x14], 8
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
and dword [ebp - 0x64], 0
and dword [ebp - 0x60], 0
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp - 0x44], 0
mov esi, eax
je 0x10019d8f
cmp dword [ebp + 0x10], 0
je 0x10019d8f
push dword [ebp + 0x14]
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ecx, [ebp - 0x28]
call fcn.10005474
mov eax, esi
call fcn.100bf495
ret

Function at 0x1001a060
Capabilities:
Get common file path

Disassembly:
push 0x210
mov eax, 0x100e5508
call fcn.100bf4eb
push 0x208
xor edi, edi
lea eax, [ebp - 0x218]
push edi
push eax
call fcn.100c1710
add esp, 0xc
lea eax, [ebp - 0x218]
push edi
push 0x1a
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveBackslashW]
push str.CloudZip
lea eax, [ebp - 0x218]
push eax
push 0x100eb93c
call fcn.1001b209
mov esi, eax
add esp, 0xc
mov dword [ebp - 0x21c], esi
cmp byte [ebp + 8], 0
mov dword [ebp - 4], edi
je 0x1001a0d5
push esi
call fcn.100215ef
pop ecx
push esi
call fcn.1001af0e
mov edi, eax
pop ecx
test esi, esi
je 0x1001a0ec
push 2
push esi
call fcn.100be7db
pop ecx
pop ecx
mov eax, edi
call fcn.100bf495
ret
Function at 0x1001b7f5
Capabilities:
Get hostname

Disassembly:
push 0x1a8
mov eax, 0x100e5849
call fcn.100bf4eb
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x1b0], ebx
call fcn.10002632
push eax
lea ecx, [ebp - 0x1ac]
call fcn.1001b74e
and dword [ebp - 4], 0
call fcn.10002632
push eax
lea ecx, [ebp - 0x1a8]
call fcn.10002388
mov byte [ebp - 4], 1
call fcn.10002632
push eax
lea ecx, [ebp - 0x1a4]
call fcn.10002388
xor eax, eax
mov byte [ebp - 4], 2
lea edi, [ebp - 0x20]
mov edx, 0x1000
stosd dword es:[edi], eax
push 8
pop ecx
mov dword [ebp - 0x1b4], edx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [ebp - 0x44]
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x1a8]
stosb byte es:[edi], al
lea eax, [ebp - 0x1b4]
push eax
push edx
call fcn.1000218d
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x1a8]
call fcn.1000316d
push esi
lea eax, [ebp - 0x1a8]
push eax
lea eax, [ebp - 0x1b0]
push eax
call fcn.10002a54
add esp, 0xc
push eax
lea ecx, [ebp - 0x1a4]
mov byte [ebp - 4], 3
call fcn.1000311d
mov ecx, dword [ebp - 0x1b0]
mov byte [ebp - 4], 2
lea ecx, [ecx - 0x10]
call fcn.100026dd
push 3
push dword [ebp - 0x1a4]
lea eax, [ebp - 0xc4]
lea ecx, [ebp - 0xc8]
mov dword [ebp - 0xc8], eax
call fcn.1000c0ac
push dword [ebp - 0xc8]
mov byte [ebp - 4], 4
call fcn.1001bd4e
pop ecx
push eax
push dword [ebp - 0xc8]
lea ecx, [ebp - 0x1ac]
call fcn.1001bcdd
lea eax, [ebp - 0xc4]
mov byte [ebp - 4], 2
cmp dword [ebp - 0xc8], eax
je 0x1001b92d
push dword [ebp - 0xc8]
call fcn.100c5ef6
pop ecx
lea eax, [ebp - 0x1a0]
push eax
call fcn.100233fa
mov esi, dword [ebp - 0x1ac]
lea eax, [ebp - 0x1a0]
push dword [esi - 0xc]
push esi
push eax
call fcn.10023cbe
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1a0]
push eax
call fcn.1002334e
push 0x21
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x20]
push 0x10
push eax
call fcn.1001b777
add esp, 0x28
lea eax, [ebp - 0x144]
mov dword [ebp - 0x148], eax
lea ecx, [ebp - 0x148]
lea eax, [ebp - 0x44]
push 3
push eax
call fcn.1001bb23
push dword [ebp - 0x148]
mov byte [ebp - 4], 5
call fcn.10002333
pop ecx
push eax
push dword [ebp - 0x148]
lea ecx, [ebp - 0x1a4]
call fcn.100022bf
lea eax, [ebp - 0x144]
mov byte [ebp - 4], 2
cmp dword [ebp - 0x148], eax
je 0x1001b9d0
push dword [ebp - 0x148]
call fcn.100c5ef6
pop ecx
push 0x10
push 0xa
push ebx
lea ecx, [ebp - 0x1a4]
call fcn.10002b12
mov ecx, dword [ebp - 0x1a4]
lea ecx, [ecx - 0x10]
call fcn.100026dd
mov ecx, dword [ebp - 0x1a8]
add ecx, 0xfffffff0
call fcn.100026dd
lea ecx, [esi - 0x10]
call fcn.100026dd
mov eax, ebx
call fcn.100bf495
ret
Function at 0x1001e30c
Capabilities:
Move file

Disassembly:
push 0x4c
mov eax, 0x100e5ced
call fcn.100bf4eb
mov esi, ecx
cmp dword [esi + 0x1c], 0xffffffff
je 0x1001e32d
push dword [esi + 0x1c]
call fcn.100ca71b
or dword [esi + 0x1c], 0xffffffff
pop ecx
mov eax, dword [esi + 0x28]
mov ecx, esi
dec eax
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.1001d756
and dword [ebp - 4], 0
lea eax, [ebp - 0x58]
cmp dword [ebp - 0x44], 8
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.100c9acc
mov edi, dword [esi + 0x28]
sub edi, 2
pop ecx
js 0x1001e3b1
push edi
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
call fcn.1001d756
lea eax, [edi + 1]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.1001d756
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
lea eax, [ebp - 0x40]
cmovae ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x2c], 8
push ecx
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
lea ecx, [ebp - 0x28]
call fcn.10005474
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0
call fcn.10005474
sub edi, 1
jns 0x1001e35b
mov ecx, esi
call fcn.1001e1ab
lea ecx, [ebp - 0x58]
mov byte [esi + 0x5c], 0
call fcn.10005474
call fcn.100bf495
ret

Function at 0x1001e3ca
Capabilities:
Move file

Disassembly:
push 0x4c
mov eax, 0x100e5ced
call fcn.100bf4eb
mov esi, ecx
cmp dword [esi + 0x1c], 0xffffffff
je 0x1001e3eb
push dword [esi + 0x1c]
call fcn.100ca71b
or dword [esi + 0x1c], 0xffffffff
pop ecx
mov eax, dword [esi + 0x28]
mov ecx, esi
dec eax
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.1001d756
and dword [ebp - 4], 0
lea eax, [ebp - 0x58]
cmp dword [ebp - 0x44], 8
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.100c9acc
mov edi, dword [esi + 0x28]
sub edi, 2
pop ecx
js 0x1001e46f
push edi
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
call fcn.1001d756
lea eax, [edi + 1]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.1001d756
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
lea eax, [ebp - 0x40]
cmovae ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x2c], 8
push ecx
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
lea ecx, [ebp - 0x28]
call fcn.10005474
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0
call fcn.10005474
sub edi, 1
jns 0x1001e419
mov ecx, esi
call fcn.1001e242
lea ecx, [ebp - 0x58]
mov byte [esi + 0x5c], 0
call fcn.10005474
call fcn.100bf495
ret

Function at 0x100215c9
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x100215df
mov al, 1
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
sete al
pop ebp
ret
Function at 0x10025191
Capabilities:
Get common file path
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x30fc
call fcn.100bf960
mov eax, dword [0x1011b3bc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x104
lea eax, [ebp - 0x108]
push esi
xor ebx, ebx
mov edi, ecx
push ebx
push eax
call fcn.100c1710
push esi
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.100c1710
add esp, 0x18
lea eax, [ebp - 0x108]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
movsx eax, byte [ebp - 0x108]
push eax
lea eax, [ebp - 0x20c]
push 0x100ec6b0
push eax
call fcn.10024e01
add esp, 0xc
lea eax, [ebp - 0x20c]
push ebx
push ebx
push 3
push ebx
push 3
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x10025220
mov al, 1
jmp 0x10025329
push 0x2710
lea eax, [ebp - 0x30ec]
mov dword [ebp - 0x30fc], ebx
push ebx
push eax
call fcn.100c1710
push 0x3e8
lea eax, [ebp - 0x9dc]
push ebx
push eax
call fcn.100c1710
push 0x3e8
lea eax, [ebp - 0x5f4]
push ebx
push eax
call fcn.100c1710
add esp, 0x24
mov dword [ebp - 0x30f0], ebx
lea eax, [ebp - 0x30fc]
mov dword [ebp - 0x30f8], ebx
mov dword [ebp - 0x30f4], ebx
push ebx
push eax
push 0x2710
lea eax, [ebp - 0x30ec]
push eax
push 0xc
lea eax, [ebp - 0x30f8]
push eax
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x100252a2
mov bl, 2
jmp 0x10025320
lea eax, [ebp - 0x5f4]
push eax
push ebx
push dword [ebp - 0x30dc]
lea eax, [ebp - 0x30ec]
push eax
call fcn.10025338
lea eax, [ebp - 0x9dc]
push eax
push 1
push dword [ebp - 0x30d4]
lea eax, [ebp - 0x30ec]
push eax
call fcn.10025338
lea ecx, [ebp - 0x5f4]
add esp, 0x20
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100252e3
sub ecx, edx
lea eax, [ebp - 0x5f4]
push ecx
push eax
push edi
call fcn.10023cbe
lea ecx, [ebp - 0x9dc]
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10025306
sub ecx, edx
lea eax, [ebp - 0x9dc]
push ecx
push eax
push edi
call fcn.10023cbe
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100be7ca
leave
ret