joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10008c19
Capabilities:
Get local ipv4 addresses

Disassembly:
push 0x48
mov eax, 0x100584cc
call fcn.10041871
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], ebx
push dword [ebp + 8]
call fcn.10009a4d
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
xor edi, edi
push 0x10
mov dword [ebp - 4], ebx
inc edi
push ebx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], ebx
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
mov esi, dword [ebp - 0x14]
push 4
call fcn.1004071f
pop ecx
cmp eax, ebx
je 0x10008c65
lea ecx, [ebp - 0x38]
mov dword [eax], ecx
jmp 0x10008c67
xor eax, eax
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0xd]
mov dword [ebp - 4], edi
mov byte [ebp - 0xd], bl
push eax
mov eax, esi
lea ebx, [ebp - 0x38]
call fcn.1000911e
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x2c]
mov esi, eax
cmp eax, dword [ebp - 0x28]
jbe 0x10008c94
call fcn.100405f1
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x1c], esi
lea esi, [ebp - 0x20]
mov dword [ebp - 0x20], eax
call fcn.1003b98b
mov ebx, eax
lea eax, [ebp - 0x14]
push eax
push ebx
xor esi, esi
push esi
push 0x10
push esi
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
test eax, eax
jne 0x10008d0b
cmp ebx, esi
je 0x10008d0b
mov esi, dword [ebx + 0x1c]
jmp 0x10008d00
mov eax, dword [esi + 0xc]
cmp word [eax], 2
jne 0x10008cfd
push dword [eax + 4]
call sub.WS2_32.dll_inet_ntoa
push eax
lea ecx, [ebp - 0x54]
call fcn.10001fa7
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 3
push eax
mov eax, dword [ebp + 8]
call fcn.1000208f
push 0
push edi
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 2
call fcn.10002243
mov esi, dword [esi + 8]
test esi, esi
jne 0x10008cc4
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x10008cbf
cmp dword [ebp - 0x2c], esi
je 0x10008d19
push dword [ebp - 0x2c]
call fcn.1004062b
pop ecx
push dword [ebp - 0x38]
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
call fcn.1004062b
mov eax, dword [ebp + 8]
pop ecx
call fcn.10041949
ret

Function at 0x10008e0a
Capabilities:
Create thread

Disassembly:
push ecx
push esi
push edi
xor edi, edi
cmp dword [0x1007af14], edi
jne 0x10008e57
mov dword [0x1007af14], 1
call fcn.10008d34
xor esi, esi
push edi
push 1
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push edi
push edi
push esi
push 0x10008ab5
push edi
push edi
mov dword [esi*4 + 0x1007af08], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, 3
jl 0x10008e28
pop edi
pop esi
pop ecx
ret
Function at 0x1000a6df
Capabilities:
Check if file exists

Disassembly:
push 0x84
mov eax, 0x1005e1ca
call fcn.100418da
mov eax, dword [ebp + 8]
mov edi, ecx
xor ebx, ebx
mov esi, edx
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x74], eax
cmp edi, ebx
je 0x1000a766
cmp esi, ebx
je 0x1000a766
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1000a766
cmp byte [ebp + 0xc], bl
jne 0x1000a737
call fcn.100224c6
push esi
cmp eax, 1
jne 0x1000a729
push edi
call fcn.1000a3b7
pop ecx
jmp 0x1000a72e
call fcn.1000a661
pop ecx
cmp al, bl
je 0x1000a737
mov al, 1
jmp 0x1000a768
push 1
lea ecx, [ebp - 0x2c]
call fcn.1002277f
pop ecx
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
jae 0x1000a751
lea eax, [ebp - 0x28]
push ebx
call fcn.10032725
test eax, eax
jne 0x1000a76e
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.10002243
xor al, al
call fcn.1004195d
ret
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
jae 0x1000a77a
lea eax, [ebp - 0x28]
push 0x32e3
push eax
push str.https:___s:_d_globalSmallFile
lea esi, [ebp - 0x48]
call fcn.100341c9
add esp, 0xc
push ebx
push ebx
lea eax, [ebp - 0x90]
call fcn.10029909
sub esp, 0x18
mov byte [ebp - 4], 4
mov esi, esp
mov dword [ebp - 0x6c], esp
push edi
call fcn.1002899b
lea eax, [ebp - 0x90]
push eax
mov edx, 0x10063f18
mov byte [ebp - 4], 5
call fcn.10029ba7
mov edi, eax
mov byte [ebp - 4], 4
call fcn.10028c6f
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x6c], esp
push dword [ebp - 0x70]
call fcn.1002899b
lea eax, [ebp - 0x90]
push eax
mov edx, str.name
mov byte [ebp - 4], 6
call fcn.10029ba7
mov edi, eax
mov byte [ebp - 4], 4
call fcn.10028c6f
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x6c], esp
push ebx
call fcn.1002893d
lea eax, [ebp - 0x90]
push eax
mov edx, str.clean
mov byte [ebp - 4], 7
call fcn.10029ba7
mov edi, eax
mov byte [ebp - 4], 4
call fcn.10028c6f
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x64]
call fcn.1002a06c
mov byte [ebp - 4], 8
cmp dword [ebp - 0x4c], 0x10
mov ecx, dword [ebp - 0x60]
jae 0x1000a84c
lea ecx, [ebp - 0x60]
cmp dword [ebp - 0x30], 0x10
mov eax, dword [ebp - 0x44]
jae 0x1000a858
lea eax, [ebp - 0x44]
push ebx
push ebx
push ebx
push ebx
push ecx
push str.desc
push dword [ebp - 0x74]
push str.file
push eax
call fcn.10021f4f
push ebx
test eax, eax
push 1
lea ecx, [ebp - 0x64]
setne byte [ebp - 0x65]
call fcn.10002243
lea esi, [ebp - 0x90]
mov byte [ebp - 4], 1
call fcn.10028bec
push ebx
push 1
lea ecx, [ebp - 0x48]
call fcn.10002243
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.10002243
mov al, byte [ebp - 0x65]
jmp 0x1000a768
Function at 0x1000af51
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x10077060]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor esi, esi
push edi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], esi
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov ebx, eax
xor eax, eax
inc eax
mov ecx, esi
shl eax, cl
test ebx, eax
je 0x1000afe4
push 0x3a
lea eax, [esi + 0x61]
mov word [ebp - 0x24], ax
pop eax
mov word [ebp - 0x22], ax
push 0x5c
pop eax
mov word [ebp - 0x20], ax
push 6
pop ecx
xor eax, eax
lea edi, [ebp - 0x1e]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x1000afe4
xor eax, eax
xor ecx, ecx
mov dword [ebp - 0x38], ecx
lea edi, [ebp - 0x34]
stosd dword es:[edi], eax
mov dword [ebp - 0x40], ecx
lea edi, [ebp - 0x3c]
stosd dword es:[edi], eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x38]
push eax
push ecx
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x1000afe4
mov eax, dword [ebp - 0x38]
add dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x34]
adc dword [ebp - 0x2c], eax
inc esi
cmp esi, 0x1a
jl 0x1000af74
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1004017c
leave
ret
Function at 0x1000e37d
Capabilities:
Create thread

Disassembly:
push esi
xor esi, esi
cmp dword [0x10078f7c], esi
je 0x1000e3b5
push dword [0x1007b974]
mov dword [0x10078f7c], esi
call dword [sym.imp.KERNEL32.dll_SetEvent]
push esi
push esi
push esi
push 0x1000e03c
push 0x10000
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
ret

Function at 0x1000e583
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
xor ebx, ebx
cmp byte [esi + 4], bl
je 0x1000e595
xor al, al
jmp 0x1000e5cf
push ebx
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 4]
push eax
mov byte [esi + 4], 1
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
call sub.gdiplus.dll_GdiplusStartup
push ebx
push ebx
push ebx
push 0x1000f782
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x40], eax
mov al, 1
pop ebx
leave
ret
Function at 0x1000e8bb
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x50
mov eax, 0x10058db9
call fcn.100418da
and dword [ebp - 4], 0
mov eax, dword [ebp + 8]
and dword [ebp - 0x34], 0
cmp dword [eax + 0x18], 8
mov dword [ebp - 0x5c], ebx
jb 0x1000e8e0
mov eax, dword [eax + 4]
jmp 0x1000e8e3
add eax, 4
cmp dword [ecx + 0x3c], 8
jb 0x1000e8ee
mov ecx, dword [ecx + 0x28]
jmp 0x1000e8f1
add ecx, 0x28
push eax
push ecx
push 0x10064b5c
lea ecx, [ebp - 0x2c]
call fcn.1003416b
add esp, 0xc
xor esi, esi
inc esi
mov edi, ebx
mov dword [ebp - 4], esi
call fcn.1000ea94
cmp dword [ebp - 0x14], 8
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x34], esi
jae 0x1000e91f
lea edx, [ebp - 0x28]
push str.type
mov edi, reloc.WS2_32.dll_bind
push edi
lea ecx, [ebp - 0x58]
call fcn.100342d2
pop ecx
pop ecx
push 0xffffffffffffffff
push 0
mov ecx, ebx
mov byte [ebp - 4], 2
call fcn.1000228e
push 0
push esi
lea esi, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.1000233f
cmp dword [ebp - 0x14], 8
mov edx, dword [ebp - 0x28]
jae 0x1000e95e
lea edx, [ebp - 0x28]
push str.filePath
push edi
lea ecx, [ebp - 0x58]
call fcn.100342d2
pop ecx
pop ecx
push 0xffffffffffffffff
push 0
lea ecx, [ebx + 0x1c]
mov byte [ebp - 4], 3
call fcn.1000228e
push 0
push 1
lea esi, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.1000233f
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x1000e99a
lea eax, [ebp - 0x28]
push 4
pop esi
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x38]
push ecx
push str.index
push eax
push edi
mov dword [ebp - 0x3c], esi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x1000e9c7
cmp dword [ebp - 0x38], esi
jne 0x1000e9c7
mov eax, dword [ebp - 0x30]
jmp 0x1000e9c9
xor eax, eax
cmp dword [ebp - 0x14], 8
mov edx, dword [ebp - 0x28]
mov dword [ebx + 0x8c], eax
jae 0x1000e9db
lea edx, [ebp - 0x28]
push 0x10064bb4
push edi
lea ecx, [ebp - 0x58]
call fcn.100342d2
pop ecx
pop ecx
push 0xffffffffffffffff
push 0
lea ecx, [ebx + 0x38]
mov byte [ebp - 4], 4
call fcn.1000228e
push 0
push 1
lea esi, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.1000233f
cmp dword [ebp - 0x14], 8
mov edx, dword [ebp - 0x28]
jae 0x1000ea17
lea edx, [ebp - 0x28]
push str.icoCache
push edi
lea ecx, [ebp - 0x58]
call fcn.100342d2
pop ecx
pop ecx
push 0xffffffffffffffff
push 0
lea ecx, [ebx + 0x54]
mov byte [ebp - 4], 5
call fcn.1000228e
push 0
push 1
lea esi, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.1000233f
cmp dword [ebp - 0x14], 8
mov edx, dword [ebp - 0x28]
jae 0x1000ea53
lea edx, [ebp - 0x28]
push str.keyName
push edi
lea ecx, [ebp - 0x58]
call fcn.100342d2
pop ecx
pop ecx
push 0xffffffffffffffff
xor edi, edi
push edi
lea ecx, [ebx + 0x70]
mov byte [ebp - 4], 6
call fcn.1000228e
push edi
push 1
lea esi, [ebp - 0x58]
call fcn.1000233f
push edi
push 1
lea esi, [ebp - 0x2c]
call fcn.1000233f
mov eax, ebx
call fcn.1004195d
ret 4
Function at 0x1000ec33
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x30
mov eax, 0x10059b61
call fcn.100418da
mov eax, dword [ebp + 8]
push 8
pop edi
mov esi, ecx
cmp dword [eax + 0x18], edi
jb 0x1000ec51
mov eax, dword [eax + 4]
jmp 0x1000ec54
add eax, 4
push eax
push str.Softwareprojonepodlpicocollect_
push str._lsuploaded_ls
lea ecx, [ebp - 0x2c]
call fcn.1003416b
add esp, 0xc
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x14], edi
jae 0x1000ec79
lea eax, [ebp - 0x28]
push eax
push str.IsUploaded__ls
call fcn.10036ea1
pop ecx
pop ecx
cmp dword [esi + 0x18], edi
jb 0x1000ec90
mov esi, dword [esi + 4]
jmp 0x1000ec93
add esi, 4
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x14], edi
jae 0x1000ec9e
lea eax, [ebp - 0x28]
push 4
pop edi
lea ecx, [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x30]
push ecx
push esi
push eax
push reloc.WS2_32.dll_bind
mov dword [ebp - 0x38], edi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x1000eccb
cmp dword [ebp - 0x30], edi
jne 0x1000eccb
mov edi, dword [ebp - 0x34]
jmp 0x1000eccd
xor edi, edi
push 0
push 1
lea esi, [ebp - 0x2c]
call fcn.1000233f
cmp edi, 1
sete al
call fcn.1004195d
ret 4
Function at 0x1000f182
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2dc
mov eax, dword [0x10077060]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
xor ebx, ebx
cmp dword [ebp + 8], 0x1b6e4
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x2d4], eax
mov dword [ebp - 0x2c8], ebx
mov dword [ebp - 0x2d0], ebx
mov byte [ebp - 0x2c1], bl
je 0x1000f252
cmp dword [esi + 0x18], 8
lea edi, [esi + 4]
jb 0x1000f1d1
mov eax, dword [edi]
jmp 0x1000f1d3
mov eax, edi
push eax
mov ebx, str..dll
call fcn.10034124
test eax, eax
je 0x1000f250
cmp dword [esi + 0x18], 8
jb 0x1000f1ea
mov edi, dword [edi]
push 1
lea eax, [ebp - 0x2d0]
push eax
lea eax, [ebp - 0x2c8]
push eax
push dword [ebp + 8]
push edi
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
mov ecx, dword [ebp - 0x2c8]
mov esi, dword [sym.imp.USER32.dll_DestroyIcon]
test ecx, ecx
je 0x1000f236
mov edx, dword [ebp - 0x2d4]
call fcn.1000ee07
cmp dword [ebp - 0x2c8], 0
mov byte [ebp - 0x2c1], al
je 0x1000f236
push dword [ebp - 0x2c8]
call esi
cmp dword [ebp - 0x2d0], 0
je 0x1000f2f4
push dword [ebp - 0x2d0]
call esi
jmp 0x1000f2f4
xor ebx, ebx
push 0x2b0
lea eax, [ebp - 0x2bc]
push ebx
push eax
mov dword [ebp - 0x2c0], ebx
call fcn.10042870
add esp, 0xc
cmp dword [esi + 0x18], 8
jb 0x1000f278
mov esi, dword [esi + 4]
jmp 0x1000f27b
add esi, 4
push 0x4000
push 0x2b4
lea eax, [ebp - 0x2c0]
push eax
push ebx
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
lea eax, [ebp - 0x2d8]
push eax
push 0x1005f5fc
push 2
mov dword [ebp - 0x2d8], ebx
call dword [sym.imp.SHELL32.dll_SHGetImageList]
test eax, eax
jne 0x1000f2f4
mov eax, dword [ebp - 0x2d8]
lea edx, [ebp - 0x2cc]
push edx
push 1
push dword [ebp - 0x2bc]
mov dword [ebp - 0x2cc], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x28]
mov ecx, dword [ebp - 0x2cc]
cmp ecx, ebx
je 0x1000f2f4
mov edx, dword [ebp - 0x2d4]
call fcn.1000ee07
push dword [ebp - 0x2cc]
call dword [sym.imp.USER32.dll_DestroyIcon]
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x2c1]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1004017c
leave
ret 8
Function at 0x1001521a
Capabilities:
Delete file

Disassembly:
push 0x48
mov eax, 0x10059895
call fcn.100418da
mov eax, dword [ebp + 8]
xor edx, edx
mov esi, str.appstore
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], ecx
cmp edx, esi
je 0x1001532f
xor edi, edi
cmp eax, edi
je 0x1001532f
cmp ecx, edi
je 0x1001532f
call fcn.100224c6
test eax, eax
je 0x1001532f
push esi
call fcn.10021f27
push dword [ebp - 0x30]
mov ebx, eax
call fcn.10021f27
push 1
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x30], eax
call fcn.1002277f
pop ecx
mov dword [ebp - 4], edi
cmp dword [eax + 0x18], 0x10
jb 0x10015289
mov eax, dword [eax + 4]
jmp 0x1001528c
add eax, 4
push dword [ebp - 0x30]
lea esi, [ebp - 0x2c]
push ebx
push 0x32e3
push eax
push str.https:___s:_d_globalSmallFile__s__s
call fcn.100341c9
add esp, 0x14
push edi
push 1
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 2
call fcn.10002243
push ebx
call fcn.10021666
push dword [ebp - 0x30]
call fcn.10021666
cmp dword [ebp - 0x14], 0x10
mov esi, dword [ebp - 0x28]
mov dword [ebp - 0x38], edi
jae 0x100152d2
lea esi, [ebp - 0x28]
mov eax, dword [0x1007c354]
cmp eax, edi
jne 0x100152f5
push str.E2FE52CB
call fcn.1002160d
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1007c354], eax
cmp eax, edi
je 0x1001531b
lea ecx, [ebp - 0x38]
push ecx
push dword [ebp - 0x34]
push esi
call eax
cmp eax, edi
je 0x1001531b
cmp dword [ebp - 0x38], 0xc8
jne 0x1001531b
push edi
push 1
lea ecx, [ebp - 0x2c]
call fcn.10002243
mov al, 1
jmp 0x10015331
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
push 1
lea ecx, [ebp - 0x2c]
call fcn.10002243
xor al, al
call fcn.1004195d
ret
Function at 0x100167df
Capabilities:
Create thread

Disassembly:
push 8
mov eax, 0x10056cf7
call fcn.100418a4
xor edi, edi
mov dword [ebp - 4], edi
push 0x18
mov byte [ebp - 4], 1
call fcn.1004071f
mov esi, eax
pop ecx
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 2
cmp esi, edi
je 0x10016829
mov ecx, dword [ebp + 0x18]
cmp ecx, edi
jne 0x10016815
mov dword [esi + 0x10], edi
jmp 0x1001682b
lea eax, [ebp + 8]
cmp ecx, eax
mov eax, dword [ecx]
jne 0x10016821
push esi
jmp 0x10016822
push edi
call dword [eax]
mov dword [esi + 0x10], eax
jmp 0x1001682b
xor esi, esi
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push esi
push 0x1001688b
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 0x18]
mov esi, eax
cmp ecx, edi
je 0x1001685d
mov eax, dword [ecx]
lea edx, [ebp + 8]
cmp ecx, edx
setne dl
movzx edx, dl
push edx
call dword [eax + 0xc]
mov eax, esi
jmp 0x10016885
call fcn.10041949
ret

Function at 0x1001707a
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x10077060]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [esi + 4], 0
push ebx
je 0x1001709b
xor al, al
jmp 0x1001714c
mov ecx, dword [0x1007af00]
xor eax, eax
mov word [ebp - 0x210], ax
push 0x104
lea eax, [ebp - 0x210]
push eax
mov ebx, str.cacheico
mov byte [esi + 4], 1
call fcn.10031f41
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x100170da
mov byte [esi + 6], 1
lea eax, [esi + 0xc]
push eax
call fcn.10010451
lea eax, [ebp - 0x234]
push eax
mov ecx, str.Softwareprojonepodlp_software_
mov edx, reloc.WS2_32.dll_bind
call fcn.1000e459
cmp dword [eax + 0x1c], 0
pop ecx
sete al
mov byte [esi + 5], al
lea eax, [ebp - 0x234]
push eax
call fcn.1000f7e6
push 0
push 0
sub esp, 0x18
mov ecx, 0x10017eff
mov dword [ebp - 0x214], esp
mov eax, esp
je 0x10017138
mov dword [eax], vtable.std::tr1::_Impl_base0_unsigned_long_int_.0
mov dword [eax], 0x1006621c
mov dword [eax + 4], ecx
mov dword [eax + 8], esi
mov dword [eax + 0x10], eax
call fcn.100167df
add esp, 0x20
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.1004017c
leave
ret
Function at 0x10017519
Capabilities:
Create thread

Disassembly:
push 0x94
mov eax, 0x1005d007
call fcn.100418da
mov ebx, ecx
push ebx
lea ecx, [ebp - 0x80]
call fcn.100011df
pop ecx
xor edi, edi
mov dword [ebp - 4], edi
cmp dword [eax + 0x18], 8
jb 0x10017544
mov eax, dword [eax + 4]
jmp 0x10017547
add eax, 4
push eax
push str.software_uninstall_task:_ls
call fcn.10021907
pop ecx
pop ecx
push edi
push 1
lea esi, [ebp - 0x80]
call fcn.1000233f
push edi
push edi
lea eax, [ebp - 0x60]
call fcn.10029909
push 0xf
pop esi
mov dword [ebp - 4], 3
push edi
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x30], esi
call fcn.1000257e
push edi
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x68], esi
call fcn.1000257e
mov byte [ebp - 4], 5
cmp dword [ebx + 0x18], 0x10
jb 0x1001759a
mov ebx, dword [ebx + 4]
jmp 0x1001759d
add ebx, 4
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x2c]
push ebx
push eax
call fcn.10016dd9
add esp, 0x14
push edi
push 1
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 7
call fcn.10002243
cmp dword [ebp - 0x18], edi
je 0x100176b2
lea eax, [ebp - 0x60]
mov ebx, str.unique
push eax
mov edx, ebx
call fcn.10029ba7
cmp byte [eax + 8], 4
jne 0x100176b2
push 0x50
call fcn.1004071f
pop ecx
mov esi, eax
cmp esi, edi
je 0x10017611
mov ecx, esi
call fcn.10001f92
lea ecx, [esi + 0x1c]
call fcn.10001f92
push edi
lea eax, [esi + 0x38]
push edi
call fcn.10029909
jmp 0x10017613
xor esi, esi
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
mov byte [ebp - 4], 7
call fcn.10002143
lea eax, [ebp - 0x60]
push eax
mov edx, ebx
call fcn.10029ba7
push eax
lea ecx, [ebp - 0x9c]
call fcn.10028dda
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esi + 0x1c]
mov byte [ebp - 4], 0xd
call fcn.10002143
sub esp, 0x18
lea eax, [ebp - 0x60]
mov ebx, esp
mov dword [ebp - 0x64], esp
push eax
call fcn.10028a58
lea edi, [esi + 0x38]
call fcn.10028c6f
xor edi, edi
push edi
push 1
lea ecx, [ebp - 0x9c]
call fcn.10002243
push edi
push edi
push esi
push 0x100176e7
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push 1
lea ecx, [ebp - 0x2c]
call fcn.10002243
push edi
push 1
lea ecx, [ebp - 0x48]
call fcn.10002243
or dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x60]
call fcn.10028bec
mov al, 1
jmp 0x100176e1
push str.invalid_uninstall_task
call fcn.10021d01
pop ecx
push edi
push 1
lea ecx, [ebp - 0x2c]
call fcn.10002243
push edi
push 1
lea ecx, [ebp - 0x48]
call fcn.10002243
or dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x60]
call fcn.10028bec
xor al, al
call fcn.1004195d
ret
Function at 0x10019a3e
Capabilities:
Check if file exists
Copy file
Delete file

Disassembly:
push 0x23c
mov eax, 0x1005e208
call fcn.100418da
lea eax, [ebp - 0x22c]
push eax
call fcn.10019f88
and dword [ebp - 4], 0
cmp dword [ebp - 0x214], 8
mov eax, dword [ebp - 0x228]
jae 0x10019a72
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10019b81
xor eax, eax
cmp dword [ebp - 0x214], 8
mov word [ebp - 0x210], ax
mov eax, dword [ebp - 0x228]
jae 0x10019a9f
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push str..._software.bk.json
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x210]
push eax
call esi
cmp dword [ebp - 0x214], 8
mov eax, dword [ebp - 0x228]
jae 0x10019ae3
lea eax, [ebp - 0x228]
push 0
lea ecx, [ebp - 0x210]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea eax, [ebp - 0x248]
push eax
call fcn.1002275d
pop ecx
mov byte [ebp - 4], 1
cmp dword [ebp - 0x214], 8
mov ecx, dword [ebp - 0x228]
jae 0x10019b19
lea ecx, [ebp - 0x228]
cmp dword [eax + 0x18], 0x10
jb 0x10019b24
mov eax, dword [eax + 4]
jmp 0x10019b27
add eax, 4
push 1
push ecx
mov edx, eax
mov ecx, str.softwareinfo
call fcn.1000a6df
pop ecx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x248]
mov bl, al
mov byte [ebp - 4], 0
call fcn.10002243
test bl, bl
je 0x10019b75
cmp dword [ebp - 0x214], 8
mov eax, dword [ebp - 0x228]
jae 0x10019b66
lea eax, [ebp - 0x228]
push eax
call esi
push str.GSFT_SOFTWAREINFO_uploaded
call fcn.10021907
jmp 0x10019b8b
push str.GSFT_SOFTWAREINFO_upload_failed
call fcn.10021d01
jmp 0x10019b8b
push str.UploadSoftwareFile_failed:_file_not_exists
call fcn.10021a70
pop ecx
push 0
push 1
lea esi, [ebp - 0x22c]
call fcn.1000233f
call fcn.1004195d
ret
Function at 0x1001a749
Capabilities:
Terminate process

Disassembly:
push 0x4c
mov eax, 0x1005982d
call fcn.100418da
xor ebx, ebx
xor eax, eax
mov esi, ecx
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], ax
lea eax, [ebp - 0x30]
mov dword [ebp - 4], ebx
push 4
mov dword [ebp - 0x58], eax
call fcn.1004071f
pop ecx
cmp eax, ebx
je 0x1001a785
lea ecx, [ebp - 0x30]
mov dword [eax], ecx
jmp 0x1001a787
xor eax, eax
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 1
call fcn.1001bf78
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ebx
push 0xffffffffffffffff
push ebx
mov eax, esi
lea ecx, [ebp - 0x4c]
mov dword [ebp - 4], 2
call fcn.1000228e
lea eax, [ebp - 0x4c]
push eax
mov edi, 0x1001a892
call fcn.10032fe7
mov eax, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x30]
mov eax, dword [eax]
mov dword [ebp - 0x54], edi
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x50], eax
cmp edi, ebx
je 0x1001a7d5
cmp edi, dword [ebp - 0x30]
je 0x1001a7da
call fcn.100405f1
cmp dword [ebp - 0x50], esi
je 0x1001a877
lea esi, [ebp - 0x54]
call fcn.1001be8c
push dword [eax]
push ebx
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x58], eax
mov byte [ebp - 4], 3
cmp eax, ebx
je 0x1001a848
cmp eax, 0xffffffff
je 0x1001a848
call fcn.1001be8c
add eax, 4
cmp dword [eax + 0x18], 8
jb 0x1001a819
mov edi, dword [eax + 4]
jmp 0x1001a81c
lea edi, [eax + 4]
lea esi, [ebp - 0x54]
call fcn.1001be8c
push dword [eax]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
push str.kill_proc:_ls__pid:_d
call fcn.10036ea1
add esp, 0xc
push ebx
push dword [ebp - 0x58]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edi, dword [ebp - 0x54]
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 2
call fcn.10003214
cmp edi, ebx
jne 0x1001a873
call fcn.100405f1
xor eax, eax
mov esi, dword [ebp - 0x50]
cmp esi, dword [eax + 0x14]
jne 0x1001a86c
call fcn.100405f1
mov eax, dword [esi]
jmp 0x1001a7c6
mov eax, dword [edi]
jmp 0x1001a85f
lea edi, [ebp - 0x30]
call fcn.1001bc22
push ebx
push 1
lea esi, [ebp - 0x4c]
call fcn.1000233f
mov al, 1
call fcn.1004195d
ret