joyce8/EMBER2024-capa huggingface dataset:
Function at 0x51e030
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x64a070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
push 0x2b
lea eax, [ebp - 0x20c]
mov esi, ecx
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x51e06e
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005765b2
mov esp, ebp
pop ebp
ret
push 0x5f8f14
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.005aa31a
add esp, 0xc
cmp word [ebp - 0x20c], 0
jne 0x51e095
xor ecx, ecx
jmp 0x51e0af
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x51e0a0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.00408a10
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.005765b2
mov esp, ebp
pop ebp
ret

Function at 0x51e0d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x64a070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
push 0x1c
lea eax, [ebp - 0x20c]
mov esi, ecx
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x51e10e
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005765b2
mov esp, ebp
pop ebp
ret
push 0x5f8f14
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.005aa31a
add esp, 0xc
cmp word [ebp - 0x20c], 0
jne 0x51e135
xor ecx, ecx
jmp 0x51e14f
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x51e140
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.00408a10
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.005765b2
mov esp, ebp
pop ebp
ret

Function at 0x51e1a0
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x64a070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
push 0x26
lea eax, [ebp - 0x20c]
mov esi, ecx
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x51e1de
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005765b2
mov esp, ebp
pop ebp
ret
cmp word [ebp - 0x20c], 0
jne 0x51e1ec
xor ecx, ecx
jmp 0x51e204
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x51e1f5
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.00408a10
push 0x1b
push str.AdobeAdobe_Creative_Cloud
mov ecx, esi
call fcn.0040c5a0
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.005765b2
mov esp, ebp
pop ebp
ret
Function at 0x51e240
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x64a070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
push 0x2b
lea eax, [ebp - 0x20c]
mov esi, ecx
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x51e27e
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005765b2
mov esp, ebp
pop ebp
ret
cmp word [ebp - 0x20c], 0
jne 0x51e28c
xor ecx, ecx
jmp 0x51e2a4
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x51e295
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.00408a10
push 0x1b
push str.AdobeAdobe_Desktop_Common
mov ecx, esi
call fcn.0040c5a0
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.005765b2
mov esp, ebp
pop ebp
ret
Function at 0x51e2e0
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, edx
cmp ecx, 0x22
ja case.0x51e2ec.15
jmp dword [ecx*4 + 0x51e4f0]
push ecx
mov ecx, 0x26
call fcn.0051dd30
add esp, 4
pop esi
ret
push ecx
mov ecx, 0x2a
call fcn.0051dd30
add esp, 4
pop esi
ret
push ecx
mov ecx, 0x2b
call fcn.0051dd30
add esp, 4
pop esi
ret
push ecx
mov ecx, 0x2c
call fcn.0051dd30
add esp, 4
pop esi
ret
push ecx
mov ecx, 0x24
call fcn.0051dd30
add esp, 4
pop esi
ret
push ecx
mov ecx, 0x25
call fcn.0051dd30
add esp, 4
pop esi
ret
push ecx
mov ecx, 0x29
call fcn.0051dd30
add esp, 4
pop esi
ret
push ecx
mov ecx, 0x14
call fcn.0051dd30
add esp, 4
pop esi
ret
push ecx
mov ecx, 0x17
call fcn.0051dd30
add esp, 4
pop esi
ret
push ecx
mov ecx, 0x28
call fcn.0051dd30
add esp, 4
pop esi
ret
push ecx
mov ecx, 5
call fcn.0051dd30
add esp, 4
pop esi
ret
push ecx
mov ecx, 0x1a
call fcn.0051dd30
add esp, 4
pop esi
ret
push ecx
mov ecx, 0x1c
call fcn.0051dd30
add esp, 4
pop esi
ret
push ecx
mov ecx, 0x23
call fcn.0051dd30
add esp, 4
pop esi
ret
push ecx
mov ecx, 0x2e
call fcn.0051dd30
add esp, 4
pop esi
ret
mov ecx, esi
pop esi
jmp fcn.0051de80
mov ecx, esi
pop esi
jmp fcn.0051df00
mov ecx, esi
pop esi
jmp fcn.0051df90
mov ecx, esi
pop esi
jmp fcn.0051e030
mov ecx, esi
pop esi
jmp fcn.0051e0d0
mov ecx, esi
pop esi
jmp fcn.0051e170
mov ecx, esi
call fcn.0051e030
test al, al
je case.0x51e2ec.15
push str.OOBE
mov ecx, esi
call fcn.0040c4b0
mov al, 1
pop esi
ret
mov ecx, esi
call fcn.0051e0d0
test al, al
je case.0x51e2ec.15
push str.OOBE
mov ecx, esi
call fcn.0040c4b0
mov al, 1
pop esi
ret
mov ecx, esi
call fcn.0051e170
test al, al
je case.0x51e2ec.15
push str.OOBE
mov ecx, esi
call fcn.0040c4b0
mov al, 1
pop esi
ret
mov ecx, esi
call fcn.0051e030
test al, al
je case.0x51e2ec.15
push str.OOBEPDApp
mov ecx, esi
call fcn.0040c4b0
mov al, 1
pop esi
ret
mov ecx, esi
call fcn.0051e0d0
test al, al
je case.0x51e2ec.15
push str.OOBEPDApp
mov ecx, esi
call fcn.0040c4b0
mov al, 1
pop esi
ret
mov ecx, esi
call fcn.0051e030
test al, al
je case.0x51e2ec.15
push str.AdobeApplicationManagerAAMRefs
mov ecx, esi
call fcn.0040c4b0
mov al, 1
pop esi
ret
mov ecx, esi
call fcn.0051e030
test al, al
je case.0x51e2ec.15
push str.ADCRefs
mov ecx, esi
call fcn.0040c4b0
mov al, 1
pop esi
ret
mov ecx, esi
pop esi
jmp fcn.0051e240
mov ecx, esi
pop esi
jmp fcn.0051e1a0
xor al, al
pop esi
ret
Function at 0x51fb70
Capabilities:
Check if file exists
Create directory

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x14], 8
jb 0x51fb7d
mov eax, dword [esi]
jmp 0x51fb7f
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x51fba0
cmp dword [esi + 0x14], 8
jb 0x51fb92
mov esi, dword [esi]
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
pop esi
setne al
ret
cmp dword [esi + 0x14], 8
jb 0x51fba8
mov esi, dword [esi]
push 0
push esi
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov esi, eax
test esi, esi
je 0x51fc11
mov eax, dword [0x656c44]
test eax, eax
je 0x51fbec
push esi
push str.SHCreateDirectoryEx_failed._Error:__d
push 0x5f8398
push 0x5f8398
push str.FileUtils
push str.OOBEUtils
push 0x32
call eax
add esp, 0x1c
xor eax, eax
test esi, esi
sete al
pop esi
ret
mov ecx, dword [0x656c48]
test ecx, ecx
je 0x51fc11
mov eax, dword [ecx]
push esi
push str.SHCreateDirectoryEx_failed._Error:__d
push str.FileUtils
push 0x5f8398
push 0x32
push ecx
call dword [eax + 0x34]
add esp, 0x18
xor eax, eax
test esi, esi
pop esi
sete al
ret
Function at 0x520510
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cf038
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x64a070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
cmp dword [edi + 0x14], 8
jb 0x520549
mov eax, dword [edi]
jmp 0x52054b
mov eax, edi
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x30], eax
cmp eax, 0xffffffff
jne 0x5205f4
cmp dword [0x656c44], 0
je 0x5205b4
cmp dword [edi + 0x14], 8
jb 0x520581
mov edi, dword [edi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push str.Failed_to_create_file_at_path_:_s_Error:_d
push 0x5f8398
push 0x5f8398
push str.FileUtils
push str.OOBEUtils
push 0x32
call dword [0x656c44]
add esp, 0x20
xor al, al
jmp 0x5206ea
mov esi, dword [0x656c48]
test esi, esi
je 0x5205ed
cmp dword [edi + 0x14], 8
jb 0x5205c6
mov edi, dword [edi]
mov esi, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push str.Failed_to_create_file_at_path_:_s_Error:_d
push str.FileUtils
push 0x5f8398
push 0x32
push dword [0x656c48]
call dword [esi + 0x34]
add esp, 0x1c
xor al, al
jmp 0x5206ea
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
mov dword [ebp - 4], 0
cmp dword [esi + 0x14], 8
jb 0x52061c
mov esi, dword [esi]
push 0
lea edx, [ebp - 0x2c]
mov ecx, esi
call fcn.00518330
mov bl, al
add esp, 4
test bl, bl
je 0x5206d3
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x14]
mov esi, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
cmovae edx, dword [ebp - 0x2c]
push 0
push eax
push dword [ebp - 0x1c]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x520661
mov ecx, edi
call fcn.004fcf40
jmp 0x5206cc
cmp dword [0x656c44], 0
je 0x520697
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_write_in_file_ERROR_VAL:_d_n
push 0x5f8398
push 0x5f8398
push str.FileUtils
push str.OOBEUtils
push 0x32
call dword [0x656c44]
add esp, 0x1c
jmp 0x5206ca
mov esi, dword [0x656c48]
test esi, esi
je 0x5206c7
mov esi, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_write_in_file_ERROR_VAL:_d_n
push str.FileUtils
push 0x5f8398
push 0x32
push dword [0x656c48]
call dword [esi + 0x34]
add esp, 0x18
mov esi, dword [ebp - 0x30]
xor bl, bl
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x5206e8
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.00408df0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005765b2
mov esp, ebp
pop ebp
ret
Function at 0x5211f0
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x64a070]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 0xc]
test esi, esi
jne 0x521220
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005765b2
mov esp, ebp
pop ebp
ret
push ebx
push eax
movzx eax, dx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x52129a
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x52129a
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push ebx
push esi
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp dword [edi + 0x14], 8
mov ebx, eax
jb 0x52125d
mov ecx, dword [edi]
jmp 0x52125f
mov ecx, edi
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
test esi, esi
je 0x52129a
push 0
lea eax, [ebp - 8]
push eax
push ebx
push dword [ebp - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
test eax, eax
jne 0x5212ad
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005765b2
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, edi
call fcn.0051e860
mov ecx, dword [ebp - 4]
test al, al
pop ebx
setne al
xor ecx, ebp
pop edi
pop esi
call fcn.005765b2
mov esp, ebp
pop ebp
ret

Function at 0x5212d0
Capabilities:
Get file size

Disassembly:
cmp dword [ecx + 0x14], 8
push esi
mov esi, edx
jb 0x5212db
mov ecx, dword [ecx]
push edi
push 0
push 0x80
push 3
push 0
push 0
push SysReAllocStringLen
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x521315
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push edi
mov dword [esi], eax
mov dword [esi + 4], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi], 0xffffffff
pop edi
jne 0x521325
cmp dword [esi + 4], 0
jne 0x521325
xor al, al
pop esi
ret
mov al, 1
pop esi
ret
Function at 0x527740
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x12c
mov eax, dword [0x64a070]
xor eax, esp
mov dword [esp + 0x128], eax
push ebx
mov ebx, ecx
push esi
push edi
mov dword [esp + 0xc], ebx
mov esi, 4
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
nop dword [eax]
push 0
xor edx, edx
mov ecx, esi
call fcn.005275e0
add esp, 4
test al, al
je 0x52779a
inc esi
cmp esi, 0xf
jl 0x527780
jmp 0x52779d
dec esi
mov dword [ebx], esi
mov edi, 1
movzx esi, word [ebx]
xor eax, eax
push 0xfe
push eax
mov word [esp + 0x2c], ax
xorps xmm0, xmm0
lea eax, [esp + 0x2e]
mov dword [esp + 0x18], 0x11c
push eax
movups xmmword [esp + 0x20], xmm0
call fcn.005903b0
add esp, 0xc
xor eax, eax
mov dword [esp + 0x124], eax
mov dword [esp + 0x128], eax
push 3
push 0x20
push 3
push 1
push 3
push 2
push eax
push eax
call dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
push edx
mov ecx, esi
mov dword [esp + 0x18], ecx
push eax
movzx ecx, di
lea eax, [esp + 0x18]
mov dword [esp + 0x20], ecx
xor ecx, ecx
push 0x23
push eax
mov word [esp + 0x134], cx
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
test eax, eax
je 0x527839
inc edi
cmp edi, 0xa
jl 0x5277a2
jmp 0x52783f
lea eax, [edi - 1]
mov dword [ebx + 4], eax
mov ebx, 1
mov eax, dword [esp + 0xc]
xorps xmm0, xmm0
push 0xfe
mov dword [esp + 0x14], 0x11c
movups xmmword [esp + 0x18], xmm0
movzx edi, word [eax + 4]
movzx esi, word [eax]
xor eax, eax
push eax
mov word [esp + 0x2c], ax
lea eax, [esp + 0x2e]
push eax
call fcn.005903b0
add esp, 0xc
xor eax, eax
mov dword [esp + 0x124], eax
mov dword [esp + 0x128], eax
push 3
push 0x20
push 3
push 1
push 3
push 2
push eax
push eax
call dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
push edx
push eax
mov ecx, esi
mov word [esp + 0x12c], bx
mov dword [esp + 0x1c], ecx
lea eax, [esp + 0x18]
push 0x23
mov ecx, edi
push eax
mov dword [esp + 0x28], ecx
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
test eax, eax
je 0x5278f5
inc ebx
cmp ebx, 0xa
jl 0x527844
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.005765b2
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0xc]
lea eax, [ebx - 1]
pop edi
pop esi
pop ebx
mov dword [ecx + 8], eax
mov al, 1
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.005765b2
mov esp, ebp
pop ebp
ret
Function at 0x527f30
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x527f49
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x527f86
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x527f82
nop word [eax + eax]
cmp esi, edx
jae 0x527f86
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x527f70
cmp esi, edx
jb 0x527f8d
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x528130
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x64a070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0xc], ebx
mov word [ebp - 8], 0x500
push esi
push edi
test ecx, ecx
jne 0x528170
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov esi, eax
mov dword [ebp - 0x1c], esi
jmp 0x528183
push ecx
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [ebp - 0x1c], eax
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
jne 0x5281aa
call edi
cmp eax, 5
jne 0x5281aa
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005765b2
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x14]
mov dword [ebp - 0x20], ebx
push eax
push 8
push esi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x528269
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x10]
push 0
push 2
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x5281e5
call edi
cmp eax, 0x7a
jne 0x528269
push dword [ebp - 0x10]
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x10]
push ebx
push 2
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x528269
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x528269
xor edi, edi
cmp dword [ebx], edi
jbe 0x528269
lea esi, [ebx + 8]
nop dword [eax]
push dword [esi - 4]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
je 0x528255
test byte [esi], 4
jne 0x52825f
inc edi
add esi, 8
cmp edi, dword [ebx]
jb 0x528240
jmp 0x528266
mov dword [ebp - 0x20], 1
mov esi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x528277
push eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
test ebx, ebx
je 0x528282
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x528292
push eax
call edi
test esi, esi
je 0x528299
push esi
call edi
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x20]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.005765b2
mov esp, ebp
pop ebp
ret
Function at 0x528c20
Capabilities:
Create process on windows
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cfaa8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x64a070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov bl, dl
mov esi, ecx
cmp dword [esi + 0x10], 0
sete al
test al, al
jne 0x528d35
cmp dword [esi + 0x14], 8
jb 0x528c67
mov eax, dword [esi]
jmp 0x528c69
mov eax, esi
push 0
push eax
call dword [sym.imp.SHLWAPI.dll_UrlIsW]
test eax, eax
je 0x528d35
xor eax, eax
mov dword [ebp - 0x14], 7
push 0xffffffffffffffff
push eax
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00408f10
mov dword [ebp - 4], 0
test bl, bl
je 0x528cfd
push 0
push 0x5f1838
lea ecx, [ebp - 0x28]
call fcn.00428600
mov ecx, eax
cmp ecx, 0xffffffff
jne 0x528cc2
push 0x5f1838
jmp 0x528ccf
mov eax, dword [ebp - 0x18]
dec eax
cmp ecx, eax
je 0x528cd7
push 0x5f83b0
lea ecx, [ebp - 0x28]
call fcn.0040c4b0
push str.mvproductmv2accc
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0041f030
add esp, 0xc
lea ecx, [ebp - 0x28]
push eax
call fcn.0040d2b0
lea ecx, [ebp - 0x40]
call fcn.004087d0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 1
cmovae eax, dword [ebp - 0x28]
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x528d31
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00409510
mov al, 1
jmp 0x528d37
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005765b2
mov esp, ebp
pop ebp
ret
Function at 0x529de0
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
mov eax, dword [0x64a070]
xor eax, esp
mov dword [esp + 0x1c], eax
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x529e31
lea eax, [esp + 4]
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x529e42
push dword [esp]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.005765b2
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 4]
push 0
push 0
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
push 0
mov dword [esp + 0x20], eax
lea eax, [esp + 0x18]
push eax
push 0
push dword [esp + 0x14]
mov dword [esp + 0x24], 1
mov dword [esp + 0x30], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push dword [esp]
test eax, eax
je 0x529e2b
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x1c]
mov al, 1
xor ecx, esp
call fcn.005765b2
mov esp, ebp
pop ebp
ret
Function at 0x52c720
Capabilities:
Set http header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cfdf8
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x64a070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x40]
push 0x5fd714
push edx
push eax
call fcn.0041f030
push esi
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
call fcn.00410c30
mov eax, dword [ebp - 0x2c]
add esp, 0x18
cmp eax, 8
jb 0x52c788
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00409510
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0xa0000000
cmovae eax, dword [ebp - 0x28]
push 0xffffffffffffffff
push eax
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x52c7b7
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00409510
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005765b2
mov esp, ebp
pop ebp
ret