joyce8/EMBER2024-capa huggingface dataset:
Function at 0x17cb3cc0
Capabilities:
Get disk information
Get disk size

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x17d29168]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
xor ecx, ecx
xor eax, eax
lea edi, [ebp - 0x1c]
mov dword [ebp - 0x20], ecx
stosd dword es:[edi], eax
lea edi, [ebp - 0x24]
mov dword [ebp - 0x28], ecx
stosd dword es:[edi], eax
mov dword [ebp - 0x18], 1
cmp esi, ecx
jne 0x17cb3d22
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17cb3d18
test byte [eax + 0x1c], 1
je 0x17cb3d18
push 0x17c92b24
push 0x15
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.17c9f43a
mov eax, 0x80070057
jmp 0x17cb3eb3
push ebx
lea eax, [ebp - 0x18]
push eax
push 0x17c9260c
push 0x17c91f84
mov dword [esi], ecx
mov dword [esi + 4], ecx
call fcn.17ca220b
mov ebx, eax
test ebx, ebx
jge 0x17cb3d73
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17cb3eb0
test byte [eax + 0x1c], 1
je 0x17cb3eb0
push ebx
push 0x17c92b24
push 0x16
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.17ca2c24
jmp 0x17cb3eb0
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [ebp - 0x2c], eax
test eax, eax
jne 0x17cb3dab
call fcn.17ce51cd
mov ebx, eax
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17cb3eb0
test byte [eax + 0x1c], 2
je 0x17cb3eb0
push ebx
push 0x17c92b24
push 0x17
jmp 0x17cb3d63
mov dword [ebp - 0x10], 0x41
mov dword [ebp - 0x14], 0x1a
mov edi, 0x17c92b24
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x2c]
add ecx, 0xffffffbf
shr eax, cl
test al, 1
je 0x17cb3ea4
push dword [ebp - 0x10]
lea eax, [ebp - 0xc]
push 0x17c92b34
push 4
push eax
call fcn.17cb3c61
mov ebx, eax
add esp, 0x10
test ebx, ebx
jge 0x17cb3e1b
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17cb3ea4
test byte [eax + 0x1c], 2
je 0x17cb3ea4
push ebx
push edi
push 0x18
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.17ca2c24
jmp 0x17cb3ea4
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
sub eax, 0
je 0x17cb3ea4
dec eax
je 0x17cb3ea4
dec eax
je 0x17cb3e3e
dec eax
je 0x17cb3e44
dec eax
je 0x17cb3ea4
dec eax
je 0x17cb3e3e
dec eax
je 0x17cb3e44
jmp 0x17cb3ea4
cmp dword [ebp - 0x18], 0
jne 0x17cb3ea4
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x20]
push eax
push 0
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x17cb3e6f
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x1c]
sbb ecx, dword [ebp - 0x24]
add dword [esi], eax
adc dword [esi + 4], ecx
jmp 0x17cb3ea4
call fcn.17ce51cd
cmp eax, 0x80070015
je 0x17cb3ea2
mov ecx, dword [0x17d26008]
cmp ecx, 0x17d26008
je 0x17cb3ea2
test byte [ecx + 0x1c], 2
je 0x17cb3ea2
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push 0x19
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.17ca2bb0
xor ebx, ebx
inc dword [ebp - 0x10]
dec dword [ebp - 0x14]
jne 0x17cb3dbe
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.17ce4923
leave
ret 4
Function at 0x17cc1b1d
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0xffffffff
push esi
mov esi, ecx
jbe 0x17cc1b3a
push 0x800705b6
call fcn.17ce54ec
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x24]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x17cc1b97
push edi
call fcn.17ce51cd
mov edi, eax
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17cc1b8f
test byte [eax + 0x1c], 1
je 0x17cc1b8f
cmp dword [esi + 0x20], 8
jb 0x17cc1b78
mov esi, dword [esi + 0xc]
jmp 0x17cc1b7b
add esi, 0xc
push edi
push esi
push 0x17c93050
push 0x18
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.17ca2bb0
test edi, edi
jge 0x17cc1b96
push edi
jmp 0x17cc1b35
pop edi
pop esi
leave
ret 8

Function at 0x17cc1c98
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
push esi
mov esi, ecx
mov eax, dword [esi]
push edi
cmp eax, 0xffffffff
jne 0x17cc1d0f
cmp dword [esi + 0x1c], 8
jb 0x17cc1cb7
mov eax, dword [esi + 8]
jmp 0x17cc1cba
lea eax, [esi + 8]
lea edi, [esi + 0x20]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esi], eax
cmp eax, 0xffffffff
jne 0x17cc1d61
call fcn.17ce51cd
mov ecx, dword [0x17d26008]
cmp ecx, 0x17d26008
je 0x17cc1d0b
test byte [ecx + 0x1c], 1
je 0x17cc1d0b
cmp dword [esi + 0x1c], 8
jb 0x17cc1cf4
mov esi, dword [esi + 8]
jmp 0x17cc1cf7
add esi, 8
push eax
push esi
push 0x17c93050
push 0x22
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.17ca2bb0
xor eax, eax
jmp 0x17cc1d68
lea edi, [esi + 0x20]
push edi
push eax
call ebx
test eax, eax
jne 0x17cc1d61
call fcn.17ce51cd
mov esi, eax
cmp esi, 0x80070012
je 0x17cc1d0b
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17cc1d4e
test byte [eax + 0x1c], 1
je 0x17cc1d4e
push esi
push 0x17c93050
push 0x23
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.17ca2c24
test esi, esi
jge 0x17cc1d0b
push esi
call fcn.17ce54ec
push edi
push dword [esi]
call ebx
test eax, eax
je 0x17cc1d6c
test byte [edi], 0x10
jne 0x17cc1d58
mov eax, edi
pop edi
pop esi
pop ebx
ret
call fcn.17ce51cd
mov esi, eax
cmp esi, 0x80070012
je 0x17cc1d0b
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17cc1d4e
test byte [eax + 0x1c], 1
je 0x17cc1d4e
push esi
push 0x17c93050
push 0x24
jmp 0x17cc1d43
Function at 0x17cc2153
Capabilities:
Get file size

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
or dword [ebp - 4], 0xffffffff
push esi
mov esi, eax
lea eax, [ebp - 4]
push eax
push 3
push 3
push 0x80000000
push dword [ebp + 8]
call fcn.17cc20ed
mov dword [ebp - 0xc], eax
test eax, eax
jge 0x17cc2195
cmp dword [ebp - 4], 0xffffffff
je 0x17cc218d
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0xc]
jmp 0x17cc222d
and dword [ebp - 8], 0
push ebx
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x17cc2201
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x17cc2201
jle 0x17cc21c4
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17cc21ee
test byte [eax + 0x1c], 1
je 0x17cc21ee
push esi
push dword [ebp + 8]
push 0x17c93050
push 0x1b
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.17ca2bb0
cmp dword [ebp - 4], 0xffffffff
je 0x17cc21fd
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x17cc222c
push 1
push 0
push 0
push dword [ebp - 8]
call fcn.17ce49d0
xor ecx, ecx
add eax, ebx
adc edx, ecx
cmp dword [ebp - 4], 0xffffffff
mov dword [esi], eax
mov dword [esi + 4], edx
je 0x17cc2229
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0xc]
pop ebx
pop esi
leave
ret 4
Function at 0x17cc63f0
Capabilities:
Create process on windows

Disassembly:
push 0x60
mov eax, 0x17d11da2
call fcn.17ce4b83
mov esi, ecx
push 0x44
pop edi
push edi
xor ebx, ebx
lea eax, [ebp - 0x6c]
push ebx
push eax
call sub.msvcrt.dll_memset
mov dword [ebp - 0x6c], edi
xor eax, eax
lea edi, [ebp - 0x28]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], ebx
mov eax, dword [esi + 0x394]
push dword [eax]
lea eax, [ebp - 0x10]
push 0x17c937a8
push eax
mov dword [ebp - 4], ebx
call fcn.17c9f12f
mov edi, eax
add esp, 0x18
cmp edi, ebx
jge 0x17cc646d
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17cc6467
test byte [eax + 0x1c], 1
je 0x17cc6467
push edi
push 0x17c93770
push 0x10
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.17ca2c24
push edi
call fcn.17ce54ec
cmp dword [esi + 0x3c], 8
jb 0x17cc6478
mov eax, dword [esi + 0x28]
jmp 0x17cc647b
lea eax, [esi + 0x28]
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x6c]
push ecx
push ebx
push ebx
push 0x4000020
push 1
push ebx
push ebx
push dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ebx, 0x17d26008
mov edi, 0x17c93770
test eax, eax
jne 0x17cc64f3
call fcn.17ce51cd
mov dword [ebp - 0x14], eax
mov eax, dword [0x17d26008]
cmp eax, ebx
je 0x17cc64e5
test byte [eax + 0x1c], 1
je 0x17cc64e5
cmp dword [esi + 0x3c], 8
jb 0x17cc64c8
mov ecx, dword [esi + 0x28]
jmp 0x17cc64cb
lea ecx, [esi + 0x28]
push dword [ebp - 0x14]
push dword [ebp - 0x10]
push ecx
push edi
push 0x11
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.17cc5a82
mov eax, dword [0x17d26008]
cmp dword [ebp - 0x14], 0
jge 0x17cc64f8
push dword [ebp - 0x14]
jmp 0x17cc6468
mov eax, dword [0x17d26008]
cmp eax, ebx
je 0x17cc6522
test byte [eax + 0x1c], 4
je 0x17cc6522
cmp dword [esi + 0x3c], 8
jb 0x17cc650d
mov ecx, dword [esi + 0x28]
jmp 0x17cc6510
lea ecx, [esi + 0x28]
push dword [ebp - 0x10]
push ecx
push edi
push 0x12
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.17cc59ba
cmp dword [ebp - 0x28], 0
mov dword [esi + 0x5c], 1
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x17cc653a
push dword [ebp - 0x28]
call esi
cmp dword [ebp - 0x24], 0
je 0x17cc6545
push dword [ebp - 0x24]
call esi
cmp dword [ebp - 0x10], 0
je 0x17cc6553
push dword [ebp - 0x10]
call fcn.17d06bf2
call fcn.17ce4c6f
ret
Function at 0x17cc67e1
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x17d29168]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x220], eax
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
xor ebx, ebx
lea eax, [ebp - 0x20a]
mov esi, edx
push ebx
push eax
mov edi, ecx
mov dword [ebp - 0x21c], esi
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x218]
push eax
push ebx
push esi
push edi
mov dword [ebp - 0x218], ebx
mov dword [ebp - 0x214], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, 0x17d26008
mov edi, 0x17c93770
test eax, eax
je 0x17cc68b0
call fcn.17ce51cd
mov dword [ebp - 0x210], eax
mov eax, dword [0x17d26008]
cmp eax, ebx
je 0x17cc689c
test byte [eax + 0x1c], 1
je 0x17cc689c
push dword [ebp - 0x210]
push esi
push edi
push 0x1f
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.17ca2bb0
mov eax, dword [0x17d26008]
cmp dword [ebp - 0x210], 0
jge 0x17cc68b5
push dword [ebp - 0x210]
call fcn.17ce54ec
mov eax, dword [0x17d26008]
cmp dword [ebp - 0x218], 1
je 0x17cc68e5
mov esi, 0x8007000d
cmp eax, ebx
je 0x17cc68e2
test byte [eax + 0x1c], 1
je 0x17cc68e2
push esi
push dword [ebp - 0x21c]
push edi
push 0x20
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.17ca2bb0
push esi
jmp 0x17cc68ab
mov ecx, dword [ebp - 0x214]
cmp ecx, 4
jb 0x17cc68fd
shr ecx, 1
cmp word [ebp + ecx*2 - 0x20e], 0
je 0x17cc6918
mov esi, 0x8007000d
cmp eax, ebx
je 0x17cc68e2
test byte [eax + 0x1c], 1
je 0x17cc68e2
push esi
push dword [ebp - 0x21c]
push edi
push 0x21
jmp 0x17cc68d7
mov ecx, dword [ebp - 0x220]
lea eax, [ebp - 0x20c]
push eax
call fcn.17cc29f1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.17ce4923
leave
ret 4

Function at 0x17cc834e
Capabilities:
Compare security identifiers

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push dword [eax]
mov eax, dword [ebp + 8]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
setne al
pop ebp
ret 8
Function at 0x17cd232b
Capabilities:
Query service status

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
xor esi, esi
push 0x80000000
push esi
push esi
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
cmp ebx, esi
je 0x17cd238a
push edi
push 4
push 0x17c947b4
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
cmp edi, esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
je 0x17cd2386
lea eax, [ebp - 0x20]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x17cd2383
xor eax, eax
cmp dword [ebp - 0x1c], 4
sete al
mov dword [ebp - 4], eax
push edi
call esi
push ebx
call esi
pop edi
mov eax, dword [ebp - 4]
pop esi
pop ebx
leave
ret

Function at 0x17ce5ef4
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
mov edi, dword [ebp + 0xc]
push 0
lea ecx, [ebp + 0xc]
push ecx
push edi
mov dword [ebp + 0x10], eax
push eax
jmp 0x17ce5f32
mov eax, dword [ebp + 0xc]
cmp eax, edi
je 0x17ce5f7a
test eax, eax
je 0x17ce5f48
cmp eax, edi
ja 0x17ce5f48
sub edi, eax
add dword [ebp + 0x10], eax
push 0
lea eax, [ebp + 0xc]
push eax
push edi
push dword [ebp + 0x10]
push dword [ebp + 8]
and dword [ebp + 0xc], 0
call esi
test eax, eax
jne 0x17ce5f14
call fcn.17ce51cd
mov esi, eax
jmp 0x17ce5f4d
mov esi, 0x8000ffff
test esi, esi
jge 0x17ce5f7a
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17ce5f76
test byte [eax + 0x1c], 1
je 0x17ce5f76
push esi
push 0x17c955f0
push 0x29
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.17ca2c24
mov eax, esi
jmp 0x17ce5f7c
xor eax, eax
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x17ce6189
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.msvcrt.dll__beginthreadex]
mov ecx, dword [ebp + 8]
add esp, 0x18
mov dword [ecx], eax
test eax, eax
je 0x17ce61ec
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17ce61dc
test byte [eax + 0x1c], 4
je 0x17ce61dc
push 0x17c955f0
push 0x2f
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.17c9f43a
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x17ce61e8
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
xor eax, eax
jmp 0x17ce624d
push esi
mov esi, 0x80004005
call dword [sym.imp.msvcrt.dll__errno]
mov eax, dword [eax]
sub eax, 0xb
je 0x17ce6218
dec eax
je 0x17ce620a
dec eax
je 0x17ce6211
sub eax, 9
jne 0x17ce621d
mov esi, 0x8007000e
jmp 0x17ce621d
mov esi, 0x80070005
jmp 0x17ce621d
mov esi, 0x8007009b
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17ce6242
test byte [eax + 0x1c], 1
je 0x17ce6242
push esi
push 0x17c955f0
push 0x30
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.17ca2c24
test esi, esi
jge 0x17ce624a
mov eax, esi
jmp 0x17ce624c
xor eax, eax
pop esi
leave
ret 0x1c
Function at 0x17ce6398
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x17ce63e8
push esi
call fcn.17ce51cd
mov esi, eax
cmp esi, 0x80070002
je 0x17ce63e3
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17ce63e3
test byte [eax + 0x1c], 1
je 0x17ce63e3
push esi
push dword [ebp + 8]
push 0x17c955f0
push 0x35
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.17ca2bb0
mov eax, esi
pop esi
jmp 0x17ce641c
test al, 0x10
je 0x17ce641a
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17ce6413
test byte [eax + 0x1c], 1
je 0x17ce6413
push dword [ebp + 8]
push 0x17c955f0
push 0x36
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.17ca8223
mov eax, 0x800700b7
jmp 0x17ce641c
xor eax, eax
pop ebp
ret 4

Function at 0x17ce691c
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x58
push ebx
push esi
push dword [ebp + 0xc]
lea eax, [ebp - 4]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.17ce7bc7
mov esi, eax
cmp esi, ebx
jge 0x17ce6952
cmp dword [ebp - 4], ebx
je 0x17ce694b
push dword [ebp - 4]
call fcn.17ce425d
pop ecx
mov eax, esi
jmp 0x17ce6a0d
push edi
xor eax, eax
mov dword [ebp - 0x14], ebx
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x40
stosd dword es:[edi], eax
lea eax, [ebp - 0x54]
push ebx
push eax
call sub.msvcrt.dll_memset
mov eax, dword [ebp + 0x14]
add esp, 0xc
mov dword [ebp - 0x58], 0x44
pop edi
cmp eax, ebx
jne 0x17ce697f
lea eax, [ebp - 0x58]
lea ecx, [ebp - 0x14]
push ecx
push eax
push dword [ebp + 0x2c]
xor eax, eax
push dword [ebp + 0x28]
cmp byte [ebp + 0x24], bl
push dword [ebp + 0x10]
setne al
push eax
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp - 4]
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x17ce69e8
call fcn.17ce51cd
mov esi, eax
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17ce693d
test byte [eax + 0x1c], 1
je 0x17ce693d
push esi
push dword [ebp - 4]
push 0x17c955f0
push 0x2e
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.17ca2bb0
jmp 0x17ce693d
cmp dword [ebp - 0x10], ebx
je 0x17ce69f5
push dword [ebp - 0x10]
call fcn.17ce5674
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
cmp dword [ebp - 4], ebx
je 0x17ce6a0b
push dword [ebp - 4]
call fcn.17ce425d
pop ecx
xor eax, eax
pop esi
pop ebx
leave
ret 0x28
Function at 0x17ceedbf
Capabilities:
Create thread

Disassembly:
push 0x20
mov eax, 0x17d1607c
call fcn.17ce4b83
mov esi, ecx
xor edi, edi
cmp esi, edi
jne 0x17ceedd7
xor eax, eax
jmp 0x17ceede1
mov eax, dword [esi + 0x20]
mov eax, dword [eax + 8]
lea eax, [eax + esi + 0x20]
push eax
lea ecx, [ebp - 0x18]
call fcn.17ce863f
lea eax, [ebp - 0x1c]
push eax
push edi
push esi
push 0x17ceebbe
push edi
push edi
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0x34]
cmp eax, dword [ebp - 0x10]
je 0x17ceee21
cmp eax, edi
je 0x17ceee1b
push eax
call ebx
mov dword [esi + 0x34], edi
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x34], eax
cmp dword [esi + 0x34], edi
jne 0x17ceee96
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17ceee59
test byte [eax + 0x1c], 1
je 0x17ceee59
push ecx
push 0x17c97360
push 0x12
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.17ca2c24
mov ecx, dword [ebp - 0x10]
mov eax, dword [esi + 0x38]
mov dword [ebp - 0x14], edi
cmp eax, edi
je 0x17ceee6f
push eax
call ebx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov dword [esi + 0x38], eax
cmp ecx, edi
jle 0x17ceee7f
and ecx, 0xffff
or ecx, 0x80070000
push ecx
lea ecx, [ebp - 0x2c]
call fcn.17ce8fe0
push 0x17d1f788
lea eax, [ebp - 0x2c]
push eax
call sub.msvcrt.dll__CxxThrowException
mov ecx, dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
cmp ecx, edi
je 0x17ceeea6
mov eax, dword [ecx]
call dword [eax + 8]
call fcn.17ce4c6f
ret
Function at 0x17ceefbc
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push 0x1c
mov eax, 0x17d160b4
call fcn.17ce4b83
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 1
mov esi, 0x17c97508
cmp dword [ebp + 8], ebx
jne 0x17cef014
cmp dword [ebp + 0xc], ebx
je 0x17cef014
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17cef009
test dword [eax + 0x1c], 0x100
je 0x17cef009
push esi
push 0xa
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.17c9f43a
push 0x80070057
push ebx
call fcn.17ce92d9
lea eax, [ebp - 0x14]
push eax
push 0x17c97518
push 0x17
push ebx
push 0x17c98858
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
cmp edi, ebx
jge 0x17cef069
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17cef052
test byte [eax + 0x1c], 1
je 0x17cef052
push edi
push esi
push 0xb
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.17ca2c24
push edi
lea ecx, [ebp - 0x28]
call fcn.17ce8fe0
push 0x17d1f788
lea eax, [ebp - 0x28]
push eax
call sub.msvcrt.dll__CxxThrowException
push dword [ebp + 8]
lea ecx, [ebp - 0x18]
call fcn.17ceef85
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x18]
mov byte [ebp - 4], 2
push eax
call dword [ecx + 0xc]
mov edi, eax
cmp edi, ebx
jge 0x17cef0ba
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17cef052
test byte [eax + 0x1c], 1
je 0x17cef052
push edi
push dword [ebp + 8]
push esi
push 0xc
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.17ca2bb0
jmp 0x17cef052
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
push dword [ebp - 0x18]
mov dword [ebp - 0x10], ebx
mov dword [ecx], eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x17cef0de
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x17cef0ef
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call fcn.17ce4c6f
ret 8
Function at 0x17cef810
Capabilities:
Get file version info

Disassembly:
push 0xc8
mov eax, 0x17d161f8
call fcn.17ce4bf6
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc4], eax
lea eax, [ebp - 0xa0]
xor esi, esi
push eax
push ebx
mov dword [ebp - 0x9c], esi
mov dword [ebp - 0x98], esi
mov dword [ebp - 0xa0], esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
cmp edi, esi
jne 0x17cef8a5
call fcn.17ce51cd
mov esi, eax
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17cef888
test byte [eax + 0x1c], 1
je 0x17cef888
push esi
push ebx
push 0x17c97528
push 0x13
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.17ca2bb0
push esi
lea ecx, [ebp - 0xbc]
call fcn.17ce8fe0
push 0x17d1f788
lea eax, [ebp - 0xbc]
push eax
call sub.msvcrt.dll__CxxThrowException
push edi
call fcn.17ce4312
pop ecx
mov dword [ebp - 0x94], eax
push eax
push edi
push dword [ebp - 0xa0]
mov dword [ebp - 4], esi
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x17cef8eb
call fcn.17ce51cd
mov esi, eax
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17cef888
test byte [eax + 0x1c], 1
je 0x17cef888
push esi
push ebx
push 0x17c97528
push 0x14
jmp 0x17cef87d
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0xc0]
push eax
push 0x17c9760c
push dword [ebp - 0x94]
mov dword [ebp - 0xa4], esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x17cef942
call fcn.17ce51cd
mov esi, eax
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17cef888
test byte [eax + 0x1c], 1
je 0x17cef888
push esi
push ebx
push 0x17c97528
push 0x15
jmp 0x17cef87d
xor ecx, ecx
xor eax, eax
test dword [ebp - 0xa4], 0xfffffffc
jbe 0x17cef95f
mov eax, dword [ebp - 0xc0]
movzx ecx, word [eax]
movzx eax, word [eax + 2]
mov dword [ebp - 0xa8], esi
movzx esi, ax
movzx edi, cx
push esi
push edi
push 0x17c975c0
lea eax, [ebp - 0x90]
push 0x40
push eax
call fcn.17cb3c61
add esp, 0x14
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0x90]
push eax
push dword [ebp - 0x94]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x17cef9d6
call fcn.17ce51cd
mov esi, eax
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17cef888
test byte [eax + 0x1c], 1
je 0x17cef888
push esi
push ebx
push 0x17c97528
push 0x16
jmp 0x17cef87d
push esi
push edi
push 0x17c97570
lea eax, [ebp - 0x90]
push 0x40
push eax
call fcn.17cb3c61
add esp, 0x14
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x90]
push eax
push dword [ebp - 0x94]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x17cefa5b
call fcn.17ce51cd
mov esi, eax
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17cefa3f
test byte [eax + 0x1c], 1
je 0x17cefa3f
push esi
push ebx
push 0x17c97528
push 0x17
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.17ca2bb0
push esi
lea ecx, [ebp - 0xd4]
call fcn.17ce8fe0
push 0x17d1f788
lea eax, [ebp - 0xd4]
jmp 0x17cef89f
push dword [ebp - 0x9c]
mov ecx, dword [ebp - 0xac]
call fcn.17cc29f1
push dword [ebp - 0x98]
mov ecx, dword [ebp - 0xc4]
call fcn.17cc29f1
lea ecx, [ebp - 0x94]
call fcn.17ce887f
call fcn.17ce4c88
ret 0xc