joyce8/EMBER2024-capa huggingface dataset:
Function at 0x456538
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45654f
add esp, 0xfffffff0
call fcn.004036d0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041dd7c
mov eax, dword [0x48b120]
cmp word [eax + 2], 0
jne 0x456577
mov eax, dword [0x48b120]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00457c28
mov eax, dword [0x48b1ec]
cmp word [eax + 2], 0
jne 0x456591
mov eax, dword [0x48b1ec]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00457e20
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x415608]
call fcn.0040337c
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x415608]
call fcn.0040337c
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x4202b0]
call fcn.00427994
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x456718
mov eax, dword [0x48b008]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00427d64
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4583c0
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x48b008]
mov eax, dword [eax]
push eax
call sub.KERNEL32.DLL_GetModuleFileNameA
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040cf10
test eax, eax
je 0x456686
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408fb4
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040cf38
test eax, eax
je 0x45669a
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.0040440c
mov eax, dword [0x48aeb8]
cmp byte [eax], 0
jne 0x4566ce
mov eax, ebx
call fcn.00456840
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0045859c
mov eax, ebx
call fcn.00458f60
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45670e
call fcn.00403728
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x456ac0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x48cbb8]
cmp dword [eax + 0x30], 0
je 0x456b6a
cmp dword [ebx + 0x94], 0
jne 0x456b64
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x456a50
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x456b64
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x456b2a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x456b64
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00417ad0
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x456b39
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4576cc
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x457701
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0040428c
jmp 0x45770e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004041f0
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x458778
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4587b9
mov eax, esi
call fcn.0043ef28
test al, al
je 0x4587b9
mov eax, dword [ebx + 0x84]
call fcn.0043ec24
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4587b9
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043ec24
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x45f670
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x48cbe8
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x45f692
shr eax, 1
xor eax, 0xedb88320
jmp 0x45f694
shr eax, 1
dec edx
jne 0x45f680
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x45f679
mov byte [0x48cfe8], 1
pop esi
pop ebx
ret

Function at 0x45f6b0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x48cfe8], 0
jne 0x45f6c7
call fcn.0045f670
mov eax, edi
dec eax
test eax, eax
jl 0x45f6f0
inc eax
xor edx, edx
xor ecx, ecx
mov cl, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x48cbe8]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x45f6d1
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x461c40
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov al, byte [eax]
dec al
je 0x461c71
dec al
je 0x461cad
dec al
je 0x461cf1
dec al
je 0x461d5c
jmp 0x461de6
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x461de6
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
mov dl, byte [ecx + edx]
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x461c81
jmp 0x461de6
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x461de6
mov esi, 1
mov al, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov dl, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x461cbd
jmp 0x461de6
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x461de6
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x461d1f
xor ebp, ebp
jmp 0x461d30
mov ecx, esi
sub ecx, edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x461d39
adc eax, 0
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x461d01
jmp 0x461de6
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x461de6
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x461db4
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
mov dl, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
mov cl, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.0045f6f8
add al, byte [esp]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x461d70
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x46a2e4
Capabilities:
Read file via mapping

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov dword [esp], edx
mov ebx, eax
mov byte [esp + 4], 0
mov eax, dword [ebx + 8]
call fcn.0040465c
push eax
push 0
push 4
call sub.KERNEL32.DLL_OpenFileMappingA
mov ebx, eax
test ebx, ebx
je 0x46a398
push 0
push 0
push 0
push 4
push ebx
call sub.KERNEL32.DLL_MapViewOfFile
mov esi, eax
test esi, esi
je 0x46a392
mov eax, esi
mov ebp, dword [eax]
mov edi, dword [eax + 4]
push ebp
call sub.user32.dll_IsWindow
test eax, eax
je 0x46a38c
push edi
call sub.user32.dll_IsWindow
test eax, eax
je 0x46a38c
cmp dword [esp], 0
jne 0x46a378
push ebp
call sub.user32.dll_IsIconic
test eax, eax
je 0x46a358
push 5
push ebp
call sub.user32.dll_ShowWindow
push edi
call sub.user32.dll_IsIconic
test eax, eax
je 0x46a36a
push 5
push edi
call sub.user32.dll_ShowWindow
push edi
call sub.user32.dll_BringWindowToTop
push edi
call sub.user32.dll_SetForegroundWindow
jmp 0x46a387
push 0
push 0
mov eax, dword [esp + 8]
push eax
push edi
call sub.user32.dll_PostMessageA
mov byte [esp + 4], 1
push esi
call sub.KERNEL32.DLL_UnmapViewOfFile
push ebx
call sub.KERNEL32.DLL_CloseHandle
mov al, byte [esp + 4]
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x47c950
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040464c
xor eax, eax
push ebp
push 0x47ca03
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
je 0x47c9e8
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004082ec
mov edx, dword [ebp - 8]
mov eax, 0x47ca18
call fcn.004047a0
dec eax
je 0x47c9a6
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, 0x47ca18
call fcn.004044a8
push 0
push 0
push 0
push 0
push 0x47ca20
call sub.wininet.dll_InternetOpenA
mov ebx, eax
test ebx, ebx
je 0x47c9e8
push 0
push 0x80000000
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0040465c
push eax
push ebx
call sub.wininet.dll_InternetOpenUrlA
test eax, eax
je 0x47c9e2
push eax
call sub.wininet.dll_InternetCloseHandle
push ebx
call sub.wininet.dll_InternetCloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47ca0a
lea eax, [ebp - 8]
mov edx, 2
call fcn.004041c0
ret

Function at 0x47d418
Capabilities:
Create a process with modified i/o handles and window
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47d4e6
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x47d4ce
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.00402d44
mov dword [ebp - 0x48], 0x44
xor eax, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0x101
mov word [ebp - 0x18], 5
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
push 0
mov eax, ebx
call fcn.0040465c
push eax
push 0
call sub.KERNEL32.DLL_CreateProcessA
test eax, eax
je 0x47d4c4
push 0x20
mov eax, dword [ebp - 0x58]
push eax
call sub.KERNEL32.DLL_SetPriorityClass
push 0x3e8
mov eax, dword [ebp - 0x58]
push eax
call sub.KERNEL32.DLL_WaitForSingleObject
mov eax, dword [ebp - 0x58]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x54]
push eax
call sub.KERNEL32.DLL_CloseHandle
mov eax, dword [ebp - 0x58]
push eax
call sub.KERNEL32.DLL_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47d4d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47d4ed
ret

Function at 0x47d4f8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
call fcn.00404b6c
xor eax, eax
push ebp
push 0x47d552
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
xor edx, edx
call fcn.00404a58
je 0x47d53c
push 1
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004049d8
push eax
push 0x47d55c
push 0
call sub.shell32.dll_ShellExecuteW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47d559
lea eax, [ebp - 4]
call fcn.0040487c
ret
Function at 0x47de80
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040464c
xor eax, eax
push ebp
push 0x47df12
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0040419c
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00408d98
mov eax, dword [ebp - 8]
call fcn.0040465c
push eax
call sub.KERNEL32.DLL_GetDriveTypeA
cmp eax, 2
je 0x47dedb
cmp eax, 3
je 0x47dedb
cmp eax, 6
je 0x47dedb
xor ebx, ebx
jmp 0x47dedd
mov bl, 1
cmp dword [ebp - 4], 0
je 0x47def7
cmp dword [ebp - 8], 0
je 0x47def7
test bl, bl
je 0x47def7
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.0040cd34
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47df19
lea eax, [ebp - 8]
mov edx, 2
call fcn.004041c0
ret

Function at 0x47e09c
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040464c
mov eax, dword [ebp - 8]
call fcn.0040464c
xor eax, eax
push ebp
push 0x47e165
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
mov dl, 1
mov eax, dword [0x42dca4]
call fcn.0042dda4
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x47e143
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80000001
mov eax, dword [ebp - 0x10]
call fcn.0042de44
xor ecx, ecx
mov edx, 0x47e17c
mov eax, dword [ebp - 0x10]
call fcn.0042dea8
test al, al
je 0x47e12d
cmp dword [ebp - 4], 0
je 0x47e12d
cmp dword [ebp - 8], 0
je 0x47e12d
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
call fcn.0042e1fc
mov eax, dword [ebp - 0x10]
call fcn.0042de14
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47e14a
mov eax, dword [ebp - 0x10]
call fcn.004033ac
ret

Function at 0x47e818
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, edx
dec eax
test eax, eax
jb 0x47e846
inc eax
xor edx, edx
mov dl, byte [ebx]
mov esi, dword [ecx]
and esi, 0xff
xor edx, esi
mov edx, dword [edx*4 + 0x48a9f0]
mov esi, dword [ecx]
shr esi, 8
xor edx, esi
mov dword [ecx], edx
inc ebx
dec eax
jne 0x47e824
pop esi
pop ebx
ret
Function at 0x4858a8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.0040464c
xor eax, eax
push ebp
push 0x485946
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebx + 0x321], 1
mov eax, dword [0x48b110]
cmp byte [eax + 1], 0
jne 0x4858f9
push 0
push 0
mov eax, dword [0x48b220]
mov eax, dword [eax + 0x48]
call fcn.004049d8
push eax
mov eax, ebx
call fcn.0043ec24
push eax
call sub.user32.dll_MessageBoxW
cmp dword [ebp - 4], 0
je 0x48591a
push 1
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0040465c
push eax
push 0x485954
push 0
call sub.shell32.dll_ShellExecuteA
cmp byte [ebx + 0x322], 0
je 0x485930
mov dl, 1
mov eax, dword [ebx + 0x300]
call fcn.0042c56c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48594d
lea eax, [ebp - 4]
call fcn.0040419c
ret
Function at 0x48747c
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
mov al, byte [0x48ae50]
xor al, 1
mov byte [ebp - 1], al
cmp byte [ebp - 1], 0
jne 0x4875fc
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x15], 0
xor eax, eax
push ebp
push 0x4875f5
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
push 0xffffffffffffffff
push 8
call sub.KERNEL32.DLL_GetCurrentThread
push eax
call sub.advapi32.dll_OpenThreadToken
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x15], al
cmp byte [ebp - 0x15], 0
jne 0x4874fc
call sub.KERNEL32.DLL_GetLastError
cmp eax, 0x3f0
jne 0x4874fc
lea eax, [ebp - 0xc]
push eax
push 8
call sub.KERNEL32.DLL_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x15], al
cmp byte [ebp - 0x15], 0
je 0x4875bb
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
push 0x48ae88
call sub.advapi32.dll_AllocateAndInitializeSid
test eax, eax
jne 0x487537
call fcn.00403be4
jmp 0x4875fc
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 2
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_GetTokenInformation
test eax, eax
jne 0x487558
call sub.KERNEL32.DLL_GetLastError
cmp eax, 0x7a
je 0x48755d
call fcn.0040d68c
mov eax, dword [ebp - 0x10]
call fcn.0040822c
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x14]
push eax
push 2
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_GetTokenInformation
test eax, eax
jne 0x48758a
call fcn.00403be4
jmp 0x4875fc
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
dec ebx
test ebx, ebx
jl 0x4875bb
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + esi*8 + 4]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_EqualSid
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 1], al
cmp byte [ebp - 1], 0
jne 0x4875bb
inc esi
dec ebx
jne 0x487597
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4875fc
cmp dword [ebp - 0x14], 0
je 0x4875d6
mov eax, dword [ebp - 0x14]
call fcn.004026fc
cmp byte [ebp - 0x15], 0
je 0x4875e5
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_CloseHandle
cmp dword [ebp - 8], 0
je 0x4875f4
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_FreeSid
ret
mov al, byte [ebp - 1]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x487608
Capabilities:
Get system information on windows

Disassembly:
add esp, 0xffffff40
xor eax, eax
mov edx, dword [0x48b380]
mov edx, dword [edx]
dec edx
je 0x487623
dec edx
je 0x48762a
jmp 0x487757
mov al, 1
jmp 0x487757
mov edx, dword [0x48b010]
mov edx, dword [edx]
sub edx, 3
je 0x487649
dec edx
je 0x487678
dec edx
je 0x48767f
dec edx
je 0x4876eb
jmp 0x487757
mov edx, dword [0x48b228]
mov edx, dword [edx]
dec edx
je 0x487663
sub edx, 4
je 0x48766a
sub edx, 0x2e
je 0x487671
jmp 0x487757
mov al, 2
jmp 0x487757
mov al, 3
jmp 0x487757
mov al, 4
jmp 0x487757
mov al, 5
jmp 0x487757
mov edx, dword [0x48b228]
mov edx, dword [edx]
sub edx, 1
jb 0x487696
je 0x48769d
dec edx
je 0x4876a4
jmp 0x487757
mov al, 6
jmp 0x487757
mov al, 7
jmp 0x487757
mov dword [esp + 0x24], 0x9c
push esp
call sub.KERNEL32.DLL_GetSystemInfo
push 0x59
call sub.user32.dll_GetSystemMetrics
test eax, eax
je 0x4876c4
mov al, 0xa
jmp 0x487757
cmp word [esp], 0
je 0x4876e7
lea eax, [esp + 0x24]
push eax
call sub.KERNEL32.DLL_GetVersionExA
test eax, eax
je 0x4876e7
cmp byte [esp + 0xbe], 1
jne 0x4876e7
mov al, 9
jmp 0x487757
mov al, 8
jmp 0x487757
mov edx, dword [0x48b228]
mov edx, dword [edx]
sub edx, 1
jb 0x4876fc
je 0x487724
jmp 0x487757
mov dword [esp + 0x24], 0x9c
lea eax, [esp + 0x24]
push eax
call sub.KERNEL32.DLL_GetVersionExA
test eax, eax
je 0x487720
cmp byte [esp + 0xbe], 1
jne 0x487720
mov al, 0xb
jmp 0x487757
mov al, 0xc
jmp 0x487757
mov dword [esp + 0x24], 0x9c
push esp
call sub.KERNEL32.DLL_GetSystemInfo
cmp word [esp], 0
jne 0x487755
lea eax, [esp + 0x24]
push eax
call sub.KERNEL32.DLL_GetVersionExA
test eax, eax
je 0x487755
cmp byte [esp + 0xbe], 1
jne 0x487755
mov al, 0xe
jmp 0x487757
mov al, 0xd
add esp, 0xc0
ret

Function at 0x4878c8
Capabilities:
Create process on windows

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffc4
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, esp
xor ecx, ecx
mov edx, 0x3c
call fcn.00402d44
mov dword [esp], 0x3c
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x500
mov eax, 0x487930
mov dword [esp + 0xc], eax
mov eax, esi
call fcn.0040465c
mov dword [esp + 0x10], eax
mov eax, edi
call fcn.0040465c
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], 1
push esp
call sub.shell32.dll_ShellExecuteExA
cmp eax, 1
sbb eax, eax
inc eax
add esp, 0x3c
pop edi
pop esi
pop ebx
ret
Function at 0x2a80c4de
Capabilities:
Check for time delay via gettickcount

Disassembly:
push esi
call dword [sym.imp.kernel32.dll_GetTickCount]
mov esi, eax
shr esi, 4
call dword [sym.imp.kernel32.dll_GetTickCount]
shr eax, 4
sub eax, esi
cmp eax, 0xc
jbe 0x2a80c4ea
pop esi
ret

Function at 0x2a80d252
Capabilities:
Check if file exists

Disassembly:
push 0x64
mov eax, 0x2a84c785
call fcn.2a8015aa
mov ebx, ecx
cmp dword [ebx + 4], 0xffffffff
jne 0x2a80d393
push 0xffffffffffffffff
lea edi, [ebx + 0xc]
push 0x2a853564
mov ecx, edi
call fcn.2a83f0f3
mov eax, dword [ebx]
push 0
push 0xffffffffffffffff
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x2a8523cc]
mov ecx, ebx
call esi
push eax
lea ecx, [ebp - 0x54]
call fcn.2a801558
and dword [ebp - 4], 0
lea eax, [ebp - 0x54]
push eax
mov ecx, edi
call fcn.2a8492f7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.2a803838
lea ecx, [ebp - 0x4c]
call fcn.2a80385d
push edi
lea ecx, [ebp - 0x3c]
call fcn.2a808c68
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 1
call fcn.2a849b38
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 2
push eax
call fcn.2a84a405
mov esi, eax
mov dword [ebp - 0x18], vtable.RSSecurityUtilsWin::CLocalFreeGuard.0
pop ecx
mov dword [ebp - 0x14], esi
mov ecx, dword [ebx + 8]
xor edi, edi
mov byte [ebp - 4], 3
cmp dword [ecx], edi
jne 0x2a80d358
lea ecx, [ebp - 0x3c]
call fcn.2a849b38
push edi
push 0x40110000
push 3
lea ecx, [ebp - 0x24]
push ecx
push edi
push 0xc0000000
push eax
call dword [sym.imp.kernel32.dll_CreateFileA]
mov dword [ebx + 4], eax
cmp eax, 0xffffffff
jne 0x2a80d358
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 2
je 0x2a80d3af
cmp eax, 0xe7
jne 0x2a80d399
lea ecx, [ebp - 0x3c]
call fcn.2a849b38
push 0x4e20
push eax
call dword [sym.imp.kernel32.dll_WaitNamedPipeA]
test eax, eax
je 0x2a80d3be
mov eax, dword [ebx + 8]
cmp dword [eax], edi
je 0x2a80d2fe
cmp dword [ebx + 4], 0xffffffff
je 0x2a80d374
push edi
push edi
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 2
push eax
push dword [ebx + 4]
call dword [sym.imp.kernel32.dll_SetNamedPipeHandleState]
mov byte [ebp - 4], 6
test esi, esi
je 0x2a80d383
push esi
call dword [sym.imp.kernel32.dll_LocalFree]
lea ecx, [ebp - 0x2c]
call fcn.2a803838
lea ecx, [ebp - 0x34]
call fcn.2a80385d
call fcn.2a80187a
ret
push edi
push 0xffffffffffffffff
push str.Problem_Opening_channel
lea ecx, [ebp - 0x54]
call fcn.2a801558
mov byte [ebp - 4], 4
jmp 0x2a80d3d2
lea ecx, [ebp - 0x70]
call fcn.2a80cfd1
push 0x2a85afe8
jmp 0x2a80d3e3
push edi
push 0xffffffffffffffff
push str.Problem_Opening_channel__all_pipe_instances_are_busy
lea ecx, [ebp - 0x54]
call fcn.2a801558
mov byte [ebp - 4], 5
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x70]
call fcn.2a83f0f3
push 0x2a85b040
lea eax, [ebp - 0x70]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3