joyce8/EMBER2024-capa huggingface dataset:
Function at 0xa8c1b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
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]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.00a8c140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00a8c140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00a8c140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00a8c140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0xa8cbfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0xa8cc50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0xa9e87c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0xa8cc43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0xa8cc52
xor eax, eax
pop esi
leave
ret 4
Function at 0x10001c40
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 8], 0
push ebx
push esi
mov dword [ebp - 4], ecx
je 0x10001cff
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x10001cff
xor ecx, ecx
mov eax, 0x201
mov edx, 2
mov esi, 0x200
mul edx
push edi
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10006bc2
mov ecx, dword [ebp + 0x10]
add esp, 4
mov edi, eax
test ecx, ecx
mov eax, dword [ebp - 4]
mov edx, 0x100183f0
cmovne edx, ecx
mov dword [ebp + 0x10], edx
push dword [eax + 4]
push esi
push edi
push edx
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
inc eax
cmp eax, esi
jb 0x10001cf4
nop dword [eax]
push edi
add esi, 0x200
call fcn.10006bcb
xor ecx, ecx
lea eax, [esi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10006bc2
add esp, 8
mov edi, eax
mov eax, dword [ebp - 4]
push dword [eax + 4]
push esi
push edi
push dword [ebp + 0x10]
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
inc eax
cmp eax, esi
jae 0x10001cb0
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov esi, dword [ebp + 0x10]
test esi, esi
jne 0x10001d21
push 2
call fcn.10006bc2
add esp, 4
mov edx, eax
xor eax, eax
pop esi
mov word [edx], ax
mov eax, edx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10001d26
sub ecx, edx
mov edx, 2
sar ecx, 1
lea eax, [ecx + 1]
xor ecx, ecx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10006bc2
mov edx, eax
add esp, 4
mov ecx, edx
sub ecx, esi
nop word [eax + eax]
movzx eax, word [esi]
lea esi, [esi + 2]
mov word [ecx + esi - 2], ax
test ax, ax
jne 0x10001d60
pop esi
mov eax, edx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100042c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100176f6
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x10021030]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x418], 0
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push 0x60
push 0
push esi
mov byte [ebp - 4], 1
call ebx
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x1000436c
push 2
push eax
push esi
call ebx
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x1000436c
call fcn.10002da0
mov esi, eax
jmp 0x1000445c
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x1000438f
call fcn.10002da0
jmp 0x1000444f
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
test ebx, ebx
jne 0x100043ad
call fcn.10002da0
jmp 0x1000444f
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x41c], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x100043ce
mov esi, 0x8007000e
jmp 0x10004451
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.10002860
jmp 0x100043f8
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
jne 0x1000440f
mov esi, 0x8007000e
jmp 0x10004451
push esi
push dword [ebp - 0x418]
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x1000442f
call fcn.10002da0
jmp 0x1000444f
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.10004160
mov esi, eax
test edi, edi
je 0x1000445c
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x10004480
lea ecx, [ebp - 0x418]
call fcn.10003a10
nop word [eax + eax]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10006bb1
mov esp, ebp
pop ebp
ret 0x10
Function at 0x10004cc0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
test ebx, ebx
jne 0x10004cd9
lea eax, [ebx + 0xd]
pop ebx
mov esp, ebp
pop ebp
ret 8
push esi
push edi
xor esi, esi
mov edx, ebx
nop
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10004ce5
sub eax, edi
sar eax, 1
lea ecx, [eax + 1]
lea edx, [edx + ecx*2]
lea esi, [esi + ecx*2]
cmp ecx, 1
jne 0x10004ce0
mov eax, dword [ebp - 4]
push esi
push ebx
push 7
push 0
push dword [ebp + 8]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x10004d20
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
mov esi, ecx
test edx, edx
jne 0x10004d35
lea eax, [edx + 0xd]
pop esi
pop ebp
ret 0xc
mov eax, edx
push edi
lea edi, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10004d40
sub eax, edi
sar eax, 1
lea eax, [eax*2 + 2]
push eax
push edx
push dword [ebp + 0x10]
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x10005360
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, eax
js 0x100053c7
push 2
push str.SoftwareMicrosoftWindowsCurrentVersionShell_ExtensionsApproved
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0xc]
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
call fcn.10003c70
mov esi, dword [ebp - 0xc]
test eax, eax
jne 0x100053d8
push 0x3e
push 0x10018a30
push 1
push 0
push str.2C5515DC_2A7E_4BFD_B813_CACC2B685EB7
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x100053d8
test esi, esi
je 0x100053c7
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
mov ecx, 0x10021c60
call fcn.100038a0
pop esi
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x100053e3
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x80070005
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x100053f0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, eax
js 0x10005449
push esi
push 2
push str.SoftwareMicrosoftWindowsCurrentVersionShell_ExtensionsApproved
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0xc]
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
call fcn.10003c70
mov esi, dword [ebp - 0xc]
test eax, eax
jne 0x1000543d
push str.2C5515DC_2A7E_4BFD_B813_CACC2B685EB7
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test esi, esi
je 0x10005448
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
push 0
mov ecx, 0x10021c60
call fcn.10003930
mov esp, ebp
pop ebp
ret
Function at 0x10005cb0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x6040
call fcn.10007370
mov eax, dword [0x10021030]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
xor ecx, ecx
push edi
mov edi, dword [ebp + 8]
cmp cx, word [eax + 0xe]
je 0x10005cec
mov eax, 0x80070057
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10006bb1
mov esp, ebp
pop ebp
ret 8
cmp word [eax + 0xc], cx
jne 0x10005cd6
push 0x2000
lea eax, [ebp - 0x4004]
push 0
push eax
call fcn.10008240
push 0x2000
lea eax, [ebp - 0x2004]
push 0
push eax
call fcn.10008240
push 0x2000
lea eax, [ebp - 0x6004]
push 0
push eax
call fcn.10008240
add esp, 0x24
lea eax, [ebp - 0x4004]
lea ecx, [edi - 4]
push 0x1000
push eax
call fcn.100064b0
test eax, eax
jne 0x10005d5c
mov eax, 0x80004005
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10006bb1
mov esp, ebp
pop ebp
ret 8
push esi
lea esi, [edi + 0x10]
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x10005da2
cmp dword [edi + 0x2010], eax
jne 0x10005da2
lea eax, [ebp - 0x4004]
push eax
lea eax, [ebp - 0x6004]
push str.__sRevoAppBar.exe_
push eax
call fcn.10001d90
push esi
lea eax, [ebp - 0x2004]
push str.__in___s_
push eax
call fcn.10001d90
add esp, 0x18
jmp 0x10005de2
lea eax, [ebp - 0x4004]
push eax
lea eax, [ebp - 0x6004]
push str.__sRevoUnPro.exe_
push eax
call fcn.10001d90
add esp, 0xc
lea eax, [ebp - 0x2004]
cmp dword [edi + 0x2010], 0
push esi
je 0x10005dd4
push str.__forcedlnk___s_
jmp 0x10005dd9
push str.__forcedfolder___s_
push eax
call fcn.10001d90
add esp, 0xc
lea eax, [ebp - 0x6004]
mov dword [ebp - 0x6040], 0x3c
mov dword [ebp - 0x6030], eax
lea eax, [ebp - 0x2004]
mov dword [ebp - 0x602c], eax
lea eax, [ebp - 0x6040]
push eax
mov dword [ebp - 0x603c], 0x4000
mov dword [ebp - 0x6038], 0
mov dword [ebp - 0x6034], str.open
mov dword [ebp - 0x6028], 0
mov dword [ebp - 0x6024], 1
mov dword [ebp - 0x6020], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop edi
call fcn.10006bb1
mov esp, ebp
pop ebp
ret 8

Function at 0x10014341
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x10014368
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.1001407a
sbb byte [edi], cl
xor ebx, dword [ebp - 0x73]
inc ebp
rcl byte [eax - 0x18], 0xc5
cld
invalid
Function at 0x10014cd0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x50b], 0x70
mov byte [ebp - 0x50a], 0x79
mov byte [ebp - 0x509], 0x4f
mov byte [ebp - 0x508], 0x75
mov byte [ebp - 0x507], 0x66
mov byte [ebp - 0x506], 0x79
mov byte [ebp - 0x505], 0x1c
lea eax, [ebp - 0x514]
push eax
call fcn.1001408a
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.1001403f
add esp, 0xc
mov dword [ebp - 0x33c], eax
call fcn.1001407a
mov ch, 0x4f
xchg byte [edx + 0x68], bh
add al, 1
add byte [eax], al
lea eax, [ebp - 0x334]
push eax
push dword [ebp + 8]
call dword [ebp - 0x538]
mov dword [ebp - 0x398], eax
mov byte [ebp - 0x544], 1
cmp dword [ebp - 0x398], 0
je 0x10014d6e
cmp dword [ebp - 0x398], 0
je 0x10014f38
cmp dword [ebp + 0xc], 1
je 0x10014f38
cmp dword [ebp + 0xc], 8
jne 0x10014f00
and byte [ebp - 0x6b8], 0
invalid
movsd dword es:[edi], dword [esi]
dec ecx
stc
Function at 0x10016fa0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0x6a473fdd
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
sub eax, 0xe274e63a
je 0x1001700a
jmp 0x10016fcf
mov eax, dword [ebp - 0x10]
sub eax, 0x6a473fdd
je 0x10016fe7
jmp 0x10016fe2
jmp 0x10017035
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.100171b0
and al, 1
mov byte [ebp - 1], al
mov dword [ebp - 0xc], 0xe274e63a
jmp 0x10017035
mov ah, byte [ebp - 1]
mov al, ah
xor al, 0xff
and al, 1
mov dl, 1
xor dl, 1
and ah, dl
mov cl, 1
xor cl, 1
and cl, 0xff
and dl, 1
or al, ah
or cl, dl
xor al, cl
and al, 1
movzx eax, al
add esp, 0x18
pop ebp
ret
jmp 0x10016fb9

Function at 0x1002593a
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10025979
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10025979
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10025979
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x10025979
cmp dword [ecx + 0x74], 0xe
jbe 0x10025979
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x10028304
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x100283a1
push ebx
push esi
call fcn.100282cd
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.10028261
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1002834e
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100283a0
push edi
push eax
call fcn.10026c02
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1002836e
call fcn.10026c50
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1002839f
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.10028261
add esp, 0x20
test eax, eax
jne 0x1002838d
push edi
call fcn.10026c50
jmp 0x10028395
push ebx
call fcn.10026c50
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x1002860e
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10030370
push 0x10030368
push str.FlsAlloc
push 0x1f
call fcn.1002852a
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10028642
push dword [ebp + 8]
mov ecx, esi
call dword [0x1002e150]
call esi
jmp 0x10028648
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1002868c
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10030380
push 0x10030378
push str.FlsGetValue
push 0x21
call fcn.1002852a
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100286c3
push dword [ebp + 8]
mov ecx, esi
call dword [0x1002e150]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x100286cb
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10030388
push 0x10030380
push str.FlsSetValue
push 0x22
call fcn.1002852a
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10028705
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x1002e150]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x1002dc10
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1002dc3d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1002dc3d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x101c42e0
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10091d1a
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x100b80c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], 0
mov dword [ebx], 0x100a9fc0
mov dword [ebx + 0x10], 0x100a9f58
mov dword [ebx + 0x68], 0x1009c4d4
mov dword [ebp - 4], 0
mov eax, dword [ebx]
push 0
push 0
mov dword [ebp - 0x10], 1
mov eax, dword [eax + 4]
mov dword [ebx + eax], 0x100a9fb4
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ecx + ebx - 4], eax
mov eax, dword [ebx]
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov edi, dword [eax + 4]
add edi, ebx
mov ecx, edi
mov dword [edi + 0x30], 0
mov dword [edi + 8], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0x201
mov dword [edi + 0x18], 6
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
call fcn.101bf880
push 8
call fcn.10214eff
mov esi, eax
push 1
mov dword [ebp - 4], 3
call fcn.10214097
add esp, 8
mov dword [esi + 4], eax
mov byte [ebp - 4], 2
lea eax, [ebx + 0x18]
mov ecx, edi
mov dword [edi + 0x30], esi
mov dword [edi + 0x38], eax
push 0x20
mov dword [edi + 0x3c], 0
call fcn.101c6b10
cmp dword [edi + 0x38], 0
mov byte [edi + 0x40], al
jne 0x101c4407
mov eax, dword [edi + 0xc]
mov ecx, edi
or eax, 4
push 0
push eax
call fcn.101bf880
lea edx, [ebx + 0x10]
mov dword [ebp - 0x18], edx
mov eax, dword [edx]
mov eax, dword [eax + 4]
mov dword [edx + eax], 0x1009c4dc
mov eax, dword [edx]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ecx + edx - 4], eax
mov eax, dword [ebx]
mov eax, dword [eax + 4]
mov dword [ebx + eax], 0x100a9f64
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ecx + ebx - 4], eax
mov dword [ebp - 4], 6
lea edi, [ebx + 0x18]
mov eax, dword [ebx]
push 8
mov eax, dword [eax + 4]
mov dword [ebx + eax], 0x100a9fac
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x18], edi
lea eax, [ecx - 0x68]
mov dword [ecx + ebx - 4], eax
mov dword [edi], 0x1009c454
call fcn.10214eff
mov esi, eax
push 1
mov byte [ebp - 4], 7
call fcn.10214097
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov dword [edi], 0x100a9f6c
mov eax, ebx
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x101c6890
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10091e70
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x100b80c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], 0x1009c454
call fcn.10214eff
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.10214097
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x101d0920
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x74]
test eax, eax
je 0x101d099d
mov edi, dword [esi + 0x20]
add edi, eax
cmp dword [edi + 8], 6
je 0x101d0940
mov edx, 5
call fcn.101d0b60
mov ecx, dword [esi + 8]
mov eax, dword [ecx - 0x10]
mov dword [ecx], eax
mov eax, dword [ecx - 0xc]
mov dword [ecx + 4], eax
mov eax, dword [ecx - 8]
mov dword [ecx + 8], eax
mov ecx, dword [esi + 8]
mov eax, dword [edi]
mov dword [ecx - 0x10], eax
mov eax, dword [edi + 4]
mov dword [ecx - 0xc], eax
mov eax, dword [edi + 8]
mov dword [ecx - 8], eax
mov eax, dword [esi + 0x1c]
sub eax, dword [esi + 8]
cmp eax, 0x10
jg 0x101d0987
mov edx, dword [esi + 0x2c]
mov ecx, esi
cmp edx, 1
jl 0x101d0981
add edx, edx
jmp 0x101d0982
inc edx
call fcn.101d0c40
add dword [esi + 8], 0x10
mov ecx, esi
mov edx, dword [esi + 8]
push 1
add edx, 0xffffffe0
call fcn.101d1500
add esp, 4
mov edx, 2
mov ecx, esi
pop edi
pop esi
jmp fcn.101d0b60

Function at 0x101d0b60
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x70]
test eax, eax
je 0x101d0b82
mov dword [eax + 0x44], edx
mov eax, dword [esi + 0x70]
push 1
add eax, 4
push eax
call fcn.1021748b
mov eax, dword [esi + 0x10]
mov byte [esi + 6], dl
cmp dword [eax + 0x58], 0
je 0x101d0b9f
call fcn.101d0ae0
mov eax, dword [esi + 0x10]
push esi
mov eax, dword [eax + 0x58]
call eax
add esp, 4
push 1
call fcn.1021f89b
int3
Function at 0x101d4020
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x100b80c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov eax, ecx
mov dword [ebp - 0x20c], 0
push esi
mov dword [ebp - 0x214], eax
mov ebx, edx
mov dword [ebp - 0x208], eax
mov esi, 0x200
lea eax, [ebp - 0x204]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x210], eax
lea ecx, [ebp - 0x210]
call fcn.101c91a0
test eax, eax
je 0x101d407e
lea ecx, [ebp - 0x210]
call fcn.101c9210
cmp esi, edi
mov eax, edi
push ebx
cmovbe eax, esi
mov esi, eax
lea eax, [ebp - 0x204]
push esi
push 1
push eax
call fcn.1021ec70
add dword [ebp - 0x210], eax
add esp, 0x10
sub edi, eax
je 0x101d40a8
cmp eax, esi
je 0x101d4064
lea ecx, [ebp - 0x210]
call fcn.101c91a0
mov edx, dword [ebp - 0x20c]
mov ecx, dword [ebp - 0x208]
call fcn.101c8120
test edi, edi
mov dword [ebp - 0x20c], 1
pop edi
pop esi
pop ebx
je 0x101d40f5
mov ecx, dword [ebp - 0x214]
or edx, 0xffffffff
call fcn.101c78d0
test eax, eax
jne 0x101d40f5
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10214eee
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.10214eee
mov esp, ebp
pop ebp
ret