joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40232d
Capabilities:
Write file on windows

Disassembly:
enter 0, 0
mov edi, dword [ebp + 8]
mov eax, dword [edi]
cmp eax, 0xfffffffe
je 0x4023ce
cmp eax, 0xffffffff
je 0x402396
cmp eax, dword [ebp + 0xc]
ja 0x402363
add eax, dword [0x403989]
push eax
add edi, 4
push dword [edi]
add edi, 4
push edi
add edi, dword [edi - 4]
call fcn.004021c7
jmp 0x402334
push 0x403217
call fcn.00402878
call fcn.004021b0
push dword [0x403981]
call sub.ion_timed_out._CloseHandle
push 0x65
push dword [0x40397d]
call sub.sume_process._GetDlgItem
push 0
push eax
call sub.sume_process._EnableWindow
leave
ret 8
call fcn.004021b0
push dword [0x403981]
call sub.ion_timed_out._CloseHandle
call fcn.00402442
push 0x4032c5
call fcn.00402878
push 0x65
push dword [0x40397d]
call sub.sume_process._GetDlgItem
push 0
push eax
call sub.sume_process._EnableWindow
leave
ret 8
call fcn.004021b0
mov ebx, dword [edi + 4]
add edi, 8
push 2
push 0
push 0
push dword [0x403981]
call sub.ion_timed_out._SetFilePointer
cmp eax, 0xffffffff
je 0x402409
push 0
push 0x40364a
push ebx
push edi
push dword [0x403981]
call sub.ion_timed_out._WriteFile
test eax, eax
je 0x402409
jmp 0x40239b
push 0x403279
call fcn.00402895
push dword [0x403981]
call sub.ion_timed_out._CloseHandle
leave
ret 8

Function at 0x402442
Capabilities:
Create process on windows
Delete file
Get common file path
Write and execute a file
Write file on windows

Disassembly:
enter 0x23a, 0
push ebx
mov eax, dword [0x40362a]
test eax, eax
je 0x40256e
lea ebx, [ebp - 0xff]
push ebx
push 0xff
call sub.ion_timed_out._GetTempPathA
lea eax, [ebp - 0x1fe]
push eax
push 0
push 0x40352e
push ebx
call sub.ion_timed_out._GetTempFileNameA
test eax, eax
je 0x402577
lea ebx, [ebp - 0x1fe]
push ebx
call sub.ion_timed_out._DeleteFileA
push 0x40352e
push ebx
call fcn.00402422
push 0
push 0x4000080
push 1
push 0
push 1
push 0xc0000000
push ebx
call sub.ion_timed_out._CreateFileA
cmp eax, 0xffffffff
je 0x402577
mov ebx, eax
push 0
push 0x40364e
push dword [0x40362a]
push dword [0x40362e]
push eax
call sub.ion_timed_out._WriteFile
test eax, eax
je 0x402571
lea eax, [ebp - 0xff]
push 0x40359f
push eax
call sub.ion_timed_out._lstrcpy
lea eax, [ebp - 0xff]
lea edx, [ebp - 0x1fe]
push edx
push eax
call sub.ion_timed_out._lstrcat
lea eax, [ebp - 0x1fe]
push 0x403593
push eax
call sub.ion_timed_out._lstrcpy
lea eax, [ebp - 0x23a]
mov dword [eax], 0x3c
mov dword [eax + 4], 0x140
mov ecx, dword [0x40397d]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], 0
lea edx, [ebp - 0x1fe]
mov dword [eax + 0x10], edx
lea edx, [ebp - 0xff]
mov dword [eax + 0x14], edx
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 1
push eax
call sub.s._ShellExecuteExA
test eax, eax
je 0x402571
push 0x1f4
call sub.ion_timed_out._Sleep
push ebx
call sub.ion_timed_out._CloseHandle
pop ebx
leave
ret
push ebx
call sub.ion_timed_out._CloseHandle
push 0x403380
call fcn.00402878
pop ebx
leave
ret
Function at 0x402584
Capabilities:
Check if file exists
Get file size
Set file attributes

Disassembly:
enter 4, 0
call fcn.0040214a
test eax, eax
je 0x40266c
push 0x80
push dword [0x40361a]
call sub.ion_timed_out._SetFileAttributesA
test eax, eax
je 0x4026de
push 0
push 0x80
push 3
push 0
push 1
push 0xc0000000
push dword [0x40361a]
call sub.ion_timed_out._CreateFileA
cmp eax, 0xffffffff
je 0x4026de
mov dword [0x403981], eax
push 0
push eax
call sub.ion_timed_out._GetFileSize
cmp dword [0x4035f6], 0
je 0x4025f5
cmp eax, dword [0x4035f6]
jne 0x4026d2
mov dword [ebp - 4], eax
call fcn.00402172
test eax, eax
je 0x40269e
cmp dword [0x4035fa], 0
je 0x40262b
push dword [0x4035f6]
push dword [0x403989]
call fcn.00402ba5
cmp eax, dword [0x4035fa]
jne 0x4026ba
push 0
push 0
push 0xf0
push 0x69
push dword [0x40397d]
call sub.sume_process._SendDlgItemMessageA
cmp eax, 1
jne 0x402655
push dword [0x40361a]
call fcn.004021de
test eax, eax
je 0x4026a8
cmp dword [0x4035fe], 2
je 0x40266e
push dword [ebp - 4]
push dword [0x403602]
call fcn.0040232d
leave
ret
push dword [ebp - 4]
push dword [0x403602]
call fcn.004022c6
push dword [0x403602]
call fcn.0040276f
call fcn.004021b0
push dword [0x403981]
call sub.ion_timed_out._CloseHandle
call fcn.00402442
leave
ret
push 0x403546
call fcn.00402895
call fcn.004021b0
push dword [0x403981]
call sub.ion_timed_out._CloseHandle
leave
ret
push 0x403291
call fcn.00402878
jmp 0x4026a8
push 0x403249
call fcn.00402878
jmp 0x4026a8
call sub.ion_timed_out._GetLastError
mov esi, eax
cmp eax, 2
je 0x402728
sub esp, 0x12c
mov edi, esp
push 0x4031f2
push edi
call sub.ion_timed_out._lstrcpy
push dword [0x40361a]
push edi
call sub.ion_timed_out._lstrcat
push 0x40353f
push edi
call sub.ion_timed_out._lstrcat
push esi
call sub.ion_timed_out._SetLastError
push edi
call fcn.00402895
add esp, 0x12c
leave
ret
push 0x24
push 0x4035b1
push 0x403189
push dword [0x40397d]
call sub.sume_process._MessageBoxA
cmp eax, 6
jne 0x4026ea
push 0x1004
push 0x403652
push 0x403547
call fcn.00402812
test eax, eax
je 0x40266c
mov eax, 0x403652
mov dword [0x40361a], eax
jmp 0x402595

Function at 0x402ba5
Capabilities:
Encode data using xor

Disassembly:
enter 0, 0
push ebx
push esi
or eax, 0xffffffff
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x402bd3
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x402bd3
mov esi, dword [0x40398d]
movzx edx, byte [ebx]
xor dl, al
shr eax, 8
xor eax, dword [esi + edx*4]
inc ebx
dec ecx
jne 0x402bc2
not eax
pop esi
pop ebx
leave
ret 8
Function at 0x402bd9
Capabilities:
Get file size
Read file via mapping

Disassembly:
enter 0xc, 0
push ebx
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push dword [ebp + 8]
call sub.ion_timed_out._CreateFileA
cmp eax, 0xffffffff
je 0x402c6d
mov dword [ebp - 4], eax
push 0
push 0
push 0
push 2
push 0
push eax
call sub.ion_timed_out._CreateFileMappingA
test eax, eax
je 0x402c65
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 4
push eax
call sub.ion_timed_out._MapViewOfFile
test eax, eax
je 0x402c5d
mov dword [ebp - 0xc], eax
push 0
push dword [ebp - 4]
call sub.ion_timed_out._GetFileSize
push eax
push dword [ebp - 0xc]
call fcn.00402ba5
mov ebx, eax
push dword [ebp - 0xc]
call sub.ion_timed_out._UnmapViewOfFile
push dword [ebp - 8]
call sub.ion_timed_out._CloseHandle
push dword [ebp - 4]
call sub.ion_timed_out._CloseHandle
mov eax, ebx
pop ebx
leave
ret 4
push dword [ebp - 8]
call sub.ion_timed_out._CloseHandle
push dword [ebp - 4]
call sub.ion_timed_out._CloseHandle
xor eax, eax
dec eax
pop ebx
leave
ret 4
Function at 0x10001560
Capabilities:
Execute shellcode via indirect call

Disassembly:
sub esp, 0xc
push edi
mov edi, ecx
cmp byte [edi + 0x20], 0
jne 0x10001655
mov eax, dword [edi + 0xc]
test eax, eax
je 0x10001655
push ebx
push ebp
push esi
push eax
push dword [edi]
lea eax, [edi + 0x10]
push eax
call fcn.100568a0
mov ebp, dword [edi + 0xc]
add esp, 0xc
mov eax, dword [edi + 4]
mov esi, dword [edi]
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], esi
cmp ebp, 5
jae 0x100015b5
mov eax, dword [edi + 8]
xor ebx, ebx
pop esi
pop ebp
mov dword [eax], ebx
pop ebx
mov byte [edi + 0x20], 1
pop edi
add esp, 0xc
ret
push 0x40
push 0x3000
push ebp
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ebx, eax
test ebx, ebx
je 0x100015e7
push ebp
test esi, esi
je 0x100015dc
push esi
push ebx
call fcn.100568a0
add esp, 0xc
jmp 0x100015f7
push 0
push ebx
call fcn.10056e20
add esp, 0xc
call fcn.10058a7b
mov dword [eax], 0x16
call fcn.10058972
mov eax, esi
mov byte [ebx + ebp], 0xe9
sub eax, ebx
sub eax, 5
mov dword [ebx + ebp + 1], eax
lea eax, [esp + 0x14]
push eax
push 0x40
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
call esi
push ebp
push 0x90
push dword [esp + 0x18]
call fcn.10056e20
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov ecx, dword [esp + 0x18]
sub ecx, eax
sub ecx, 5
mov dword [eax + 1], ecx
lea ecx, [esp + 0x14]
push ecx
push dword [esp + 0x18]
mov byte [eax], 0xe9
push ebp
push eax
call esi
mov eax, dword [edi + 8]
pop esi
pop ebp
mov dword [eax], ebx
mov byte [edi + 0x20], 1
pop ebx
pop edi
add esp, 0xc
ret

Function at 0x10001b00
Capabilities:
Create thread

Disassembly:
cmp dword [esp + 8], 1
jne 0x10001b2e
mov eax, dword [esp + 0xc]
push 0
push 0
push dword [esp + 0xc]
mov dword [0x100b69b8], eax
push 0x10001920
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
ret 0xc
Function at 0x10009230
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
mov ebx, edx
push edi
mov edi, ecx
cmp ebp, 5
jae 0x10009246
pop edi
pop ebp
xor al, al
pop ebx
ret
lea eax, [esp + 0x10]
push eax
push 0x40
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push ebp
push 0x90
push edi
call fcn.10056e20
add esp, 0xc
mov byte [edi], 0xe9
lea eax, [esp + 0x10]
sub ebx, edi
sub ebx, 5
mov dword [edi + 1], ebx
push eax
push dword [esp + 0x14]
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
pop ebp
mov al, 1
pop ebx
ret
Function at 0x1000b460
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x90
mov eax, dword [0x100b3100]
xor eax, esp
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x94]
push ebx
mov ebx, dword [esp + 0xac]
push ebp
push esi
mov ebp, edx
mov dword [esp + 0x24], eax
push edi
mov edi, dword [esp + 0xa8]
mov dword [esp + 0x1c], ecx
mov eax, dword [ebp]
mov dword [esp + 0x20], eax
mov eax, dword [edi]
mov dword [edi], 0
mov dword [ebp], 0
mov dword [esp + 0x24], eax
mov dword [ebx], 0
cmp eax, 5
jae 0x1000b4c6
mov eax, 6
jmp 0x1000b64c
mov ecx, dword [esp + 0xac]
movzx esi, byte [ecx + 4]
movzx eax, byte [ecx + 3]
shl esi, 8
or esi, eax
movzx eax, byte [ecx + 2]
shl esi, 8
or esi, eax
movzx eax, byte [ecx + 1]
shl esi, 8
or esi, eax
mov eax, 0x1000
cmp esi, eax
cmovb esi, eax
mov al, byte [ecx]
cmp al, 0xe1
jb 0x1000b506
mov eax, 4
jmp 0x1000b64c
movzx ecx, al
xor edx, edx
mov eax, ecx
mov dword [esp + 0x14], 9
div dword [esp + 0x14]
mov eax, 0x38e38e39
mov byte [esp + 0x12], dl
mul ecx
mov eax, 0xcccccccd
shr edx, 1
movzx ecx, dl
mul ecx
mov eax, ecx
mov ecx, 5
shr edx, 2
mov dword [esp + 0x18], edx
xor edx, edx
div ecx
push 0
mov al, dl
movzx ecx, al
mov byte [esp + 0x17], al
movzx eax, byte [esp + 0x16]
add ecx, eax
mov eax, 0x300
shl eax, cl
add eax, 0x7c0
push 0x1007caec
mov dword [esp + 0x1c], eax
call fcn.10009530
mov eax, dword [esp + 0x1c]
add eax, eax
push eax
push 0x1007caec
call fcn.10009520
add esp, 0x10
mov dword [esp + 0x38], eax
test eax, eax
jne 0x1000b594
mov eax, 2
jmp 0x1000b64c
mov edx, dword [esp + 0x20]
add eax, 0xd00
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x78], eax
mov al, byte [esp + 0x12]
mov byte [esp + 0x30], al
mov al, byte [esp + 0x13]
mov byte [esp + 0x31], al
mov eax, dword [esp + 0x18]
mov byte [esp + 0x32], al
movzx eax, byte [esp + 0x2b]
push ebx
push ecx
mov byte [esp + 0x3b], al
lea ecx, [esp + 0x38]
mov eax, dword [esp + 0x24]
push edi
push dword [esp + 0x34]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x44], esi
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x84], 0x114
mov dword [edi], eax
call fcn.1000afb0
mov ecx, dword [esp + 0x58]
mov esi, eax
add esp, 0x10
mov dword [ebp], ecx
test esi, esi
jne 0x1000b639
cmp dword [ebx], 3
mov eax, 6
cmove esi, eax
push dword [esp + 0x38]
push 0x1007caec
call fcn.10009530
add esp, 8
mov eax, esi
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10054aad
add esp, 0x90
ret
Function at 0x1000e160
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp byte [0x100b3fb8], 0
jne 0x1000e1a4
mov eax, dword [0x100b3fa4]
test eax, eax
je 0x1000e1a4
push eax
push dword [0x100b3f98]
push 0x100b3fa8
call fcn.100568a0
push dword [0x100b3fa4]
mov edx, dword [0x100b3f9c]
mov ecx, dword [0x100b3f98]
call fcn.10009230
add esp, 0x10
mov byte [0x100b3fb8], 1
mov ecx, 0x100b3fbc
jmp fcn.10001560

Function at 0x1000e1b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
cmp byte [0x100b7da0], 0
jne 0x1000e23e
cmp byte [0x100b6b9f], 0
jne 0x1000e23e
cmp byte [0x100b7da1], 0
jne 0x1000e23e
cmp byte [0x100b7da4], 0
jne 0x1000e23e
cmp byte [0x100b7da3], 0
jne 0x1000e23e
cmp byte [0x100b3fb8], 0
je 0x1000e231
push ebx
mov ebx, dword [0x100b3f98]
lea eax, [esp + 4]
push edi
mov edi, dword [0x100b3fa4]
push eax
push 0x40
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
push 0x100b3fa8
push ebx
call fcn.100568a0
add esp, 0xc
lea eax, [esp + 8]
push eax
push dword [esp + 0xc]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
mov byte [0x100b3fb8], 0
pop ebx
mov ecx, 0x100b3fbc
add esp, 4
jmp fcn.10001660
pop ecx
ret
Function at 0x1000fc40
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
cmp byte [0x100b4168], 0
je 0x1000fc90
push ebx
mov ebx, dword [0x100b4148]
lea eax, [esp + 4]
push edi
mov edi, dword [0x100b4154]
push eax
push 0x40
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
push 0x100b4158
push ebx
call fcn.100568a0
add esp, 0xc
lea eax, [esp + 8]
push eax
push dword [esp + 0xc]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
mov byte [0x100b4168], 0
pop ebx
pop ecx
ret

Function at 0x10010100
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
call fcn.1000e1b0
cmp byte [0x100b41b0], 0
je 0x10010155
push ebx
mov ebx, dword [0x100b4190]
lea eax, [esp + 4]
push edi
mov edi, dword [0x100b419c]
push eax
push 0x40
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
push 0x100b41a0
push ebx
call fcn.100568a0
add esp, 0xc
lea eax, [esp + 8]
push eax
push dword [esp + 0xc]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
mov byte [0x100b41b0], 0
pop ebx
pop ecx
ret

Function at 0x100101d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
cmp byte [0x100b41d4], 0
je 0x10010220
push ebx
mov ebx, dword [0x100b41b4]
lea eax, [esp + 4]
push edi
mov edi, dword [0x100b41c0]
push eax
push 0x40
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
push 0x100b41c4
push ebx
call fcn.100568a0
add esp, 0xc
lea eax, [esp + 8]
push eax
push dword [esp + 0xc]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
mov byte [0x100b41d4], 0
pop ebx
pop ecx
ret

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

Disassembly:
push ecx
cmp byte [0x100b4240], 0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push esi
push edi
je 0x1001035d
mov esi, dword [0x100b422c]
lea eax, [esp + 0xc]
mov edi, dword [0x100b4220]
push eax
push 0x40
push esi
push edi
call ebx
push esi
push 0x100b4230
push edi
call fcn.100568a0
add esp, 0xc
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x10]
push esi
push edi
call ebx
mov byte [0x100b4240], 0
cmp byte [0x100b421c], 0
je 0x100103a0
mov esi, dword [0x100b4208]
lea eax, [esp + 0xc]
mov edi, dword [0x100b41fc]
push eax
push 0x40
push esi
push edi
call ebx
push esi
push 0x100b420c
push edi
call fcn.100568a0
add esp, 0xc
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x10]
push esi
push edi
call ebx
mov byte [0x100b421c], 0
cmp byte [0x100b41f8], 0
je 0x100103e3
mov esi, dword [0x100b41e4]
lea eax, [esp + 0xc]
mov edi, dword [0x100b41d8]
push eax
push 0x40
push esi
push edi
call ebx
push esi
push 0x100b41e8
push edi
call fcn.100568a0
add esp, 0xc
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x10]
push esi
push edi
call ebx
mov byte [0x100b41f8], 0
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x10014e50
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10073f20
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x100b3100]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
push 0x2c
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
push 0
push esi
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
call fcn.10056e20
lea edi, [esi + 0x3c]
add esp, 0xc
mov dword [ebp - 0x14], edi
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov byte [edi], 0
mov dword [edi + 0xc], 0
mov dword [edi + 8], 0
mov dword [edi + 4], 0
mov ecx, dword [edi + 0x14]
test ecx, ecx
jns 0x10014f7c
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
mov dword [ebp - 0x14], ecx
cmp ecx, dword [edi + 0x14]
jle 0x10014f7c
lea eax, [ecx*4]
push eax
call fcn.100589d3
mov edx, dword [edi + 0x18]
add esp, 4
mov dword [ebp - 0x10], eax
test edx, edx
je 0x10014f73
mov ecx, dword [edi + 0x10]
shl ecx, 2
push ecx
push edx
push eax
call fcn.100568a0
push dword [edi + 0x18]
call fcn.1005864b
mov eax, dword [ebp - 0x10]
add esp, 0x10
mov dword [edi + 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [edi + 0x14], eax
mov dword [edi + 0x10], 0
xorps xmm0, xmm0
mov dword [edi + 0x2c], 0
mov eax, esi
mov dword [edi + 0x30], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x34], 0
mov dword [esi + 0x80], 0
mov dword [esi + 0x7c], 0
mov dword [esi + 0x84], 0
movups xmmword [esi + 0x74], xmm0
mov dword [esi + 0x84], 0
mov dword [esi + 0x88], 0
mov dword [esi + 0x8c], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 0
mov dword [esi + 0x98], 0
mov dword [esi + 0x9c], 0
mov dword [esi + 0xa0], 0
mov dword [esi + 0xa4], 0
mov dword [esi + 0x30], 0xffffffff
mov dword [esi + 0x2c], 0xffffffff
mov dword [esi + 0x38], 0
mov dword [esi + 0x34], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10019c90
Capabilities:
Hash data with crc32

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
push edi
mov edi, edx
not ebx
mov esi, ecx
mov eax, ebx
test edi, edi
je 0x10019cee
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x10019cd2
cmp edi, 2
jb 0x10019cd2
cmp byte [esi], cl
jne 0x10019cd2
cmp byte [esi + 1], cl
jne 0x10019cd2
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x100a0680]
jmp 0x10019ca3
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x100a0680]
test edi, edi
jne 0x10019ca3
pop edi
pop esi
not eax
pop ebx
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x10019d1d
cmp cl, 0x23
jne 0x10019d04
cmp byte [esi], cl
jne 0x10019d04
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 + 0x100a0680]
test cl, cl
jne 0x10019cf5
pop edi
pop esi
not eax
pop ebx
ret

Function at 0x10019e30
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
test ebx, ebx
je 0x10019e47
mov dword [ebx], 0
mov edx, 0x100a5eb0
call fcn.10019d30
mov esi, eax
test esi, esi
je 0x10019f04
push esi
call fcn.1005e28d
add esp, 4
mov dword [esp + 0xc], eax
cmp eax, 0xffffffff
je 0x10019efb
push 2
push 0
push esi
call fcn.1005ebaa
add esp, 0xc
test eax, eax
jne 0x10019efb
push esi
call fcn.1005e28d
mov edi, eax
add esp, 4
cmp edi, 0xffffffff
je 0x10019efb
push 0
push dword [esp + 0x10]
push esi
call fcn.1005ebaa
add esp, 0xc
test eax, eax
jne 0x10019efb
push edi
call fcn.100589d3
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
je 0x10019efb
push esi
push edi
push 1
push eax
call fcn.1005f7a9
add esp, 0x10
push esi
cmp eax, edi
je 0x10019ee2
call fcn.1005e891
push dword [esp + 0x10]
call fcn.1005864b
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.1005e891
add esp, 4
test ebx, ebx
je 0x10019ef0
mov dword [ebx], edi
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call fcn.1005e891
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1001a070
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x18
push ebx
mov ebx, ecx
lea eax, [edx - 1]
push ebp
mov ebp, ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebp
lea eax, [ebx + eax*2]
mov dword [esp + 0x1c], eax
cmp ebx, eax
mov eax, dword [esp + 0x24]
jae 0x1001a243
push esi
mov esi, dword [esp + 0x2c]
push edi
nop dword [eax]
test esi, esi
je 0x1001a0ac
cmp eax, esi
jae 0x1001a23d
mov cl, byte [eax]
mov byte [esp + 0x12], cl
test cl, cl
je 0x1001a23d
movzx ecx, cl
xor ebx, ebx
shr ecx, 3
mov edx, esi
movsx ecx, byte [ecx + 0x100a5f38]
test ecx, ecx
mov dword [esp + 0x18], ecx
sete bl
add ebx, ecx
test esi, esi
jne 0x1001a0dd
lea edx, [ebx + eax]
cmp eax, edx
lea esi, [eax + 1]
sbb cl, cl
and cl, byte [esp + 0x12]
mov byte [esp + 0x13], cl
cmp esi, edx
jae 0x1001a0f8
mov ch, byte [esi]
mov byte [esp + 0x11], ch
jmp 0x1001a0fd
mov byte [esp + 0x11], 0
lea esi, [eax + 2]
cmp esi, edx
jae 0x1001a10c
mov ch, byte [esi]
mov byte [esp + 0x10], ch
jmp 0x1001a111
mov byte [esp + 0x10], 0
lea esi, [eax + 3]
cmp esi, edx
jae 0x1001a11c
mov ch, byte [esi]
jmp 0x1001a11e
xor ch, ch
mov ebp, dword [esp + 0x18]
movzx esi, byte [esp + 0x11]
movzx edx, byte [esp + 0x10]
movzx edi, ch
mov ebp, dword [ebp*4 + 0x100a5f58]
mov byte [esp + 0x12], ch
movzx ecx, cl
and ebp, ecx
mov ecx, esi
and ecx, 0x3f
mov dword [esp + 0x14], ebp
shl dword [esp + 0x14], 6
and esi, 0xc0
or dword [esp + 0x14], ecx
mov ecx, edx
shl dword [esp + 0x14], 6
and ecx, 0x3f
or dword [esp + 0x14], ecx
and edx, 0xc0
shl dword [esp + 0x14], 6
mov ecx, edi
mov ebp, dword [esp + 0x14]
and ecx, 0x3f
or ebp, ecx
shr edi, 2
mov ecx, dword [esp + 0x18]
or edi, edx
shr edi, 2
or edi, esi
shr edi, 2
mov ecx, dword [ecx*4 + 0x100a5f24]
shr ebp, cl
mov esi, ebp
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x18]
cmp esi, dword [ebp*4 + 0x100a5f6c]
sbb ecx, ecx
xor edx, edx
and ecx, 0x40
or edi, ecx
mov ecx, esi
and ecx, 0xfffff800
cmp ecx, 0xd800
mov ecx, 0x80
cmove edx, ecx
mov ecx, 0xffff
or edi, edx
cmp ecx, esi
sbb ecx, ecx
and ecx, 0x100
or edi, ecx
mov ecx, dword [ebp*4 + 0x100a5f80]
mov ebp, dword [esp + 0x20]
xor edi, 0x2a
sar edi, cl
test edi, edi
je 0x1001a222
xor edx, edx
mov esi, 0xfffd
cmp byte [esp + 0x12], dl
setne dl
xor ecx, ecx
cmp byte [esp + 0x10], cl
setne cl
add edx, ecx
xor ecx, ecx
cmp byte [esp + 0x11], cl
setne cl
add edx, ecx
xor ecx, ecx
cmp byte [esp + 0x13], cl
setne cl
add edx, ecx
cmp ebx, edx
cmovl edx, ebx
mov ebx, edx
mov word [ebp], si
add eax, ebx
mov esi, dword [esp + 0x30]
add ebp, 2
mov dword [esp + 0x20], ebp
cmp ebp, dword [esp + 0x24]
jb 0x1001a0a0
mov ebx, dword [esp + 0x1c]
pop edi
pop esi
xor ecx, ecx
mov word [ebp], cx
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x1001a253
mov dword [ecx], eax
sub ebp, ebx
sar ebp, 1
mov eax, ebp
pop ebp
pop ebx
add esp, 0x18
ret