joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10015727
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1008a565
push eax
mov dword fs:[0], esp
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 0x30]
test edi, edi
je 0x10015758
mov ecx, edi
call fcn.10015505
mov ecx, edi
call fcn.10018a96
mov edi, dword [esi + 0x34]
test edi, edi
je 0x1001576d
mov ecx, edi
call fcn.10015505
mov ecx, edi
call fcn.10018a96
and dword [ebp - 4], 0
lea eax, [esi + 0x64]
push 0x1001352b
push 2
push 0xc
push eax
call fcn.1007a7cd
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret

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

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, edx
mov edx, dword [ebp + 8]
push edi
mov edi, ecx
not edx
movzx eax, byte [edi]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x1008f028]
inc edi
sub esi, 1
jne 0x10016b9e
pop edi
not edx
pop esi
mov eax, edx
pop ebp
ret

Function at 0x10016bbe
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, edx
not ebx
mov esi, ecx
mov edx, ebx
test edi, edi
je 0x10016c22
mov al, byte [esi]
dec edi
inc esi
cmp al, 0x23
jne 0x10016bea
cmp edi, 2
jb 0x10016bea
cmp byte [esi], al
jne 0x10016bea
cmp byte [esi + 1], al
cmove edx, ebx
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x1008f028]
test edi, edi
jne 0x10016bd3
jmp 0x10016c29
cmp al, 0x23
jne 0x10016c10
cmp byte [esi], al
jne 0x10016c10
cmp byte [esi + 1], al
cmove edx, ebx
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x1008f028]
mov al, byte [esi]
inc esi
test al, al
jne 0x10016c02
pop edi
not edx
pop esi
mov eax, edx
pop ebx
pop ebp
ret

Function at 0x10016d4b
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x10016d5b
and dword [edi], 0
mov edx, 0x1009e490
call fcn.10016c32
mov esi, eax
test esi, esi
je 0x10016dc1
mov ecx, esi
call fcn.10016cef
mov ebx, eax
cmp ebx, 0xffffffff
je 0x10016dba
mov ecx, ebx
call fcn.10018a7e
mov dword [ebp + 8], eax
test eax, eax
je 0x10016dba
push esi
push ebx
push 1
push eax
call dword [sym.imp.msvcrt.dll_fread]
add esp, 0x10
mov ecx, esi
cmp eax, ebx
je 0x10016daa
call fcn.10016ce0
mov ecx, dword [ebp + 8]
call fcn.10018a96
jmp 0x10016dc1
call fcn.10016ce0
test edi, edi
je 0x10016db5
mov dword [edi], ebx
mov eax, dword [ebp + 8]
jmp 0x10016dc3
mov ecx, esi
call fcn.10016ce0
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x100384e8
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x1008a7b3
call fcn.10089d9c
push ecx
push ecx
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], edi
mov dword [edi + 4], vtable.ISteamRemoteStorage004.0
mov dword [edi + 8], vtable.ISteamRemoteStorage005.0
mov dword [edi + 0xc], vtable.ISteamRemoteStorage006.0
mov dword [edi + 0x10], vtable.ISteamRemoteStorage008.0
mov dword [edi + 0x14], vtable.ISteamRemoteStorage010.0
mov dword [edi + 0x18], vtable.ISteamRemoteStorage011.0
mov dword [edi + 0x1c], vtable.ISteamRemoteStorage012.0
mov dword [edi + 0x20], vtable.ISteamRemoteStorage013.0
mov dword [edi + 0x24], vtable.ISteamRemoteStorage014.0
mov dword [edi + 0x28], vtable.ISteamRemoteStorage016.0
mov dword [edi], vtable.IMySteamRemoteStorage.7.0
mov dword [edi + 4], vtable.IMySteamRemoteStorage.6.0
mov dword [edi + 8], vtable.IMySteamRemoteStorage.5.0
mov dword [edi + 0xc], vtable.IMySteamRemoteStorage.10.0
mov dword [edi + 0x10], vtable.IMySteamRemoteStorage.2.0
mov dword [edi + 0x14], vtable.IMySteamRemoteStorage.8.0
mov dword [edi + 0x18], vtable.IMySteamRemoteStorage.0
mov dword [edi + 0x1c], vtable.IMySteamRemoteStorage.3.0
mov dword [edi + 0x20], vtable.IMySteamRemoteStorage.9.0
mov dword [edi + 0x24], vtable.IMySteamRemoteStorage.4.0
mov dword [edi + 0x28], vtable.IMySteamRemoteStorage.1.0
mov dword [edi + 0x2c], ebx
mov dword [edi + 0x30], ebx
mov dword [edi + 0x34], ebx
mov dword [ebp - 4], ebx
lea esi, [edi + 0x38]
mov dword [ebp - 0x14], esi
and dword [esi], ebx
push 0x24
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
call fcn.1007a79d
pop ecx
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 4], eax
lea ecx, [esi + 0xc]
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
mov byte [ebp - 4], 2
push dword [esi + 4]
mov dword [esi + 0x18], 7
push 0x10
mov dword [esi + 0x1c], 8
mov dword [esi], 0x3f800000
call fcn.10006b6c
lea eax, [edi + 0x58]
push 2
push eax
call fcn.10079731
pop ecx
pop ecx
push ebx
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.10038210
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x1003adc2
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1008a7c0
push eax
mov dword fs:[0], esp
push esi
mov esi, ecx
mov dword [esi], vtable.IMySteamUserStats.4.0
mov dword [esi + 4], vtable.IMySteamUserStats.1.0
mov dword [esi + 8], vtable.IMySteamUserStats.5.0
mov dword [esi + 0xc], vtable.IMySteamUserStats.7.0
mov dword [esi + 0x10], vtable.IMySteamUserStats.6.0
mov dword [esi + 0x14], vtable.IMySteamUserStats.8.0
mov dword [esi + 0x18], vtable.IMySteamUserStats.3.0
mov dword [esi + 0x1c], vtable.IMySteamUserStats.2.0
mov dword [esi + 0x20], vtable.IMySteamUserStats.0
call fcn.1003ae52
lea ecx, [esi + 0x50]
call fcn.1000613d
lea ecx, [esi + 0x48]
call fcn.1003bcc7
lea ecx, [esi + 0x30]
call fcn.1000613d
lea ecx, [esi + 0x28]
call fcn.10006664
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
leave
ret
Function at 0x1003c7bd
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
lea eax, [ebp - 0x208]
push esi
push edi
push ecx
push eax
call dword [sym.imp.msvcrt.dll_strcpy]
mov esi, dword [sym.imp.msvcrt.dll_strrchr]
lea eax, [ebp - 0x208]
push 0x5c
push eax
call esi
mov edi, eax
lea eax, [ebp - 0x208]
push 0x2f
push eax
call esi
add esp, 0x18
cmp eax, edi
cmova edi, eax
test edi, edi
je 0x1003c875
mov esi, dword [sym.imp.msvcrt.dll_strtok]
lea eax, [ebp - 0x208]
push ebx
push 0x100a2794
xor ebx, ebx
push eax
mov byte [edi + 1], bl
call esi
mov byte [ebp - 0x104], bl
pop ecx
pop ecx
test eax, eax
je 0x1003c874
mov edi, dword [sym.imp.msvcrt.dll_strcat]
push eax
lea eax, [ebp - 0x104]
push eax
call edi
pop ecx
pop ecx
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x1003c857
push ebx
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea eax, [ebp - 0x104]
push 0x100a2798
push eax
call edi
push 0x100a2794
push ebx
call esi
add esp, 0x10
test eax, eax
jne 0x1003c82c
pop ebx
pop edi
pop esi
leave
ret
Function at 0x1004297b
Capabilities:
Create thread

Disassembly:
mov eax, 0x1008abb6
call fcn.10089d9c
push ecx
push ebx
push esi
push edi
push 0x10
mov edi, ecx
call fcn.1007a79d
mov edx, dword [ebp + 0x10]
mov esi, eax
mov eax, dword [ebp + 8]
mov dword [ebp + 0x10], esi
mov edx, dword [edx]
mov dword [esi], edx
mov ecx, dword [0x100e0824]
mov dword [esi + 4], ecx
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esi + 8], ecx
mov dword [esi + 0xc], eax
xor eax, eax
lea ebx, [edi + 4]
push ebx
push eax
push esi
push 0x10042a05
push eax
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.msvcrt.dll__beginthreadex]
add esp, 0x1c
mov dword [edi], eax
test eax, eax
je 0x100429e9
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc
and dword [ebx], 0
push 6
call fcn.100793d2
int3
Function at 0x1004376f
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x1008ac73
call fcn.10089d9c
sub esp, 0x18
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.10044b78
and dword [ebp - 4], 0
lea edi, [esi + 0x80]
mov ecx, edi
call fcn.10057a20
mov byte [ebp - 4], 1
lea ecx, [esi + 0xd4]
mov dword [esi], vtable.GlRender.0
mov dword [edi], vtable.GlRender.1.0
call fcn.10043bd0
mov byte [ebp - 4], 2
mov dword [ebp - 0x24], 0x6d
mov eax, dword [ebp - 0x24]
xor al, 0x77
mov byte [ebp - 0x20], al
mov eax, dword [ebp - 0x24]
inc al
xor al, 0x67
mov byte [ebp - 0x1f], al
mov eax, dword [ebp - 0x24]
add al, 2
xor al, 0x6c
mov byte [ebp - 0x1e], al
mov eax, dword [ebp - 0x24]
add al, 3
xor al, 0x53
mov byte [ebp - 0x1d], al
mov eax, dword [ebp - 0x24]
add al, 4
xor al, 0x77
mov byte [ebp - 0x1c], al
mov eax, dword [ebp - 0x24]
add al, 5
xor al, 0x61
mov byte [ebp - 0x1b], al
mov eax, dword [ebp - 0x24]
add al, 6
xor al, 0x70
mov byte [ebp - 0x1a], al
mov eax, dword [ebp - 0x24]
add al, 7
xor al, 0x42
mov byte [ebp - 0x19], al
mov eax, dword [ebp - 0x24]
add al, 8
xor al, 0x75
mov byte [ebp - 0x18], al
mov eax, dword [ebp - 0x24]
add al, 9
xor al, 0x66
mov byte [ebp - 0x17], al
mov eax, dword [ebp - 0x24]
add al, 0xa
xor al, 0x66
mov byte [ebp - 0x16], al
mov eax, dword [ebp - 0x24]
add al, 0xb
xor al, 0x65
mov byte [ebp - 0x15], al
mov eax, dword [ebp - 0x24]
add al, 0xc
xor al, 0x72
mov byte [ebp - 0x14], al
mov eax, dword [ebp - 0x24]
add al, 0xd
mov byte [ebp - 0x12], 0
xor al, 0x73
xor edx, edx
mov byte [ebp - 0x13], al
mov al, byte [ebp - 0x20]
mov al, byte [ebp + edx - 0x20]
mov ecx, dword [ebp - 0x24]
add cl, dl
xor cl, al
mov byte [ebp + edx - 0x20], cl
inc edx
cmp edx, 0xe
jb 0x10043852
lea eax, [ebp - 0x20]
mov byte [ebp - 0x12], 0
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10043896
push ecx
push 1
push 0x10043713
push eax
mov ecx, edi
call fcn.10056490
mov dword [0x100e0cc8], esi
mov byte [esi + 4], 1
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x10045d7f
Capabilities:
Enumerate process modules

Disassembly:
mov eax, 0x1008b194
call fcn.10089d9c
sub esp, 0x24c
push ebx
xor eax, eax
push esi
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], eax
and dword [esi], eax
push edi
push 0x24
mov dword [esi + 4], eax
mov dword [esi + 8], eax
call fcn.1007a79d
pop ecx
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 4], eax
xor ebx, ebx
lea ecx, [esi + 0xc]
xor eax, eax
inc ebx
mov dword [ebp - 4], ebx
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
push 8
mov byte [ebp - 4], 2
pop edi
push dword [esi + 4]
mov dword [esi + 0x18], 7
push 0x10
mov dword [esi + 0x1c], edi
mov dword [esi], 0x3f800000
call fcn.10006b6c
and dword [ebp - 4], 0
mov dword [ebp - 0x10], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessId]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x10045ea3
lea eax, [ebp - 0x258]
mov dword [ebp - 0x258], 0x224
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Module32First]
jmp 0x10045e98
mov al, byte [ebp - 0x238]
lea edi, [ebp - 0x238]
jmp 0x10045e4a
movzx eax, al
push eax
call dword [sym.imp.msvcrt.dll_toupper]
mov byte [edi], al
inc edi
pop ecx
mov al, byte [edi]
test al, al
jne 0x10045e3a
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp - 0x34]
call fcn.1000676b
lea eax, [ebp - 0x34]
mov dword [ebp - 4], 3
push eax
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
call fcn.100073aa
mov ecx, dword [eax]
mov eax, dword [ebp - 0x23c]
mov byte [ebp - 4], 0
mov dword [ecx + 0x20], eax
lea ecx, [ebp - 0x34]
call fcn.10006b14
lea eax, [ebp - 0x258]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Module32Next]
test eax, eax
jne 0x10045e2c
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x1004ac1c
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov esi, ecx
xor eax, eax
mov dl, byte [esi + eax + 4]
mov ecx, dword [esi]
add cl, al
xor cl, dl
mov byte [esi + eax + 4], cl
inc eax
cmp eax, 0x11
jb 0x1004ac22
pop edi
mov byte [esi + 0x15], 0
lea eax, [esi + 4]
pop esi
ret

Function at 0x1004ac40
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
push 0x15
pop ebx
lea eax, [edi + 4]
mov esi, eax
mov dl, byte [esi]
mov ecx, dword [edi]
xor cl, dl
mov byte [esi], cl
inc esi
sub ebx, 1
jne 0x1004ac4d
mov byte [edi + 0x19], bl
pop edi
pop esi
pop ebx
ret

Function at 0x1004ac62
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
push 0xf
pop ebx
lea eax, [edi + 4]
mov esi, eax
mov dl, byte [esi]
mov ecx, dword [edi]
xor cl, dl
mov byte [esi], cl
inc esi
sub ebx, 1
jne 0x1004ac6f
mov byte [edi + 0x13], bl
pop edi
pop esi
pop ebx
ret

Function at 0x1004ac84
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
push 0xd
pop ebx
lea eax, [edi + 4]
mov esi, eax
mov dl, byte [esi]
mov ecx, dword [edi]
xor cl, dl
mov byte [esi], cl
inc esi
sub ebx, 1
jne 0x1004ac91
mov byte [edi + 0x11], bl
pop edi
pop esi
pop ebx
ret

Function at 0x1004acc4
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov esi, ecx
xor eax, eax
mov dl, byte [esi + eax + 4]
mov ecx, dword [esi]
add cl, al
xor cl, dl
mov byte [esi + eax + 4], cl
inc eax
cmp eax, 0xd
jb 0x1004acca
pop edi
mov byte [esi + 0x11], 0
lea eax, [esi + 4]
pop esi
ret

Function at 0x1004ad06
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
push 0x24
pop ebx
lea eax, [edi + 4]
mov esi, eax
mov dl, byte [esi]
mov ecx, dword [edi]
xor cl, dl
mov byte [esi], cl
inc esi
sub ebx, 1
jne 0x1004ad13
mov byte [edi + 0x28], bl
pop edi
pop esi
pop ebx
ret

Function at 0x1004ad28
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
push 0x28
pop ebx
lea eax, [edi + 4]
mov esi, eax
mov dl, byte [esi]
mov ecx, dword [edi]
xor cl, dl
mov byte [esi], cl
inc esi
sub ebx, 1
jne 0x1004ad35
mov byte [edi + 0x2c], bl
pop edi
pop esi
pop ebx
ret

Function at 0x1004ad4a
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
push 0x23
pop ebx
lea eax, [edi + 4]
mov esi, eax
mov dl, byte [esi]
mov ecx, dword [edi]
xor cl, dl
mov byte [esi], cl
inc esi
sub ebx, 1
jne 0x1004ad57
mov byte [edi + 0x27], bl
pop edi
pop esi
pop ebx
ret

Function at 0x1004ad6c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
push 0x1d
pop ebx
lea eax, [edi + 4]
mov esi, eax
mov dl, byte [esi]
mov ecx, dword [edi]
xor cl, dl
mov byte [esi], cl
inc esi
sub ebx, 1
jne 0x1004ad79
mov byte [edi + 0x21], bl
pop edi
pop esi
pop ebx
ret
Function at 0x1004ad8e
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
push 0x1c
pop ebx
lea eax, [edi + 4]
mov esi, eax
mov dl, byte [esi]
mov ecx, dword [edi]
xor cl, dl
mov byte [esi], cl
inc esi
sub ebx, 1
jne 0x1004ad9b
mov byte [edi + 0x20], bl
pop edi
pop esi
pop ebx
ret

Function at 0x1004adb0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
push 0x13
pop ebx
lea eax, [edi + 4]
mov esi, eax
mov dl, byte [esi]
mov ecx, dword [edi]
xor cl, dl
mov byte [esi], cl
inc esi
sub ebx, 1
jne 0x1004adbd
mov byte [edi + 0x17], bl
pop edi
pop esi
pop ebx
ret

Function at 0x1004ade1
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
push 0x19
pop ebx
lea eax, [edi + 4]
mov esi, eax
mov dl, byte [esi]
mov ecx, dword [edi]
xor cl, dl
mov byte [esi], cl
inc esi
sub ebx, 1
jne 0x1004adee
mov byte [edi + 0x1d], bl
pop edi
pop esi
pop ebx
ret

Function at 0x1004ae03
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov esi, ecx
xor eax, eax
mov dl, byte [esi + eax + 4]
mov ecx, dword [esi]
add cl, al
xor cl, dl
mov byte [esi + eax + 4], cl
inc eax
cmp eax, 0xc
jb 0x1004ae09
pop edi
mov byte [esi + 0x10], 0
lea eax, [esi + 4]
pop esi
ret

Function at 0x1004ae27
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov esi, ecx
xor eax, eax
mov dl, byte [esi + eax + 4]
mov ecx, dword [esi]
add cl, al
xor cl, dl
mov byte [esi + eax + 4], cl
inc eax
cmp eax, 0x14
jb 0x1004ae2d
pop edi
mov byte [esi + 0x18], 0
lea eax, [esi + 4]
pop esi
ret

Function at 0x1004ae4b
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov esi, ecx
xor eax, eax
mov dl, byte [esi + eax + 4]
mov ecx, dword [esi]
add cl, al
xor cl, dl
mov byte [esi + eax + 4], cl
inc eax
cmp eax, 0x1a
jb 0x1004ae51
pop edi
mov byte [esi + 0x1e], 0
lea eax, [esi + 4]
pop esi
ret

Function at 0x1004ae6f
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov esi, ecx
xor eax, eax
mov dl, byte [esi + eax + 4]
mov ecx, dword [esi]
add cl, al
xor cl, dl
mov byte [esi + eax + 4], cl
inc eax
cmp eax, 0x12
jb 0x1004ae75
pop edi
mov byte [esi + 0x16], 0
lea eax, [esi + 4]
pop esi
ret

Function at 0x1004ae93
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov esi, ecx
xor eax, eax
mov dl, byte [esi + eax + 4]
mov ecx, dword [esi]
add cl, al
xor cl, dl
mov byte [esi + eax + 4], cl
inc eax
cmp eax, 0x13
jb 0x1004ae99
pop edi
mov byte [esi + 0x17], 0
lea eax, [esi + 4]
pop esi
ret

Function at 0x1004aeb7
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
push 0x11
pop ebx
lea eax, [edi + 4]
mov esi, eax
mov dl, byte [esi]
mov ecx, dword [edi]
xor cl, dl
mov byte [esi], cl
inc esi
sub ebx, 1
jne 0x1004aec4
mov byte [edi + 0x15], bl
pop edi
pop esi
pop ebx
ret
Function at 0x1004af15
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
push 0x16
pop ebx
lea eax, [edi + 4]
mov esi, eax
mov dl, byte [esi]
mov ecx, dword [edi]
xor cl, dl
mov byte [esi], cl
inc esi
sub ebx, 1
jne 0x1004af22
mov byte [edi + 0x1a], bl
pop edi
pop esi
pop ebx
ret

Function at 0x10053db2
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov eax, ecx
mov dword [ebp - 4], edx
push edi
push eax
mov dword [ebp - 8], eax
xor edi, edi
xor esi, esi
xor ebx, ebx
call dword [sym.imp.msvcrt.dll_feof]
pop ecx
test eax, eax
jne 0x10053e3b
cmp ebx, edi
jne 0x10053df6
lea eax, [edi + 0x3e8]
mov edx, edi
push eax
mov ecx, esi
mov dword [ebp - 0xc], eax
call fcn.10052af4
pop ecx
test eax, eax
je 0x10053e4d
mov edi, dword [ebp - 0xc]
mov esi, eax
call dword [sym.imp.msvcrt.dll__errno]
push dword [ebp - 8]
and dword [eax], 0
mov eax, edi
sub eax, ebx
push eax
lea eax, [ebx + esi]
push 1
push eax
call dword [sym.imp.msvcrt.dll_fread]
push dword [ebp - 8]
mov dword [ebp - 0xc], eax
call dword [sym.imp.msvcrt.dll_ferror]
add esp, 0x14
test eax, eax
jne 0x10053e72
push dword [ebp - 8]
add ebx, dword [ebp - 0xc]
call dword [sym.imp.msvcrt.dll_feof]
pop ecx
test eax, eax
je 0x10053dd5
cmp ebx, edi
jne 0x10053eab
lea eax, [edi + 1]
mov edx, edi
push eax
mov ecx, esi
call fcn.10052af4
pop ecx
test eax, eax
jne 0x10053ea9
push str.out_of_memory
push 0xc8
push dword [ebp - 4]
call fcn.10034c40
add esp, 0xc
test esi, esi
je 0x10053e6e
push esi
call dword [0x10093184]
pop ecx
xor eax, eax
jmp 0x10053ecb
mov edi, dword [sym.imp.msvcrt.dll__errno]
call edi
cmp dword [eax], 0
je 0x10053e8c
call edi
push dword [eax]
call dword [sym.imp.msvcrt.dll_strerror]
pop ecx
jmp 0x10053e91
mov eax, str.Error_reading_file
push eax
push 0x100a7c74
push 0xc8
push dword [ebp - 4]
call fcn.10034c40
add esp, 0x10
jmp 0x10053e62
mov esi, eax
mov edx, dword [ebp - 4]
push ecx
mov ecx, esi
mov byte [ebx + esi], 0
call fcn.10053c5b
mov edi, eax
pop ecx
test esi, esi
je 0x10053ec9
push esi
call dword [0x10093184]
pop ecx
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10054d10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10
mov dword [esp], 0x45
mov eax, dword [esp]
xor al, 0x63
mov byte [esp + 4], al
mov eax, dword [esp]
inc al
xor al, 0x61
mov byte [esp + 5], al
mov eax, dword [esp]
add al, 2
xor al, 0x6c
mov byte [esp + 6], al
mov eax, dword [esp]
add al, 3
xor al, 0x6c
mov byte [esp + 7], al
mov eax, dword [esp]
add al, 4
xor al, 0x20
mov byte [esp + 8], al
mov eax, dword [esp]
add al, 5
xor al, 0x30
mov byte [esp + 9], al
mov eax, dword [esp]
add al, 6
xor al, 0x78
mov byte [esp + 0xa], al
mov eax, dword [esp]
add al, 7
xor al, 0x25
mov byte [esp + 0xb], al
mov eax, dword [esp]
add al, 8
xor al, 0x30
mov byte [esp + 0xc], al
mov eax, dword [esp]
add al, 9
xor al, 0x38
mov byte [esp + 0xd], al
mov eax, dword [esp]
add al, 0xa
mov byte [esp + 0xf], 0
xor al, 0x78
mov byte [esp + 0xe], al
mov al, byte [esp + 4]
xor eax, eax
mov cl, byte [esp + eax + 4]
mov edx, dword [esp]
add dl, al
xor dl, cl
mov byte [esp + eax + 4], dl
inc eax
cmp eax, 0xb
jb 0x10054da2
push dword [ebp + 8]
lea eax, [esp + 8]
mov byte [esp + 0x13], 0
push eax
push dword [ebp + 0xc]
call fcn.10057570
add esp, 0xc
mov esp, ebp
pop ebp
ret 8
Function at 0x100573c0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
lea eax, [esp + 4]
push ebp
push esi
push eax
push 0x40
mov ebp, ecx
mov dword [esp + 0x14], 0
push ebx
push ebp
mov esi, edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 0
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push ebp
call esi
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x10]
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push ebx
push ebp
call esi
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
pop esi
pop ebp
mov eax, ebx
pop ebx
pop ecx
ret

Function at 0x10057420
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
sub esp, 8
push esi
push edi
mov edi, edx
mov esi, ecx
test edi, edi
je 0x10057496
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ebx, edi
nop word [eax + eax]
lea eax, [esp + 0x14]
mov byte [esp + 0x10], 0x90
push eax
push 0x40
push 1
push esi
mov dword [esp + 0x24], 0
call ebp
push 0
push 1
lea eax, [esp + 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x18]
push 1
push esi
call ebp
push 1
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
inc esi
sub ebx, 1
jne 0x10057440
pop ebp
pop ebx
mov eax, edi
pop edi
pop esi
add esp, 8
ret

Function at 0x100574a0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x22c
push ebx
push esi
mov ebx, edx
mov esi, ebx
push edi
mov edi, ecx
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x100574b8
sub esi, ecx
cmp esi, 0x100
jae 0x10057563
push 0x228
lea eax, [esp + 0x14]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [esp + 0x18], edi
lea eax, [esp + 0x38]
mov dword [esp + 0x1c], 0
push ebx
push 0x100
push eax
call dword [sym.imp.msvcrt.dll_strcpy_s]
add esp, 0xc
mov byte [esp + 0x10], 0
lea ecx, [esp + 0x10]
call fcn.1005f730
test eax, eax
je 0x10057563
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [esp + 0xc]
push eax
push 0x40
push dword [esp + 0x28]
mov dword [esp + 0x18], 0
push edi
call esi
push 0
push dword [esp + 0x24]
lea eax, [esp + 0x30]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x10]
push dword [esp + 0x28]
push edi
call esi
mov eax, dword [esp + 0x20]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret