joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401410
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf8
mov eax, dword [ebp + 0xc]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 8]
mov dword [esp + 8], eax
mov dword [esp + 4], str.server.exe__d__d
lea eax, [ebp - 0x6c]
mov dword [esp], eax
call sym._sprintf
mov dword [esp + 8], 0x44
mov dword [esp + 4], 0
lea eax, [ebp - 0xb0]
mov dword [esp], eax
call sym._memset
mov dword [ebp - 0xb0], 0x44
mov dword [esp + 8], 0x10
mov dword [esp + 4], 0
lea eax, [ebp - 0xc0]
mov dword [esp], eax
call sym._memset
lea eax, [ebp - 0xc0]
mov dword [esp + 0x24], eax
lea eax, [ebp - 0xb0]
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x10
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
lea eax, [ebp - 0x6c]
mov dword [esp + 4], eax
mov dword [esp], 0
call sym._CreateProcessA_40
sub esp, 0x28
test eax, eax
jne 0x4014f5
call sym._GetLastError_0
mov dword [esp + 4], eax
mov dword [esp], str.CreateProcess_failed___d_._n
call sym._printf
jmp 0x401517
mov eax, dword [ebp - 0xc0]
mov dword [esp], eax
call sym._CloseHandle_4
sub esp, 4
mov eax, dword [ebp - 0xbc]
mov dword [esp], eax
call sym._CloseHandle_4
sub esp, 4
leave
ret
Function at 0x401db0
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x408044
call sym._EnterCriticalSection_4
mov ebx, dword [0x40803c]
sub esp, 4
test ebx, ebx
je 0x401dfb
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sym._TlsGetValue_4
sub esp, 4
mov esi, eax
call sym._GetLastError_0
test eax, eax
jne 0x401df4
test esi, esi
je 0x401df4
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x401dd0
mov dword [esp], 0x408044
call sym._LeaveCriticalSection_4
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x401fe0
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x17
lea esi, [esp + 0x24]
lea ebx, [eax + 0x40]
mov dword [esp + 4], 1
mov dword [esp + 0xc], ebx
mov dword [esp], str.Mingw_runtime_failure:_n
call sym._fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._vfprintf
call sym._abort
lea esi, [esi]

Function at 0x402030
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push edi
mov edi, edx
push esi
mov esi, ecx
push ebx
mov ebx, eax
sub esp, 0x3c
lea eax, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], eax
mov dword [esp], ebx
call sym._VirtualQuery_12
sub esp, 0xc
test eax, eax
je 0x402104
mov eax, dword [esp + 0x28]
cmp eax, 0x40
je 0x40206e
cmp eax, 4
jne 0x402090
test esi, esi
je 0x402082
xor eax, eax
movzx ecx, byte [edi + eax]
mov byte [ebx + eax], cl
add eax, 1
cmp eax, esi
jb 0x402074
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x20]
lea ebp, [esp + 0x10]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov ecx, dword [esp + 0x28]
test esi, esi
je 0x4020cf
xor edx, edx
movzx eax, byte [edi + edx]
mov byte [ebx + edx], al
add edx, 1
cmp edx, esi
jb 0x4020c1
cmp ecx, 0x40
je 0x402082
cmp ecx, 4
je 0x402082
mov eax, dword [esp + 0x10]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.00401fe0
lea esi, [esi]
Function at 0x4d5ea0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x93000]
push edi
jmp 0x4d5eba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4d5ec1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4d5eb0
mov eax, 1
add ebx, ebx
jne 0x4d5ed3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4d5ee4
jne 0x4d5f03
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4d5f03
dec eax
add ebx, ebx
jne 0x4d5ef0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4d5ec8
add ebx, ebx
jne 0x4d5eff
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4d5f55
xor ecx, ecx
sub eax, 3
jb 0x4d5f1b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4d5f8a
sar eax, 1
mov ebp, eax
jmp 0x4d5f26
add ebx, ebx
jne 0x4d5f26
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4d5ef4
inc ecx
add ebx, ebx
jne 0x4d5f34
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4d5ef4
add ebx, ebx
jne 0x4d5f41
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4d5f36
jne 0x4d5f52
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4d5f36
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4d5f74
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4d5f66
jmp 0x4d5eb6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4d5f74
add edi, ecx
jmp 0x4d5eb6
pop esi
mov edi, esi
mov ecx, 0x379b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4d5f92
cmp byte [edi], 0x13
jne 0x4d5f92
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4d5f97
lea edi, [esi + 0xd1000]
mov eax, dword [edi]
or eax, eax
je 0x4d600f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xfab9c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xfacf0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4d5fc4
mov ecx, edi
jns 0x4d5ff3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xfacf4]
or eax, eax
je 0x4d6009
mov dword [ebx], eax
add ebx, 4
jmp 0x4d5fe1
call dword [esi + 0xfad04]
mov ebp, dword [esi + 0xfacf8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4d6043
sub esp, 0xffffff80
jmp 0x4165c1
Function at 0x8ccbb8
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x8cc92e
add eax, 0xba250e43
mov eax, eax
sub esi, 0xbd5b4203
call fcn.008ccbff
dec eax
add eax, eax
add eax, eax
xor dword [ebx], edx
sub esp, 4
mov dword [esp], 0xe65be309
mov eax, dword [esp]
add esp, 4
mov esi, esi
inc ebx
and esi, esi
sub eax, 0x502a612b
cmp ebx, ecx
jne fcn.008ccbb8
sub esi, 0x4b24d324
dec eax
ret
Function at 0x10001000
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, dword [ebp - 4]
mov dword [edx], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x10001071
mov ecx, dword [ebp - 4]
cmp dword [ecx + 8], 0
je 0x10001071
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
test eax, eax
jne 0x1000105a
jmp 0x10001071
mov eax, dword [ebp - 4]
add eax, 0xc
push eax
push 0x40
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8

Function at 0x10002fa0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x1015fc40]
xor eax, ebp
mov dword [ebp - 4], eax
movups xmm0, xmmword [str._pipediscord_ipc_0]
mov eax, dword [0x10127948]
push ebx
push esi
push edi
push 0
push 0
mov dword [ebp - 0xc], eax
mov esi, ecx
mov ax, word [0x1012794c]
push 3
movups xmmword [ebp - 0x34], xmm0
push 0
movups xmm0, xmmword [0x10127930]
mov word [ebp - 8], ax
mov eax, 0x30
push 0
mov word [ebp - 0xa], ax
lea eax, [ebp - 0x34]
movups xmmword [ebp - 0x24], xmm0
push 0xc0000000
movq xmm0, qword [0x10127940]
push eax
movq qword [ebp - 0x14], xmm0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 4], eax
cmp eax, 0xffffffff
jne 0x10003070
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
call edi
cmp eax, 2
jne 0x10003039
mov ax, word [ebp - 0xa]
cmp ax, 0x39
jae 0x10003086
inc ax
mov word [ebp - 0xa], ax
jmp 0x1000304f
cmp eax, 0xe7
jne 0x10003086
push 0x2710
lea eax, [ebp - 0x34]
push eax
call ebx
test eax, eax
je 0x10003086
push 0
push 0
push 3
push 0
push 0
push 0xc0000000
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 4], eax
cmp eax, 0xffffffff
je 0x10003020
pop edi
mov byte [esi], 1
mov al, 1
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100d4eee
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100d4eee
mov esp, ebp
pop ebp
ret
Function at 0x10003190
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd20
mov eax, dword [0x1015fc40]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0x104
lea eax, [ebp - 0x30c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
push 0
mov dword [ebp - 0xd20], eax
lea eax, [ebp - 0xd14]
push eax
push 0
push 0x20006
push 0
push 0
push 0
lea eax, [ebp - 0x50c]
mov dword [ebp - 0xd1c], 0
push eax
push reloc.WS2_32.dll_accept
call ebx
test eax, eax
jne 0x10003347
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [ebp - 0x104]
push edi
push eax
call esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
inc eax
add eax, eax
push eax
lea eax, [ebp - 0x104]
push eax
push 1
push 0
push 0
push dword [ebp - 0xd14]
call edi
lea eax, [ebp - 0x104]
push eax
call esi
push 2
lea eax, [ebp - 0xd1c]
push eax
push 1
push 0
push str.URL_Protocol
push dword [ebp - 0xd14]
call edi
mov eax, dword [ebp - 0xd14]
lea ecx, [ebp - 0xd10]
push 0
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.DefaultIcon
push eax
mov dword [ebp - 0xd18], eax
mov dword [ebp - 0xd10], 0
call ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x100032c3
mov eax, dword [ebp - 0xd20]
lea eax, [eax*2 + 2]
push eax
lea eax, [ebp - 0x30c]
push eax
push 1
push 0
push 0
push dword [ebp - 0xd10]
call edi
mov eax, dword [ebp - 0xd10]
test eax, eax
je 0x100032c3
cmp eax, dword [ebp - 0xd18]
je 0x100032c3
push eax
call esi
lea eax, [ebp - 0xd0c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0
lea ecx, [ebp - 0xd10]
mov dword [ebp - 0xd10], 0
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
lea edi, [eax + 1]
mov eax, dword [ebp - 0xd14]
push str.shellopencommand
push eax
mov dword [ebp - 0xd18], eax
call ebx
test eax, eax
jne 0x1000333d
lea eax, [edi + edi]
push eax
lea eax, [ebp - 0xd0c]
push eax
push 1
push 0
push 0
push dword [ebp - 0xd10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 0xd10]
test eax, eax
je 0x1000333d
cmp eax, dword [ebp - 0xd18]
je 0x1000333d
push eax
call esi
push dword [ebp - 0xd14]
call esi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.100d4eee
mov esp, ebp
pop ebp
ret
Function at 0x100033e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa94
mov eax, dword [0x1015fc40]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x44]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push edi
mov edi, dword [ebp + 0xc]
push 0x20
push ecx
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call esi
push 0x20
lea eax, [ebp - 0x84]
push eax
push 0xffffffffffffffff
push edi
push 0
push 0xfde9
call esi
lea eax, [ebp - 0x290]
push eax
push 0x20019
push 0
push str.SoftwareValveSteam
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100034cc
lea eax, [ebp - 0x294]
mov dword [ebp - 0x294], 0x208
push eax
lea eax, [ebp - 0x28c]
push eax
push 0
push 0
push str.SteamExe
push dword [ebp - 0x290]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x290]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x100034cc
mov ecx, dword [ebp - 0x294]
cmp ecx, 1
jb 0x100034cc
shr ecx, 1
mov eax, esi
je 0x100034b9
lea edx, [esi + 0x5c]
cmp word [ebp + eax*2 - 0x28c], 0x2f
jne 0x100034b4
mov word [ebp + eax*2 - 0x28c], dx
inc eax
cmp eax, ecx
jb 0x100034a1
lea eax, [ebp - 0xa94]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.10003190
add esp, 8
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.100d4eee
mov esp, ebp
pop ebp
ret
Function at 0x10004f90
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push 0x10141ae0
push 0x64
call fcn.100d4f3a
mov esi, eax
add esp, 8
test esi, esi
je 0x10005128
push 0x64
push 0
push esi
call fcn.100f1970
mov byte [esi], 1
lea eax, [esi + 0x34]
xorps xmm0, xmm0
movups xmmword [esi + 0x10], xmm0
push eax
movq qword [esi + 0x20], xmm0
mov dword [esi + 0x28], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x2c], 0xffffffff
mov dword [esi + 4], 2
mov dword [esi + 0x30], 0
call fcn.100d6aaa
xorps xmm0, xmm0
mov dword [0x1018892c], esi
add esp, 0x10
movq qword [esi + 0x5c], xmm0
cmp dword [ebp + 0x10], 0
mov esi, dword [ebp + 8]
je 0x10005036
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x1000502b
cmp byte [eax], 0
je 0x1000502b
push eax
push esi
call fcn.100033e0
jmp 0x10005033
push 0
push esi
call fcn.10003360
add esp, 8
call sub.KERNEL32.dll_GetCurrentProcessId
push 0x1015e038
mov dword [0x10188928], eax
call fcn.100d68fe
add esp, 4
test eax, eax
jne 0x10005137
cmp dword [0x1015e064], 0x7fffffff
je 0x1000513e
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x1000507d
movups xmm0, xmmword [eax]
movups xmmword [0x101842d8], xmm0
movq xmm0, qword [eax + 0x10]
jmp 0x10005087
xorps xmm0, xmm0
movups xmmword [0x101842d8], xmm0
movq qword [0x101842e8], xmm0
xorps xmm0, xmm0
push 0x1015e038
movups xmmword [0x101842f0], xmm0
movq qword [0x10184300], xmm0
call fcn.100d690f
add esp, 4
cmp dword [0x101842d4], 0
jne 0x10005132
push esi
call fcn.100064f0
mov dword [0x101842d4], eax
mov dword [eax + 8], 0x100034e0
mov eax, dword [0x101842d4]
mov dword [eax + 0xc], 0x10003500
mov al, 1
mov esi, dword [0x1018892c]
xchg byte [esi], al
push 4
call fcn.100d4efc
add esp, 8
test eax, eax
je 0x100050f1
mov dword [eax], esi
jmp 0x100050f3
xor eax, eax
lea ecx, [ebp - 4]
push ecx
push 0
push eax
push 0x10003550
push 0
push 0
call fcn.100f4fb6
mov ecx, eax
add esp, 0x18
mov dword [ebp - 8], ecx
test ecx, ecx
je 0x10005154
cmp dword [esi + 0x60], 0
jne 0x1000514f
mov eax, dword [ebp - 4]
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
pop esi
mov esp, ebp
pop ebp
ret
mov dword [0x1018892c], 0
pop esi
mov esp, ebp
pop ebp
ret
push 5
call fcn.100d6fb4
push 6
mov dword [0x1015e064], 0x7ffffffe
call fcn.100d6fb4
call fcn.100f4db5
push 6
mov dword [ebp - 4], 0
call fcn.100d6fb4
int3
Function at 0x10012cd0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
lea edx, [ebp + 8]
mov esi, 4
mov eax, dword [edi + 0xec]
mov ebx, dword [edi + 0xf4]
mov ebx, dword [ebx + eax*4 - 4]
not ebx
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x101288b8]
sub esi, 1
jne 0x10012cf2
mov eax, dword [edi]
not ebx
cmp dword [eax + 0x3fc4], ebx
jne 0x10012d27
push esi
push dword [ebp + 8]
push 4
push ebx
call fcn.10010940
add esp, 0x10
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov edx, ecx
push esi
push edi
lea esi, [ebp - 0x10]
mov edi, 0x10
movss xmm1, dword [edx + 0x108]
movss xmm0, dword [eax]
movss xmm2, dword [edx + 0x10c]
subss xmm0, xmm1
mov ecx, dword [edx + 0xec]
movss dword [ebp - 0x10], xmm0
movss xmm0, dword [eax + 4]
subss xmm0, xmm2
movss dword [ebp - 0xc], xmm0
movss xmm0, dword [eax + 8]
subss xmm0, xmm1
movss dword [ebp - 8], xmm0
movss xmm0, dword [eax + 0xc]
mov eax, dword [edx + 0xf4]
subss xmm0, xmm2
mov edx, dword [eax + ecx*4 - 4]
movss dword [ebp - 4], xmm0
not edx
nop
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x101288b8]
sub edi, 1
jne 0x10012e00
pop edi
not edx
pop esi
mov eax, edx
mov esp, ebp
pop ebp
ret 4

Function at 0x10013570
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x10]
push esi
test ebx, ebx
je 0x10013582
mov dword [ebx], 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.10013670
mov esi, eax
add esp, 8
test esi, esi
jne 0x1001359a
pop esi
pop ebx
pop ebp
ret
push edi
push esi
call fcn.100f6836
add esp, 4
mov dword [ebp + 0x10], eax
cmp eax, 0xffffffff
je 0x10013659
push 2
push 0
push esi
call fcn.100f60db
add esp, 0xc
test eax, eax
jne 0x10013659
push esi
call fcn.100f6836
mov edi, eax
add esp, 4
cmp edi, 0xffffffff
je 0x10013659
push 0
push dword [ebp + 0x10]
push esi
call fcn.100f60db
add esp, 0xc
test eax, eax
jne 0x10013659
mov eax, dword [ebp + 0x14]
add eax, edi
push eax
call fcn.10015de0
add esp, 4
mov dword [ebp + 0x10], eax
test eax, eax
je 0x10013659
push esi
push edi
push 1
push eax
call fcn.100f5c75
add esp, 0x10
cmp eax, edi
je 0x1001362a
push esi
call fcn.100f570f
mov eax, dword [ebp + 0x10]
push eax
call fcn.10015e70
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
mov eax, dword [ebp + 0x14]
test eax, eax
jle 0x10013642
push eax
mov eax, dword [ebp + 0x10]
add eax, edi
push 0
push eax
call fcn.100f1970
add esp, 0xc
push esi
call fcn.100f570f
add esp, 4
test ebx, ebx
je 0x10013651
mov dword [ebx], edi
mov eax, dword [ebp + 0x10]
pop edi
pop esi
pop ebx
pop ebp
ret
push esi
call fcn.100f570f
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x10013a70
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
not ebx
push edi
mov edi, dword [ebp + 0xc]
mov eax, ebx
test edi, edi
je 0x10013ad3
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x10013ab6
cmp edi, 2
jb 0x10013ab6
cmp byte [esi], cl
jne 0x10013ab6
cmp byte [esi + 1], cl
jne 0x10013ab6
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x101288b8]
jmp 0x10013a87
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x101288b8]
test edi, edi
jne 0x10013a87
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x10013b08
nop word [eax + eax]
cmp cl, 0x23
jne 0x10013aef
cmp byte [esi], cl
jne 0x10013aef
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x101288b8]
test cl, cl
jne 0x10013ae0
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
Function at 0x10013dd0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x10
xor ecx, ecx
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x10], ecx
test esi, esi
je 0x10013df0
cmp eax, esi
jae 0x10013f47
mov bl, byte [eax]
test bl, bl
je 0x10013f47
movzx ecx, bl
mov edx, esi
shr ecx, 3
movsx edi, byte [ecx + 0x1012928c]
xor ecx, ecx
test edi, edi
mov dword [ebp - 8], edi
sete cl
add ecx, edi
mov dword [ebp - 0xc], ecx
test esi, esi
jne 0x10013e1f
lea edx, [ecx + eax]
cmp eax, edx
lea esi, [eax + 1]
sbb cl, cl
and cl, bl
mov byte [ebp - 4], cl
cmp esi, edx
jae 0x10013e36
mov bl, byte [esi]
mov byte [ebp - 1], bl
jmp 0x10013e3a
mov byte [ebp - 1], 0
lea esi, [eax + 2]
cmp esi, edx
jae 0x10013e45
mov ch, byte [esi]
jmp 0x10013e47
xor ch, ch
lea ebx, [eax + 3]
mov byte [ebp - 3], ch
cmp ebx, edx
jae 0x10013e55
mov bl, byte [ebx]
jmp 0x10013e57
xor bl, bl
mov edi, dword [edi*4 + 0x101292ac]
movzx esi, byte [ebp - 1]
movzx edx, ch
movzx ecx, cl
and edi, ecx
mov byte [ebp - 2], bl
shl edi, 6
mov ecx, esi
and ecx, 0x3f
movzx ebx, bl
or edi, ecx
and esi, 0xc0
shl edi, 6
mov ecx, edx
and ecx, 0x3f
and edx, 0xc0
or edi, ecx
mov ecx, ebx
and ecx, 0x3f
shr ebx, 2
or ebx, edx
shl edi, 6
or edi, ecx
shr ebx, 2
mov ecx, dword [ebp - 8]
or ebx, esi
mov esi, dword [ebp - 8]
shr ebx, 2
mov ecx, dword [ecx*4 + 0x101292d4]
shr edi, cl
cmp edi, dword [esi*4 + 0x101292c0]
sbb ecx, ecx
xor edx, edx
and ecx, 0x40
or ebx, ecx
mov ecx, edi
and ecx, 0xfffff800
cmp ecx, 0xd800
mov ecx, 0x80
cmove edx, ecx
mov ecx, 0xffff
or ebx, edx
cmp ecx, edi
sbb ecx, ecx
and ecx, 0x100
or ebx, ecx
mov ecx, dword [esi*4 + 0x101292e8]
xor ebx, 0x2a
sar ebx, cl
test ebx, ebx
je 0x10013f39
xor edx, edx
cmp byte [ebp - 2], dl
setne dl
xor ecx, ecx
cmp byte [ebp - 3], cl
setne cl
add edx, ecx
xor ecx, ecx
cmp byte [ebp - 1], cl
setne cl
add edx, ecx
xor ecx, ecx
cmp byte [ebp - 4], cl
setne cl
add edx, ecx
cmp dword [ebp - 0xc], edx
cmovl edx, dword [ebp - 0xc]
mov ecx, edx
add eax, ecx
mov ecx, dword [ebp - 0x10]
inc ecx
jmp 0x10013dde
mov ecx, dword [ebp - 0xc]
add eax, ecx
mov ecx, dword [ebp - 0x10]
inc ecx
jmp 0x10013dde
pop edi
pop esi
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret