joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10004a23
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push edi
push dword [ecx + 0x80]
lea edi, [ecx + 0x78]
mov ecx, edi
push dword [edi + 4]
call fcn.1000a4f6
push 0x100708c8
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll_fopen]
mov ebx, eax
pop ecx
test ebx, ebx
pop ecx
je 0x10004b02
push esi
mov esi, dword [sym.imp.MSVCRT.dll_fread]
push ebx
push 4
lea eax, [ebp - 4]
push 1
push eax
call esi
push ebx
push 4
lea eax, [ebp - 8]
push 1
push eax
call esi
push ebx
push 4
lea eax, [ebp + 8]
push 1
push eax
call esi
push 1
push 4
push ebx
call dword [sym.imp.MSVCRT.dll_fseek]
add esp, 0x3c
cmp dword [ebp - 4], 0x42494c57
je 0x10004aa6
cmp dword [ebp - 8], 0x31303030
je 0x10004aa6
cmp dword [ebp + 8], 0
je 0x10004af4
cmp dword [ebp + 8], 0
je 0x10004af4
push ebx
push 0x10
lea eax, [ebp - 0x18]
push 1
push eax
call esi
add esp, 0x10
cmp eax, 0x10
jne 0x10004ae1
push 4
lea eax, [ebp - 0x18]
pop ecx
xor dword [eax], 0x12345678
add eax, 4
dec ecx
jne 0x10004ac5
lea eax, [ebp - 0x18]
mov ecx, edi
push eax
call fcn.1000a189
dec dword [ebp + 8]
jne 0x10004aac
cmp dword [ebp + 8], 0
je 0x10004af4
push dword [edi + 8]
mov ecx, edi
push dword [edi + 4]
call fcn.1000a4f6
push ebx
call dword [sym.imp.MSVCRT.dll_fclose]
pop ecx
push 1
pop eax
pop esi
jmp 0x10004b04
xor eax, eax
pop edi
pop ebx
leave
ret 4

Function at 0x10004d9c
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push edi
xor edi, edi
push edi
push edi
push 3
push edi
push 1
push SysReAllocString
push dword [ebp + 8]
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp - 0xc], eax
jne 0x10004dcf
xor eax, eax
jmp 0x10004e96
push ebx
push esi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
lea eax, [ebx + 1]
push eax
call dword [sym.imp.MSVCRT.dll_malloc]
mov esi, eax
pop ecx
cmp esi, edi
je 0x10004e88
lea eax, [ebp - 4]
push edi
push eax
push ebx
push esi
mov dword [ebp - 4], edi
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10004e80
mov eax, dword [esi + 0x30]
imul eax, eax, 0x198
add eax, 0x34
cmp dword [ebp - 4], eax
jne 0x10004e80
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x10], 1
mov dword [ebp + 8], edi
mov dword [ecx + eax*4 + 0x18], edi
cmp dword [esi + 0x30], edi
jbe 0x10004e77
lea ebx, [esi + 0xc0]
mov edi, 0x80
push edi
lea eax, [ebx - 0x80]
push dword [esi + 0xc]
push eax
call fcn.100045af
push edi
push dword [esi + 0xc]
push ebx
call fcn.100045af
push edi
lea eax, [ebx + 0x80]
push dword [esi + 0xc]
push eax
call fcn.100045af
add esp, 0x24
inc dword [ebp + 8]
mov eax, dword [ebp + 8]
add ebx, 0x198
cmp eax, dword [esi + 0x30]
jb 0x10004e3c
mov ecx, dword [ebp - 8]
push esi
call fcn.10004edb
push esi
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
pop esi
pop ebx
pop edi
leave
ret 8
Function at 0x10006432
Capabilities:
Get common file path

Disassembly:
mov eax, 0x10053850
call fcn.10052270
sub esp, 0x104
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
cmp byte [edi + 0xc], bl
lea esi, [edi + 0xc]
jne 0x1000645e
cmp byte [edi + 0x8c], bl
je 0x10006679
cmp dword [edi + 0x18c], 0x200
jne 0x10006470
lea esi, [edi + 0x8c]
cmp byte [esi], 0x25
jne 0x10006679
mov eax, dword [edi + 0x194]
cmp eax, 0x10000
je 0x1000663b
cmp eax, 0x20000
je 0x10006602
cmp eax, 0x40000
je 0x100065c9
cmp eax, 0x80000
je 0x10006561
cmp eax, 0x100000
je 0x100064f9
cmp eax, 0x200000
jne 0x10006673
push esi
lea ecx, [ebp + 8]
call fcn.100034da
push 0x10078e28
push str._Temp_
lea ecx, [ebp + 8]
mov dword [ebp - 4], 5
call fcn.10009f51
push dword [ebp + 8]
push 0x80
push esi
call fcn.1000516a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
jmp 0x1000666e
push esi
lea ecx, [ebp + 8]
call fcn.100034da
push 0x104
lea eax, [ebp - 0x110]
push ebx
push eax
mov dword [ebp - 4], 4
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x110]
push ebx
push 0x1a
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
cmp eax, ebx
je 0x10006555
lea eax, [ebp - 0x110]
lea ecx, [ebp + 8]
push eax
push str._AppData_
call fcn.10009f51
push dword [ebp + 8]
push 0x80
push esi
call fcn.1000516a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
jmp 0x1000666e
push esi
lea ecx, [ebp + 8]
call fcn.100034da
push 0x104
lea eax, [ebp - 0x110]
push ebx
push eax
mov dword [ebp - 4], 3
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x110]
push ebx
push 0x23
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
cmp eax, ebx
je 0x100065bd
lea eax, [ebp - 0x110]
lea ecx, [ebp + 8]
push eax
push str._Common_AppData_
call fcn.10009f51
push dword [ebp + 8]
push 0x80
push esi
call fcn.1000516a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
jmp 0x1000666e
push esi
lea ecx, [ebp + 8]
call fcn.100034da
push 0x10078d24
push str._Program_Files_
lea ecx, [ebp + 8]
mov dword [ebp - 4], 2
call fcn.10009f51
push dword [ebp + 8]
push 0x80
push esi
call fcn.1000516a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
jmp 0x1000666e
push esi
lea ecx, [ebp + 8]
call fcn.100034da
push 0x10078c20
push str._System_
lea ecx, [ebp + 8]
mov dword [ebp - 4], 1
call fcn.10009f51
push dword [ebp + 8]
push 0x80
push esi
call fcn.1000516a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
jmp 0x1000666e
push esi
lea ecx, [ebp + 8]
call fcn.100034da
push 0x10078b1c
push str._Winnt_
lea ecx, [ebp + 8]
mov dword [ebp - 4], ebx
call fcn.10009f51
push dword [ebp + 8]
push 0x80
push esi
call fcn.1000516a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.1000349d
mov dword [edi + 0x194], ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x10007573
Capabilities:
Delete service
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push edi
xor edi, edi
push 0xf003f
push edi
push edi
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov ebx, eax
cmp ebx, edi
je 0x100075e8
push esi
push 0xf01ff
push dword [ebp + 8]
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, eax
cmp esi, edi
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
je 0x100075e4
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x100075e1
cmp dword [ebp - 0x20], 0x10
je 0x100075ca
cmp dword [ebp - 0x20], 0x20
jne 0x100075e1
lea eax, [ebp - 0x20]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
push esi
mov dword [ebp - 4], eax
call dword [sym.imp.ADVAPI32.dll_DeleteService]
push esi
call edi
push ebx
call edi
pop esi
mov eax, dword [ebp - 4]
pop edi
pop ebx
leave
ret
Function at 0x10007751
Capabilities:
Query or enumerate registry value
Write file on windows

Disassembly:
mov eax, 0x10053874
call fcn.10052270
sub esp, 0x130
push ebx
push esi
push 4
lea eax, [ebp - 0x20]
pop esi
xor ebx, ebx
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x24]
push eax
push str.StopLog
push str.Software360safeAntiBadware
push SysReAllocString
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], esi
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
cmp dword [ebp - 0x18], 1
je 0x100078ae
mov eax, dword [0x10070040]
push edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x1c], eax
mov al, byte [0x10078b14]
mov byte [ebp - 4], 2
push 0x40
mov byte [ebp - 0x13c], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x13b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0x2a]
push eax
movzx eax, word [ebp - 0x2c]
push eax
movzx eax, word [ebp - 0x2e]
push eax
movzx eax, word [ebp - 0x32]
push eax
movzx eax, word [ebp - 0x34]
push eax
lea eax, [ebp - 0x14]
push str.__d__02d__02d__02d:_02d_r_n
push eax
call fcn.10009c35
add esp, 0x1c
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x10]
push eax
call fcn.10003640
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x10]
mov eax, dword [eax]
push eax
push dword [eax - 8]
call fcn.10009b8e
push str.360safe.log
lea eax, [ebp - 0x13c]
push 0x104
push eax
push dword [0x10078af4]
call fcn.10016dbe
add esp, 0x10
lea eax, [ebp - 0x13c]
push ebx
push 0x80
push esi
push ebx
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
pop edi
cmp esi, 0xffffffff
je 0x1000788b
push 2
push ebx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x38]
push ebx
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.1000349d
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.1000349d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.1000349d
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x10009194
Capabilities:
Get common file path

Disassembly:
mov eax, 0x100538f0
call fcn.10052270
sub esp, 0x108
push ebx
push esi
push edi
push 0x40
xor ebx, ebx
pop ecx
xor eax, eax
lea edi, [ebp - 0x113]
mov byte [ebp - 0x114], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [0x10070040]
mov dword [ebp - 0x10], eax
push 0x104
lea eax, [ebp - 0x114]
push ebx
push eax
mov dword [ebp - 4], ebx
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x114]
push ebx
push 2
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
push dword [ebp + 8]
lea eax, [ebp - 0x114]
mov edi, 0x10070058
push eax
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.10009c35
mov esi, dword [ebp + 0xc]
add esp, 0x10
cmp dword [esi + 0x8c], ebx
je 0x10009227
push dword [ebp - 0x10]
lea ecx, [esi + 0x94]
call fcn.10011b9b
jmp 0x1000923c
push dword [esi + 0x88]
mov eax, dword [esi + 4]
push eax
push dword [ebp - 0x10]
call fcn.10014309
add esp, 0xc
call fcn.10016ba4
test eax, eax
je 0x100092c4
push 0x104
lea eax, [ebp - 0x114]
push ebx
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x10]
push 0x10078b14
call fcn.100036ad
push ebx
lea eax, [ebp - 0x114]
push 0x17
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
cmp byte [ebp - 0x114], bl
je 0x100092c4
push dword [ebp + 8]
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.10009c35
add esp, 0x10
cmp dword [esi + 0x8c], ebx
je 0x100092af
push dword [ebp - 0x10]
lea ecx, [esi + 0x94]
call fcn.10011b9b
jmp 0x100092c4
push dword [esi + 0x88]
mov eax, dword [esi + 4]
push eax
push dword [ebp - 0x10]
call fcn.10014309
add esp, 0xc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.1000349d
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x100092df
Capabilities:
Get common file path

Disassembly:
mov eax, 0x10053904
call fcn.10052270
sub esp, 0x108
push ebx
push esi
push edi
push 0x40
xor ebx, ebx
pop ecx
xor eax, eax
lea edi, [ebp - 0x113]
mov byte [ebp - 0x114], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [0x10070040]
mov dword [ebp - 0x10], eax
push 0x104
lea eax, [ebp - 0x114]
push ebx
push eax
mov dword [ebp - 4], ebx
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x114]
push ebx
push 2
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
push dword [ebp + 8]
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x10]
push 0x10070058
push eax
call fcn.10009c35
push dword [ebp - 0x10]
call fcn.1000aeee
mov esi, dword [ebp + 0xc]
add esp, 0x14
test al, al
mov edi, 0x10070944
je 0x100093a2
cmp dword [esi + 0x8c], ebx
je 0x10009385
push 1
lea ecx, [esi + 0x94]
push dword [ebp - 0x10]
push edi
call fcn.10011e01
jmp 0x100093a2
push dword [esi + 4]
push ebx
push 1
push dword [ebp - 0x10]
push edi
call fcn.100143a4
push dword [esi + 4]
push dword [ebp - 0x10]
call fcn.1001a108
add esp, 0x1c
call fcn.10016ba4
test eax, eax
je 0x10009441
push 0x104
lea eax, [ebp - 0x114]
push ebx
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x10]
push 0x10078b14
call fcn.100036ad
push ebx
lea eax, [ebp - 0x114]
push 0x17
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
push dword [ebp + 8]
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x10]
push 0x10070058
push eax
call fcn.10009c35
push dword [ebp - 0x10]
call fcn.1000aeee
add esp, 0x14
test al, al
je 0x10009441
cmp dword [esi + 0x8c], ebx
je 0x10009424
push 1
lea ecx, [esi + 0x94]
push dword [ebp - 0x10]
push edi
call fcn.10011e01
jmp 0x10009441
push dword [esi + 4]
push ebx
push 1
push dword [ebp - 0x10]
push edi
call fcn.100143a4
push dword [esi + 4]
push dword [ebp - 0x10]
call fcn.1001a108
add esp, 0x1c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.1000349d
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x1000945c
Capabilities:
Get common file path

Disassembly:
mov eax, 0x10053918
call fcn.10052270
sub esp, 0x108
push ebx
push esi
push edi
push 0x40
xor ebx, ebx
pop ecx
xor eax, eax
lea edi, [ebp - 0x113]
mov byte [ebp - 0x114], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [0x10070040]
mov dword [ebp - 0x10], eax
push 0x104
lea eax, [ebp - 0x114]
push ebx
push eax
mov dword [ebp - 4], ebx
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x114]
push ebx
push 0xb
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
push dword [ebp + 8]
lea eax, [ebp - 0x114]
mov edi, 0x10070058
push eax
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.10009c35
mov esi, dword [ebp + 0xc]
add esp, 0x10
cmp dword [esi + 0x8c], ebx
je 0x100094ef
push dword [ebp - 0x10]
lea ecx, [esi + 0x94]
call fcn.10011b9b
jmp 0x10009504
push dword [esi + 0x88]
mov eax, dword [esi + 4]
push eax
push dword [ebp - 0x10]
call fcn.10014309
add esp, 0xc
call fcn.10016ba4
test eax, eax
je 0x1000958c
push 0x104
lea eax, [ebp - 0x114]
push ebx
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x10]
push 0x10078b14
call fcn.100036ad
push ebx
lea eax, [ebp - 0x114]
push 0x16
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
cmp byte [ebp - 0x114], bl
je 0x1000958c
push dword [ebp + 8]
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.10009c35
add esp, 0x10
cmp dword [esi + 0x8c], ebx
je 0x10009577
push dword [ebp - 0x10]
lea ecx, [esi + 0x94]
call fcn.10011b9b
jmp 0x1000958c
push dword [esi + 0x88]
mov eax, dword [esi + 4]
push eax
push dword [ebp - 0x10]
call fcn.10014309
add esp, 0xc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.1000349d
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x100095a7
Capabilities:
Get common file path

Disassembly:
mov eax, 0x1005392c
call fcn.10052270
sub esp, 0x108
push ebx
push esi
push edi
push 0x40
xor ebx, ebx
pop ecx
xor eax, eax
lea edi, [ebp - 0x113]
mov byte [ebp - 0x114], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [0x10070040]
mov dword [ebp - 0x10], eax
push 0x104
lea eax, [ebp - 0x114]
push ebx
push eax
mov dword [ebp - 4], ebx
call sub.MSVCRT.dll_memset
mov edi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
add esp, 0xc
lea eax, [ebp - 0x114]
push ebx
push 0x10
push eax
push ebx
call edi
push dword [ebp + 8]
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x10]
push 0x10070058
push eax
call fcn.10009c35
mov esi, dword [ebp + 0xc]
add esp, 0x10
cmp dword [esi + 0x8c], ebx
je 0x1000963b
push dword [ebp - 0x10]
lea ecx, [esi + 0x94]
call fcn.10011b9b
jmp 0x10009650
push dword [esi + 0x88]
mov eax, dword [esi + 4]
push eax
push dword [ebp - 0x10]
call fcn.10014309
add esp, 0xc
call fcn.10016ba4
test eax, eax
je 0x100096d0
push 0x104
lea eax, [ebp - 0x114]
push ebx
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x10]
push 0x10078b14
call fcn.100036ad
push ebx
lea eax, [ebp - 0x114]
push 0x19
push eax
push ebx
call edi
push dword [ebp + 8]
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x10]
push 0x10070058
push eax
call fcn.10009c35
add esp, 0x10
cmp dword [esi + 0x8c], ebx
je 0x100096bb
push dword [ebp - 0x10]
lea ecx, [esi + 0x94]
call fcn.10011b9b
jmp 0x100096d0
push dword [esi + 0x88]
mov eax, dword [esi + 4]
push eax
push dword [ebp - 0x10]
call fcn.10014309
add esp, 0xc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.1000349d
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x100096eb
Capabilities:
Get common file path
Get startup folder

Disassembly:
mov eax, 0x10053940
call fcn.10052270
sub esp, 0x108
push ebx
push esi
push edi
push 0x40
xor ebx, ebx
pop ecx
xor eax, eax
lea edi, [ebp - 0x113]
mov byte [ebp - 0x114], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [0x10070040]
mov dword [ebp - 0x10], eax
push 0x104
lea eax, [ebp - 0x114]
push ebx
push eax
mov dword [ebp - 4], ebx
call sub.MSVCRT.dll_memset
mov edi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
add esp, 0xc
lea eax, [ebp - 0x114]
push ebx
push 7
push eax
push ebx
call edi
push dword [ebp + 8]
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x10]
push 0x10070058
push eax
call fcn.10009c35
mov esi, dword [ebp + 0xc]
add esp, 0x10
cmp dword [esi + 0x8c], ebx
je 0x1000977f
push dword [ebp - 0x10]
lea ecx, [esi + 0x94]
call fcn.10011b9b
jmp 0x10009794
push dword [esi + 0x88]
mov eax, dword [esi + 4]
push eax
push dword [ebp - 0x10]
call fcn.10014309
add esp, 0xc
call fcn.10016ba4
test eax, eax
je 0x10009814
push 0x104
lea eax, [ebp - 0x114]
push ebx
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x10]
push 0x10078b14
call fcn.100036ad
push ebx
lea eax, [ebp - 0x114]
push 0x18
push eax
push ebx
call edi
push dword [ebp + 8]
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x10]
push 0x10070058
push eax
call fcn.10009c35
add esp, 0x10
cmp dword [esi + 0x8c], ebx
je 0x100097ff
push dword [ebp - 0x10]
lea ecx, [esi + 0x94]
call fcn.10011b9b
jmp 0x10009814
push dword [esi + 0x88]
mov eax, dword [esi + 4]
push eax
push dword [ebp - 0x10]
call fcn.10014309
add esp, 0xc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.1000349d
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x1000982f
Capabilities:
Get common file path

Disassembly:
mov eax, 0x10053954
call fcn.10052270
sub esp, 0x108
push ebx
push edi
push 0x40
xor ebx, ebx
pop ecx
xor eax, eax
lea edi, [ebp - 0x113]
mov byte [ebp - 0x114], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [0x10070040]
mov dword [ebp - 0x10], eax
push 0x104
lea eax, [ebp - 0x114]
push ebx
push eax
mov dword [ebp - 4], ebx
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x114]
push ebx
push 0x1a
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
push dword [ebp + 8]
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x10]
push str._sMicrosoftInternet_ExplorerQuick_Launch_s
push eax
call fcn.10009c35
mov eax, dword [ebp + 0xc]
add esp, 0x10
cmp dword [eax + 0x8c], ebx
pop edi
pop ebx
je 0x100098c2
push dword [ebp - 0x10]
lea ecx, [eax + 0x94]
call fcn.10011b9b
jmp 0x100098d7
push dword [eax + 0x88]
mov ecx, dword [eax + 4]
push ecx
push dword [ebp - 0x10]
call fcn.10014309
add esp, 0xc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.1000349d
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret
Function at 0x1000b0cf
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
lea eax, [ebp - 4]
push esi
push eax
push 0x28
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1000b12a
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], 1
push eax
push str.SeDebugPrivilege
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
push esi
push esi
lea eax, [ebp - 0x14]
push 0x10
push eax
push esi
push dword [ebp - 4]
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
leave
ret

Function at 0x1000b252
Capabilities:
Connect to http server
Create http request
Send data
Send http request

Disassembly:
mov eax, 0x10053a78
call fcn.10052270
sub esp, 0x18
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
xor esi, esi
cmp dword [ebp + 8], esi
je 0x1000b356
cmp dword [ebp + 0xc], esi
je 0x1000b356
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.WININET.dll_InternetOpenA]
mov edi, eax
mov dword [ebp - 0x20], edi
cmp edi, esi
je 0x1000b318
mov eax, dword [ebp + 0x10]
cmp eax, esi
je 0x1000b2a5
mov dword [eax], edi
push esi
push esi
push 3
push esi
push esi
push 0x50
push dword [ebp + 8]
push edi
call dword [sym.imp.WININET.dll_InternetConnectA]
mov ebx, eax
mov dword [ebp - 0x1c], ebx
cmp ebx, esi
je 0x1000b30e
mov eax, 0x4000000
mov dword [ebp - 0x24], eax
push esi
push eax
push esi
push esi
push str.HTTP_1.0
push dword [ebp + 0xc]
push 0x10070e58
push ebx
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov edi, eax
mov dword [ebp - 0x18], edi
cmp edi, esi
je 0x1000b301
push esi
push esi
push esi
push esi
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
mov dword [ebp - 0x14], eax
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x18], esi
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x1c], esi
mov edi, dword [ebp - 0x20]
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x20], esi
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
jmp 0x1000b358
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret