joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100030e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x10028014]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x1000319a
cmp byte [esi + 0x3d], 0
je 0x1000319a
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x10003188
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
mov edx, dword [ecx]
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x10003150
sub eax, 1
je 0x10003154
sub eax, 2
jne 0x10003188
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10004992
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x10003171
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.1000978e
add esp, 0x10
cmp edi, eax
jne 0x10003188
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10004992
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10004992
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.10004992
mov esp, ebp
pop ebp
ret

Function at 0x100035e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001a140
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x10028014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
push 8
mov dword [eax], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.100049a0
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.1000407f
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp - 0x10]
lea edi, [eax + 0x14]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 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

Function at 0x1000fa11
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1000f887
Function at 0x4010c0
Capabilities:
Delete file
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [ebp + 8]
mov ecx, dword [0x4a3068]
push ebx
mov ebx, dword [0x4a306c]
push esi
push edi
mov edi, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0xc], eax
xor esi, esi
lea eax, [ebp - 8]
mov dword [ebp - 8], esi
mov dword [ebp - 0x34], 0x9e3779b9
mov dword [ebp - 0x30], ecx
call fcn.004010b0
mov edx, dword [0x4a3070]
mov eax, dword [0x4a3074]
add dword [ebp - 8], 0x23f
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], 0x20
jmp 0x401122
xor esi, esi
mov dword [ebp - 0x10], 2
add dword [ebp - 0x10], 3
mov ecx, dword [0x8c287c]
mov eax, edi
shl eax, 4
mov dword [ebp - 4], eax
cmp ecx, 0xc
jne 0x40117b
push esi
lea ecx, [ebp - 0x38]
push ecx
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
push esi
call dword [sym.imp.KERNEL32.dll_SetCommBreak]
xor edx, edx
xor eax, eax
lea ecx, [ebp - 0x3c]
push ecx
mov word [ebp - 0x1c], dx
mov word [ebp - 0x1a], ax
mov edx, dword [ebp - 0x1c]
push edx
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_ReadConsoleOutputCharacterW]
mov eax, dword [ebp - 4]
mov ecx, dword [0x8c287c]
add eax, dword [ebp - 0x24]
mov dword [ebp - 4], eax
cmp ecx, 0xfa9
jne 0x401195
mov dword [0x8c2878], 0xedeb2e40
jmp 0x4011b5
cmp ecx, 0x3eb
jne 0x4011b5
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
mov dword [0x8c222c], esi
mov ecx, dword [ebp - 8]
add ecx, edi
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x10]
mov edx, edi
shr edx, cl
mov dword [0x8c2874], 0xf4ea3dee
add edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
xor dword [ebp - 4], eax
xor edx, dword [ebp - 4]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
add dword [ebp - 0xc], 0x64
sub dword [ebp - 0xc], eax
sub dword [ebp - 0xc], 0x64
mov edx, dword [ebp - 0xc]
shl edx, 4
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x30]
add dword [ebp - 4], eax
mov dword [ebp - 0x18], esi
mov eax, dword [ebp - 8]
add dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
nop
add dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x10]
mov esi, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
shr esi, cl
mov ecx, dword [ebp - 4]
push eax
push ecx
add esi, ebx
call fcn.00401090
cmp dword [0x8c287c], 0xb03
mov dword [ebp - 4], eax
jne 0x40123e
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthA]
mov eax, dword [ebp - 4]
xor eax, esi
mov dword [ebp - 4], eax
sub edi, eax
mov eax, dword [ebp - 0x34]
sub dword [ebp - 8], eax
sub dword [ebp - 0x20], 1
jne 0x401120
cmp dword [0x8c287c], 0xa6d
mov esi, dword [ebp + 8]
mov dword [esi], edi
jne 0x401286
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edx, dword [ebp - 0xc]
pop edi
mov dword [esi + 4], edx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 0xc]
pop edi
mov dword [esi + 4], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x401680
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
cmp dword [0x8c287c], 0x400
push esi
push edi
jne 0x4016a4
lea eax, [ebp - 0x24]
call fcn.00401760
lea esi, [ebp - 0x24]
call fcn.00401780
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
mov ebx, dword [ebp - 4]
xor esi, esi
call edi
cmp esi, 0x2af054
jle 0x4016c2
cmp ebx, 0x787e04e5
jne 0x4016cb
inc esi
cmp esi, 0x1d8d
jl 0x4016b0
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
xor esi, esi
lea esp, [esp]
push 0
call edi
call ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp esi, 0x206d47
jg 0x4016fd
inc esi
cmp esi, 0x4f6a4
jl 0x4016e0
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFindAtomA]
xor esi, esi
pop ebx
push 0
call edi
cmp esi, 0x2b2589
jg 0x40171b
inc esi
cmp esi, 0x11915
jl 0x401706
mov eax, dword [0x4a32ac]
mov dword [0x8c287c], eax
call fcn.004013f0
mov esi, dword [sym.imp.KERNEL32.dll_SuspendThread]
mov edi, 0x3078f
jmp 0x401740
cmp dword [0x8c287c], 0x51f
jne 0x401750
push 0
call esi
sub edi, 1
jne 0x401740
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x404830
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4a22c0]
jne 0x40483a
repz ret
jmp fcn.00408d0d
Function at 0x408a30
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00405297
and dword [ebp - 4], 0
cmp dword [0x4a4c68], 0
mov ebx, eax
jne 0x408ae1
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x408b92
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x408b92
push eax
call fcn.00405225
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4a4c68], eax
call esi
push eax
call fcn.00405225
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4a4c6c], eax
call esi
push eax
call fcn.00405225
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4a4c70], eax
call esi
push eax
call fcn.00405225
pop ecx
mov dword [0x4a4c78], eax
test eax, eax
je 0x408ae1
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00405225
pop ecx
mov dword [0x4a4c74], eax
mov eax, dword [0x4a4c74]
cmp eax, ebx
je 0x408b39
cmp dword [0x4a4c78], ebx
je 0x408b39
push eax
call fcn.004052a0
push dword [0x4a4c78]
mov esi, eax
call fcn.004052a0
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x408b39
test edi, edi
je 0x408b39
call esi
test eax, eax
je 0x408b30
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x408b30
test byte [ebp - 0xc], 1
jne 0x408b39
or dword [ebp + 0x10], 0x200000
jmp 0x408b72
mov eax, dword [0x4a4c6c]
cmp eax, ebx
je 0x408b72
push eax
call fcn.004052a0
pop ecx
test eax, eax
je 0x408b72
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x408b72
mov eax, dword [0x4a4c70]
cmp eax, ebx
je 0x408b72
push eax
call fcn.004052a0
pop ecx
test eax, eax
je 0x408b72
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4a4c68]
call fcn.004052a0
pop ecx
test eax, eax
je 0x408b92
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x408b94
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x409764
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov edi, eax
lea esi, [esp + 0x28]
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, edi
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409818
jmp 0x40980d
cmp dword [esi + 0x10], 0x1000
jne 0x4097f9
test byte [esi + 0x15], 1
jne 0x4097f9
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x4097b8
cmp eax, 2
je 0x4097b8
cmp eax, 0x10
je 0x4097b8
cmp eax, 0x20
jne 0x4097cd
push esp
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x4097cd
mov bl, 1
xor ebp, ebp
jmp 0x4097de
mov eax, dword [esi]
add eax, ebp
call fcn.0040975c
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jb 0x4097d1
test bl, bl
je 0x4097f9
push esp
mov eax, dword [esp + 4]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov ebx, eax
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409818
mov eax, dword [esi + 4]
cmp eax, edi
je 0x409790
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x40152a
Capabilities:
Encode data using base64 via winapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
lea eax, [ebp - 0x124]
mov dword [esp + 8], 1
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x120]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x10c]
mov dword [esp + 4], 1
mov dword [esp], eax
mov dword [ebp - 0x124], 0x14
mov byte [ebp - 0x10c], 0
call dword [sym.imp.CRYPT32.dll_CryptBinaryToStringW]
movzx eax, word [ebp - 0x120]
sub esp, 0x14
leave
sub eax, 0x41
ret

Function at 0x401586
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0xa4
mov dword [ebp - 0x88], 0
call fcn.0040152a
test eax, eax
jne 0x401620
lea eax, [ebp - 0x8c]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], eax
mov eax, 0x4020b6
sub eax, 0x401654
mov dword [esp], 0x401654
mov dword [esp + 4], eax
mov dword [ebp - 0x8c], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
cmp dword [ebp - 0x8c], 0
je 0x401620
lea ebx, [ebp - 0x88]
mov dword [esp], 0
call fcn.00401420
mov dword [esp + 4], ebx
mov dword [esp], 0
call fcn.004014a3
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1b600
mov dword [esp], 0x40300c
call fcn.00401db9
xor eax, eax
mov ebx, dword [ebp - 4]
leave
ret
Function at 0x10001266
Capabilities:
Encode data using xor

Disassembly:
push ebx
xor ebx, ebx
mov dword [0x100c8ce0], 0xea60
push esi
mov eax, 0x1f4
mov dword [0x100c8cdc], ebx
push edi
push ebx
mov dword [0x100c8cd8], eax
mov dword [0x100c8ce4], ebx
mov dword [0x100c8ce8], eax
mov dword [0x100c8cec], ebx
mov dword [0x100c8cf0], ebx
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov esi, eax
mov dword [0x100c8d04], edx
mov eax, 0x55555555
mov dword [0x100c8d00], esi
xor edi, edi
mov dword [0x100ca080], eax
pop ecx
mov dword [0x100ca084], eax
inc edi
push 0x5851f42d
mov ecx, edx
xor eax, eax
push 0x4c957f2d
shr ecx, 0x1e
xor eax, edx
xor ecx, esi
push eax
push ecx
call fcn.10045dc0
mov esi, eax
mov eax, 0x138
add esi, edi
mov dword [edi*8 + 0x100c8d00], esi
adc edx, ebx
mov dword [edi*8 + 0x100c8d04], edx
inc edi
cmp edi, eax
jb 0x100012c4
movaps xmm0, xmmword [0x1004dfb0]
pop edi
pop esi
mov dword [0x100c8cf8], eax
mov eax, 0x100c8cd8
movups xmmword [0x100ca088], xmm0
pop ebx
ret 0x10

Function at 0x1000131c
Capabilities:
Encode data using xor

Disassembly:
mov edx, ecx
cmp byte [edx + 6], 0
je 0x1000133a
push ebx
xor ebx, ebx
lea ecx, [ebx + edx]
lea eax, [ebx - 1]
xor byte [ecx], al
inc ebx
cmp ebx, 5
jb 0x10001327
pop ebx
mov byte [edx + 6], 0
mov eax, edx
ret

Function at 0x1000133d
Capabilities:
Encode data using xor

Disassembly:
mov edx, ecx
cmp byte [edx + 5], 0
je 0x1000135b
push ebx
xor ebx, ebx
lea ecx, [ebx + edx]
lea eax, [ebx - 1]
xor byte [ecx], al
inc ebx
cmp ebx, 4
jb 0x10001348
pop ebx
mov byte [edx + 5], 0
mov eax, edx
ret

Function at 0x1000135e
Capabilities:
Encode data using xor

Disassembly:
mov edx, ecx
cmp byte [edx + 8], 0
je 0x1000137c
push ebx
xor ebx, ebx
lea ecx, [ebx + edx]
lea eax, [ebx - 1]
xor byte [ecx], al
inc ebx
cmp ebx, 7
jb 0x10001369
pop ebx
mov byte [edx + 8], 0
mov eax, edx
ret

Function at 0x1000137f
Capabilities:
Encode data using xor

Disassembly:
mov edx, ecx
cmp byte [edx + 0xe], 0
je 0x1000139d
push ebx
xor ebx, ebx
lea ecx, [ebx + edx]
lea eax, [ebx - 1]
xor byte [ecx], al
inc ebx
cmp ebx, 0xd
jb 0x1000138a
pop ebx
mov byte [edx + 0xe], 0
mov eax, edx
ret

Function at 0x100013a0
Capabilities:
Encode data using xor

Disassembly:
mov edx, ecx
cmp byte [edx + 7], 0
je 0x100013be
push ebx
xor ebx, ebx
lea ecx, [ebx + edx]
lea eax, [ebx - 1]
xor byte [ecx], al
inc ebx
cmp ebx, 6
jb 0x100013ab
pop ebx
mov byte [edx + 7], 0
mov eax, edx
ret

Function at 0x100013c1
Capabilities:
Encode data using xor

Disassembly:
mov edx, ecx
cmp byte [edx + 0x12], 0
je 0x100013df
push ebx
xor ebx, ebx
lea ecx, [ebx + edx]
lea eax, [ebx - 1]
xor byte [ecx], al
inc ebx
cmp ebx, 0x11
jb 0x100013cc
pop ebx
mov byte [edx + 0x12], 0
mov eax, edx
ret

Function at 0x100013e2
Capabilities:
Encode data using xor

Disassembly:
mov edx, ecx
cmp byte [edx + 0x16], 0
je 0x10001400
push ebx
xor ebx, ebx
lea ecx, [ebx + edx]
lea eax, [ebx - 1]
xor byte [ecx], al
inc ebx
cmp ebx, 0x15
jb 0x100013ed
pop ebx
mov byte [edx + 0x16], 0
mov eax, edx
ret
Function at 0x10001403
Capabilities:
Encode data using xor

Disassembly:
mov edx, ecx
cmp byte [edx + 3], 0
je 0x10001421
push ebx
xor ebx, ebx
lea ecx, [ebx + edx]
lea eax, [ebx - 1]
xor byte [ecx], al
inc ebx
cmp ebx, 2
jb 0x1000140e
pop ebx
mov byte [edx + 3], 0
mov eax, edx
ret

Function at 0x10001424
Capabilities:
Encode data using xor

Disassembly:
mov edx, ecx
cmp byte [edx + 9], 0
je 0x10001442
push ebx
xor ebx, ebx
lea ecx, [ebx + edx]
lea eax, [ebx - 1]
xor byte [ecx], al
inc ebx
cmp ebx, 8
jb 0x1000142f
pop ebx
mov byte [edx + 9], 0
mov eax, edx
ret

Function at 0x10001445
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 9], 0
je 0x10001462
xor edx, edx
lea ecx, [edx + esi]
lea eax, [edx - 1]
xor byte [ecx], al
inc edx
cmp edx, 8
jb 0x10001450
mov byte [esi + 9], 0
pop esi
ret

Function at 0x10001464
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x16], 0
je 0x10001481
xor edx, edx
lea ecx, [edx + esi]
lea eax, [edx - 1]
xor byte [ecx], al
inc edx
cmp edx, 0x15
jb 0x1000146f
mov byte [esi + 0x16], 0
pop esi
ret

Function at 0x10001483
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x12], 0
je 0x100014a0
xor edx, edx
lea ecx, [edx + esi]
lea eax, [edx - 1]
xor byte [ecx], al
inc edx
cmp edx, 0x11
jb 0x1000148e
mov byte [esi + 0x12], 0
pop esi
ret

Function at 0x100014a2
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 7], 0
je 0x100014bf
xor edx, edx
lea ecx, [edx + esi]
lea eax, [edx - 1]
xor byte [ecx], al
inc edx
cmp edx, 6
jb 0x100014ad
mov byte [esi + 7], 0
pop esi
ret

Function at 0x100014c1
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0xe], 0
je 0x100014de
xor edx, edx
lea ecx, [edx + esi]
lea eax, [edx - 1]
xor byte [ecx], al
inc edx
cmp edx, 0xd
jb 0x100014cc
mov byte [esi + 0xe], 0
pop esi
ret

Function at 0x100014e0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 8], 0
je 0x100014fd
xor edx, edx
lea ecx, [edx + esi]
lea eax, [edx - 1]
xor byte [ecx], al
inc edx
cmp edx, 7
jb 0x100014eb
mov byte [esi + 8], 0
pop esi
ret

Function at 0x100014ff
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 5], 0
je 0x1000151c
xor edx, edx
lea ecx, [edx + esi]
lea eax, [edx - 1]
xor byte [ecx], al
inc edx
cmp edx, 4
jb 0x1000150a
mov byte [esi + 5], 0
pop esi
ret

Function at 0x1000151e
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 6], 0
je 0x1000153b
xor edx, edx
lea ecx, [edx + esi]
lea eax, [edx - 1]
xor byte [ecx], al
inc edx
cmp edx, 5
jb 0x10001529
mov byte [esi + 6], 0
pop esi
ret

Function at 0x1000153d
Capabilities:
Encode data using xor

Disassembly:
cmp byte [ecx + 0xc], 0
je 0x10001554
xor edx, edx
lea eax, [edx + ecx]
xor byte [eax], dl
inc edx
cmp edx, 0xb
jb 0x10001545
mov byte [ecx + 0xc], 0
mov eax, ecx
ret
Function at 0x10001557
Capabilities:
Encode data using xor

Disassembly:
cmp byte [ecx + 0xc], 0
je 0x1000156e
xor edx, edx
lea eax, [edx + ecx]
xor byte [eax], dl
inc edx
cmp edx, 0xb
jb 0x1000155f
mov byte [ecx + 0xc], 0
ret

Function at 0x1000156f
Capabilities:
Encode data using xor

Disassembly:
cmp byte [ecx + 0x1a], 0
je 0x10001586
xor edx, edx
lea eax, [edx + ecx]
xor byte [eax], dl
inc edx
cmp edx, 0x19
jb 0x10001577
mov byte [ecx + 0x1a], 0
ret

Function at 0x10001587
Capabilities:
Encode data using xor

Disassembly:
cmp byte [ecx + 0xa], 0
je 0x1000159e
xor edx, edx
lea eax, [edx + ecx]
xor byte [eax], dl
inc edx
cmp edx, 9
jb 0x1000158f
mov byte [ecx + 0xa], 0
ret

Function at 0x1000159f
Capabilities:
Encode data using xor

Disassembly:
cmp byte [ecx + 0xd], 0
je 0x100015b6
xor edx, edx
lea eax, [edx + ecx]
xor byte [eax], dl
inc edx
cmp edx, 0xc
jb 0x100015a7
mov byte [ecx + 0xd], 0
ret

Function at 0x100030e2
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov edx, 0x811c9dc5
xor ecx, ecx
movzx eax, byte [ecx + esi]
xor eax, edx
imul edx, eax, 0x1000193
inc ecx
cmp ecx, 4
jb 0x100030f0
pop esi
mov eax, edx
pop ebp
ret 4

Function at 0x10003109
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
push esi
push edi
cmp dword [ecx + 0x14], 0xf
mov edi, dword [ecx + 0x10]
jbe 0x1000311c
mov ecx, dword [ecx]
xor esi, esi
mov edx, 0x811c9dc5
test edi, edi
je 0x10003138
movzx eax, byte [esi + ecx]
xor eax, edx
imul edx, eax, 0x1000193
inc esi
cmp esi, edi
jb 0x10003127
pop edi
mov eax, edx
pop esi
pop ebp
ret 4

Function at 0x10003661
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
test esi, esi
je 0x100036ba
push edi
mov edi, dword [esi + 0x3c]
lea eax, [ebp - 4]
push eax
push 4
push 0x40
push esi
add edi, esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x10003692
push 0x40
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
test edi, edi
je 0x100036b9
lea eax, [ebp - 4]
mov esi, 0xf8
push eax
push 4
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x100036b9
push esi
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
pop edi
pop esi
leave
ret
Function at 0x100036bd
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
pushal
pushfd
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov dword [ebp - 4], eax
mov esi, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
lodsd eax, dword [esi]
mov esi, eax
mov ecx, dword [eax + 0x18]
cmp ecx, dword [ebp - 8]
jne 0x100036f7
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov dword [ebx + 4], ecx
jmp 0x100036fb
cmp edx, esi
jne 0x100036e0
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x14]
mov edx, dword [eax + 0x18]
lodsd eax, dword [esi]
mov esi, eax
mov ecx, dword [eax + 0x10]
cmp ecx, dword [ebp - 8]
jne 0x1000371b
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov dword [ebx + 4], ecx
jmp 0x1000371f
cmp edx, esi
jne 0x10003704
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x1c]
mov edx, dword [eax + 0x20]
lodsd eax, dword [esi]
mov esi, eax
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp - 8]
jne 0x1000373f
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov dword [ebx + 4], ecx
jmp 0x10003743
cmp edx, esi
jne 0x10003728
popfd
popal
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10006c22
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
lea eax, [ebp - 4]
mov ebx, ecx
push eax
push 0x40
push 2
push ebx
mov edi, edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ax, word [edi]
mov word [ebx], ax
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 2
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
pop ebx
leave
ret
Function at 0x100093a4
Capabilities:
Encode data using xor

Disassembly:
mov edx, ecx
cmp byte [edx + 0x14], 0
je 0x100093c2
push ebx
xor ebx, ebx
lea ecx, [ebx + edx]
lea eax, [ebx + 2]
xor byte [ecx], al
inc ebx
cmp ebx, 0x13
jb 0x100093af
pop ebx
mov byte [edx + 0x14], 0
mov eax, edx
ret

Function at 0x100093c5
Capabilities:
Encode data using xor

Disassembly:
mov edx, ecx
cmp byte [edx + 0x15], 0
je 0x100093e3
push ebx
xor ebx, ebx
lea ecx, [ebx + edx]
lea eax, [ebx + 2]
xor byte [ecx], al
inc ebx
cmp ebx, 0x14
jb 0x100093d0
pop ebx
mov byte [edx + 0x15], 0
mov eax, edx
ret

Function at 0x100093e6
Capabilities:
Get disk information

Disassembly:
push 0x40
mov eax, 0x10046852
call fcn.10045bde
mov ebx, ecx
mov dword [ebp - 0x44], ebx
and dword [ebp - 4], 0
mov dword [ebp - 0x4c], ebx
and dword [ebp - 0x48], 0
push 0x10048470
call fcn.1000261c
xor ecx, ecx
lea eax, [ebp - 0x44]
push ecx
push ecx
push ecx
push ecx
push eax
push ecx
push ecx
mov dword [ebp - 4], ecx
push 0x10048ad0
mov dword [ebp - 0x48], 1
mov dword [ebp - 0x44], ecx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov eax, dword [ebp - 0x44]
lea ecx, [ebp - 0x13]
xor edx, edx
dec ecx
push 0xa
pop esi
div esi
add dl, 0x30
mov byte [ecx], dl
test eax, eax
jne 0x10009436
lea edi, [ebp - 0x40]
stosd dword es:[edi], eax
push 0xf
pop esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x13]
and dword [ebp - 0x30], 0
and dword [ebp - 0x2c], 0
cmp ecx, eax
jne 0x1000946b
mov edx, esi
mov byte [ebp - 0x40], 0
mov dword [ebp - 0x2c], edx
jmp 0x1000947d
lea eax, [ebp - 0x13]
sub eax, ecx
push eax
push ecx
lea ecx, [ebp - 0x40]
call fcn.100149b3
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 0x40]
cmp ebx, eax
je 0x100094af
mov edx, dword [ebx + 0x14]
cmp edx, esi
jbe 0x10009493
mov ecx, dword [ebx]
inc edx
call fcn.10002bdc
push 6
xor eax, eax
mov dword [ebx + 0x14], esi
pop ecx
lea esi, [ebp - 0x40]
mov dword [ebx + 0x10], eax
mov edi, ebx
mov byte [ebx], al
rep movsd dword es:[edi], dword [esi]
push 0xf
pop esi
mov edx, esi
mov byte [ebp - 0x40], al
cmp edx, esi
jbe 0x100094bc
mov ecx, dword [ebp - 0x40]
inc edx
call fcn.10002bdc
mov eax, ebx
call fcn.10045b9c
ret
Function at 0x1000a013
Capabilities:
Encode data using xor

Disassembly:
mov edx, ecx
cmp byte [edx + 0xb], 0
je 0x1000a031
push ebx
xor ebx, ebx
lea ecx, [ebx + edx]
lea eax, [ebx + 2]
xor byte [ecx], al
inc ebx
cmp ebx, 0xa
jb 0x1000a01e
pop ebx
mov byte [edx + 0xb], 0
mov eax, edx
ret