joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10087a10
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0
push 4
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x10087afb
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0x1c
push eax
push edi
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x10087af4
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x1c], 0x10
jb 0x10087adb
call ebx
cmp dword [ebp - 0x10], eax
jne 0x10087adb
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x14], eax
je 0x10087adb
mov edx, dword [esi]
test edx, edx
jne 0x10087aa4
push 0x200
push edx
mov dword [esi + 4], 0x80
push dword [0x102b73bc]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x10087af4
jmp 0x10087acf
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
jb 0x10087acf
shl eax, 3
push eax
push edx
push 0
push dword [0x102b73bc]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
test edx, edx
je 0x10087af4
mov eax, dword [esi + 4]
add eax, eax
mov dword [esi], edx
mov dword [esi + 4], eax
mov ecx, dword [esi + 8]
mov eax, dword [ebp - 0x14]
mov dword [edx + ecx*4], eax
inc dword [esi + 8]
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0x1c
push eax
push edi
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x10087a63
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi], 0
je 0x10087b3f
xor ebx, ebx
cmp dword [esi + 8], ebx
jbe 0x10087b3f
mov eax, dword [esi]
push dword [eax + ebx*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x10087b39
push edi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call fcn.10087db0
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, dword [esi + 8]
jb 0x10087b07
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10087f00
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
cmp dword [edi], 0
je 0x10087f50
push esi
xor esi, esi
cmp dword [edi + 8], esi
jbe 0x10087f3f
push ebx
mov eax, dword [edi]
push dword [eax + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x10087f38
push ebx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [edi + 8]
jb 0x10087f15
pop ebx
push dword [edi]
push 0
push dword [0x102b73bc]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop esi
pop edi
pop ebp
ret
Function at 0x10089060
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ca030
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
lea ebx, [esi + 4]
mov dword [ebp - 0x10], esi
push 8
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
mov dword [ebx], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.1009e5f2
mov edi, eax
add esp, 4
test edi, edi
je 0x10089103
push 1
mov dword [ebp - 4], 0
call fcn.1009d01d
add esp, 4
mov dword [edi + 4], eax
jmp 0x10089105
xor edi, edi
mov ecx, esi
mov dword [esi + 0x34], edi
call fcn.1006f970
mov dword [esi + 0xc], ebx
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x14]
mov dword [esi + 0x1c], ecx
lea edi, [esi + 0x24]
mov dword [esi + 0x2c], edi
lea edx, [esi + 0x18]
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
lea ebx, [esi + 0x28]
mov dword [esi + 0x30], ebx
mov byte [esi + 0x48], 0
mov byte [esi + 0x3d], 0
mov dword [esi + 0x20], edx
mov dword [eax], 0
mov dword [edx], 0
mov dword [esi + 0x28], 0
mov dword [esi + 4], 0
mov dword [ecx], 0
mov dword [edi], 0
mov dword [esi + 0x4c], 0
mov eax, dword [0x102b7454]
mov ecx, dword [0x102b7458]
mov dword [esi + 0x40], eax
mov eax, esi
mov dword [esi + 0x44], ecx
mov ecx, dword [ebp - 0xc]
pop edi
mov dword [esi + 0x38], 0
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x1008f090
Capabilities:
Allocate or change rwx memory
Create thread
Enumerate processes
Execute shellcode via indirect call
Inject thread
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
cmp dword [ebp + 8], 0
je 0x1008f0a5
xor eax, eax
mov esp, ebp
pop ebp
ret
push ebx
push esi
push edi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x1008f238
lea eax, [ebp - 0x240]
mov dword [ebp - 0x240], 0x22c
push eax
push esi
xor ebx, ebx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x1008f117
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
nop
push str.csgo.exe
lea eax, [ebp - 0x21c]
push eax
call edi
test eax, eax
je 0x1008f105
lea eax, [ebp - 0x240]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x1008f0e0
jmp 0x1008f117
push dword [ebp - 0x238]
push 0
push 0x2a
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x1008f238
mov esi, dword [0x100db1ec]
push 0x40
push 0x3000
mov dword [ebp - 4], esi
push dword [esi + 0x100db200]
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
push 0
push dword [esi + 0x100db204]
mov dword [ebp + 8], eax
push 0x100db1b0
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
xor eax, eax
xor edi, edi
cmp ax, word [esi + 0x100db1b6]
jae 0x1008f19d
lea esi, [esi + 0x100db2bc]
mov eax, dword [esi]
push 0
push dword [esi - 4]
add eax, 0x100db1b0
push eax
mov eax, dword [esi - 8]
add eax, dword [ebp + 8]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov eax, dword [ebp - 4]
lea esi, [esi + 0x28]
inc edi
movzx eax, word [eax + 0x100db1b6]
cmp edi, eax
jl 0x1008f170
push 0x20
push 0x3000
push 0x1000
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov ecx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
mov eax, dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.RtlZeroMemory
push str.ntdll
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call esi
push 0
push 0x10
mov dword [ebp - 8], eax
lea eax, [ebp - 0x14]
push eax
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push 0
mov eax, fcn.10020b00
lea esi, [edi + 0x10]
sub eax, 0x1008f250
push eax
push 0x1008f250
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push 0xffffffffffffffff
push 0
push 0
push edi
push esi
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x8000
push 0
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1008f870
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c9b8d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
push esi
push edi
push 0x102b7468
push 0
push 0
push 5
push 0
mov edi, ecx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
mov eax, dword [0x1013281c]
xorps xmm0, xmm0
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x34], eax
movq xmm0, qword [str.d_____bware_]
mov al, byte [0x10132820]
mov dword [ebp - 0x2c], 0xd
mov dword [ebp - 0x28], 0xf
movq qword [ebp - 0x3c], xmm0
mov byte [ebp - 0x30], al
mov byte [ebp - 0x2f], 0
mov ecx, 0x102b7468
mov dword [ebp - 4], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1008f8e7
sub ecx, edx
push ecx
push 0x102b7468
push 0
lea ecx, [ebp - 0x3c]
call fcn.1002f8d0
lea esi, [edi + 0xaa4]
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x24], xmm0
movups xmmword [ebp - 0x54], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x54]
movq qword [ebp - 0x14], xmm0
movq qword [ebp - 0x44], xmm0
cmp esi, eax
je 0x1008f95b
mov ecx, esi
call fcn.10004090
movups xmm0, xmmword [ebp - 0x24]
mov ecx, 0xf
mov byte [ebp - 0x54], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x14]
movq qword [esi + 0x10], xmm0
jmp 0x1008f95e
mov ecx, dword [ebp - 0x40]
cmp ecx, 0xf
jbe 0x1008f98f
mov edx, dword [ebp - 0x54]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1008f985
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008fa0e
push ecx
push edx
call fcn.1009e622
add esp, 8
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
cmp ecx, 0xf
jbe 0x1008f9c6
mov edx, dword [ebp - 0x3c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1008f9bc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008fa0e
push ecx
push edx
call fcn.1009e622
add esp, 8
cmp dword [esi + 0x14], 0xf
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
jbe 0x1008f9e0
mov esi, dword [esi]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ecx, edi
call fcn.100945d0
mov ecx, edi
call fcn.10093710
mov ecx, edi
call fcn.10090470
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.100a3e9f
int3
Function at 0x10097fe0
Capabilities:
Enumerate gui resources
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100cc94d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x258
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push 0
push 2
mov dword [ebp - 4], 0
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
lea ecx, [ebp - 0x264]
mov dword [ebp - 0x20], eax
push ecx
push eax
mov dword [ebp - 0x264], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x10098049
mov byte [ebp - 0xd], al
jmp 0x1009814e
push esi
push edi
nop dword [eax + eax]
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
lea eax, [ebp - 0x240]
mov dword [ebp - 0x24], 0
movups xmmword [ebp - 0x38], xmm0
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10098070
sub eax, edx
lea ecx, [ebp - 0x38]
sar eax, 1
push eax
lea eax, [ebp - 0x240]
push eax
call fcn.1007b100
mov edi, dword [ebp - 0x24]
lea eax, [ebp - 0x38]
mov esi, dword [ebp - 0x38]
cmp edi, 7
cmova eax, esi
cmp dword [ebp - 0x28], 0xb
jne 0x100980bc
push 0xb
push str.Spotify.exe
push eax
call fcn.10097590
add esp, 0xc
mov byte [ebp - 0xd], 1
test eax, eax
je 0x100980c0
mov byte [ebp - 0xd], 0
cmp edi, 7
jbe 0x100980f4
lea ecx, [edi*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x100980ea
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10098192
push ecx
push esi
call fcn.1009e622
add esp, 8
cmp byte [ebp - 0xd], 0
je 0x10098120
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [ebp - 0x14]
je 0x10098110
mov eax, dword [ebp - 0x25c]
mov dword [ecx], eax
add dword [ebp - 0x18], 4
jmp 0x10098120
lea eax, [ebp - 0x25c]
push eax
push ecx
lea ecx, [ebp - 0x1c]
call fcn.10005fb0
lea eax, [ebp - 0x264]
push eax
push dword [ebp - 0x20]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x10098050
pop edi
pop esi
lea eax, [ebp - 0x1c]
push eax
push 0x10097da0
call dword [sym.imp.USER32.dll_EnumWindows]
test eax, eax
setne byte [ebp - 0xd]
mov edx, dword [ebp - 0x1c]
test edx, edx
je 0x10098181
mov ecx, dword [ebp - 0x14]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x10098177
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10098192
push ecx
push edx
call fcn.1009e622
add esp, 8
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0xd]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.100a3e9f
int3
Function at 0x1009a7b0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov eax, dword [ebx]
mov edi, dword [ebp + 0x10]
cmp edi, 7
ja case.default.0x1009a7c6
jmp dword [edi*4 + 0x1009a95c]
mov ecx, esi
and ecx, 3
sub edi, ecx
sub ecx, 1
je 0x1009a809
sub ecx, 1
je 0x1009a7f6
sub ecx, 1
jne 0x1009a81c
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10133238]
inc esi
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10133238]
inc esi
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10133238]
inc esi
mov edx, edi
sar edx, 3
test edx, edx
je 0x1009a89e
xor eax, dword [esi]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x10133238]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x10133238]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x10133238]
mov ecx, eax
movzx eax, cl
shr ecx, 8
mov eax, dword [eax*4 + 0x10133238]
xor eax, dword [esi + 4]
add esi, 8
xor eax, ecx
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x10133238]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x10133238]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x10133238]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x10133238]
sub edx, 1
jne 0x1009a825
and edi, 7
jmp 0x1009a7c1
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10133238]
inc esi
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10133238]
inc esi
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10133238]
inc esi
xor eax, dword [esi]
movzx ecx, al
shr eax, 8
pop edi
pop esi
xor eax, dword [ecx*4 + 0x10133238]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x10133238]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x10133238]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x10133238]
mov dword [ebx], eax
pop ebx
pop ebp
ret
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10133238]
inc esi
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10133238]
inc esi
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10133238]
pop edi
pop esi
mov dword [ebx], eax
pop ebx
pop ebp
ret
Function at 0x1009a8df
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov eax, dword [ebx]
mov edi, dword [ebp + 0x10]
cmp edi, 7
ja case.default.0x1009a7c6
jmp dword [edi*4 + 0x1009a95c]
mov ecx, esi
and ecx, 3
sub edi, ecx
sub ecx, 1
je 0x1009a809
sub ecx, 1
je 0x1009a7f6
sub ecx, 1
jne 0x1009a81c
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10133238]
inc esi
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10133238]
inc esi
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10133238]
inc esi
mov edx, edi
sar edx, 3
test edx, edx
je 0x1009a89e
xor eax, dword [esi]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x10133238]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x10133238]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x10133238]
mov ecx, eax
movzx eax, cl
shr ecx, 8
mov eax, dword [eax*4 + 0x10133238]
xor eax, dword [esi + 4]
add esi, 8
xor eax, ecx
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x10133238]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x10133238]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x10133238]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x10133238]
sub edx, 1
jne 0x1009a825
and edi, 7
jmp 0x1009a7c1
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10133238]
inc esi
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10133238]
inc esi
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10133238]
inc esi
xor eax, dword [esi]
movzx ecx, al
shr eax, 8
pop edi
pop esi
xor eax, dword [ecx*4 + 0x10133238]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x10133238]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x10133238]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x10133238]
mov dword [ebx], eax
pop ebx
pop ebp
ret
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10133238]
inc esi
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10133238]
inc esi
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10133238]
pop edi
pop esi
mov dword [ebx], eax
pop ebx
pop ebp
ret
Function at 0x1009b000
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push 0x40
lea eax, [ebp - 0x40]
push 0
push eax
call fcn.100a06d0
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x40]
mov ecx, 0x20
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x48], ecx
mov eax, 0x3f
shr ecx, 3
add esp, 0xc
and ecx, 0x3f
mov dword [ebp - 0x58], 0x67452301
add edx, ecx
mov dword [ebp - 0x54], 0xefcdab89
mov dword [ebp - 0x50], 0x98badcfe
sub eax, ecx
mov dword [ebp - 0x4c], 0x10325476
mov dword [ebp - 0x44], 0
mov byte [edx], 0x80
inc edx
cmp eax, 8
jae 0x1009b08a
push eax
push 0
push edx
call fcn.100a06d0
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.1009a980
push 0x38
lea eax, [ebp - 0x40]
push 0
push eax
call fcn.100a06d0
add esp, 0x20
jmp 0x1009b099
add eax, 0xfffffff8
push eax
push 0
push edx
call fcn.100a06d0
add esp, 0xc
mov eax, dword [ebp - 0x48]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.1009a980
mov eax, dword [ebp - 0x52]
add esp, 8
mov esp, ebp
pop ebp
ret

Function at 0x1009d68a
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
xor ecx, ecx
test eax, eax
jne 0x1009d6b1
mov eax, ecx
mov dword [ebp - 4], eax
jmp 0x1009d6b4
mov eax, dword [ebp - 4]
push esi
mov esi, dword [ebp + 0xc]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.1009d666
pop esi
leave
ret 8
Function at 0x100aa32c
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.1009ea30
mov eax, dword [0x102afb00]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.100b82fb
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x100aa36e
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x100aa4ca
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.1009ec80
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x102b9408]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.100ba195
mov ecx, dword [esi*4 + 0x102b9408]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [ecx + edi + 0x20]
jne 0x100aa4c3
cmp eax, dword [ecx + edi + 0x24]
jne 0x100aa4c3
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [ecx + edi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100aa4c3
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.100ba195
add esp, 0x14
test edx, edx
jl 0x100aa4c3
jg 0x100aa439
test eax, eax
jb 0x100aa4c3
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x100aa4c3
jl 0x100aa453
cmp dword [ebp - 0x1008], eax
ja 0x100aa4c3
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x100aa471
test ebx, ebx
je 0x100aa4aa
cmp ecx, edi
jae 0x100aa4aa
mov al, byte [ecx]
cmp al, 0xd
jne 0x100aa48b
lea eax, [edi - 1]
cmp ecx, eax
jae 0x100aa497
cmp byte [ecx + 1], 0xa
jne 0x100aa497
inc ecx
jmp 0x100aa497
movzx eax, al
movsx eax, byte [eax + 0x102afdc0]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x100aa471
cmp edx, ebx
jne 0x100aa471
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x100aa4c8
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.1009f2f8
leave
ret

Function at 0x100b323b
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x100b327a
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100b327a
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100b327a
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x100b327a
cmp dword [ecx + 0x74], 0xe
jbe 0x100b327a
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x100b9493
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x102b9408]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x100b94d3
cmp byte [ebx], 0xa
jne 0x100b94d3
or byte [edi + eax + 0x28], 4
jmp 0x100b94d8
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x100b95d7
mov dl, byte [eax]
cmp dl, 0x1a
je 0x100b95ba
inc eax
cmp dl, 0xd
je 0x100b9504
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x100b952a
cmp eax, ecx
jae 0x100b9538
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x100b94ec
jmp 0x100b95d7
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100b95b5
cmp dword [ebp - 0x10], 0
je 0x100b95b5
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x102b9408]
test byte [eax + edi + 0x28], 0x48
je 0x100b958f
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x100b957a
mov byte [esi], dl
jmp 0x100b958b
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x102b9408]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x100b95d7
cmp byte [ebp - 1], 0xa
jne 0x100b959e
cmp esi, ebx
jne 0x100b959e
mov byte [esi], 0xa
jmp 0x100b95d6
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.100ba1b3
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x100b95d7
mov byte [esi], 0xd
jmp 0x100b95d6
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x102b9408]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x100b95d4
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x100b95d7
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret