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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1008b06f
push eax
mov dword fs:[0], esp
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 0x30]
test edi, edi
je 0x100159f3
mov ecx, edi
call fcn.100157a0
mov ecx, edi
call fcn.10018d31
mov edi, dword [esi + 0x34]
test edi, edi
je 0x10015a08
mov ecx, edi
call fcn.100157a0
mov ecx, edi
call fcn.10018d31
and dword [ebp - 4], 0
lea eax, [esi + 0x64]
push 0x100137c5
push 2
push 0xc
push eax
call fcn.1007b26a
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret

Function at 0x10016e2b
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 + 0x100900c0]
inc edi
sub esi, 1
jne 0x10016e39
pop edi
not edx
pop esi
mov eax, edx
pop ebp
ret

Function at 0x10016e59
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 0x10016ebd
mov al, byte [esi]
dec edi
inc esi
cmp al, 0x23
jne 0x10016e85
cmp edi, 2
jb 0x10016e85
cmp byte [esi], al
jne 0x10016e85
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 + 0x100900c0]
test edi, edi
jne 0x10016e6e
jmp 0x10016ec4
cmp al, 0x23
jne 0x10016eab
cmp byte [esi], al
jne 0x10016eab
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 + 0x100900c0]
mov al, byte [esi]
inc esi
test al, al
jne 0x10016e9d
pop edi
not edx
pop esi
mov eax, edx
pop ebx
pop ebp
ret

Function at 0x10016fe6
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 0x10016ff6
and dword [edi], 0
mov edx, 0x1009f538
call fcn.10016ecd
mov esi, eax
test esi, esi
je 0x1001705c
mov ecx, esi
call fcn.10016f8a
mov ebx, eax
cmp ebx, 0xffffffff
je 0x10017055
mov ecx, ebx
call fcn.10018d19
mov dword [ebp + 8], eax
test eax, eax
je 0x10017055
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 0x10017045
call fcn.10016f7b
mov ecx, dword [ebp + 8]
call fcn.10018d31
jmp 0x1001705c
call fcn.10016f7b
test edi, edi
je 0x10017050
mov dword [edi], ebx
mov eax, dword [ebp + 8]
jmp 0x1001705e
mov ecx, esi
call fcn.10016f7b
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x10038ba7
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x1008b2f2
call fcn.1008a85c
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.1007b23a
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.10006f5e
lea eax, [edi + 0x58]
push 2
push eax
call fcn.1007a273
pop ecx
pop ecx
push ebx
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.10038886
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x1003c48d
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1008b140
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.1003c51d
lea ecx, [esi + 0x50]
call fcn.100064c2
lea ecx, [esi + 0x48]
call fcn.1003d435
lea ecx, [esi + 0x30]
call fcn.100064c2
lea ecx, [esi + 0x28]
call fcn.10006a56
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
leave
ret
Function at 0x1003defb
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 0x1003dfb3
mov esi, dword [sym.imp.msvcrt.dll_strtok]
lea eax, [ebp - 0x208]
push ebx
push 0x100a56b0
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 0x1003dfb2
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 0x1003df95
push ebx
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea eax, [ebp - 0x104]
push 0x100a56ac
push eax
call edi
push 0x100a56b0
push ebx
call esi
add esp, 0x10
test eax, eax
jne 0x1003df6a
pop ebx
pop edi
pop esi
leave
ret
Function at 0x100436d7
Capabilities:
Create thread

Disassembly:
mov eax, 0x1008b6f5
call fcn.1008a85c
push ecx
push ebx
push esi
push edi
push 0x10
mov edi, ecx
call fcn.1007b23a
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 [0x100e24ec]
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 0x10043761
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 0x10043745
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.10079e6f
int3
Function at 0x10044482
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x1008b7b2
call fcn.1008a85c
sub esp, 0x18
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.10045826
and dword [ebp - 4], 0
lea edi, [esi + 0x80]
mov ecx, edi
call fcn.10058540
mov byte [ebp - 4], 1
lea ecx, [esi + 0xd4]
mov dword [esi], vtable.GlRender.0
mov dword [edi], vtable.GlRender.1.0
call fcn.100448e4
mov byte [ebp - 4], 2
mov dword [ebp - 0x24], 0x66
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 0x10044565
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 0x100445aa
push 1
push 1
push 0x10044426
push eax
mov ecx, edi
call fcn.10056f40
mov dword [0x100e2990], 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 0x10046920
Capabilities:
Enumerate process modules

Disassembly:
mov eax, 0x1008bcd3
call fcn.1008a85c
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.1007b23a
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.10006f5e
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 0x10046a44
lea eax, [ebp - 0x258]
mov dword [ebp - 0x258], 0x224
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Module32First]
jmp 0x10046a39
mov al, byte [ebp - 0x238]
lea edi, [ebp - 0x238]
jmp 0x100469eb
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 0x100469db
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp - 0x34]
call fcn.10006b5d
lea eax, [ebp - 0x34]
mov dword [ebp - 4], 3
push eax
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
call fcn.10046acd
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.10006f06
lea eax, [ebp - 0x258]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Module32Next]
test eax, eax
jne 0x100469cd
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 0x1004b733
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 0x1004b740
mov byte [edi + 0x15], bl
pop edi
pop esi
pop ebx
ret

Function at 0x1004b764
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 0x1004b771
mov byte [edi + 0x19], bl
pop edi
pop esi
pop ebx
ret

Function at 0x1004b7a4
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 0x1004b7aa
pop edi
mov byte [esi + 0x11], 0
lea eax, [esi + 4]
pop esi
ret

Function at 0x1004b7f5
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, 0x24
jb 0x1004b7fb
pop edi
mov byte [esi + 0x28], 0
lea eax, [esi + 4]
pop esi
ret

Function at 0x1004b819
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 0x1004b826
mov byte [edi + 0x2c], bl
pop edi
pop esi
pop ebx
ret

Function at 0x1004b83b
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 0x1004b848
mov byte [edi + 0x27], bl
pop edi
pop esi
pop ebx
ret

Function at 0x1004b85d
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 0x1004b86a
mov byte [edi + 0x21], bl
pop edi
pop esi
pop ebx
ret

Function at 0x1004b87f
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 0x1004b88c
mov byte [edi + 0x20], bl
pop edi
pop esi
pop ebx
ret

Function at 0x1004b8b0
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 0x1004b8b6
pop edi
mov byte [esi + 0x17], 0
lea eax, [esi + 4]
pop esi
ret
Function at 0x1004b8e3
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, 0x19
jb 0x1004b8e9
pop edi
mov byte [esi + 0x1d], 0
lea eax, [esi + 4]
pop esi
ret

Function at 0x1004b99d
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 0x1004b9a3
pop edi
mov byte [esi + 0x15], 0
lea eax, [esi + 4]
pop esi
ret

Function at 0x1004b9df
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 0x1004b9ec
mov byte [edi + 0x17], bl
pop edi
pop esi
pop ebx
ret

Function at 0x1004ba01
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
push 0xe
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 0x1004ba0e
mov byte [edi + 0x12], bl
pop edi
pop esi
pop ebx
ret

Function at 0x1004ba40
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, 0x16
jb 0x1004ba46
pop edi
mov byte [esi + 0x1a], 0
lea eax, [esi + 4]
pop esi
ret
Function at 0x100548e5
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 0x1005496e
cmp ebx, edi
jne 0x10054929
lea eax, [edi + 0x3e8]
mov edx, edi
push eax
mov ecx, esi
mov dword [ebp - 0xc], eax
call fcn.10053627
pop ecx
test eax, eax
je 0x10054980
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 0x100549a5
push dword [ebp - 8]
add ebx, dword [ebp - 0xc]
call dword [sym.imp.msvcrt.dll_feof]
pop ecx
test eax, eax
je 0x10054908
cmp ebx, edi
jne 0x100549de
lea eax, [edi + 1]
mov edx, edi
push eax
mov ecx, esi
call fcn.10053627
pop ecx
test eax, eax
jne 0x100549dc
push str.out_of_memory
push 0xc8
push dword [ebp - 4]
call fcn.10034ef0
add esp, 0xc
test esi, esi
je 0x100549a1
push esi
call dword [0x1009421c]
pop ecx
xor eax, eax
jmp 0x100549fe
mov edi, dword [sym.imp.msvcrt.dll__errno]
call edi
cmp dword [eax], 0
je 0x100549bf
call edi
push dword [eax]
call dword [sym.imp.msvcrt.dll_strerror]
pop ecx
jmp 0x100549c4
mov eax, str.Error_reading_file
push eax
push 0x100a9c54
push 0xc8
push dword [ebp - 4]
call fcn.10034ef0
add esp, 0x10
jmp 0x10054995
mov esi, eax
mov edx, dword [ebp - 4]
push ecx
mov ecx, esi
mov byte [ebx + esi], 0
call fcn.1005478e
mov edi, eax
pop ecx
test esi, esi
je 0x100549fc
push esi
call dword [0x1009421c]
pop ecx
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x100557e0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10
mov dword [esp], 0x57
mov byte [esp + 4], 0x3d
mov byte [esp + 5], 0x3a
mov byte [esp + 6], 0x27
mov byte [esp + 7], 0x77
mov byte [esp + 8], 0x67
mov byte [esp + 9], 0x2f
mov byte [esp + 0xa], 0x72
mov byte [esp + 0xb], 0x67
mov byte [esp + 0xc], 0x6f
mov byte [esp + 0xd], 0x2f
mov al, byte [esp + 4]
mov byte [esp + 0xe], 0
xor eax, eax
nop dword [eax]
mov cl, byte [esp + eax + 4]
mov edx, dword [esp]
xor dl, cl
mov byte [esp + eax + 4], dl
inc eax
cmp eax, 0xa
jb 0x10055830
push dword [ebp + 8]
lea eax, [esp + 8]
mov byte [esp + 0x12], 0
push eax
push dword [ebp + 0xc]
call fcn.10058090
add esp, 0xc
mov esp, ebp
pop ebp
ret 8
Function at 0x10055870
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0xc
mov byte [esp], 0x70
mov byte [esp + 1], 0x6e
mov byte [esp + 2], 0x79
mov byte [esp + 3], 0x79
mov byte [esp + 4], 0x2d
mov byte [esp + 5], 0x3d
mov byte [esp + 6], 0x85
mov byte [esp + 7], 0x32
mov byte [esp + 8], 0x3d
mov byte [esp + 9], 0x45
mov byte [esp + 0xa], 0x85
mov byte [esp + 0xb], 0
mov al, byte [esp]
xor eax, eax
mov cl, byte [esp + eax]
sub cl, 0xd
mov byte [esp + eax], cl
inc eax
cmp eax, 0xb
jb 0x100558b3
push dword [esp + 0x10]
lea eax, [esp + 4]
push eax
push dword [esp + 0x1c]
call fcn.10058090
add esp, 0x18
ret 8
Function at 0x10056e00
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
xor esi, esi
mov ebp, ecx
push edi
mov edi, dword [esp + 0x28]
lea ebx, [esi + 1]
push 0
xor edx, edx
mov ecx, edi
call fcn.10058320
add esp, 4
test eax, eax
cmove eax, ebx
add esi, eax
add edi, eax
cmp esi, 5
jb 0x10056e12
mov ebx, dword [esp + 0x28]
push ecx
push ebx
mov ecx, ebp
call fcn.10058bb0
push esi
mov ebp, eax
push ebx
push ebp
call fcn.10058af0
add ebp, eax
mov ecx, ebp
call fcn.100558e0
mov dword [esp + 0x10], 0x35
mov ecx, dword [esp + 0x10]
xor cl, 0x70
mov byte [esp + 0x14], cl
lea edi, [eax + ebp]
mov ecx, dword [esp + 0x10]
inc cl
xor cl, 0x75
mov byte [esp + 0x15], cl
mov eax, dword [esp + 0x10]
add al, 2
xor al, 0x73
mov byte [esp + 0x16], al
mov eax, dword [esp + 0x10]
add al, 3
xor al, 0x68
mov byte [esp + 0x17], al
mov eax, dword [esp + 0x10]
add al, 4
xor al, 0x20
mov byte [esp + 0x18], al
mov eax, dword [esp + 0x10]
add al, 5
xor al, 0x65
mov byte [esp + 0x19], al
mov eax, dword [esp + 0x10]
add al, 6
xor al, 0x73
mov byte [esp + 0x1a], al
mov eax, dword [esp + 0x10]
add al, 7
mov byte [esp + 0x1c], 0
xor al, 0x70
mov byte [esp + 0x1b], al
mov al, byte [esp + 0x14]
xor eax, eax
mov cl, byte [esp + eax + 0x14]
mov edx, dword [esp + 0x10]
add dl, al
xor dl, cl
mov byte [esp + eax + 0x14], dl
inc eax
cmp eax, 8
jb 0x10056ec4
lea eax, [esp + 0x14]
mov byte [esp + 0x1c], 0
push eax
push edi
call fcn.10058090
add esp, 8
add edi, eax
push edi
push dword [esp + 0x30]
call fcn.10055870
add edi, eax
mov ecx, edi
call fcn.10056310
push esi
add edi, eax
push ebx
push edi
call fcn.10055780
add edi, eax
lea eax, [esi + ebx]
push edi
push eax
call fcn.100557e0
push ebx
push ebp
call fcn.100557e0
sub esi, eax
mov edx, esi
lea ecx, [eax + ebx]
call fcn.10057f40
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x14
ret 8
Function at 0x10057ee0
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 0x10057f40
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 0x10057fb6
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 0x10057f60
pop ebp
pop ebx
mov eax, edi
pop edi
pop esi
add esp, 8
ret

Function at 0x10057fc0
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 0x10057fd8
sub esi, ecx
cmp esi, 0x100
jae 0x10058083
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.100601d0
test eax, eax
je 0x10058083
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