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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101acda8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x10206370]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 8], 0
jne 0x100d592f
xor eax, eax
jmp 0x100d59a9
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100d5941
xor eax, eax
jmp 0x100d59a9
cmp dword [ebp + 0xc], 0
je 0x100d59a1
push 0x101c0288
lea ecx, [ebp - 0x14]
push ecx
call fcn.100ea5b0
add esp, 8
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x1c]
call fcn.1004f530
push eax
call fcn.100500a0
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.100056e0
cmp dword [ebp - 0x10], 0
je 0x100d59a1
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.100500d0
add esp, 8
jmp 0x100d59a9
mov eax, dword [ebp + 8]
call fcn.101763a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x100d59c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
jne 0x100d59cd
xor eax, eax
jmp 0x100d5a0b
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100d59df
xor eax, eax
jmp 0x100d5a0b
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call fcn.100ea33b
add esp, 8
test eax, eax
je 0x100d59fb
mov eax, 1
jmp 0x100d5a0b
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.100d5900
add esp, 8
pop ebp
ret
Function at 0x100d6440
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x10206370]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x238], ecx
mov ecx, dword [ebp - 0x238]
call fcn.100d6610
movzx eax, al
test eax, eax
je 0x100d6476
mov ecx, dword [ebp - 0x238]
call fcn.100d65e0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100d648b
xor al, al
jmp 0x100d65c6
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x238]
mov ecx, dword [eax + 4]
call fcn.100d7d10
test eax, eax
jne 0x100d64a8
xor al, al
jmp 0x100d65c6
mov byte [ebp - 0x231], 0
cmp dword [ebp + 0xc], 0
je 0x100d64cf
push 0x100
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x218]
push edx
call fcn.101815fa
add esp, 0xc
jmp 0x100d64e8
mov eax, dword [ebp + 8]
push eax
push str._s.idx
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea edx, [ebp - 0x230]
push edx
lea eax, [ebp - 0x228]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x238]
call fcn.100d6a20
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100d6586
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x220]
push ecx
lea edx, [ebp - 0x218]
push edx
mov ecx, dword [ebp - 0x238]
call fcn.100d6a20
test eax, eax
je 0x100d6586
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x228]
push ecx
call fcn.100d6220
add esp, 8
movzx edx, al
test edx, edx
je 0x100d6586
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x230]
push ecx
call fcn.100d6220
add esp, 8
movzx edx, al
test edx, edx
je 0x100d6586
lea eax, [ebp - 0x218]
push eax
mov ecx, dword [ebp - 0x238]
call fcn.100d6a00
mov byte [ebp - 0x231], al
movzx ecx, byte [ebp - 0x231]
test ecx, ecx
jne 0x100d65c0
mov edx, dword [ebp - 0x238]
mov ecx, dword [edx + 4]
call fcn.100b45c0
push eax
mov eax, dword [ebp - 0x238]
mov ecx, dword [eax + 4]
call fcn.100d7e80
push eax
mov ecx, dword [ebp - 0x238]
call fcn.100d6630
mov byte [ebp - 0x231], al
mov al, byte [ebp - 0x231]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.1017e01c
mov esp, ebp
pop ebp
ret 8
Function at 0x100d7d10
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 0xc]
call fcn.100d7e60
push 0x101c00b0
mov eax, dword [ebp + 8]
push eax
call fcn.10181877
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x100d7d3f
xor eax, eax
jmp 0x100d7db9
push 2
push 0
mov ecx, dword [ebp - 4]
push ecx
call fcn.10181c28
add esp, 0xc
mov edx, dword [ebp - 4]
push edx
call fcn.10182119
add esp, 4
mov dword [ebp - 8], eax
push 0
push 0
mov eax, dword [ebp - 4]
push eax
call fcn.10181c28
add esp, 0xc
cmp dword [ebp - 8], 0
jle 0x100d7da2
mov ecx, dword [ebp - 8]
push ecx
mov ecx, dword [ebp - 0xc]
call fcn.100d7dc0
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x10], 0
je 0x100d7da2
mov eax, dword [ebp - 4]
push eax
push 1
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x10]
push eax
call fcn.10181b81
add esp, 0x10
mov ecx, dword [ebp - 4]
push ecx
call fcn.10181d24
add esp, 4
mov ecx, dword [ebp - 0xc]
call fcn.100d7ea0
movzx eax, al
mov esp, ebp
pop ebp
ret 4
Function at 0x100db970
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x1c], ecx
cmp dword [ebp + 8], 0
je 0x100db985
cmp dword [ebp + 0xc], 0
jne 0x100db98f
mov eax, 0x80004005
jmp 0x100dba5f
call fcn.10001140
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.10161b00
add esp, 8
test eax, eax
je 0x100db9c2
mov eax, 0x80004005
jmp 0x100dba5f
cmp dword [ebp - 8], 0
jne 0x100db9cf
xor eax, eax
jmp 0x100dba5f
mov byte [ebp - 0xd], 0
cmp dword [ebp - 8], 0
je 0x100dba41
push 0
push 0
push 0
push str.select__from_sqlite_master
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push ecx
call fcn.1013fa50
add esp, 0x14
test eax, eax
jne 0x100db9fc
mov byte [ebp - 0xd], 1
jmp 0x100dba41
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
push eax
call fcn.1015fb90
add esp, 4
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x100dba23
jmp 0x100dba41
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.10161b00
add esp, 8
test eax, eax
je 0x100dba39
jmp 0x100dba41
mov byte [ebp - 0xd], 1
xor edx, edx
jne 0x100db9d9
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x1c]
call fcn.1000b540
movzx eax, byte [ebp - 0xd]
neg eax
sbb eax, eax
and eax, 0x7fffbffb
add eax, 0x80004005
mov esp, ebp
pop ebp
ret 8
Function at 0x100e2b88
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x1a4]
sub esp, 0x224
mov eax, dword [0x10206370]
xor eax, ebp
mov dword [ebp + 0x1a0], eax
mov eax, dword [ebp + 0x1ac]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x78], eax
cmp esi, ebx
je 0x100e2cf3
xor ecx, ecx
cmp ecx, 0x101dd74c
je 0x100e2cf3
cmp eax, ebx
je 0x100e2cf3
push 0x208
lea eax, [ebp - 0x68]
push ebx
push eax
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x74], 1
call fcn.101845c0
mov eax, dword [ebp + 0x1b0]
push esi
push str.SOFTWARE360SafeLiveUpupdatecfg
add eax, eax
push 0x101dd714
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x68]
push 0x103
push eax
call fcn.1017fcf6
add esp, 0x20
lea eax, [ebp - 0x6c]
push eax
push 0x20219
push ebx
lea eax, [ebp - 0x68]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, ebx
jne 0x100e2c6d
cmp dword [ebp - 0x6c], ebx
je 0x100e2c65
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x78]
lea eax, [ebp - 0x74]
push eax
push ebx
push 0x101dd74c
push dword [ebp - 0x6c]
call esi
push dword [ebp - 0x6c]
mov dword [ebp - 0x80], eax
call edi
cmp dword [ebp - 0x80], ebx
jne 0x100e2c6d
mov eax, dword [ebp - 0x70]
jmp 0x100e2cf5
cmp byte [ebp + 0x1b4], bl
je 0x100e2cf3
lea eax, [ebp - 0x6c]
push eax
push 0x20219
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100e2cf3
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x74]
push eax
push ebx
push str.Path
push dword [ebp - 0x6c]
mov dword [ebp - 0x74], 1
mov dword [ebp - 0x70], 0x206
call esi
push dword [ebp - 0x6c]
call edi
push 0xe
push str.updatecfg.ini
lea eax, [ebp - 0x68]
push 0x104
push eax
call fcn.1018251b
add esp, 0x10
lea eax, [ebp - 0x68]
push eax
push dword [ebp + 0x1b0]
push dword [ebp - 0x78]
push ebx
push 0x101dd74c
push dword [ebp - 0x7c]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
jmp 0x100e2cf5
xor eax, eax
mov ecx, dword [ebp + 0x1a0]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1017e01c
add ebp, 0x1a4
leave
ret
Function at 0x100e2d0d
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x794]
sub esp, 0x814
mov eax, dword [0x10206370]
xor eax, ebp
mov dword [ebp + 0x790], eax
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
mov esi, edx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x78], esi
cmp ebx, edi
je 0x100e2e78
cmp esi, edi
je 0x100e2e78
cmp dword [ebp + 0x79c], edi
je 0x100e2e78
push 0x5c
push ebx
call fcn.10181785
pop ecx
pop ecx
cmp eax, edi
je 0x100e2d85
push edi
push dword [ebp + 0x79c]
lea ecx, [eax + 2]
push esi
call fcn.100e2b88
add esp, 0xc
test eax, eax
je 0x100e2d85
cmp word [esi], di
je 0x100e2d85
xor eax, eax
inc eax
jmp 0x100e2e7a
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocStringLen
push ebx
mov dword [ebp - 0x74], edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x100e2e78
push 2
push edi
push 0xffffff00
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov esi, 0x800
push esi
lea eax, [ebp - 0x70]
push edi
push eax
mov dword [ebp - 0x7c], edi
call fcn.101845c0
add esp, 0xc
push edi
lea eax, [ebp - 0x7c]
push eax
push esi
lea eax, [ebp - 0x70]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100e2e3f
mov ecx, dword [ebp - 0x7c]
cmp ecx, 0x100
ja 0x100e2e3f
lea eax, [ebp - 0x70]
shr ecx, 1
push eax
call fcn.100e2b31
pop ecx
cmp eax, edi
je 0x100e2e33
lea esi, [eax + 0x22]
push 0x101db614
push esi
call fcn.1017e887
pop ecx
pop ecx
cmp eax, edi
je 0x100e2e33
sub eax, esi
sar eax, 1
cmp eax, dword [ebp + 0x79c]
jae 0x100e2e33
push eax
push esi
push dword [ebp - 0x78]
call fcn.101815fa
add esp, 0xc
mov dword [ebp - 0x74], 1
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x74], edi
jne 0x100e2e73
push 0x5c
push dword [ebp - 0x80]
call fcn.10181785
pop ecx
pop ecx
cmp eax, edi
je 0x100e2e73
mov esi, dword [ebp - 0x78]
push 1
push dword [ebp + 0x79c]
lea ecx, [eax + 2]
push esi
call fcn.100e2b88
add esp, 0xc
test eax, eax
je 0x100e2e73
cmp word [esi], di
jne 0x100e2d7d
mov eax, dword [ebp - 0x74]
jmp 0x100e2e7a
xor eax, eax
mov ecx, dword [ebp + 0x790]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1017e01c
add ebp, 0x794
leave
ret
jmp 0x100e2d0d
Function at 0x100e3534
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x794]
sub esp, 0x814
mov eax, dword [0x10206370]
xor eax, ebp
mov dword [ebp + 0x790], eax
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
mov esi, edx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x78], esi
cmp ebx, edi
je 0x100e2e78
cmp esi, edi
je 0x100e2e78
cmp dword [ebp + 0x79c], edi
je 0x100e2e78
push 0x5c
push ebx
call fcn.10181785
pop ecx
pop ecx
cmp eax, edi
je 0x100e2d85
push edi
push dword [ebp + 0x79c]
lea ecx, [eax + 2]
push esi
call fcn.100e2b88
add esp, 0xc
test eax, eax
je 0x100e2d85
cmp word [esi], di
je 0x100e2d85
xor eax, eax
inc eax
jmp 0x100e2e7a
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocStringLen
push ebx
mov dword [ebp - 0x74], edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x100e2e78
push 2
push edi
push 0xffffff00
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov esi, 0x800
push esi
lea eax, [ebp - 0x70]
push edi
push eax
mov dword [ebp - 0x7c], edi
call fcn.101845c0
add esp, 0xc
push edi
lea eax, [ebp - 0x7c]
push eax
push esi
lea eax, [ebp - 0x70]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100e2e3f
mov ecx, dword [ebp - 0x7c]
cmp ecx, 0x100
ja 0x100e2e3f
lea eax, [ebp - 0x70]
shr ecx, 1
push eax
call fcn.100e2b31
pop ecx
cmp eax, edi
je 0x100e2e33
lea esi, [eax + 0x22]
push 0x101db614
push esi
call fcn.1017e887
pop ecx
pop ecx
cmp eax, edi
je 0x100e2e33
sub eax, esi
sar eax, 1
cmp eax, dword [ebp + 0x79c]
jae 0x100e2e33
push eax
push esi
push dword [ebp - 0x78]
call fcn.101815fa
add esp, 0xc
mov dword [ebp - 0x74], 1
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x74], edi
jne 0x100e2e73
push 0x5c
push dword [ebp - 0x80]
call fcn.10181785
pop ecx
pop ecx
cmp eax, edi
je 0x100e2e73
mov esi, dword [ebp - 0x78]
push 1
push dword [ebp + 0x79c]
lea ecx, [eax + 2]
push esi
call fcn.100e2b88
add esp, 0xc
test eax, eax
je 0x100e2e73
cmp word [esi], di
jne 0x100e2d7d
mov eax, dword [ebp - 0x74]
jmp 0x100e2e7a
xor eax, eax
mov ecx, dword [ebp + 0x790]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1017e01c
add ebp, 0x794
leave
ret
jmp 0x100e2d0d

Function at 0x100e40fe
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x10206370]
xor eax, ebp
mov dword [ebp + 0x18c], eax
and dword [ebp - 0x80], 0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x7c], ax
lea eax, [ebp - 0x7a]
push eax
call fcn.101845c0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x100e4157
test esi, esi
je 0x100e4157
push esi
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x7c]
push eax
mov ecx, edi
call fcn.1000b560
mov ecx, dword [ebp + 0x18c]
xor ecx, ebp
mov eax, edi
call fcn.1017e01c
add ebp, 0x190
leave
ret
Function at 0x100e4179
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x10206370]
xor eax, ebp
mov dword [ebp + 0x18c], eax
and dword [ebp - 0x80], 0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x7c], ax
lea eax, [ebp - 0x7a]
push eax
call fcn.101845c0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x100e41d2
test esi, esi
je 0x100e41d2
push esi
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x7c]
push eax
mov ecx, edi
call fcn.1000b560
mov ecx, dword [ebp + 0x18c]
xor ecx, ebp
mov eax, edi
call fcn.1017e01c
add ebp, 0x190
leave
ret

Function at 0x100e41f4
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x10206370]
xor eax, ebp
mov dword [ebp + 0x18c], eax
and dword [ebp - 0x80], 0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x7c], ax
lea eax, [ebp - 0x7a]
push eax
call fcn.101845c0
add esp, 0xc
push 1
push 0x1a
lea eax, [ebp - 0x7c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test edi, edi
je 0x100e424a
push edi
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x7c]
push eax
mov ecx, ebx
call fcn.1000b560
mov ecx, dword [ebp + 0x18c]
xor ecx, ebp
mov eax, ebx
call fcn.1017e01c
add ebp, 0x190
leave
ret

Function at 0x100e468f
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push edi
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
xor edi, edi
push edi
push eax
push dword [ebp - 8]
mov dword [ebp - 0xc], eax
push 2
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [esi + 8], eax
cmp eax, edi
jne 0x100e46c8
call fcn.100014f0
jmp 0x100e4705
mov ecx, dword [ebp - 0xc]
push 4
pop edx
push edi
push ecx
push edi
push edi
push edx
push eax
mov dword [esi + 4], ecx
mov dword [esi + 0x18], edx
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFileEx]
mov dword [esi], eax
cmp eax, edi
jne 0x100e4703
call fcn.100014f0
push dword [esi + 8]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 8], edi
mov eax, ebx
jmp 0x100e4705
xor eax, eax
pop edi
pop ebx
leave
ret 4
Function at 0x100e54d7
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push edi
xor edi, edi
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocStringLen
push dword [ebp + 8]
mov dword [ebx], edi
mov dword [esi], edi
mov dword [ebp - 0xc], edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x100e5585
mov dword [ebp - 0x14], edi
xor eax, eax
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x100e5580
mov eax, dword [ebp - 0x14]
mov dword [esi], eax
add eax, 8
push 0x1020ea64
push eax
call fcn.1017fd14
xor edi, edi
pop ecx
pop ecx
mov dword [ebx], eax
cmp eax, edi
jne 0x100e554e
mov dword [esi], edi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
jmp 0x100e5587
mov ecx, dword [esi]
add ecx, 8
push ecx
push edi
push eax
call fcn.101845c0
add esp, 0xc
push edi
lea eax, [ebp - 8]
push eax
push dword [esi]
mov dword [ebp - 8], edi
push dword [ebx]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 8]
xor eax, eax
cmp ecx, dword [esi]
sete al
mov dword [ebp - 0xc], eax
mov edi, dword [ebp - 0xc]
jmp 0x100e5541
xor eax, eax
pop edi
leave
ret

Function at 0x100ed659
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x78c]
sub esp, 0x80c
mov eax, dword [0x10206370]
xor eax, ebp
mov dword [ebp + 0x788], eax
and dword [ebp - 0x7c], 0
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x78], ax
lea eax, [ebp - 0x76]
push eax
call fcn.101845c0
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x7c]
push eax
push str.OpenSeStratInfo
push str.Software360SoftMgrSML
push SysReAllocStringLen
mov dword [ebp - 0x7c], 1
mov dword [ebp - 0x80], 0x800
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov ecx, esi
test eax, eax
jne 0x100ed6cb
lea eax, [ebp - 0x78]
push eax
jmp 0x100ed6d0
push 0x101da6a0
call fcn.1000b560
mov ecx, dword [ebp + 0x788]
xor ecx, ebp
mov eax, esi
call fcn.1017e01c
add ebp, 0x78c
leave
ret
Function at 0x100f3920
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x78
mov eax, dword [0x10206370]
xor eax, esp
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x80]
push ebx
push ebp
mov ebp, dword [esp + 0x84]
push esi
push edi
xor edi, edi
push eax
mov eax, dword [esp + 0x98]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x1c], 0x67452301
mov dword [esp + 0x20], 0xefcdab89
mov dword [esp + 0x24], 0x98badcfe
mov dword [esp + 0x28], 0x10325476
call fcn.101633b0
add esp, 4
lea esi, [esp + 0x18]
lea ecx, [esp + 0x74]
call fcn.10163460
mov dword [esp + 0x14], edi
lea ecx, [edi + 0x10]
lea eax, [ebp + 0x13]
lea esi, [esp + 0x83]
lea esp, [esp]
movzx dx, byte [eax]
movzx bx, byte [esi]
add dx, bx
add di, dx
mov word [esp + 0x14], di
mov dl, byte [esp + 0x14]
mov byte [eax], dl
add ecx, 0xffff
shr di, 8
dec esi
dec eax
test cx, cx
ja 0x100f39a0
mov eax, dword [ebp]
mov ecx, dword [esp + 0x94]
cmp eax, ecx
jae 0x100f39f4
mov dword [ebp], 0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.1017e01c
add esp, 0x78
ret
sub eax, ecx
mov ecx, dword [esp + 0x84]
pop edi
pop esi
mov dword [ebp], eax
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.1017e01c
add esp, 0x78
ret

Function at 0x100f3a20
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x70
mov eax, dword [0x10206370]
xor eax, esp
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x74]
push ebx
push ebp
mov ebx, ecx
cmp dword [ebx], 0
push esi
push edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebx
mov ebp, 1
je 0x100f3a62
mov eax, 0x408
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.1017e01c
add esp, 0x70
ret
mov eax, dword [ebx + 0x14]
cmp eax, 1
jae 0x100f3b18
mov ecx, 0xfffffffd
sub ecx, ebx
mov dword [esp + 0x1c], ecx
lea esp, [esp]
mov ecx, ebx
sub ecx, eax
add ecx, 0x28
mov edi, eax
test eax, eax
je 0x100f3a9e
mov esi, dword [esp + 0x14]
sub esi, ecx
mov dl, byte [ecx]
mov byte [esi + ecx], dl
inc ecx
sub edi, 1
jne 0x100f3a93
add dword [esp + 0x14], eax
sub ebp, eax
xor eax, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], eax
lea eax, [ebx + 4]
push eax
mov eax, 0x10
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], 0x67452301
mov dword [esp + 0x28], 0xefcdab89
mov dword [esp + 0x2c], 0x98badcfe
mov dword [esp + 0x30], 0x10325476
call fcn.101633b0
add esp, 4
lea esi, [esp + 0x20]
lea ecx, [ebx + 0x18]
call fcn.10163460
mov eax, 0x10
lea ecx, [ebx + 0x13]
mov dl, byte [ecx]
mov bl, dl
inc bl
mov byte [ecx], bl
test dl, dl
jne 0x100f3b0c
mov edx, dword [esp + 0x1c]
dec ecx
add edx, ecx
jne 0x100f3af7
mov ebx, dword [esp + 0x18]
cmp ebp, eax
ja 0x100f3a80
mov ecx, ebx
sub ecx, eax
add ecx, 0x28
mov edi, ebp
test ebp, ebp
je 0x100f3b3b
mov esi, dword [esp + 0x14]
sub esi, ecx
jmp 0x100f3b30
mov dl, byte [ecx]
mov byte [esi + ecx], dl
inc ecx
sub edi, 1
jne 0x100f3b30
mov ecx, dword [esp + 0x7c]
pop edi
sub eax, ebp
pop esi
mov dword [ebx + 0x14], eax
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.1017e01c
add esp, 0x70
ret