joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100282c1
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp + 8], eax
jne 0x100282d4
xor eax, eax
inc eax
jmp 0x10028306
push esi
push dword [ebp + 8]
xor esi, esi
push esi
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp + 8], eax
cmp eax, esi
je 0x100282fb
cmp eax, 0xffffffff
je 0x100282fb
push dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov esi, eax
lea eax, [ebp + 8]
call fcn.100011b0
mov eax, esi
pop esi
pop ebp
ret 8

Function at 0x100285c6
Capabilities:
Check if file exists
Get file size
Read file via mapping

Disassembly:
or dword [esi], 0xffffffff
push ebx
push dword [esp + 8]
xor ebx, ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1002865b
push ebx
push 0x80
push 3
push ebx
push 1
push bind
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi], eax
cmp eax, 0xffffffff
je 0x1002865b
push edi
lea edi, [esi + 0x10]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1002865a
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov edx, ecx
or edx, eax
je 0x1002865a
cmp eax, ebx
jl 0x1002862f
mov eax, 0x400000
jg 0x1002862b
cmp ecx, eax
jbe 0x1002862f
mov edi, eax
jmp 0x10028631
mov edi, ecx
push ebx
push ebx
push ebx
push 2
push ebx
push dword [esi]
mov dword [esi + 0x18], edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [esi + 4], eax
cmp eax, ebx
je 0x1002865a
push dword [esi + 0x18]
push ebx
push ebx
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 8], eax
pop edi
mov eax, esi
pop ebx
ret 4

Function at 0x10028b5a
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor eax, eax
push 4
mov dword [ebp - 8], 1
pop esi
cmp dword [ebp + 0x14], eax
je 0x10028ba8
mov dword [ebp - 4], eax
mov dword [ebp + 0x14], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x10]
mov dword [ebp - 0xc], esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp dword [ebp + 0x14], esi
jne 0x10028ba8
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
jne 0x10028ba8
xor eax, eax
inc eax
jmp 0x10028bc2
push esi
lea eax, [ebp - 8]
push eax
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
neg eax
sbb eax, eax
inc eax
pop esi
leave
ret 0x10
Function at 0x10028c53
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x800
lea ebp, [esp - 4]
mov eax, dword [0x10071118]
xor eax, ebp
mov dword [ebp + 0x800], eax
push 0x20
mov eax, 0x1005793d
call fcn.10040d31
mov eax, dword [ebp + 0x80c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x810]
xor edi, edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x1c], eax
mov ebx, ecx
xor eax, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x24], ebx
mov word [esi + 4], ax
mov dword [ebp - 4], edi
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x14], edi
cmp ebx, edi
je 0x10028d61
push 0x7fe
mov word [ebp], ax
lea eax, [ebp + 2]
push edi
push eax
call fcn.10044e90
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
push edi
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x1c]
mov dword [ebp - 0x10], edi
push ebx
push dword [ebp - 0x20]
mov ebx, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov dword [ebp - 0x18], edi
call ebx
cmp dword [ebp - 0x18], 1
je 0x10028cfb
cmp dword [ebp - 0x18], 2
jne 0x10028d61
mov eax, dword [ebp - 0x10]
cmp eax, edi
je 0x10028d61
cmp eax, 0x800
jbe 0x10028d2f
add eax, 2
push eax
call fcn.1003f76f
mov ecx, dword [ebp - 0x10]
add ecx, 2
push ecx
push edi
push eax
mov dword [ebp - 0x14], eax
call fcn.10044e90
add esp, 0x10
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
jmp 0x10028d37
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp]
push eax
push edi
push dword [ebp - 0x1c]
push dword [ebp - 0x24]
push dword [ebp - 0x20]
call ebx
mov ebx, dword [ebp - 0x14]
mov eax, ebx
cmp ebx, edi
jne 0x10028d4f
lea eax, [ebp]
push eax
push esi
call fcn.10004dd6
cmp ebx, edi
je 0x10028d61
push ebx
call fcn.1003f692
pop ecx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x800]
xor ecx, ebp
call fcn.1003f03d
add ebp, 0x804
leave
ret
Function at 0x10028d86
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005822c
mov eax, dword fs:[0]
push eax
mov eax, 0x2040
call fcn.10050050
mov eax, dword [0x10071118]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 4], edi
push eax
mov dword [ebp - 0x2028], eax
mov esi, edx
mov dword [ebp - 0x2018], ecx
mov dword [ebp - 0x202c], edi
call fcn.10010dd4
xor ebx, ebx
inc ebx
push ebx
push dword [ebp - 0x2018]
mov dword [ebp - 0x202c], ebx
push esi
lea esi, [ebp - 0x2024]
call fcn.1002638b
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x2020], edi
je 0x10028ea4
xor eax, eax
push 0x1ffe
mov word [ebp - 0x2014], ax
lea eax, [ebp - 0x2012]
push edi
push eax
mov dword [ebp - 0x2018], edi
call fcn.10044e90
add esp, 0xc
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x201c]
push eax
lea eax, [ebp - 0x2014]
push eax
push edi
jmp 0x10028e8a
inc dword [ebp - 0x2018]
lea eax, [ebp - 0x2014]
push eax
lea esi, [ebp - 0x2048]
call fcn.100048d8
mov eax, esi
mov byte [ebp - 4], 2
push eax
mov eax, dword [ebp - 0x2028]
call fcn.10029599
push edi
push ebx
mov byte [ebp - 4], bl
call fcn.10004dfd
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x201c]
push eax
lea eax, [ebp - 0x2014]
push eax
push dword [ebp - 0x2018]
push dword [ebp - 0x2020]
mov dword [ebp - 0x201c], 0x1000
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x10028e3e
mov dword [ebp - method.RegHandleHolder.virtual_0], vtable.RegHandleHolder.0
cmp dword [ebp - 0x2020], edi
je 0x10028ec2
push dword [ebp - 0x2020]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x2028]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1003f03d
leave
ret
Function at 0x10028ee2
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005822c
mov eax, dword fs:[0]
push eax
mov eax, 0x2040
call fcn.10050050
mov eax, dword [0x10071118]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 4], edi
push eax
mov dword [ebp - 0x2028], eax
mov esi, ecx
mov dword [ebp - 0x202c], edi
call fcn.10010dd4
push 8
push esi
xor ebx, ebx
inc ebx
push reloc.WS2_32.dll_closesocket
lea esi, [ebp - 0x2024]
mov dword [ebp - 0x202c], ebx
call fcn.1002638b
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x2020], edi
je 0x10028ffe
xor eax, eax
push 0x1ffe
mov word [ebp - 0x2014], ax
lea eax, [ebp - 0x2012]
push edi
push eax
mov dword [ebp - 0x2018], edi
call fcn.10044e90
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
add esp, 0xc
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x201c]
push eax
lea eax, [ebp - 0x2014]
push eax
push edi
jmp 0x10028fe8
inc dword [ebp - 0x2018]
lea eax, [ebp - 0x2014]
push eax
lea esi, [ebp - 0x2048]
call fcn.100048d8
mov eax, esi
mov byte [ebp - 4], 2
push eax
mov eax, dword [ebp - 0x2028]
call fcn.10029599
push edi
push 1
mov byte [ebp - 4], 1
call fcn.10004dfd
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x201c]
push eax
lea eax, [ebp - 0x2014]
push eax
push dword [ebp - 0x2018]
push dword [ebp - 0x2020]
mov dword [ebp - 0x201c], 0x1000
call ebx
test eax, eax
je 0x10028f9a
mov dword [ebp - method.RegHandleHolder.virtual_0], vtable.RegHandleHolder.0
cmp dword [ebp - 0x2020], edi
je 0x1002901c
push dword [ebp - 0x2020]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x2028]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1003f03d
leave
ret

Function at 0x1002903c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor esi, esi
push esi
lea eax, [ebp - 4]
push eax
push esi
push 0x20006
push 1
push esi
push esi
push str.Softwareprojonepodlp_volatile_
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov edi, eax
cmp edi, esi
jne 0x1002908e
push dword [ebp + 0xc]
push dword [ebp + 8]
push 1
push esi
push str.__rcss
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
leave
ret
Function at 0x1002911c
Capabilities:
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
xor edi, edi
cmp dword [ebp + 8], edi
je 0x1002917b
push 0xf003f
push edi
push edi
mov dword [ebp - 8], edi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0xc], eax
cmp eax, edi
je 0x10029173
push 0x10
push dword [ebp + 8]
lea esi, [ebp - 0xc]
call fcn.100290ce
cmp dword [ebp - 0xc], edi
je 0x10029173
push edi
push edi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x10029170
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x420
jne 0x10029173
xor edi, edi
inc edi
lea eax, [ebp - 0xc]
call fcn.100290fc
mov eax, edi
pop edi
pop esi
leave
ret 4

Function at 0x10029183
Capabilities:
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x100291fb
push 0xf003f
push ebx
push ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 8], eax
cmp eax, ebx
je 0x100291f3
push esi
push 0xf01ff
push dword [ebp + 8]
lea esi, [ebp - 8]
call fcn.100290ce
pop esi
cmp dword [ebp - 8], ebx
je 0x100291f3
push edi
push 6
pop ecx
xor eax, eax
mov dword [ebp - 0x24], ebx
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
pop edi
test eax, eax
je 0x100291f3
lea eax, [ebp - 0x24]
push eax
push 1
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x100291f3
inc ebx
lea eax, [ebp - 8]
call fcn.100290fc
mov eax, ebx
pop ebx
leave
ret 4

Function at 0x10029202
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x10071118]
xor eax, ebp
mov dword [ebp + 0x18c], eax
and dword [ebp - 0x80], 0
push ebx
lea eax, [ebp - 0x80]
push eax
push 0x23
xor ebx, ebx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jl 0x1002926f
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x7c], ax
lea eax, [ebp - 0x7a]
push eax
call fcn.10044e90
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
push dword [ebp - 0x80]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x1002926f
push 0x208
lea eax, [ebp - 0x7c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
inc ebx
cmp dword [ebp - 0x80], 0
je 0x1002927e
push dword [ebp - 0x80]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov ecx, dword [ebp + 0x18c]
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.1003f03d
add ebp, 0x190
leave
ret
Function at 0x10029296
Capabilities:
Check if file exists

Disassembly:
push 0x678
mov eax, 0x100578fc
call fcn.10040d9a
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x680], edi
mov dword [ebp - 0x67c], eax
xor eax, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
mov dword [ebp - 0x684], esi
mov word [esi + 4], ax
xor ebx, ebx
mov dword [ebp - 4], edi
inc ebx
push edi
mov dword [ebp - 0x680], ebx
mov dword [ebp - 0x674], edi
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x674]
push eax
push 0x1005e59c
push ebx
push edi
push 0x10060dc0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x10029437
mov eax, dword [ebp - 0x674]
lea edx, [ebp - 0x678]
push edx
push 0x10060dd0
mov dword [ebp - 0x678], edi
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
jl 0x1002942b
mov eax, dword [ebp - 0x678]
mov ecx, dword [eax]
push edi
push dword [ebp - 0x67c]
push eax
call dword [ecx + 0x14]
test eax, eax
jl 0x1002941f
xor eax, eax
mov ebx, 0x206
push ebx
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push edi
push eax
call fcn.10044e90
mov eax, dword [ebp - 0x674]
mov ecx, dword [eax]
add esp, 0xc
push 4
lea edx, [ebp - 0x670]
push edx
push 0x104
lea edx, [ebp - 0x218]
push edx
push eax
call dword [ecx + 0xc]
test eax, eax
jl 0x1002941f
lea eax, [ebp - 0x218]
push eax
push esi
call fcn.10004dd6
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1002941f
call fcn.1002722c
test eax, eax
je 0x1002941f
push str.program_files__x86__
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x1002941f
xor eax, eax
push ebx
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push edi
push eax
call fcn.10044e90
add esp, 0xc
lea eax, [ebp - 0x420]
push eax
push str.program_files_
push str.program_files__x86__
lea eax, [ebp - 0x218]
call fcn.1002892f
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1002941f
lea eax, [ebp - 0x420]
push eax
push esi
call fcn.10004dd6
mov eax, dword [ebp - 0x678]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x674]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
call fcn.10040e1d
ret

Function at 0x1002b3c1
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
push edi
lea eax, [ebp - 4]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
test edi, edi
je 0x1002b3fa
push dword [ebp + 0x10]
push dword [ebp - 4]
push str.thread__d_created:__s
call fcn.1002af80
add esp, 0xc
mov eax, edi
pop edi
leave
ret 0xc
Function at 0x100393cf
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x10071118]
xor eax, ebp
mov dword [ebp + 0x18c], eax
and dword [ebp - 0x80], 0
push esi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x7c], ax
lea eax, [ebp - 0x7a]
push eax
mov esi, ecx
call fcn.10044e90
add esp, 0xc
push 0x104
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push str.Logs_accelerator
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x7c]
push eax
call fcn.100048d8
mov ecx, dword [ebp + 0x18c]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.1003f03d
add ebp, 0x190
leave
ret

Function at 0x10039448
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x10071118]
xor eax, ebp
mov dword [ebp + 0x18c], eax
and dword [ebp - 0x80], 0
push esi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x7c], ax
lea eax, [ebp - 0x7a]
push eax
mov esi, ecx
call fcn.10044e90
add esp, 0xc
push 0x104
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push str.Logsignored
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x7c]
push eax
call fcn.100048d8
mov ecx, dword [ebp + 0x18c]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.1003f03d
add ebp, 0x190
leave
ret

Function at 0x100394c1
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x224
lea ebp, [esp - 4]
mov eax, dword [0x10071118]
xor eax, ebp
mov dword [ebp + 0x224], eax
push 4
mov eax, 0x1005765d
call fcn.10040d31
mov edi, dword [ebp + 0x230]
mov esi, dword [ebp + 0x238]
xor eax, eax
xor ebx, ebx
push 0x206
mov word [ebp + 0x1c], ax
lea eax, [ebp + 0x1e]
push ebx
push eax
mov dword [ebp - 0x10], ebx
call fcn.10044e90
add esp, 0xc
push 0x104
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
cmp dword [ebp + 0x234], 1
jne 0x1003952d
push str.projonepodlp
jmp 0x1003953b
cmp dword [ebp + 0x234], 2
jne 0x1003955a
push str.projonepotcm
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp esi, ebx
je 0x10039554
push esi
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp + 0x1c]
push eax
jmp 0x100395ad
cmp dword [ebp + 0x234], ebx
jne 0x100395a8
push ebx
lea eax, [ebp]
push 2
push eax
call fcn.100394c1
add esp, 0xc
mov dword [ebp - 4], ebx
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
jae 0x10039580
lea eax, [ebp + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
push esi
test eax, eax
je 0x100395a4
push 2
push edi
call fcn.100394c1
add esp, 0xc
push ebx
push 1
lea esi, [ebp]
call fcn.10004dfd
jmp 0x100395b4
push 1
jmp 0x1003958e
push 0x10060e9c
mov esi, edi
call fcn.100048d8
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 + 0x224]
xor ecx, ebp
call fcn.1003f03d
add ebp, 0x228
leave
ret
Function at 0x100396a5
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x10071118]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x41c], 0
push ebx
push esi
xor eax, eax
mov ebx, str.cachedevicedeviceinfo.json
push edi
mov esi, ecx
cmp eax, ebx
jne 0x100396d6
push 0x10060e9c
jmp 0x10039751
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x104
jg 0x100396cf
xor eax, eax
push 0x40e
push eax
mov word [ebp - 0x418], ax
lea eax, [ebp - 0x416]
push eax
call fcn.10044e90
add esp, 0xc
lea edi, [ebp - 0x418]
call fcn.10029202
cmp word [ebp - 0x418], 0
je 0x100396cf
mov eax, edi
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.projone
push eax
call edi
push ebx
lea eax, [ebp - 0x418]
push eax
call edi
lea edi, [ebp - 0x418]
call fcn.10026946
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov eax, edi
jne 0x10039750
mov eax, 0x10060e9c
push eax
call fcn.100048d8
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003f03d
leave
ret
Function at 0x1003a787
Capabilities:
Check if file exists

Disassembly:
push 0x6c
mov eax, 0x10057eea
call fcn.10040d9a
lea eax, [ebp - 0x5c]
push eax
mov esi, ecx
call fcn.10004930
and dword [ebp - 4], 0
mov eax, dword [esi + 0x14]
mov ecx, dword [eax]
mov dword [ebp - 0x34], ecx
mov ecx, dword [esi]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
jmp 0x1003a7f1
lea esi, [ebp - 0x38]
call fcn.10010d5b
cmp dword [eax + 0x18], 8
jb 0x1003a7ca
mov eax, dword [eax + 4]
jmp 0x1003a7cd
add eax, 4
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1003a7e9
lea esi, [ebp - 0x38]
call fcn.10010d5b
push eax
lea eax, [ebp - 0x5c]
call fcn.1000497f
lea esi, [ebp - 0x38]
call fcn.1001d043
lea edi, [ebp - 0x40]
lea esi, [ebp - 0x38]
call fcn.10010d86
test al, al
jne 0x1003a7b7
cmp dword [ebp - 0x44], 0
jne 0x1003a824
mov esi, 0x44e
lea edi, [ebp - 0x5c]
call fcn.10004ef2
push dword [ebp - 0x5c]
call fcn.1003f52e
pop ecx
mov eax, esi
call fcn.10040e1d
ret
mov edi, ebx
call fcn.10026946
mov esi, ebx
call fcn.10027002
push ebx
push 0x10064d88
push 0x10064d8c
lea ecx, [ebp - 0x30]
call fcn.10028aa2
add esp, 0xc
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x5c]
mov ecx, dword [eax]
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], eax
jmp 0x1003a8b0
lea esi, [ebp - 0x38]
call fcn.10010d5b
cmp dword [eax + 0x18], 8
jb 0x1003a875
mov eax, dword [eax + 4]
jmp 0x1003a878
add eax, 4
push eax
push str.___s_
lea ecx, [ebp - 0x78]
call fcn.10028aa2
pop ecx
pop ecx
push 0xffffffffffffffff
push 0
lea esi, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.10009b18
push 0
push 1
lea esi, [ebp - 0x78]
mov byte [ebp - 4], 1
call fcn.10004dfd
lea esi, [ebp - 0x38]
call fcn.1001d043
lea edi, [ebp - 0x40]
lea esi, [ebp - 0x38]
call fcn.10010d86
test al, al
jne 0x1003a862
mov esi, dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
push ebx
call esi
test eax, eax
je 0x1003a8ed
push 0x10064db0
push ebx
call esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1003a8ed
push str.__md1M
lea eax, [ebp - 0x30]
push eax
call fcn.100095a4
push 0
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x60], 0xf
call fcn.10005366
mov byte [ebp - 4], 4
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x1003a90e
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x78]
push ecx
push eax
call fcn.1003a720
pop ecx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x78]
mov edi, eax
call fcn.10004d05
test edi, edi
je 0x1003a933
mov esi, ebx
call fcn.10027002
push 0
push 1
lea esi, [ebp - 0x30]
call fcn.10004dfd
mov esi, edi
jmp 0x1003a80b
Function at 0x1003ac66
Capabilities:
List tcp connections and listeners

Disassembly:
push 0x44
mov eax, 0x10057eaf
call fcn.10040d31
mov esi, dword [ebp + 0xc]
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x28], edi
push dword [ebp + 8]
call fcn.1000b58a
mov eax, esi
push edi
sar eax, 8
mov ebx, 0xff
push 5
and eax, ebx
and esi, ebx
shl esi, 8
or eax, esi
push 2
mov dword [ebp + 0xc], eax
push edi
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 4], edi
push edi
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x14], edi
call sub.IPHLPAPI.DLL_GetExtendedTcpTable
cmp dword [ebp - 0x14], edi
jbe 0x1003ad65
push dword [ebp - 0x14]
call fcn.1003f76f
pop ecx
push edi
push 5
push 2
mov esi, eax
push edi
lea eax, [ebp - 0x14]
push eax
push esi
mov dword [ebp - 0x20], esi
call sub.IPHLPAPI.DLL_GetExtendedTcpTable
test eax, eax
jne 0x1003ad59
mov dword [ebp - 0x1c], edi
cmp dword [esi], edi
jbe 0x1003ad59
add esi, 4
mov dword [ebp - 0x18], esi
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp + 0xc]
push 6
pop ecx
lea edi, [ebp - 0x50]
rep movsd dword es:[edi], dword [esi]
cmp dword [ebp - 0x48], eax
jne 0x1003ad44
cmp dword [ebp - 0x50], 5
jne 0x1003ad37
mov eax, dword [ebp - 0x40]
mov ecx, eax
shr ecx, 8
shl eax, 8
and ecx, ebx
or ecx, eax
movzx eax, cx
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp + 8]
lea ebx, [ebp - 0x38]
call fcn.1000c794
mov ebx, 0xff
jmp 0x1003ad44
cmp dword [ebp - 0x50], 2
jne 0x1003ad44
mov dword [ebp - 0x24], 1
inc dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
add dword [ebp - 0x18], 0x18
cmp ecx, dword [eax]
jb 0x1003acf3
mov esi, eax
xor edi, edi
push esi
call fcn.1003f692
pop ecx
cmp dword [ebp - 0x24], edi
jne 0x1003ad6d
mov edi, dword [ebp + 8]
call fcn.1000c128
mov eax, dword [ebp + 8]
call fcn.10040e09
ret