joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405f9d
Capabilities:
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov eax, ebx
push edi
and eax, 4
push esi
mov dword [ebp - 4], eax
call fcn.004062c1
test bl, 8
mov dword [ebp - 8], eax
je 0x405fdc
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
neg eax
sbb eax, eax
inc eax
add dword [0x437948], eax
jmp 0x4061b2
mov dword [ebp + 8], ebx
and dword [ebp + 8], 1
je 0x405ff6
test eax, eax
je 0x406134
test bl, 2
je 0x406134
mov edi, 0x4303e0
push esi
push edi
call fcn.004068e4
cmp dword [ebp + 8], 0
je 0x406015
push str..
push edi
call sub.KERNEL32.dll_lstrcatW
jmp 0x40601b
push esi
call fcn.00406205
cmp word [esi], 0
jne 0x40602b
cmp word [0x4303e0], 0x5c
jne 0x406036
push 0x40a524
push esi
call sub.KERNEL32.dll_lstrcatW
push esi
call sub.KERNEL32.dll_lstrlenW
lea ebx, [esi + eax*2]
lea eax, [ebp - 0x258]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x406129
cmp word [ebp - 0x22c], 0x2e
jne 0x406088
cmp word [ebp - 0x22a], 0
je 0x40610c
cmp word [ebp - 0x22a], 0x2e
jne 0x406088
cmp word [ebp - 0x228], 0
je 0x40610c
lea eax, [ebp - 0x22c]
push eax
push ebx
call fcn.004068e4
test byte [ebp - 0x258], 0x10
je 0x4060b3
mov eax, dword [ebp + 0xc]
and eax, 3
cmp al, 3
jne 0x40610c
push dword [ebp + 0xc]
push esi
call fcn.00405f9d
jmp 0x40610c
push esi
push str.Delete:_DeleteFile___s__
call fcn.00406e44
pop ecx
pop ecx
push dword [ebp - 4]
push esi
call fcn.00405f55
test eax, eax
push esi
jne 0x406105
cmp dword [ebp - 4], eax
je 0x4060f1
push str.Delete:_DeleteFile_on_Reboot___s__
call fcn.00406e44
pop ecx
pop ecx
push esi
push 0xfffffffffffffff1
call fcn.004058be
push 0
push esi
call fcn.004066aa
jmp 0x40610c
push str.Delete:_DeleteFile_failed___s__
call fcn.00406e44
inc dword [0x437948]
pop ecx
pop ecx
jmp 0x40610c
push 0xfffffffffffffff2
call fcn.004058be
lea eax, [ebp - 0x258]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x406058
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 8], 0
je 0x406134
and word [ebx - 2], 0
xor edi, edi
cmp dword [ebp + 8], edi
je 0x4061b2
cmp dword [ebp - 8], edi
push esi
jne 0x406155
push str.RMDir:_RemoveDirectory_invalid_input___s__
call fcn.00406e44
inc dword [0x437948]
pop ecx
pop ecx
jmp 0x4061b2
call fcn.00406e75
test eax, eax
je 0x4061b2
push esi
call fcn.004061b9
push esi
push str.RMDir:_RemoveDirectory___s__
call fcn.00406e44
mov eax, dword [ebp - 4]
pop ecx
pop ecx
or al, 1
push eax
push esi
call fcn.00405f55
test eax, eax
push esi
jne 0x4061ab
cmp dword [ebp - 4], edi
je 0x4061a4
push str.RMDir:_RemoveDirectory_on_Reboot___s__
call fcn.00406e44
pop ecx
pop ecx
push esi
push 0xfffffffffffffff1
call fcn.004058be
push edi
push esi
call fcn.004066aa
jmp 0x4061b2
push str.RMDir:_RemoveDirectory_failed___s__
jmp 0x406146
push 0xffffffffffffffe5
call fcn.004058be
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x4062c1
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push edi
push dword [esp + 0xc]
mov esi, 0x430be0
push esi
call fcn.004068e4
push esi
call fcn.00406264
mov edi, eax
test edi, edi
jne 0x4062e2
xor eax, eax
jmp 0x40633a
push edi
call fcn.00406b78
test byte [0x4378bc], 0x80
je 0x4062ff
mov ax, word [edi]
test ax, ax
je 0x4062de
cmp ax, 0x5c
je 0x4062de
sub edi, esi
sar edi, 1
jmp 0x406319
call fcn.00406e75
test eax, eax
je 0x406313
test byte [eax], 0x10
je 0x4062de
push esi
call fcn.00406205
push esi
call sub.KERNEL32.dll_lstrlenW
cmp eax, edi
push esi
jg 0x406305
call fcn.004061b9
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop edi
pop esi
ret 4

Function at 0x4063b5
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push esi
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4063d4
and al, 0xfe
push eax
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, esi
pop esi
ret 4

Function at 0x4063da
Capabilities:
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, eax
push 0
inc ecx
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
push dword [esp + 0x14]
push 0
push 1
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
ret 0xc

Function at 0x406409
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x64
pop edi
mov eax, dword [0x40b4e8]
dec edi
mov dword [ebp - 8], eax
mov eax, dword [0x40b4ec]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x1a
xor edx, edx
pop ecx
div ecx
push esi
lea eax, [ebp - 8]
push 0
push eax
push dword [ebp + 0xc]
add word [ebp - 4], dx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x406459
test edi, edi
jne 0x406416
and word [esi], di
pop edi
pop esi
leave
ret 8
mov eax, esi
jmp 0x406453
Function at 0x406530
Capabilities:
Get file size

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
push ebp
push esi
mov esi, dword [esp + 0x14]
push edi
test esi, esi
mov dword [0x431a78], 0x55004e
mov dword [0x431a7c], 0x4c
mov edi, 0x400
mov ebp, 0x431a78
je 0x406586
push 1
push 0
push esi
call fcn.004063da
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push ebp
push esi
call ebx
test eax, eax
je 0x4066a5
cmp eax, edi
jg 0x4066a5
mov esi, 0x432278
push edi
push esi
push dword [esp + 0x1c]
call ebx
test eax, eax
je 0x4066a5
cmp eax, edi
jg 0x4066a5
push esi
push ebp
push str._ls_ls_r_n
push 0x431678
call dword [sym.imp.USER32.dll_wsprintfA]
mov ebx, eax
mov eax, dword [0x4378b4]
add esp, 0x10
push dword [eax + 0x128]
push esi
call fcn.00406906
push 4
push 0xc0000000
push esi
call fcn.004063da
mov ebp, eax
cmp ebp, 0xffffffff
mov dword [esp + 0x18], ebp
je 0x4066a5
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
lea eax, [edi + ebx + 0xa]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x40669e
push edi
push esi
push ebp
call fcn.0040645d
test eax, eax
je 0x40669e
push str._Rename__r_n
push esi
call fcn.0040633f
test eax, eax
jne 0x40663c
lea eax, [esi + edi]
push str._Rename__r_n
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
add edi, 0xa
jmp 0x406671
add eax, 0xa
push 0x40b4f0
push eax
call fcn.0040633f
mov ebp, eax
test ebp, ebp
je 0x40666d
lea ecx, [esi + edi]
lea eax, [ecx + ebx]
jmp 0x40665e
mov dl, byte [ecx]
mov byte [eax], dl
dec eax
dec ecx
cmp ecx, ebp
ja 0x406658
sub ebp, esi
inc ebp
mov eax, ebp
mov ebp, dword [esp + 0x18]
jmp 0x406673
mov ebp, dword [esp + 0x18]
mov eax, edi
push ebx
add eax, esi
push 0x431678
push eax
call fcn.00406395
xor eax, eax
push eax
push eax
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
add edi, ebx
push edi
push esi
push ebp
call fcn.0040648c
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x4066aa
Capabilities:
Move file

Disassembly:
push 5
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x4066cd
push dword [esp + 8]
push dword [esp + 8]
call fcn.00406530
pop ecx
pop ecx
inc dword [0x437950]
ret 8
Function at 0x4067b2
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp + 0x18]
push esi
push eax
mov eax, dword [ebp + 0x18]
neg eax
sbb eax, eax
mov dword [ebp - 4], 0x800
and eax, 0x100
or eax, 0x20019
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00406751
mov esi, dword [ebp + 0x14]
test eax, eax
jne 0x406822
lea eax, [ebp - 4]
push edi
push eax
lea eax, [ebp + 0xc]
push esi
push eax
push 0
push dword [ebp + 0x10]
push dword [ebp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp + 0x18]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and word [esi + 0x7fe], 0
test edi, edi
pop edi
jne 0x406822
cmp dword [ebp + 0xc], 1
je 0x406826
cmp dword [ebp + 0xc], 2
je 0x406826
and word [esi], 0
pop esi
leave
ret 0x14
Function at 0x406e9c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x406ec0
xor eax, eax
test eax, eax
je 0x406ed3
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x406ed3
xor ecx, ecx
jmp 0x406ed6
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a524]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

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

Disassembly:
cmp dword [0x432a7c], 0
push esi
jne 0x407036
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x407010
mov dword [ecx*4 + 0x432a78], eax
inc ecx
cmp ecx, 0x100
jl 0x40700b
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x407067
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x432a78]
xor eax, esi
inc ecx
dec edx
jne 0x407049
pop edi
not eax
pop esi
ret 0xc
Function at 0x10001470
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xc
push 0x100408a8
call fcn.10035290
and dword [ebp - 0x1c], 0
and dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov eax, dword [eax + 2]
and eax, 0xff
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x1c]
jmp 0x100014b1
call fcn.100352d6
ret

Function at 0x100014b7
Capabilities:
Check for debugger via api
Contain obfuscated stackstrings
Encode data using xor
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x10045014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
mov dword [ebp - 0xc], ebx
call fcn.10001470
test eax, eax
jne 0x10001587
lea eax, [ebp - 8]
mov dword [ebp - 8], ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
cmp dword [ebp - 8], ebx
jne 0x10001587
movaps xmm0, xmmword [0x1003f0e0]
mov ecx, ebx
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x24], 0x28161711
mov dword [ebp - 0x20], 0x1d1b170a
mov word [ebp - 0x1c], 0xb0b
mov byte [ebp - 0x1a], bl
mov al, byte [ebp - 0x34]
xor byte [ebp + ecx - 0x33], al
inc ecx
cmp ecx, 0x19
jb 0x1000151b
mov byte [ebp - 0x1a], bl
mov cl, 0x49
mov dword [ebp - 0x18], 0x2d3d2749
mov eax, ebx
mov dword [ebp - 0x14], 0x2d672525
mov word [ebp - 0x10], 0x2525
mov byte [ebp - 0xe], bl
xor byte [ebp + eax - 0x17], cl
inc eax
cmp eax, 9
jae 0x10001555
mov cl, byte [ebp - 0x18]
jmp 0x10001546
lea eax, [ebp - 0x33]
mov byte [ebp - 0xe], bl
push eax
lea eax, [ebp - 0x17]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1000158f
push ebx
push 4
lea ecx, [ebp - 0xc]
push ecx
push 7
push 0xffffffffffffffff
call eax
test eax, eax
je 0x1000158f
cmp dword [ebp - 0xc], ebx
je 0x1000158f
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.10034435
mov esp, ebp
pop ebp
ret

Function at 0x1000159e
Capabilities:
Encode data using xor
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
movaps xmm0, xmmword [0x1003fbd0]
xor edx, edx
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0x6e74587e
mov ecx, edx
mov dword [ebp - 0x18], 0x697e6f75
mov byte [ebp - 0x14], dl
mov al, byte [ebp - 0x2c]
xor byte [ebp + ecx - 0x2b], al
inc ecx
cmp ecx, 0x17
jb 0x100015c4
mov byte [ebp - 0x14], dl
mov cl, 0x67
mov dword [ebp - 0x10], 0x15020c67
mov eax, edx
mov dword [ebp - 0xc], 0x540b0209
mov dword [ebp - 8], 0xb034955
mov word [ebp - 4], 0xb
xor byte [ebp + eax - 0xf], cl
inc eax
cmp eax, 0xc
jae 0x10001602
mov cl, byte [ebp - 0x10]
jmp 0x100015f3
lea eax, [ebp - 0x2b]
mov byte [ebp - 3], dl
push eax
lea eax, [ebp - 0xf]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
call fcn.10009fb4
cmp al, 0xe9
jne 0x1000162d
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esp, ebp
pop ebp
ret
Function at 0x10001631
Capabilities:
Contain obfuscated stackstrings
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
xor edx, edx
mov dword [ebp - 0x10], 0x4d495420
mov cl, 0x20
mov dword [ebp - 0xc], 0x54456745
mov dword [ebp - 8], 0x454d4974
mov eax, edx
mov byte [ebp - 4], dl
xor byte [ebp + eax - 0xf], cl
inc eax
cmp eax, 0xb
jae 0x10001664
mov cl, byte [ebp - 0x10]
jmp 0x10001655
mov byte [ebp - 4], dl
mov cl, 0x53
mov dword [ebp - 0x20], 0x21363853
mov eax, edx
mov dword [ebp - 0x1c], 0x603f363d
mov dword [ebp - 0x18], 0x3f377d61
mov word [ebp - 0x14], 0x3f
xor byte [ebp + eax - 0x1f], cl
inc eax
cmp eax, 0xc
jae 0x10001695
mov cl, byte [ebp - 0x20]
jmp 0x10001686
lea eax, [ebp - 0xf]
mov byte [ebp - 0x13], dl
push eax
lea eax, [ebp - 0x1f]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
call fcn.10009fb4
cmp al, 0xe9
jne 0x100016c0
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esp, ebp
pop ebp
ret

Function at 0x1000175a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x10045014]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmmword [0x1003ed50]
push ebx
xor ebx, ebx
movups xmmword [ebp - 0x28], xmm0
mov ecx, ebx
mov al, byte [ebp - 0x28]
xor byte [ebp + ecx - 0x27], al
inc ecx
cmp ecx, 0xe
jb 0x1000177a
mov byte [ebp - 0x19], bl
mov cl, 0x13
mov dword [ebp - 0x18], 0x41565813
mov eax, ebx
mov dword [ebp - 0x14], 0x205f565d
mov dword [ebp - 0x10], 0x7f773d21
mov word [ebp - 0xc], 0x7f
xor byte [ebp + eax - 0x17], cl
inc eax
cmp eax, 0xc
jae 0x100017b8
mov cl, byte [ebp - 0x18]
jmp 0x100017a9
lea eax, [ebp - 0x27]
mov byte [ebp - 0xb], bl
push eax
lea eax, [ebp - 0x17]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push ebx
push 1
lea ecx, [ebp - 5]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
cmp byte [ebp - 5], 0xe9
mov ecx, dword [ebp - 4]
sete al
xor ecx, ebp
pop ebx
call fcn.10034435
mov esp, ebp
pop ebp
ret
Function at 0x10001887
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x100408c8
push 0x10034e6a
mov eax, dword fs:[0]
push eax
push ecx
push ecx
sub esp, 0x38
mov eax, dword [0x10045014]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
and dword [ebp - 0x50], 0
and dword [ebp - 0x48], 0
push 8
pop ecx
xor eax, eax
lea edi, [ebp - 0x44]
rep stosd dword es:[edi], eax
and dword [ebp - 0x20], 0
and dword [ebp - 0x24], 0
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push 0x40
push 0x3000
push dword [ebp - 0x44]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x10001905
xor al, al
jmp 0x10001985
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov byte [eax], 0xc3
lea eax, [ebp - 0x20]
push eax
push 0x140
push dword [ebp - 0x44]
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1000192e
xor al, al
jmp 0x10001985
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x24]
push 0x10001973
jmp eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.10034435
mov esp, ebp
pop ebp
ret
Function at 0x10001e52
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
movaps xmm0, xmmword [0x1003f9d0]
xor ecx, ecx
movups xmmword [ebp - 0x14], xmm0
mov word [ebp - 4], 0x707e
mov byte [ebp - 2], 0
mov al, byte [ebp - 0x14]
xor byte [ebp + ecx - 0x13], al
inc ecx
cmp ecx, 0x11
jb 0x10001e6f
lea eax, [ebp - 0x13]
mov byte [ebp - 2], 0
push eax
call fcn.100021b7
cmp eax, 0xba2d38a3
je 0x10001e94
xor al, al
jmp 0x10001ec3
movaps xmm0, xmmword [0x1003ee50]
xor ecx, ecx
movups xmmword [ebp - 0x14], xmm0
mov al, byte [ebp - 0x14]
xor byte [ebp + ecx - 0x13], al
inc ecx
cmp ecx, 0xe
jb 0x10001ea1
lea eax, [ebp - 0x13]
mov byte [ebp - 5], 0
push eax
call fcn.100021b7
cmp eax, 0x27b35bb1
sete al
mov esp, ebp
pop ebp
ret
Function at 0x1000210d
Capabilities:
Encode data using xor
Hash data using crc32b

Disassembly:
push esi
push edi
push 0x400
xor edi, edi
mov esi, 0x10046bf8
push edi
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 8
push edi
call fcn.10002182
shl eax, 0x18
push 8
mov dword [esi], eax
pop edx
mov ecx, eax
add eax, eax
sar ecx, 0x1f
and ecx, 0x4c11db7
xor eax, ecx
sub edx, 1
jne 0x10002135
push 0x20
push eax
call fcn.10002182
mov dword [esi], eax
inc edi
add esi, 4
cmp esi, 0x10046ff4
jle 0x10002125
call fcn.100019f0
pop edi
pop esi
test al, al
je 0x1000217f
call fcn.10001e52
test al, al
je 0x1000217f
call fcn.10001ec7
test al, al
je 0x1000217f
mov al, 1
ret
xor al, al
ret

Function at 0x100021b7
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x10045014]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
and dword [ebp - 0x408], 0
push esi
push 0x1003964c
push eax
lea eax, [ebp - 0x408]
or esi, 0xffffffff
push eax
mov dword [ebp - 0x40c], esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
add esp, 0xc
test eax, eax
jne 0x1000226a
cmp dword [ebp - 0x408], eax
je 0x1000226a
push ebx
push dword [ebp - 0x408]
mov ebx, 0x400
lea eax, [ebp - 0x404]
push ebx
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
test eax, eax
je 0x1000225a
push eax
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x40c]
push eax
call fcn.1000227d
push dword [ebp - 0x408]
lea eax, [ebp - 0x404]
push ebx
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
test eax, eax
jne 0x10002223
mov esi, dword [ebp - 0x40c]
push dword [ebp - 0x408]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
pop ecx
not esi
pop ebx
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.10034435
mov esp, ebp
pop ebp
ret 4

Function at 0x1000227d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x100022ae
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov edx, dword [ebx]
movzx eax, byte [edi]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x10046bf8]
inc edi
mov dword [ebx], edx
sub esi, 1
jne 0x10002290
pop edi
pop ebx
pop esi
pop ebp
ret 0xc

Function at 0x100022b3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
movaps xmm0, xmmword [0x1003fbc0]
xor edx, edx
push esi
push edi
mov esi, ecx
mov dword [ebp - 4], 0x7c7970
push 6
pop ecx
xor eax, eax
lea edi, [ebp - 0x2c]
rep stosd dword es:[edi], eax
mov dword [esi], 0xff0000
mov ecx, edx
mov dword [esi + 8], edx
mov dword [esi + 0xc], edx
movups xmmword [ebp - 0x14], xmm0
mov al, byte [ebp - 0x14]
xor byte [ebp + ecx - 0x13], al
inc ecx
cmp ecx, 0x12
jb 0x100022e9
push ecx
mov byte [ebp - 1], dl
lea edx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x13]
call fcn.1002e5a0
pop ecx
pop ecx
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10002873
Capabilities:
Encode data using xor

Disassembly:
push 0xcc
mov eax, 0x10035c9c
call fcn.10035531
mov edi, ecx
mov dword [ebp - 0xc4], edi
and dword [ebp - 0xc8], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0x98
mov ebx, eax
lea eax, [ebp - 0xa8]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
pop ecx
lea ecx, [ebp - 0xa8]
call fcn.10002b15
xor edx, edx
mov cl, 0x43
mov dword [ebp - 4], edx
mov al, 0x1e
movaps xmm0, xmmword [0x1003fb40]
xor al, cl
mov byte [ebp - 0xac], cl
mov ecx, edx
mov byte [ebp - 0xab], al
mov byte [ebp - 0xaa], dl
movups xmmword [ebp - 0xc0], xmm0
mov dword [ebp - 0xb0], 0x413a6e
mov al, byte [ebp - 0xc0]
xor byte [ebp + ecx - 0xbf], al
inc ecx
cmp ecx, 0x12
jb 0x100028ef
push edx
lea eax, [ebp - 0xd8]
mov byte [ebp - 0xad], dl
push 8
push eax
call dword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
add esp, 0xc
lea edx, [ebp - 0xbf]
lea ecx, [ebp - 0xa8]
mov esi, eax
push 0x100034c6
push 0x100034e0
call fcn.10003310
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base_____cdecl___class_std::ios_base___]
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base_____cdecl___class_std::ios_base___]
mov edx, esi
mov ecx, eax
call fcn.1000349c
mov ecx, eax
push ebx
mov eax, dword [ecx]
mov eax, dword [eax + 4]
mov byte [eax + ecx + 0x40], 0x30
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int_]
lea edx, [ebp - 0xab]
mov ecx, eax
call fcn.10003310
push edi
lea ecx, [ebp - 0xa8]
call fcn.10002ac9
lea ecx, [ebp - 0x58]
call fcn.10002ae5
lea ecx, [ebp - 0x58]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov eax, edi
call fcn.100354db
ret
Function at 0x100029aa
Capabilities:
Terminate process

Disassembly:
push 0x24
mov eax, 0x10035ccc
call fcn.10035531
call fcn.1000210d
test al, al
je 0x100029c7
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
lea ecx, [ebp - 0x2c]
call fcn.10002873
and dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x1c]
cmovae ecx, dword [ebp - 0x2c]
inc eax
push eax
push ecx
push 0xfe5d24
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
call fcn.1000853f
call fcn.1000871b
call fcn.1000c8a0
mov dword [0x100470c0], eax
test eax, eax
je 0x10002a10
mov ecx, eax
call fcn.1000ca27
call fcn.1000a3ad
call fcn.1000c468
call fcn.1000ce04
push 0x70
call fcn.10034446
pop ecx
mov ecx, eax
mov dword [ebp - 0x30], eax
call fcn.1000b9d2
push 0x64
mov dword [0x10046ff8], eax
call fcn.10034446
pop ecx
push 0x64
mov esi, eax
push 0
push esi
mov dword [ebp - 0x30], esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, esi
call fcn.100056f8
mov dword [0x10047000], eax
test eax, eax
je 0x10002a6a
call fcn.10005e23
call fcn.1000719b
push 0x10
call fcn.10034446
pop ecx
mov ecx, eax
mov dword [ebp - 0x30], eax
call fcn.100022b3
push 0
push 1
lea ecx, [ebp - 0x2c]
mov dword [0x10046ffc], eax
call fcn.100026f1
call fcn.100354db
ret