joyce8/EMBER2024-capa huggingface dataset:
Function at 0x415580
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x415767
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
xor edx, edx
mov eax, dword [0x4ecdb0]
call fcn.0040a5c8
mov dword [0x4ee6e8], eax
xor edx, edx
mov eax, dword [0x4ecdb4]
call fcn.0040a5c8
mov dword [0x4ee6ec], eax
lea eax, [ebp - 8]
mov edx, 5
call fcn.00403aa4
lea eax, [ebp - 8]
call fcn.00403a10
mov byte [eax], 0x72
lea eax, [ebp - 8]
call fcn.00403a10
mov byte [eax + 1], 0x64
lea eax, [ebp - 8]
call fcn.00403a10
mov byte [eax + 2], 0x65
lea eax, [ebp - 8]
call fcn.00403a10
mov byte [eax + 3], 0x63
lea eax, [ebp - 8]
call fcn.00403a10
mov byte [eax + 4], 0x20
lea edx, [ebp - 0xc]
mov eax, dword [0x4ece38]
call fcn.00406714
push dword [ebp - 0xc]
push 0x415780
push dword [ebp - 8]
lea eax, [ebp - 0x10]
push eax
call sub.KERNEL32.dll_GetCurrentProcessId
mov cl, 0x30
mov edx, 1
call fcn.004061ac
push dword [ebp - 0x10]
lea eax, [ebp - 8]
mov edx, 4
call fcn.00403878
mov eax, dword [ebp - 8]
call fcn.004039b8
push eax
push 0
push 0
call fcn.00404bb8
mov edx, dword [ebp + 8]
mov dword [edx - 4], eax
mov eax, dword [ebp + 8]
cmp dword [eax - 4], 0
je 0x41574c
push 0xffffffffffffffff
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
push eax
call sub.KERNEL32.dll_WaitForSingleObject
mov dword [0x4ee6dc], esi
mov dword [0x4ee6e0], edi
cmp dword [0x4ee6e8], 0
je 0x41569c
cmp dword [0x4ee6ec], 0
jne 0x41571e
mov dl, 1
mov eax, dword [0x4ecd20]
call fcn.0040a6d4
mov esi, eax
cmp dword [esi], 0x4244c8b
jne 0x415730
lea eax, [esi + 4]
mov eax, dword [eax]
and eax, 0xffffff
cmp eax, 0x241c8b
jne 0x415730
lea eax, [esi + 7]
cmp byte [eax], 0x51
jne 0x415730
lea eax, [esi + 8]
cmp byte [eax], 0x53
jne 0x415730
lea eax, [esi + 9]
cmp byte [eax], 0xe8
jne 0x415730
lea eax, [ebp - 4]
push eax
push 0x40
push 4
lea eax, [esi + 0xa]
push eax
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
je 0x415730
lea edx, [esi + 0xe]
lea eax, [esi + 0xa]
add edx, dword [eax]
mov dword [0x4ee6e4], edx
mov edx, 0x415530
sub edx, esi
sub edx, 0xe
mov dword [eax], edx
lea edx, [ebp - 4]
push edx
mov edx, dword [ebp - 4]
push edx
push 4
push eax
call sub.KERNEL32.dll_VirtualProtect
mov bl, 1
jmp 0x415730
push 0x4154dc
push 1
call dword [0x4ee6e8]
test eax, eax
setne bl
test bl, bl
jne 0x41574c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
push eax
call sub.KERNEL32.dll_ReleaseMutex
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
push eax
call sub.KERNEL32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41576e
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.0040354c
ret
Function at 0x415784
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
cmp dword [0x4ee6e8], 0
je 0x41579c
cmp dword [0x4ee6ec], 0
jne 0x4157f5
mov dl, 1
mov eax, dword [0x4ecd20]
call fcn.0040a6d4
mov ebx, eax
lea eax, [ebp - 4]
push eax
push 0x40
push 4
lea esi, [ebx + 0xa]
push esi
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
je 0x4157db
mov eax, dword [0x4ee6e4]
sub eax, ebx
sub eax, 0xe
mov dword [esi], eax
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 4]
push eax
push 4
push esi
call sub.KERNEL32.dll_VirtualProtect
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
push eax
call sub.KERNEL32.dll_ReleaseMutex
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
push eax
call sub.KERNEL32.dll_CloseHandle
jmp 0x415800
push 0x4154dc
call dword [0x4ee6ec]
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x419c58
Capabilities:
Check os version
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd70
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x28c], edx
mov dword [ebp - 0x290], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x419de1
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
call sub.KERNEL32.dll_GetVersion
test eax, 0x80000000
je 0x419dab
mov edi, 1
mov bl, 1
lea edx, [ebp - 0x28c]
mov eax, dword [0x4ece84]
call fcn.00406714
mov eax, dword [ebp - 0x28c]
push eax
lea eax, [ebp - 0x290]
mov edx, edi
add dl, 0x30
call fcn.00403710
mov ecx, dword [ebp - 0x290]
lea eax, [ebp - 0x14]
pop edx
call fcn.00403804
mov eax, dword [ebp - 0x14]
call fcn.004039b8
push eax
push 0
push 4
call sub.KERNEL32.dll_OpenFileMappingA
mov esi, eax
test esi, esi
je 0x419d9c
push 0
push 0
push 0
push 4
push esi
call sub.KERNEL32.dll_MapViewOfFile
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x419d96
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 4]
mov eax, dword [eax]
push edx
push eax
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 4]
mov eax, dword [eax]
cmp edx, dword [esp + 4]
jne 0x419d29
cmp eax, dword [esp]
pop edx
pop eax
jne 0x419d8d
xor ebx, ebx
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x419d8d
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 8], 0
imul eax, dword [ebp - 8], 0x4e
mov edx, dword [ebp - 0x10]
push esi
push edi
lea esi, [edx + eax*8 + 0xc]
lea edi, [ebp - 0x288]
mov ecx, 0x9c
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
cmp byte [ebp - 0x288], 0
jne 0x419d6e
mov bl, 1
jmp 0x419d8d
lea eax, [ebp - 0x288]
push eax
call sub.KERNEL32.dll_GetModuleHandleA
cmp eax, dword [ebp - 4]
jne 0x419d85
mov byte [ebp - 9], 1
jmp 0x419d8d
inc dword [ebp - 8]
dec dword [ebp - 0x18]
jne 0x419d45
mov eax, dword [ebp - 0x10]
push eax
call sub.KERNEL32.dll_UnmapViewOfFile
push esi
call sub.KERNEL32.dll_CloseHandle
or bl, byte [ebp - 9]
jne 0x419dab
inc edi
cmp edi, 0xa
jne 0x419c9f
cmp byte [ebp - 9], 0
jne 0x419dbb
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.00419b08
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x419de8
lea eax, [ebp - 0x290]
mov edx, 2
call fcn.0040354c
lea eax, [ebp - 0x14]
call fcn.00403528
ret
Function at 0x41a948
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffce4
push ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov bl, 1
push ebp
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.0041a68c
pop ecx
test al, al
jne 0x41aa70
push 0x104
lea eax, [ebp - 0x111]
push eax
push 0
call sub.KERNEL32.dll_GetModuleFileNameA
push 0x104
lea eax, [ebp - 0x31c]
push eax
push 0
call sub.KERNEL32.dll_GetModuleFileNameW
push ebp
lea edx, [ebp - 0x31c]
lea eax, [ebp - 0x111]
mov cl, 1
call fcn.0041a68c
pop ecx
test al, al
jne 0x41aa70
push 0x104
lea eax, [ebp - 0x111]
push eax
mov eax, dword [0x4ee658]
push eax
call sub.KERNEL32.dll_GetModuleFileNameA
push 0x104
lea eax, [ebp - 0x31c]
push eax
mov eax, dword [0x4ee658]
push eax
call sub.KERNEL32.dll_GetModuleFileNameW
push ebp
lea edx, [ebp - 0x31c]
lea eax, [ebp - 0x111]
mov cl, 1
call fcn.0041a68c
pop ecx
test al, al
jne 0x41aa70
lea eax, [ebp - 0x111]
push eax
push 0x104
call sub.KERNEL32.dll_GetCurrentDirectoryA
lea eax, [ebp - 0x31c]
push eax
push 0x104
call sub.KERNEL32.dll_GetCurrentDirectoryW
push ebp
lea edx, [ebp - 0x31c]
lea eax, [ebp - 0x111]
xor ecx, ecx
call fcn.0041a68c
pop ecx
test al, al
jne 0x41aa70
push 0x104
lea eax, [ebp - 0x111]
push eax
call sub.KERNEL32.dll_GetSystemDirectoryA
push 0x104
lea eax, [ebp - 0x31c]
push eax
call sub.KERNEL32.dll_GetSystemDirectoryW
push ebp
lea edx, [ebp - 0x31c]
lea eax, [ebp - 0x111]
xor ecx, ecx
call fcn.0041a68c
pop ecx
mov ebx, eax
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x41b2f4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov edi, dword [ebp + 0xc]
cmp byte [ebp + 8], 0
je 0x41b31f
lea eax, [ebp - 8]
push eax
push 0x40
push edi
push esi
push ebx
call sub.KERNEL32.dll_VirtualProtectEx
test eax, eax
je 0x41b333
lea eax, [ebp - 8]
push eax
push edi
mov eax, dword [ebp - 4]
push eax
push esi
push ebx
call sub.KERNEL32.dll_WriteProcessMemory
test eax, eax
jne 0x41b337
xor eax, eax
jmp 0x41b339
mov al, 1
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 8
Function at 0x41b90c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdbc
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov esi, eax
xor edi, edi
push esi
push 0x2ac
call fcn.0040b644
mov ebx, eax
test ebx, ebx
je 0x41baff
cmp dword [0x4ed074], 0
jne 0x41b94e
mov dl, 1
mov eax, dword [0x4eccc4]
call fcn.0040a6d4
mov dword [0x4ed074], eax
cmp dword [0x4ed078], 0
jne 0x41b968
mov dl, 1
mov eax, dword [0x4eccf8]
call fcn.0040a6d4
mov dword [0x4ed078], eax
mov byte [ebp - 0x242], 0xb8
mov dword [ebp - 0x241], ebx
mov byte [ebp - 0x23d], 0xb9
lea eax, [ebx + 0x22d]
mov dword [ebp - 0x23c], eax
mov word [ebp - 0x238], 0xd1ff
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.0041b8dc
mov dword [ebp - 0x236], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 8]
mov eax, dword [eax - 0x14]
push eax
call sub.KERNEL32.dll_lstrlenW
add eax, eax
mov word [ebp - 0x22d], ax
mov ax, word [ebp - 0x22d]
add ax, 2
mov word [ebp - 0x22b], ax
lea eax, [ebx + 0x1d]
mov dword [ebp - 0x229], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 8]
mov eax, dword [eax - 0x14]
push eax
lea eax, [ebp - 0x225]
push eax
call sub.KERNEL32.dll_lstrcpyW
mov eax, dword [0x4ed078]
mov dword [ebp - 0x1d], eax
mov eax, dword [0x4ed074]
mov dword [ebp - 0x19], eax
cmp dword [ebp - 0x236], 0
je 0x41baff
lea eax, [ebp - 0x10]
push eax
push 0x22e
lea eax, [ebp - 0x242]
push eax
push ebx
push esi
call sub.KERNEL32.dll_WriteProcessMemory
test eax, eax
je 0x41baff
cmp dword [ebp - 0x10], 0x22e
jne 0x41baff
lea eax, [ebp - 0x10]
push eax
push 0x7e
push 0x4ed3cc
lea eax, [ebx + 0x22d]
push eax
push esi
call sub.KERNEL32.dll_WriteProcessMemory
test eax, eax
je 0x41baff
cmp dword [ebp - 0x10], 0x7e
jne 0x41baff
lea eax, [ebp - 0x10]
push eax
push 5
lea eax, [ebp - 9]
push eax
mov eax, dword [ebp - 0x236]
push eax
push esi
call sub.KERNEL32.dll_ReadProcessMemory
test eax, eax
je 0x41baff
cmp dword [ebp - 0x10], 5
jne 0x41baff
lea eax, [ebp - 0x10]
push eax
push 5
lea eax, [ebp - 9]
push eax
lea eax, [ebx + 0x10]
push eax
push esi
call sub.KERNEL32.dll_WriteProcessMemory
test eax, eax
je 0x41baff
cmp dword [ebp - 0x10], 5
jne 0x41baff
lea eax, [ebp - 0x14]
push eax
push 0x40
push 5
mov eax, dword [ebp - 0x236]
push eax
push esi
call sub.KERNEL32.dll_VirtualProtectEx
test eax, eax
je 0x41baff
mov byte [ebp - 9], 0xe9
sub ebx, dword [ebp - 0x236]
sub ebx, 5
mov dword [ebp - 8], ebx
lea eax, [ebp - 0x10]
push eax
push 5
lea eax, [ebp - 9]
push eax
mov eax, dword [ebp - 0x236]
push eax
push esi
call sub.KERNEL32.dll_WriteProcessMemory
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x14]
push eax
push 5
mov eax, dword [ebp - 0x236]
push eax
push esi
call sub.KERNEL32.dll_VirtualProtectEx
mov edi, 1
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x41bb0c
Capabilities:
Get number of processors

Disassembly:
mov eax, dword gs:[0x60]
mov edx, dword gs:[0x64]
ret
Function at 0x41ee78
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ebx
xor eax, eax
push ebp
push 0x41ef55
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4ed450], 0
jne 0x41ef21
lea edx, [ebp - 8]
mov eax, dword [0x4ecec0]
call fcn.00406714
push dword [ebp - 8]
lea edx, [ebp - 0xc]
mov eax, dword [0x4ecec8]
call fcn.00406714
push dword [ebp - 0xc]
lea eax, [ebp - 0x10]
push eax
call sub.KERNEL32.dll_GetCurrentProcessId
mov cl, 0x30
mov edx, 1
call fcn.004061ac
push dword [ebp - 0x10]
lea eax, [ebp - 4]
mov edx, 3
call fcn.00403878
mov eax, dword [ebp - 4]
call fcn.004039b8
push eax
push 4
push 0
push 4
push 0
push 0xffffffffffffffff
call sub.KERNEL32.dll_CreateFileMappingA
mov ebx, eax
push 0
push 0
push 0
push 0xf001f
push ebx
call sub.KERNEL32.dll_MapViewOfFile
mov dword [0x4ed450], eax
mov eax, dword [0x4ed450]
xor edx, edx
mov dword [eax], edx
push ebx
call sub.KERNEL32.dll_CloseHandle
cmp dword [0x4ed450], 0
je 0x41ef38
mov eax, dword [0x4ed450]
call fcn.0041ee68
mov ebx, eax
jmp 0x41ef3a
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41ef5c
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.0040354c
ret

Function at 0x41f724
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb0
push ebx
xor eax, eax
mov dword [ebp - 0x150], eax
xor eax, eax
push ebp
push 0x41f7c9
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
lea eax, [ebp - 0x150]
mov edx, dword [ebp + 8]
mov edx, dword [edx + 8]
call fcn.00403720
mov eax, dword [ebp - 0x150]
lea edx, [ebp - 0x14c]
xor ecx, ecx
call fcn.0041dbd0
mov ebx, eax
test bl, bl
je 0x41f7b0
mov eax, dword [ebp - 0x140]
push eax
call sub.KERNEL32.dll_CloseHandle
push 0x64
mov eax, dword [ebp - 0x12c]
push eax
call sub.KERNEL32.dll_WaitForSingleObject
push 0
mov eax, dword [ebp - 0x12c]
push eax
call sub.KERNEL32.dll_TerminateThread
mov eax, dword [ebp - 0x144]
push eax
call sub.KERNEL32.dll_CloseHandle
mov eax, dword [ebp - 0x12c]
push eax
call sub.KERNEL32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41f7d0
lea eax, [ebp - 0x150]
call fcn.00403528
ret
Function at 0x41f9f4
Capabilities:
Get token privileges

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x41fbde
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [0x4ed45c], 0
jne 0x41fbc3
lea eax, [ebp - 4]
push eax
push 0x28
call sub.KERNEL32.dll_GetCurrentProcess
push eax
call sub.ADVAPI32.dll_OpenProcessToken
test eax, eax
je 0x41fbbc
xor eax, eax
push ebp
push 0x41fbb5
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 3
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.dll_GetTokenInformation
cmp dword [ebp - 8], 0
je 0x41fb9e
mov eax, dword [ebp - 8]
add eax, eax
push eax
push 0x40
call sub.KERNEL32.dll_LocalAlloc
mov ebx, eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 8]
add eax, eax
push eax
push ebx
push 3
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.dll_GetTokenInformation
test eax, eax
je 0x41fb98
lea eax, [ebp - 0x10]
push eax
lea edx, [ebp - 0x24]
mov eax, dword [0x4ece20]
call fcn.00406714
mov eax, dword [ebp - 0x24]
call fcn.004039b8
push eax
push 0
call sub.ADVAPI32.dll_LookupPrivilegeValueA
test eax, eax
jne 0x41facc
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0x18]
push eax
lea edx, [ebp - 0x28]
mov eax, dword [0x4ece24]
call fcn.00406714
mov eax, dword [ebp - 0x28]
call fcn.004039b8
push eax
push 0
call sub.ADVAPI32.dll_LookupPrivilegeValueA
test eax, eax
jne 0x41faff
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x20]
push eax
lea edx, [ebp - 0x2c]
mov eax, dword [0x4ece28]
call fcn.00406714
mov eax, dword [ebp - 0x2c]
call fcn.004039b8
push eax
push 0
call sub.ADVAPI32.dll_LookupPrivilegeValueA
test eax, eax
jne 0x41fb32
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov esi, dword [ebx]
dec esi
test esi, esi
jl 0x41fb84
inc esi
xor ecx, ecx
lea edi, [ecx + ecx*2]
mov eax, dword [ebx + edi*4 + 4]
mov edx, dword [ebx + edi*4 + 8]
cmp edx, dword [ebp - 0xc]
jne 0x41fb4f
cmp eax, dword [ebp - 0x10]
je 0x41fb80
lea eax, [ecx + ecx*2]
mov edx, dword [ebx + eax*4 + 8]
mov eax, dword [ebx + eax*4 + 4]
cmp edx, dword [ebp - 0x14]
jne 0x41fb64
cmp eax, dword [ebp - 0x18]
je 0x41fb80
lea eax, [ecx + ecx*2]
mov edx, dword [ebx + eax*4 + 8]
mov eax, dword [ebx + eax*4 + 4]
cmp edx, dword [ebp - 0x1c]
jne 0x41fb79
cmp eax, dword [ebp - 0x20]
je 0x41fb80
or dword [ebx + edi*4 + 0xc], 2
inc ecx
dec esi
jne 0x41fb3c
push 0
push 0
mov eax, dword [ebp - 8]
push eax
push ebx
push 0
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.dll_AdjustTokenPrivileges
push ebx
call sub.KERNEL32.dll_LocalFree
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41fbbc
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.dll_CloseHandle
ret
mov byte [0x4ed45c], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41fbe5
lea eax, [ebp - 0x2c]
mov edx, 3
call fcn.0040354c
ret
Function at 0x425568
Capabilities:
Terminate process

Disassembly:
push 0x30
mov eax, 0x4b9048
call fcn.004a27f3
lea eax, [ebp - 0x3c]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.00423919
push 1
push str.msiexec.exe
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.0045fc80
pop ecx
pop ecx
test eax, eax
jne 0x425643
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
push str.DoMsiTrackerStop:_no_msiexec.exe_currently_running
push eax
call fcn.00461d60
pop ecx
pop ecx
call fcn.00424c0a
pop ecx
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
push str.DoMsiTrackerStop:_uninjecting_services.exe
push eax
call fcn.00461d60
pop ecx
pop ecx
call fcn.00424c0a
pop ecx
push ebx
push dword [ebp + 8]
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.services.exe
call fcn.00423442
call fcn.00425145
mov esi, eax
lea eax, [ebp - 0x14]
add esp, 0xc
push eax
mov edx, esi
call fcn.00468830
mov byte [ebp - 4], 2
mov ecx, esp
mov dword [ebp - 0x18], esp
push dword [eax]
push str.DoMsiTrackerStop:_uninject_services.exe_returned:__s
push ecx
call fcn.00461d60
add esp, 0xc
call fcn.00424c0a
pop ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0042101a
lea eax, [ebp - 0x3c]
push eax
mov byte [ebp - 4], bl
call fcn.0043bd1a
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0042101a
mov eax, esi
call fcn.004a28cb
ret
mov esi, dword [ebp - 0x30]
cmp esi, dword [ebp - 0x2c]
jbe 0x425650
call fcn.0049dc81
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], esi
mov esi, dword [ebp - 0x2c]
cmp dword [ebp - 0x30], esi
jbe 0x425666
call fcn.0049dc81
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x425672
cmp eax, dword [ebp - 0x3c]
je 0x425677
call fcn.0049dc81
cmp dword [ebp - 0x18], esi
je 0x4255b8
lea esi, [ebp - 0x1c]
call fcn.0043bda9
push dword [eax]
push ebx
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
call fcn.0043bda9
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push dword [eax]
cmp edi, ebx
je 0x4256cb
push str.DoMsiTrackerStop:_killing_msiexec.exe_PID__d
push ecx
call fcn.00461d60
add esp, 0xc
call fcn.00424c0a
pop ecx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4256df
push str.DoMsiTrackerStop:_cant_open_msiexec.exe_PID__d
push ecx
call fcn.00461d60
add esp, 0xc
call fcn.00424c0a
pop ecx
lea edi, [ebp - 0x24]
lea esi, [ebp - 0x1c]
call fcn.00425831
jmp 0x425659
Function at 0x4258d7
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push 0x45c
mov eax, 0x4b7ef9
call fcn.004a285c
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x464], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x454], eax
push 0x5c
push ecx
xor edi, edi
mov dword [ebp - 4], edi
mov eax, esp
mov dword [ebp - 0x458], esp
push eax
xor esi, esi
call fcn.00460c70
pop ecx
lea eax, [ebp - 0x460]
push eax
call fcn.00462270
add esp, 8
mov byte [ebp - 4], 1
mov eax, esp
mov dword [ebp - 0x458], esp
push dword [ebp + 8]
push dword [ebp - 0x460]
push str._s:_CHttpStreaming::DownloadFileToMemory:__s
push eax
call fcn.00461d60
add esp, 0x10
call fcn.004258a7
mov eax, dword [0x4ea2d4]
pop ecx
cmp eax, edi
jne 0x42596e
push edi
push edi
push edi
push edi
push str.http_cameyo_streaming
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [0x4ea2d4], eax
cmp eax, edi
je 0x425a5f
push edi
push edi
push edi
push edi
push dword [ebp + 8]
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov dword [ebp - 0x45c], eax
cmp eax, edi
je 0x425a32
push edi
lea ecx, [ebp - 0x458]
push ecx
lea ecx, [ebp - 0x50]
push ecx
push 0x13
push eax
mov dword [ebp - 0x458], 0x40
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
lea eax, [ebp - 0x50]
push 0x4c5060
push eax
call fcn.0049dd50
pop ecx
pop ecx
test eax, eax
jne 0x425a24
mov esi, 0x4000
push esi
call fcn.0049e212
pop ecx
mov ebx, eax
lea eax, [ebp - 0x468]
push eax
push esi
push ebx
jmp 0x425a01
add edi, dword [ebp - 0x468]
cmp dword [ebp - 0x468], esi
jne 0x425a11
lea eax, [edi + 0x4000]
push eax
push ebx
call fcn.0049e380
pop ecx
pop ecx
mov ebx, eax
lea eax, [ebp - 0x468]
push eax
push esi
lea eax, [ebx + edi]
push eax
push dword [ebp - 0x45c]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x4259d6
mov eax, dword [ebp - 0x464]
mov dword [eax], ebx
mov eax, dword [ebp - 0x454]
xor esi, esi
mov dword [eax], edi
inc esi
push dword [ebp - 0x45c]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x425a5f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x464], eax
lea eax, [ebp - 0x454]
push eax
lea eax, [ebp - 0x450]
push eax
lea eax, [ebp - 0x464]
push eax
mov dword [ebp - 0x454], edi
call dword [sym.imp.WININET.dll_InternetGetLastResponseInfoW]
push ecx
mov eax, esp
mov dword [ebp - 0x454], esp
push dword [ebp - 0x460]
push str._s:_CHttpStreaming::DownloadFileToMemory:_out
push eax
call fcn.00461d60
add esp, 0xc
call fcn.004258a7
pop ecx
mov ecx, dword [ebp - 0x460]
add ecx, 0xfffffff0
call fcn.0042101a
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0042101a
mov eax, esi
call fcn.004a28df
ret
Function at 0x426225
Capabilities:
Get system information on windows

Disassembly:
push 4
mov eax, 0x4b681c
call fcn.004a27f3
mov edi, dword [ebp + 8]
xor esi, esi
mov ecx, edi
mov dword [ebp - 4], esi
call fcn.0042148a
push 4
mov byte [ebp - 4], 1
lea ebx, [edi + 0x74]
call fcn.0048ee50
pop ecx
cmp eax, esi
je 0x426257
mov dword [eax], ebx
jmp 0x426259
xor eax, eax
mov dword [ebx], eax
mov dword [ebx + 0xc], esi
mov dword [ebx + 0x10], esi
mov dword [ebx + 0x14], esi
lea eax, [ebp + 0xc]
push eax
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.00423af1
mov eax, dword [ebp + 0x10]
or dword [edi + 4], 0xffffffff
or dword [edi + 8], 0xffffffff
mov dword [edi + 0x18], eax
lea eax, [edi + 0x4c]
push eax
mov dword [edi + 0x10], esi
mov dword [edi + 0x14], esi
mov dword [edi + 0x20], esi
mov dword [edi + 0x24], esi
mov dword [edi + 0x28], esi
mov dword [edi + 0x2c], esi
mov dword [edi + 0x30], esi
mov dword [edi + 0x38], esi
mov dword [edi + 0x3c], esi
mov dword [edi + 0x40], esi
mov dword [edi + 0x44], esi
mov dword [edi + 0x8c], esi
mov dword [edi + 0x48], esi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [edi + 0x68]
xor edx, edx
mov eax, 0x400000
div ecx
push dword [ebp + 0x14]
imul eax, ecx
mov dword [edi + 0x70], eax
call fcn.00477b50
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0042101a
mov eax, edi
call fcn.004a28cb
ret 0x10