joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001bc77
Capabilities:
Create thread
Terminate thread

Disassembly:
push ebp
sub esp, 0xfc
lea ebp, [esp - 4]
mov eax, dword [0x10081730]
xor eax, ebp
mov dword [ebp + 0xfc], eax
push 0xc
mov eax, 0x1005bb1c
call fcn.10031c17
mov eax, dword [ebp + 0x110]
mov edi, dword [ebp + 0x108]
mov ebx, dword [ebp + 0x10c]
lea ecx, [ebp]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], 1
call fcn.1001b25b
xor esi, esi
push str.SELECT_Manufacturer__Product__SerialNumber_FROM_Win32_BaseBoard
lea ecx, [ebp]
mov dword [ebp - 4], esi
call fcn.10001664
push str.Manufacturer
lea ecx, [ebp + 0x1c]
call fcn.10001664
push str.Product
lea ecx, [ebp + 0x38]
call fcn.10001664
push str.SerialNumber
lea ecx, [ebp + 0x54]
call fcn.10001664
push esi
push esi
lea eax, [ebp]
push eax
push 0x1001b540
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x7d0
push eax
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x1001bd2e
push esi
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [ebp - 0x10], esi
push 0xffffffffffffffff
push esi
lea eax, [ebp + 0x8c]
push eax
mov ecx, edi
call fcn.10001537
push 0xffffffffffffffff
push esi
lea eax, [ebp + 0xa8]
push eax
mov ecx, ebx
call fcn.10001537
mov ecx, dword [ebp - 0x18]
push 0xffffffffffffffff
push esi
lea eax, [ebp + 0xc4]
push eax
call fcn.10001537
lea eax, [ebp - 0x14]
push eax
call fcn.1001d65d
pop ecx
lea ecx, [ebp]
call fcn.1001b2b3
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xfc]
xor ecx, ebp
call fcn.10031c08
add ebp, 0x100
leave
ret

Function at 0x1001bd9a
Capabilities:
Create thread
Terminate thread

Disassembly:
push ebp
sub esp, 0xfc
lea ebp, [esp - 4]
mov eax, dword [0x10081730]
xor eax, ebp
mov dword [ebp + 0xfc], eax
push 0xc
mov eax, 0x1005bb65
call fcn.10031c17
mov edi, dword [ebp + 0x108]
xor esi, esi
lea ecx, [ebp]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], esi
call fcn.1001b25b
xor ebx, ebx
inc ebx
push str.Select_ProcessorId_from_Win32_Processor
lea ecx, [ebp]
mov dword [ebp - 4], ebx
call fcn.10001664
push str.ProcessorId
lea ecx, [ebp + 0x1c]
call fcn.10001664
push esi
push esi
lea eax, [ebp]
push eax
push 0x1001b540
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x7d0
push eax
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x1001be27
push esi
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, edi
call fcn.10001dc7
push 0xffffffffffffffff
push esi
lea eax, [ebp + 0x8c]
push eax
mov ecx, edi
mov dword [ebp - 0x14], ebx
call fcn.10001537
lea eax, [ebp - 0x10]
push eax
call fcn.1001d65d
pop ecx
lea ecx, [ebp]
call fcn.1001b2b3
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 + 0xfc]
xor ecx, ebp
call fcn.10031c08
add ebp, 0x100
leave
ret
Function at 0x1001bf6f
Capabilities:
Create thread
Terminate thread

Disassembly:
push 0x48
mov eax, 0x1005bbd9
call fcn.10031c80
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
xor esi, esi
push esi
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], 1
mov dword [ebp - 0x34], 7
call fcn.100011bf
lea ecx, [ebp - 0x30]
call fcn.10001dc7
mov eax, dword [ebp + 0x14]
push esi
push esi
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x4c]
push eax
push 0x1001b0a7
push esi
push esi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x1001bfde
push esi
push edi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [ebp - 0x50], esi
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x30]
push eax
mov ecx, ebx
call fcn.10001537
mov ecx, dword [ebp - 0x54]
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x4c]
push eax
call fcn.10001537
cmp edi, esi
je 0x1001c006
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x4c]
call fcn.1001c934
mov eax, dword [ebp - 0x50]
call fcn.10031d03
ret

Function at 0x1001c017
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
sub esp, 0x42c
lea ebp, [esp - 4]
mov eax, dword [0x10081730]
xor eax, ebp
mov dword [ebp + 0x42c], eax
push 8
mov eax, 0x1005bc06
call fcn.10031c17
mov ebx, dword [ebp + 0x438]
xor esi, esi
mov edi, 0x206
push edi
lea eax, [ebp + 0x1e]
push esi
push eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
mov word [ebp + 0x1c], si
call fcn.10031d30
push edi
lea eax, [ebp + 0x226]
push esi
push eax
mov word [ebp + 0x224], si
call fcn.10031d30
add esp, 0x18
push 0x104
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push esi
push esi
push esi
lea eax, [ebp + 0x224]
push eax
lea eax, [ebp + 0x1c]
push eax
call fcn.1003314f
add esp, 0x14
push esi
lea ecx, [ebp]
mov dword [ebp + 0x18], 7
call fcn.100011bf
lea eax, [ebp + 0x224]
push eax
lea ecx, [ebp]
mov dword [ebp - 4], esi
call fcn.10004b00
push 0x100606f0
lea ecx, [ebp]
call fcn.10004b00
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
jae 0x1001c0d5
lea eax, [ebp + 4]
push esi
push esi
push esi
push esi
lea ecx, [ebp - 0x14]
push ecx
push esi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
xor edi, edi
inc edi
cmp eax, edi
jne 0x1001c101
push dword [ebp - 0x14]
push 0x100711c0
push ebx
call fcn.10007397
add esp, 0xc
mov dword [ebp - 0x10], edi
push esi
push edi
lea ecx, [ebp]
call fcn.1000131a
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x42c]
xor ecx, ebp
call fcn.10031c08
add ebp, 0x430
leave
ret
Function at 0x1001c131
Capabilities:
Get disk information

Disassembly:
push ebp
sub esp, 0x3ac
lea ebp, [esp - 4]
mov eax, dword [0x10081730]
xor eax, ebp
mov dword [ebp + 0x3ac], eax
push 0x34
mov eax, 0x1005bc3e
call fcn.10031c17
mov ecx, dword [ebp + 0x3b8]
mov dword [ebp - 0x20], ecx
call fcn.1000a886
xor ebx, ebx
push 0x1fe
lea eax, [ebp + 0x1e]
push ebx
push eax
mov word [ebp + 0x1c], bx
call fcn.10031d30
mov esi, 0xc6
push esi
lea eax, [ebp + 0x2e6]
push ebx
push eax
mov word [ebp + 0x2e4], bx
call fcn.10031d30
push esi
lea eax, [ebp + 0x21e]
push ebx
push eax
mov word [ebp + 0x21c], bx
call fcn.10031d30
add esp, 0x24
push ebx
lea ecx, [ebp]
mov dword [ebp - 0x1c], ebx
mov dword [ebp + 0x18], 7
call fcn.100011bf
lea eax, [ebp + 0x1c]
push eax
push 0x100
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
cmp word [ebp + 0x1c], bx
je 0x1001c2c9
mov esi, dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
add dword [ebp - 0x10], 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 2
mov edi, dword [ebp - 0x14]
add dword [ebp - 0x14], 8
push 0xc8
lea eax, [ebp + 0x2e4]
push ebx
push eax
call fcn.10031d30
push 0xc8
lea eax, [ebp + 0x21c]
push ebx
push eax
call fcn.10031d30
push 4
lea eax, [ebp - 0x24]
push ebx
push eax
call fcn.10031d30
add esp, 0x24
push edi
call esi
push edi
call esi
cmp eax, 3
jne 0x1001c2b4
push edi
call esi
mov eax, 0x400
push eax
lea ecx, [ebp + 0x21c]
push ecx
push ebx
push ebx
lea ecx, [ebp - 0x1c]
push ecx
push eax
lea eax, [ebp + 0x2e4]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
push edi
call fcn.1003175e
test eax, eax
pop ecx
jbe 0x1001c2b4
push dword [ebp - 0x1c]
lea eax, [ebp]
push 0x100711c0
push eax
call fcn.10007397
add esp, 0xc
push edi
lea ecx, [ebp - 0x40]
call fcn.10001681
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x40]
push eax
mov byte [ebp - 4], 1
call fcn.1000b3a3
push 0xffffffffffffffff
push ebx
lea ecx, [ebp]
push ecx
mov ecx, eax
call fcn.10001537
push ebx
push 1
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], bl
call fcn.1000131a
dec dword [ebp - 0x18]
jne 0x1001c1f6
mov eax, dword [ebp - 0x10]
cmp word [eax], bx
jne 0x1001c1e5
push ebx
push 1
lea ecx, [ebp]
call fcn.1000131a
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x3ac]
xor ecx, ebp
call fcn.10031c08
add ebp, 0x3b0
leave
ret
Function at 0x1001c2fa
Capabilities:
Get disk information via ioctl

Disassembly:
push ebp
lea ebp, [esp - 0x3dc]
sub esp, 0x45c
mov eax, dword [0x10081730]
xor eax, ebp
mov dword [ebp + 0x3d8], eax
mov eax, dword [ebp + 0x3ec]
push ebx
push str.Floppy
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrW]
test eax, eax
mov eax, dword [ebp + 0x3e8]
setne cl
dec eax
dec eax
push 0
pop ebx
je 0x1001c351
dec eax
je 0x1001c35c
dec eax
dec eax
je 0x1001c348
xor eax, eax
jmp 0x1001c489
mov dword [ebp - 0x64], 0x10072da0
jmp 0x1001c363
cmp cl, bl
mov dword [ebp - 0x64], 0x10072db0
jne 0x1001c363
mov dword [ebp - 0x64], 0x10072d90
push 0x12
push ebx
push ebx
push dword [ebp - 0x64]
call dword [sym.imp.SETUPAPI.dll_SetupDiGetClassDevsW]
cmp eax, 0xffffffff
mov dword [ebp - 0x68], eax
je 0x1001c341
push esi
mov esi, dword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInterfaces]
push edi
lea ecx, [ebp - 0x44]
push ecx
push ebx
push dword [ebp - 0x64]
mov dword [ebp - 0x70], ebx
push ebx
mov dword [ebp - 0x44], 0x1c
push eax
jmp 0x1001c45d
mov edi, dword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceInterfaceDetailW]
push ebx
lea eax, [ebp - 0x6c]
push eax
push ebx
push ebx
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x68]
mov dword [ebp - 0x6c], ebx
call edi
cmp dword [ebp - 0x6c], ebx
je 0x1001c44c
cmp dword [ebp - 0x6c], 0x400
ja 0x1001c44c
push 0x1c
lea eax, [ebp - 0x60]
push ebx
push eax
mov dword [ebp - 0x28], 6
call fcn.10031d30
add esp, 0xc
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x6c]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x68]
mov dword [ebp - 0x60], 0x1c
call edi
test eax, eax
je 0x1001c44c
push ebx
push ebx
push 3
push ebx
push 3
push ebx
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x1001c44c
push ebx
lea eax, [ebp - 0x74]
push eax
push 0xc
lea eax, [ebp - 0x80]
push eax
push ebx
push ebx
push 0x2d1080
push edi
mov dword [ebp - 0x74], ebx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x1001c445
mov eax, dword [ebp + 0x3e4]
cmp eax, dword [ebp - 0x7c]
je 0x1001c474
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc dword [ebp - 0x70]
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x70]
push dword [ebp - 0x64]
push ebx
push dword [ebp - 0x68]
call esi
test eax, eax
jne 0x1001c399
push dword [ebp - 0x68]
call dword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
xor eax, eax
jmp 0x1001c487
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x68]
call dword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
mov eax, dword [ebp - 0x4c]
pop edi
pop esi
mov ecx, dword [ebp + 0x3d8]
xor ecx, ebp
pop ebx
call fcn.10031c08
add ebp, 0x3dc
leave
ret 0xc
Function at 0x1001c629
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x10081730]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push str.kernel32.dll
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xor ebx, ebx
cmp eax, ebx
je 0x1001c73d
push str.GetVolumeNameForVolumeMountPointW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
mov dword [ebp - 0x21c], eax
je 0x1001c73d
push edi
xor eax, eax
mov word [ebp - 0xc], bx
lea edi, [ebp - 0xa]
stosd dword es:[edi], eax
push 0x100711d8
stosw word es:[edi], ax
push 4
lea eax, [ebp - 0xc]
push eax
call fcn.10005880
mov dword [esi], ebx
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [ebp - 0x218], eax
test byte [ebp - 0x218], 1
je 0x1001c72c
and word [ebp - 0x214], 0
lea eax, [ebx + 0x41]
push 0x206
mov word [ebp - 0xc], ax
lea eax, [ebp - 0x212]
push 0
push eax
call fcn.10031d30
add esp, 0xc
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov edi, eax
cmp edi, 2
je 0x1001c6e2
cmp edi, 3
jne 0x1001c72c
push 0x104
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0xc]
push eax
call dword [ebp - 0x21c]
cmp eax, 1
jne 0x1001c72c
mov eax, dword [esi]
mov cx, word [ebp - 0xc]
imul eax, eax, 0xc
mov word [eax + esi + 4], cx
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.SHLWAPI.dll_StrDupW]
mov ecx, dword [esi]
imul ecx, ecx, 0xc
mov dword [ecx + esi + 8], eax
mov eax, dword [esi]
inc eax
imul eax, eax, 0xc
mov dword [eax + esi], edi
inc dword [esi]
shr dword [ebp - 0x218], 1
inc ebx
cmp ebx, 0x1a
jl 0x1001c69a
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.10031c08
leave
ret
Function at 0x1001c74b
Capabilities:
Get disk information
Get disk information via ioctl

Disassembly:
push ebp
lea ebp, [esp - 0x3d8]
sub esp, 0x458
mov eax, dword [0x10081730]
xor eax, ebp
mov dword [ebp + 0x3d4], eax
push esi
push edi
mov eax, dword [ebp + 0x3e0]
movzx eax, word [eax]
mov esi, 0x1007121c
lea edi, [ebp + 0x3cc]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov esi, str..X:
lea edi, [ebp + 0x3b4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
xor esi, esi
push esi
push esi
mov dword [ebp - 0x74], ecx
mov ecx, dword [ebp + 0x3e4]
push 3
mov dword [ebp - 0x68], ecx
mov ecx, dword [0x10071204]
push esi
mov dword [ebp + 0x3c4], ecx
mov ecx, dword [0x10071208]
push 3
mov word [ebp + 0x3c4], ax
mov word [ebp + 0x3cc], ax
mov word [ebp + 0x3bc], ax
push esi
lea eax, [ebp + 0x3b4]
push eax
mov dword [ebp + 0x3c8], ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x1001c7ed
xor eax, eax
jmp 0x1001c8cd
push esi
lea eax, [ebp - 0x6c]
push eax
push 0xc
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push 0x2d1080
push edi
mov dword [ebp - 0x60], 1
mov dword [ebp - 0x6c], esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x1001c81a
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x60], eax
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x60], 0xffffffff
je 0x1001c7e6
push ebx
lea eax, [ebp + 0x3c4]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov ebx, 0x206
push ebx
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x5a]
push esi
push eax
mov word [ebp - 0x5c], si
call fcn.10031d30
add esp, 0xc
mov edi, 0x104
push edi
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp + 0x3cc]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x1001c8cc
mov ecx, dword [ebp - 0x74]
lea eax, [ebp - 0x5c]
push eax
push dword [ebp - 0x70]
push dword [ebp - 0x60]
call fcn.1001c2fa
push esi
push eax
lea eax, [ebp - 0x64]
push eax
mov dword [ebp - 0x64], esi
call dword [sym.imp.SETUPAPI.dll_CM_Get_Parent]
push ebx
lea eax, [ebp + 0x1ae]
push esi
push eax
mov word [ebp + 0x1ac], si
call fcn.10031d30
add esp, 0xc
push esi
push 0x208
lea eax, [ebp + 0x1ac]
push eax
push dword [ebp - 0x64]
call dword [sym.imp.SETUPAPI.dll_CM_Get_Device_IDW]
lea eax, [ebp + 0x1ac]
push eax
push edi
push dword [ebp - 0x68]
call fcn.10005880
xor eax, eax
inc eax
pop ebx
mov ecx, dword [ebp + 0x3d4]
pop edi
xor ecx, ebp
pop esi
call fcn.10031c08
add ebp, 0x3d8
leave
ret 8
Function at 0x1001d456
Capabilities:
Check if file exists

Disassembly:
push ebp
sub esp, 0x278
lea ebp, [esp - 4]
mov eax, dword [0x10081730]
xor eax, ebp
mov dword [ebp + 0x278], eax
push 0x10
mov eax, 0x1005be01
call fcn.10031c17
mov eax, dword [ebp + 0x284]
push 7
pop ebx
xor esi, esi
mov edi, ecx
push esi
lea ecx, [ebp]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], esi
mov dword [ebp + 0x18], ebx
call fcn.100011bf
mov ecx, edi
mov dword [ebp - 4], esi
call fcn.1001c629
push esi
lea ecx, [ebp + 0x1c]
mov dword [ebp + 0x34], ebx
call fcn.100011bf
push 0x206
lea eax, [ebp + 0x72]
push esi
push eax
mov word [ebp + 0x70], si
call fcn.10031d30
add esp, 0xc
push esi
lea ecx, [ebp + 0x38]
mov dword [ebp + 0x50], ebx
call fcn.100011bf
cmp dword [edi], esi
mov byte [ebp - 4], 2
mov dword [ebp - 0x14], esi
jle 0x1001d5a2
lea eax, [edi + 4]
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0x70]
push eax
push dword [ebp - 0x10]
mov ecx, edi
call fcn.1001c74b
lea eax, [ebp + 0x70]
push eax
lea ecx, [ebp + 0x1c]
call fcn.10001664
push esi
push 0x10071240
lea ecx, [ebp + 0x1c]
call fcn.10006efd
cmp eax, 0xffffffff
je 0x1001d590
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
push esi
lea ecx, [ebp + 0x54]
mov dword [ebp - 0x1c], eax
mov dword [ebp + 0x6c], ebx
call fcn.100011bf
push dword [ebp - 0x1c]
lea ecx, [ebp + 0x54]
push 1
mov byte [ebp - 4], 3
call fcn.1001c950
push 0x1007124c
lea ecx, [ebp + 0x54]
call fcn.10004b00
cmp dword [ebp + 0x6c], 8
mov eax, dword [ebp + 0x58]
jae 0x1001d552
lea eax, [ebp + 0x58]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
lea ecx, [ebp + 0x38]
jne 0x1001d568
push 0x10070ad0
jmp 0x1001d56d
push 0x10071248
call fcn.10001664
lea eax, [ebp + 0x38]
push eax
lea eax, [ebp + 0x1c]
push eax
mov ecx, edi
call fcn.1001cfc4
push esi
push 1
lea ecx, [ebp + 0x54]
mov byte [ebp - 4], 2
call fcn.1000131a
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
add dword [ebp - 0x10], 0xc
cmp eax, dword [edi]
jl 0x1001d4e6
lea ebx, [edi + 0x168]
mov ecx, ebx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
call fcn.1001c4a1
test eax, eax
jbe 0x1001d605
cmp dword [edi + 0x150], esi
jbe 0x1001d5d1
push 0x10070a2c
lea ecx, [edi + 0x13c]
call fcn.10004b00
push dword [ebp - 0x10]
mov ecx, ebx
call fcn.1001c4b7
push 0xffffffffffffffff
add eax, 0x1c
push esi
push eax
lea ecx, [edi + 0x13c]
call fcn.100049b8
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 3
je 0x1001d605
inc dword [ebp - 0x10]
mov ecx, ebx
call fcn.1001c4a1
cmp dword [ebp - 0x10], eax
jb 0x1001d5b9
mov ecx, dword [ebp - 0x18]
add edi, 0x13c
push edi
call fcn.1000163e
push esi
push 1
lea ecx, [ebp + 0x38]
call fcn.1000131a
push esi
push 1
lea ecx, [ebp + 0x1c]
call fcn.1000131a
push esi
push 1
lea ecx, [ebp]
call fcn.1000131a
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x278]
xor ecx, ebp
call fcn.10031c08
add ebp, 0x27c
leave
ret 4
Function at 0x1001d789
Capabilities:
Get common file path

Disassembly:
push 0x308
mov eax, 0x1005be3f
call fcn.10031c80
mov edi, fcn.100014cc
push edi
push fcn.10001dc7
push 9
push 0x1c
lea eax, [ebp - 0x314]
push eax
call fcn.10033d38
xor ebx, ebx
push 0x206
lea eax, [ebp - 0x216]
push ebx
push eax
mov dword [ebp - 4], ebx
mov word [ebp - 0x218], bx
call fcn.10031d30
add esp, 0xc
push 0x208
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 3
lea eax, [ebp - 0x218]
push eax
mov esi, 0x104
push esi
push eax
call fcn.1001d67a
call fcn.1002dd76
cmp eax, 1
lea eax, [ebp - 0x218]
jne 0x1001d812
push str.Program_Files__x86_
jmp 0x1001d817
push str.Program_Files
push eax
push 0x100606d8
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.10004701
add esp, 0x14
mov esi, str.INCAInternet_nProtect_Netizen_v5.5
push esi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x314]
push str._s_s_npenksvc5.exe
push eax
call fcn.10007397
push esi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x2f8]
push str._s_s_npUpdate.exe
push eax
call fcn.10007397
push str.INCAInternet_Uninstall_nProtect_Netizen_v5.5
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x2dc]
push str._s_s_npenUninstall5.exe
push eax
call fcn.10007397
mov eax, dword [ebp - 0x310]
add esp, 0x30
cmp dword [ebp - 0x2fc], 8
jae 0x1001d899
lea eax, [ebp - 0x310]
push ebx
push eax
call fcn.10032ebb
test eax, eax
pop ecx
pop ecx
jne 0x1001d8ed
cmp dword [ebp - 0x2e0], 8
mov eax, dword [ebp - 0x2f4]
jae 0x1001d8bb
lea eax, [ebp - 0x2f4]
push ebx
push eax
call fcn.10032ebb
test eax, eax
pop ecx
pop ecx
jne 0x1001d8ed
cmp dword [ebp - 0x2c4], 8
mov eax, dword [ebp - 0x2d8]
jae 0x1001d8dd
lea eax, [ebp - 0x2d8]
push ebx
push eax
call fcn.10032ebb
test eax, eax
pop ecx
pop ecx
jne 0x1001d8ed
xor ebx, ebx
inc ebx
or dword [ebp - 4], 0xffffffff
push edi
push 9
push 0x1c
lea eax, [ebp - 0x314]
push eax
call fcn.10033b03
mov eax, ebx
call fcn.10031d03
ret
Function at 0x1001de08
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x240
lea ebp, [esp - 4]
mov eax, dword [0x10081730]
xor eax, ebp
mov dword [ebp + 0x240], eax
push 8
mov eax, 0x1005beb5
call fcn.10031c17
mov eax, dword [ebp + 0x24c]
mov edi, dword [ebp + 0x250]
xor esi, esi
push 0x206
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0x3a]
push esi
push eax
mov dword [ebp - 0x14], esi
mov word [ebp + 0x38], si
call fcn.10031d30
add esp, 0xc
call fcn.10008630
cmp eax, 1
jne 0x1001de8c
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp eax, esi
je 0x1001de9b
push str.GetSystemWow64DirectoryW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, esi
je 0x1001de9b
push 0x208
lea ecx, [ebp + 0x38]
push ecx
call eax
jmp 0x1001de9b
push 0x208
lea eax, [ebp + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 7
pop ebx
push esi
lea ecx, [ebp]
mov dword [ebp + 0x18], ebx
call fcn.100011bf
cmp dword [edi + 0x18], 8
mov dword [ebp - 4], esi
jb 0x1001deb8
mov edi, dword [edi + 4]
jmp 0x1001debb
add edi, 4
push edi
lea eax, [ebp + 0x38]
push eax
lea eax, [ebp]
push str._s_s
push eax
call fcn.10007397
add esp, 0x10
push esi
lea ecx, [ebp + 0x1c]
mov dword [ebp + 0x34], ebx
call fcn.100011bf
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
mov byte [ebp - 4], 1
jae 0x1001deed
lea eax, [ebp + 4]
push esi
push eax
call fcn.10032ebb
pop ecx
test eax, eax
pop ecx
lea eax, [ebp + 0x1c]
je 0x1001df01
push 1
jmp 0x1001df03
push 2
push str._02d
push eax
call fcn.10007397
mov ecx, dword [ebp - 0x10]
add esp, 0xc
lea eax, [ebp + 0x1c]
push eax
call fcn.1000163e
push esi
push 1
lea ecx, [ebp + 0x1c]
call fcn.1000131a
push esi
push 1
lea ecx, [ebp]
call fcn.1000131a
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x240]
xor ecx, ebp
call fcn.10031c08
add ebp, 0x244
leave
ret
Function at 0x1001df59
Capabilities:
Check mutex on windows

Disassembly:
push 0x28
mov eax, 0x1005bee5
call fcn.10031c80
mov edi, dword [ebp + 8]
xor esi, esi
push esi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x14], 7
call fcn.100011bf
push dword [ebp + 0xc]
mov dword [ebp - 4], esi
call fcn.1001d90a
test eax, eax
pop ecx
je 0x1001e09a
push str.DanuWel
push 1
push esi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call ebx
cmp eax, 0xb7
je 0x1001e05d
call ebx
cmp eax, 5
je 0x1001e05d
mov esi, dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push edi
call esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push str.INCASG
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp - 0x30], eax
call ebx
cmp eax, 0xb7
je 0x1001e030
call ebx
cmp eax, 5
je 0x1001e030
push dword [ebp - 0x30]
call esi
push dword [ebp - 0x30]
call edi
push str.npenkMain5
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp - 0x30], eax
call ebx
cmp eax, 0xb7
je 0x1001e030
call ebx
cmp eax, 5
je 0x1001e030
push dword [ebp - 0x30]
call esi
push dword [ebp - 0x30]
call edi
push 2
jmp 0x1001e03c
push dword [ebp - 0x30]
call esi
push dword [ebp - 0x30]
call edi
push 3
lea eax, [ebp - 0x2c]
push str._02d
push eax
call fcn.10007397
mov ecx, dword [ebp - 0x34]
add esp, 0xc
lea eax, [ebp - 0x2c]
push eax
call fcn.1000163e
push 0
jmp 0x1001e08b
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 3
lea eax, [ebp - 0x2c]
push str._02d
push eax
call fcn.10007397
mov ecx, dword [ebp - 0x34]
add esp, 0xc
lea eax, [ebp - 0x2c]
push eax
call fcn.1000163e
push esi
push 1
lea ecx, [ebp - 0x2c]
call fcn.1000131a
mov eax, dword [ebp - 0x34]
jmp 0x1001e0c5
push 1
lea eax, [ebp - 0x2c]
push str._02d
push eax
call fcn.10007397
add esp, 0xc
lea eax, [ebp - 0x2c]
push eax
mov ecx, edi
call fcn.1000163e
push esi
push 1
lea ecx, [ebp - 0x2c]
call fcn.1000131a
mov eax, edi
call fcn.10031d03
ret