joyce8/EMBER2024-capa huggingface dataset:
Function at 0x909f010
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x90ace1d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xb20
mov eax, dword [0x90e6610]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebx + 8]
mov esi, dword [ebx + 0x18]
push eax
mov dword [ebp - 0xb2c], eax
call fcn.09004c55
add esp, 4
lea ecx, [ebp - 0xb24]
push eax
call fcn.09004c55
push 0
push 0
push 0
push 1
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 1
push dword [ebp - 0xb24]
mov dword [ebp - 4], 0
push esi
call fcn.09008247
add esp, 0x3c
lea ecx, [ebp - 0xb20]
push eax
call fcn.09004c55
mov byte [ebp - 4], 1
xor eax, eax
nop dword [eax]
nop dword [eax + eax]
mov byte [ebp + eax - 0x118], al
inc eax
cmp eax, 0x100
jb 0x909f0c0
mov ecx, dword [ebp - 0xb20]
lea eax, [ebp - 0x918]
push 0
push 0x5058595a
push 0x67386b30
push 0x100
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.09004c55
movzx ecx, word [ebp - 0x11c]
movzx edi, word [ebp - 0x914]
mov dword [ebp - 0xb28], ecx
cmp ecx, edi
jbe 0x909f23a
mov edx, ecx
sub edx, edi
xor esi, esi
mov dword [ebp - 0xb1c], edx
movzx eax, word [ebp + esi*8 - 0x914]
cmp eax, edi
ja 0x909f131
xor eax, eax
jmp 0x909f15e
cmp eax, ecx
jb 0x909f13c
mov eax, 0x8000
jmp 0x909f15e
sub eax, edi
mov ecx, edx
shl eax, 0xf
xor edx, edx
shr ecx, 1
add eax, ecx
mov ecx, dword [ebp - 0xb28]
div dword [ebp - 0xb1c]
mov edx, dword [ebp - 0xb1c]
movzx eax, ax
mov word [ebp + esi*2 - 0xb18], ax
inc esi
cmp esi, 0x100
jb 0x909f121
lea ecx, [ebp - 0xb20]
mov byte [ebp - 4], 0
call fcn.09017177
lea ecx, [ebp - 0xb24]
mov dword [ebp - 4], 0xffffffff
call fcn.0901b295
mov esi, dword [ebp - 0xb2c]
lea eax, [esi + 8]
push eax
push 0x278
mov dword [ebp - 0xb2c], eax
call fcn.09004c55
add esp, 8
mov dword [ebp - 0xb28], eax
mov dword [ebp - 4], 2
test eax, eax
je 0x909f1ca
push esi
mov ecx, eax
call fcn.09004c55
mov edx, eax
jmp 0x909f1cc
xor edx, edx
mov ecx, dword [ebx + 0xc]
xorps xmm0, xmm0
movsd xmm1, qword [ebx + 0x10]
mulsd xmm1, qword [0x90bee38]
mov eax, dword [ecx]
mov dword [edx + 0x68], eax
mov eax, dword [ecx + 4]
comisd xmm0, xmm1
mov dword [edx + 0x6c], eax
jbe 0x909f1fa
subsd xmm1, qword [0x90b4780]
jmp 0x909f202
addsd xmm1, qword [0x90b4780]
cvttsd2si eax, xmm1
lea edi, [edx + 0x72]
mov ecx, 0x80
lea esi, [ebp - 0xb18]
rep movsd dword es:[edi], dword [esi]
mov word [edx + 0x70], ax
mov eax, edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.09001f80
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0x6250726f
call fcn.09004c55
int3
Function at 0x4013dc
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc4c
cmp dword [0x1a024f0], 0x594
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x2c], esi
mov ebx, dword [esi]
mov edi, dword [esi + 4]
mov dword [ebp - 0x10], ebx
jne 0x401412
push 0
lea eax, [ebp - 0x44c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov eax, dword [0x4192f8]
lea ecx, [ebp - 4]
and dword [ebp - 4], 0
mov dword [ebp - 0x20], eax
mov eax, dword [0x4192fc]
mov dword [ebp - 0x18], 0x9e3779b9
mov dword [ebp - 0x28], eax
call fcn.004013d2
mov ecx, dword [0x419300]
mov eax, dword [0x419304]
add dword [ebp - 4], 0x23f
push 0x20
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x1c], eax
pop esi
mov dword [ebp - 0x14], 2
add dword [ebp - 0x14], 3
mov eax, ebx
mov edx, 0xedeb2e40
shl eax, 4
add eax, ecx
cmp dword [0x1a024f0], 0xfa9
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov eax, dword [0x1a024ec]
cmove eax, edx
xor edx, edx
cmp dword [0x1a024f0], 0x3eb
mov dword [0x1a024ec], eax
mov eax, dword [0x1a01edc]
cmove eax, edx
add ecx, ebx
mov dword [0x1a01edc], eax
mov eax, dword [ebp - 0x10]
shr eax, 5
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0xc]
xor ebx, ebx
mov eax, dword [ebp - 8]
xor edx, ecx
add eax, dword [ebp - 0x1c]
mov ecx, dword [0x1a024f0]
xor eax, edx
mov dword [0x1a024e8], 0xf4ea3dee
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
cmp ecx, 0x213
jne 0x401546
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateHardLinkA]
call dword [sym.imp.KERNEL32.dll_GetOEMCP]
lea eax, [ebp - 0x30]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeA]
push ebx
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsW]
lea eax, [ebp - 0xc4c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push ebx
lea eax, [ebp - 0x44c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasA]
lea eax, [ebp - 0x38]
push eax
push ebx
lea eax, [ebp - 0x4c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputW]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateTimerQueueTimer]
mov eax, dword [ebp - 8]
mov ecx, dword [0x1a024f0]
sub edi, eax
cmp ecx, 0xc
jne 0x401554
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnWire]
mov eax, edi
shl eax, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x20]
add dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x14]
mov eax, edi
mov edx, dword [ebp - 4]
shr eax, cl
add edx, edi
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x28]
add dword [ebp - 8], eax
mov eax, dword [ebp - 8]
lea ecx, [ebp - 0x10]
xor eax, edx
mov edx, dword [ebp - 0xc]
xor edx, eax
mov dword [ebp - 0xc], edx
call fcn.004013d9
mov eax, dword [ebp - 0x18]
sub dword [ebp - 4], eax
dec esi
je 0x4015a0
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
jmp 0x401450
mov esi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x10]
mov dword [esi + 4], edi
pop edi
mov dword [esi], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40d76d
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4187a4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00408e17
mov dword [ebp - 0x14], eax
cmp dword [0x43c2f8], esi
jne 0x40d860
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40d7ed
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40d940
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40d940
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40d940
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x43c2f8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x43c2fc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x43c300], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x43c308], eax
test eax, eax
je 0x40d85d
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x43c304], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40d885
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40d878
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40d89a
push 4
pop eax
jmp 0x40d942
cmp dword [ebp - 0x14], esi
je 0x40d89a
push dword [0x43c2f8]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40d87f
mov eax, dword [0x43c304]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40d8f8
cmp dword [0x43c308], edi
je 0x40d8f8
push eax
call ebx
push dword [0x43c308]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40d8f8
test eax, eax
je 0x40d8f8
call ecx
test eax, eax
je 0x40d8ed
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40d8ed
test byte [ebp - 8], 1
jne 0x40d8f8
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40d928
mov eax, dword [0x43c2fc]
cmp eax, edi
je 0x40d925
push eax
call ebx
test eax, eax
je 0x40d925
call eax
mov esi, eax
test esi, esi
je 0x40d925
mov eax, dword [0x43c300]
cmp eax, edi
je 0x40d925
push eax
call ebx
test eax, eax
je 0x40d925
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x43c2f8]
call ebx
test eax, eax
je 0x40d940
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40d942
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004041ee
mov esp, ebp
pop ebp
ret
Function at 0x403030
Capabilities:
Terminate process

Disassembly:
push edi
mov dword [ebp - 0x18], esp
xor ebx, ebx
mov dword [ebp - 4], ebx
push 2
call dword [sym.imp.MSVCRT.dll___set_app_type]
pop ecx
or dword [0x406fe8], 0xffffffff
or dword [0x406fec], 0xffffffff
call dword [sym.imp.MSVCRT.dll___p__fmode]
mov ecx, dword [0x406fe4]
mov dword [eax], ecx
call dword [sym.imp.MSVCRT.dll___p__commode]
mov ecx, dword [0x406fe0]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCRT.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x406ff0], eax
call fcn.00401bb9
cmp dword [0x406dac], ebx
jne 0x403091
push section..text
call dword [sym.imp.MSVCRT.dll___setusermatherr]
pop ecx
call fcn.00402db0
push 0x40600c
push 0x406008
call sub.MSVCRT.dll__initterm
mov eax, dword [0x406fdc]
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x6c]
push eax
push dword [0x406fd8]
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.MSVCRT.dll___getmainargs]
push 0x406004
push section..data
call sub.MSVCRT.dll__initterm
add esp, 0x24
mov eax, dword [sym.imp.MSVCRT.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x74], esi
cmp byte [esi], 0x22
jne 0x403124
inc esi
mov dword [ebp - 0x74], esi
mov al, byte [esi]
cmp al, bl
je 0x4030f8
cmp al, 0x22
jne 0x4030ea
cmp byte [esi], 0x22
jne 0x403101
inc esi
mov dword [ebp - 0x74], esi
mov al, byte [esi]
cmp al, bl
je 0x40310b
cmp al, 0x20
jbe 0x4030fd
mov dword [ebp - 0x30], ebx
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x30], 1
je 0x40312f
movzx eax, word [ebp - 0x2c]
jmp fcn.00403132
cmp byte [esi], 0x20
jbe 0x403101
inc esi
mov dword [ebp - 0x74], esi
jmp 0x403124
push 0xa
pop eax

Function at 0x41d47c
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x41d482
ret
Function at 0x100159e2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x100159f1
pop dword [ebp - 0x38]
mov eax, 0x100159f1
sub dword [ebp - 0x38], eax
mov dword [ebp - 0x48], 0x62d3084c
add dword [ebp - 0x48], 0xeb7f3cff
mov dword [ebp - 0x44], 0x4efc95f1
add dword [ebp - 0x44], 0xe336b654
mov dword [ebp - 0x40], 0x20444c39
sub dword [ebp - 0x40], 0xd3f8080b
mov dword [ebp - 0x3c], 0xc302453c
sub dword [ebp - 0x3c], 0xc302453c
lea eax, [ebp - 0x48]
push eax
mov eax, 0x32e86802
sub eax, 0x22e6e74e
add eax, dword [ebp - 0x38]
call dword [eax]
mov dword [ebp - 0x48], 0xabe860d5
add dword [ebp - 0x48], 0xc88a0881
mov dword [ebp - 0x44], 0x4fcf7ce8
sub dword [ebp - 0x44], 0xe631b73
mov dword [ebp - 0x40], 0x7be2ad75
add dword [ebp - 0x40], 0xe78cbef7
mov dword [ebp - 0x3c], 0x2a8f3de0
sub dword [ebp - 0x3c], 0x2a8f3de0
lea ebx, [ebp - 0x48]
push ebx
push eax
mov eax, 0x5b1c6391
sub eax, 0x4b1ae331
add eax, dword [ebp - 0x38]
call dword [eax]
push 0x40
push 0x1000
push 0x39028
push 0
call eax
mov ecx, 0x569f18ad
sub ecx, 0x569eda79
mov edx, eax
mov esi, 0x10027200
add esi, dword [ebp - 0x38]
mov ebx, 0x5c6702db
add ebx, 0xee0f08ea
add dword [ebp - 0x34], 0x5529c375
mov edi, dword [esi]
sub dword [ebp - 0x34], ebx
xor edi, ebx
add dword [ebp - 0x2c], 0x2926a896
mov dword [edx], edi
sub dword [ebp - 0x28], 0xe5165caf
add edx, 0x700f2dc2
sub edx, 0x700f2dbe
add esi, 4
loop 0x10015b08
add eax, 0xeb1ac31b
add eax, 0x14e62888
mov ebx, eax
add eax, 0x1435c766
add eax, 0xebca389f
mov ecx, 0x10000000
add ecx, dword [ebp - 0x38]
call ebx
leave
ret
Function at 0x100696fd
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp byte [esi + 0x2d], 0
jne 0x10069780
push ebx
mov ebx, dword [ebp + 0x10]
push edi
push 0
lea eax, [ebp + 0x10]
push eax
push ebx
push dword [ebp + 0xc]
push dword [esi + 0x30]
call dword [sym.imp.kernel32.dll_ReadFile]
mov edi, dword [ebp + 0x10]
cmp edi, ebx
je 0x1006974a
mov byte [esi + 0x2d], 0xff
test edi, edi
je 0x1006974a
cmp edi, ebx
jge 0x1006974a
mov eax, dword [ebp + 0xc]
mov ecx, ebx
sub ecx, edi
push ecx
add eax, edi
push 0
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
cmp dword [esi + 0x18], 0
je 0x1006977a
add dword [esi + 0x1c], ebx
cmp dword [esi + 0x1c], 0xffff
jle 0x1006977a
xor eax, eax
mov word [esi + 0x1e], ax
mov eax, dword [esi]
push esi
call dword [eax + 0x2c]
mov ecx, dword [esi + 0x18]
mov edx, dword [ecx]
push 1
push dword [esi + 0x20]
push eax
push ecx
call dword [edx + 0xc]
mov edi, dword [ebp + 0x10]
mov eax, edi
pop edi
pop ebx
jmp 0x10069792
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
pop esi
pop ebp
ret 0xc

Function at 0x10069a28
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
mov eax, dword [0x100b1980]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push edi
mov edi, dword [ebp + 0xc]
cmp byte [0x1016c088], al
je 0x10069a5f
push ebx
push dword [ebp + 0x10]
push edi
push esi
call dword [sym.imp.kernel32.dll_GetTempFileNameW]
jmp 0x10069ac3
push 0x103
push eax
mov byte [ebp - 0x108], al
lea eax, [ebp - 0x107]
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
lea eax, [ebp - 0x310]
push eax
push esi
call fcn.1000d4ca
lea eax, [ebp - 0x20c]
push eax
push edi
call fcn.1000d4ca
lea eax, [ebp - 0x108]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x310]
push eax
call dword [sym.imp.kernel32.dll_GetTempFileNameA]
mov esi, eax
push ebx
lea eax, [ebp - 0x108]
push eax
call fcn.1000d4ca
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1006e864
leave
ret 0x10

Function at 0x10069ad4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x100b1980]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x1016c088], 0
push esi
mov esi, dword [ebp + 0xc]
je 0x10069b00
push esi
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_GetTempPathW]
jmp 0x10069b31
lea eax, [ebp - 0x108]
push eax
push 0x104
call dword [sym.imp.kernel32.dll_GetTempPathA]
test eax, eax
je 0x10069b2f
push dword [ebp + 8]
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.1000d4ca
push esi
call dword [sym.imp.kernel32.dll_lstrlenW]
jmp 0x10069b31
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1006e864
leave
ret 8
Function at 0x10069bcc
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x100b1980]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x1016c088], 0
mov eax, dword [ebp + 8]
je 0x10069bf4
push eax
call dword [sym.imp.kernel32.dll_DeleteFileW]
jmp 0x10069c0e
lea ecx, [ebp - 0x108]
push ecx
push eax
call fcn.1000d4ca
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.kernel32.dll_DeleteFileA]
mov ecx, dword [ebp - 4]
test eax, eax
setne al
xor ecx, ebp
call fcn.1006e864
leave
ret 4

Function at 0x1006e864
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100b1980]
jne 0x1006e86e
repz ret
jmp fcn.1006ef63
Function at 0x40324c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x40325b
pop dword [ebp - 0x14]
mov eax, 0x4838b155
add eax, 0xb8078106
sub dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0x45db380b
sub dword [ebp - 0x24], 0xf788f2c0
mov dword [ebp - 0x20], 0x8ef4fbf4
add dword [ebp - 0x20], 0xa33e5051
mov dword [ebp - 0x1c], 0xf9a54a78
sub dword [ebp - 0x1c], 0xad59064a
mov dword [ebp - 0x18], 0x485d42d6
add dword [ebp - 0x18], 0xb7a2bd2a
lea eax, [ebp - 0x24]
push eax
mov eax, 0x5ca071c9
sub eax, 0x5c5ff151
add eax, dword [ebp - 0x14]
call dword [eax]
mov dword [ebp - 0x24], 0x7ba33376
sub dword [ebp - 0x24], 0x730ca20
mov dword [ebp - 0x20], 0x16a81da7
sub dword [ebp - 0x20], 0xd53bbc32
mov dword [ebp - 0x1c], 0xb68f8df
add dword [ebp - 0x1c], 0x5806738d
mov dword [ebp - 0x18], 0x9c49fcad
add dword [ebp - 0x18], 0x63b60353
lea ebx, [ebp - 0x24]
push ebx
push eax
mov eax, 0x3d9cdd2f
sub eax, 0x3d5c5cb3
add eax, dword [ebp - 0x14]
call dword [eax]
push 0x40
push 0x1000
push 0x3bf5c
push 0
call eax
mov ecx, 0x5610c160
sub ecx, 0x561065a9
mov esi, eax
mov edx, 0x451400
add edx, dword [ebp - 0x14]
mov ebx, 0xbbcb154e
sub ebx, 0x97d710a7
xor dword [ebp - 0xc], ebx
mov edi, dword [edx]
sub dword [ebp - 0xc], 0xdbe04627
xor edi, ebx
mov dword [esi], edi
add dword [ebp - 8], 0xf09ce603
add esi, 4
add edx, 4
loop 0x403377
add eax, 0xa24351c7
add eax, 0x5dbe0fe8
mov ebx, eax
add eax, 0xd7f98a46
add eax, 0x280675bf
mov ecx, 0xf56573ba
sub ecx, 0xf52573ba
add ecx, dword [ebp - 0x14]
call ebx
leave
ret
Function at 0x1000fb80
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017c110
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x101fd398]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov dword [eax], vtable.CSetupReport.0
call fcn.1002bf30
push 0
lea ecx, [ebp - 0x18]
call fcn.10011e90
lea ecx, [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.10011e10
lea ecx, [ebp - 0x18]
call fcn.10011e50
mov ecx, dword [ebp - 0x10]
add ecx, 0x74
call fcn.10009c10
mov ecx, dword [ebp - 0x10]
add ecx, 0x70
call fcn.10009c10
mov ecx, dword [ebp - 0x10]
add ecx, 0x64
call fcn.10009c10
mov ecx, dword [ebp - 0x10]
add ecx, 0x60
call fcn.10009c10
mov ecx, dword [ebp - 0x10]
add ecx, 0x5c
call fcn.10009c10
mov ecx, dword [ebp - 0x10]
add ecx, 0x58
call fcn.10009c10
mov ecx, dword [ebp - 0x10]
add ecx, 0x50
call fcn.10009c10
mov ecx, dword [ebp - 0x10]
add ecx, 0x4c
call fcn.10009c10
mov ecx, dword [ebp - 0x10]
add ecx, 0x34
call fcn.10004780
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.10009c10
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.10011e50
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x100105a0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x100105c3
cmp dword [ebp - 4], 1
je 0x100105d7
cmp dword [ebp - 4], 2
je 0x100105eb
jmp 0x100105fd
mov ecx, dword [ebp - 8]
add ecx, 4
call fcn.1000e850
mov ecx, eax
call fcn.1002bfc0
jmp 0x100105fd
mov ecx, dword [ebp - 8]
add ecx, 4
call fcn.1000e850
mov ecx, eax
call fcn.1002c000
jmp 0x100105fd
mov ecx, dword [ebp - 8]
add ecx, 4
call fcn.1000e850
mov ecx, eax
call fcn.1002bfe0
push str._seraphim_::SendLog
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov esp, ebp
pop ebp
ret 4
Function at 0x10010e10
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017c8f0
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x101fd398]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], ecx
push 4
lea ecx, [ebp - 0x1c]
call fcn.10005000
lea ecx, [ebp - 0x1c]
call fcn.1003e790
mov dword [ebp - 4], 0
push 4
lea ecx, [ebp - 0x24]
call fcn.10005000
push 0x101e0650
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x24]
push ecx
call fcn.10005370
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.100055d0
xor dl, dl
mov ecx, eax
call fcn.1003e060
push 4
lea ecx, [ebp - 0x20]
call fcn.10005000
push str.GameSharedUp.exe
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x20]
push eax
call fcn.10005370
add esp, 0xc
mov byte [ebp - 4], 2
push 4
lea ecx, [ebp - 0x14]
call fcn.10005000
push 0x101e0694
lea ecx, [ebp - 0x14]
call fcn.1000af00
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x14]
call fcn.100121e0
push 0x101e0698
lea ecx, [ebp - 0x14]
call fcn.1001fbb0
push 0
lea ecx, [ebp - 0x14]
call fcn.100055d0
mov edx, 0x7530
mov ecx, eax
call fcn.1003dd00
add esp, 4
push 4
lea ecx, [ebp - 0x18]
call fcn.10005000
lea ecx, [ebp - 0x18]
call fcn.10007cc0
mov byte [ebp - 4], 4
push str.GameShared
push str.schtasks__delete__tn__s__F
lea edx, [ebp - 0x18]
push edx
call fcn.10012d90
add esp, 0xc
push 0
lea ecx, [ebp - 0x18]
call fcn.100055d0
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
push str._action_:_exit___params_:
lea ecx, [ebp - 0x40]
call fcn.10004f90
mov byte [ebp - 4], 5
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x58]
push ecx
call fcn.10010d10
add esp, 8
lea ecx, [ebp - 0x58]
call fcn.10004780
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
call fcn.10004780
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.10009c10
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.10009c10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.10009c10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.10009c10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.10009c10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10153588
mov esp, ebp
pop ebp
ret
Function at 0x1001f810
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x1c], ecx
xor eax, eax
jne 0x1001f819
cmp dword [ebp + 0xc], 0
je 0x1001f82c
mov dword [ebp - 0xc], 1
jmp 0x1001f833
mov dword [ebp - 0xc], 0
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0
jne 0x1001f846
mov eax, 0xd
jmp 0x1001f89b
xor edx, edx
jne 0x1001f81d
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
add ecx, 2
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 8]
mov ax, word [edx]
mov word [ebp - 2], ax
add dword [ebp - 8], 2
cmp word [ebp - 2], 0
jne 0x1001f859
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0x14]
sar ecx, 1
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
lea eax, [edx + edx + 2]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 0x10]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esp, ebp
pop ebp
ret 0xc

Function at 0x1001fbd0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x1001fc2f
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x1001fbfc
mov eax, 1
jmp 0x1001fc4d
push str.RegDeleteKeyTransactedW
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x1001fc2d
push 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
push 0
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [ebp - 0xc]
jmp 0x1001fc4d
jmp 0x1001fc48
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x1001fc48
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x1001fc4d
mov eax, 1
mov esp, ebp
pop ebp
ret 8