joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401ed0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x447cd9
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x46200c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
mov dword [esi], 0
call fcn.00401c00
mov ecx, eax
test ecx, ecx
jne 0x401f24
push 0x80004005
call fcn.00401ad0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], 0
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, 0x104
mov dword [ebp - 0x10], 1
or ecx, eax
jge 0x401f5c
push 0x104
mov ecx, esi
call fcn.0040b4b0
push 0
push 0x23
push dword [esi]
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov eax, dword [esi]
test eax, eax
jne 0x401f74
xor ecx, ecx
jmp 0x401f86
push dword [eax - 8]
push eax
call fcn.0041b84e
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x401faa
mov eax, dword [esi]
cmp ecx, dword [eax - 8]
jg 0x401faa
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [esi]
mov word [eax + ecx*2], dx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00401ad0
int3

Function at 0x402090
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x447d08
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x46200c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
mov edi, dword [ebp + 0x10]
xor ecx, ecx
mov eax, 0x104
mov dword [ebp - 0x1c], 0
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00414089
mov esi, eax
add esp, 4
mov dword [ebp - 0x14], esi
push str.C:config.ini
push 0x104
push esi
test edi, edi
mov dword [ebp - 4], 0
mov eax, 0x458560
cmovne eax, edi
push eax
push ebx
push str.config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ebx, dword [ebp - 0x18]
xor ecx, ecx
push eax
push esi
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
mov word [ebx], cx
mov ecx, ebx
call fcn.0040ac00
test esi, esi
je 0x402145
push esi
call fcn.00414084
add esp, 4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00414073
mov esp, ebp
pop ebp
ret
Function at 0x402270
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x447d78
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x46200c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
call fcn.00401ff0
push 0x15
push ecx
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
call fcn.0040a9a0
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x4022d7
push eax
push dword [ebp - 0x14]
push eax
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov eax, dword [ebp - 0x14]
or edi, 0xffffffff
mov esi, dword [ebx]
sub esi, 0x10
lea edx, [eax - 0x10]
cmp edx, esi
je 0x40232d
cmp dword [esi + 0xc], 0
jl 0x40231f
mov ecx, dword [edx]
cmp ecx, dword [esi]
jne 0x40231f
mov ecx, edx
call fcn.0040b450
mov dword [ebp - 0x18], eax
lea edx, [esi + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x402318
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x18]
add eax, 0x10
mov dword [ebx], eax
jmp 0x40232a
push dword [eax - 0xc]
mov ecx, ebx
push eax
call fcn.0040b520
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
lea edx, [eax - 0x10]
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x402349
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00414073
mov esp, ebp
pop ebp
ret 4

Function at 0x402730
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
push esi
mov dword [esp + 0x20], edx
xorps xmm0, xmm0
push edi
xor edx, edx
mov dword [esp + 0x10], ecx
xor edi, edi
movlpd qword [esp + 0x18], xmm0
cmp dword [ebp + 0xc], edx
jb 0x4027f1
mov esi, dword [ebp + 8]
ja 0x402767
test esi, esi
je 0x4027f1
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x18]
inc edi
and edi, 0x800000ff
jns 0x402784
dec edi
or edi, 0xffffff00
inc edi
mov bl, byte [edi + ecx]
movzx ecx, bl
add edx, ecx
and edx, 0x800000ff
jns 0x40279c
dec edx
or edx, 0xffffff00
inc edx
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x18], edx
movzx ecx, byte [edx + ecx]
mov byte [edi + esi], cl
mov ecx, esi
mov byte [edx + ecx], bl
movzx edx, byte [edi + ecx]
movzx ecx, bl
add edx, ecx
movzx ecx, dl
mov edx, esi
mov esi, dword [ebp + 8]
movzx ecx, byte [ecx + edx]
mov edx, dword [esp + 0x24]
xor byte [eax + edx], cl
add eax, 1
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
adc ecx, 0
cmp ecx, dword [ebp + 0xc]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x10]
jb 0x402773
ja 0x4027f1
cmp eax, esi
jb 0x402773
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x402800
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x46200c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x214], 0
mov esi, ecx
push 0
push eax
mov dword [ebp - 0x210], esi
call fcn.00417760
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp word [ebp - 0x20c], ax
jne 0x40286e
xor ecx, ecx
jmp 0x402886
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x402877
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.0040ac00
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00414073
mov esp, ebp
pop ebp
ret

Function at 0x402970
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x46200c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x214], 0
mov esi, ecx
push 0
push eax
mov dword [ebp - 0x210], esi
call fcn.00417760
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0
push 0x23
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp word [ebp - 0x20c], ax
jne 0x4029df
xor ecx, ecx
jmp 0x4029ff
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4029f0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.0040ac00
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00414073
mov esp, ebp
pop ebp
ret
Function at 0x403410
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x46200c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
xor esi, esi
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x403527
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x403527
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], esi
xorps xmm0, xmm0
mov dword [ebp - 0x210], esi
push eax
movq qword [ebp - 0x218], xmm0
call dword [sym.imp.RPCRT4.dll_UuidCreate]
test eax, eax
jne 0x403515
lea eax, [ebp - 0x220]
mov dword [ebp - 0x220], esi
push eax
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.RPCRT4.dll_UuidToStringW]
test eax, eax
jne 0x403515
push 0x208
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00417760
push edi
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.00418907
add esp, 0x18
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push dword [ebp - 0x220]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x403508
push 4
push esi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
mov ecx, 1
cmovne esi, ecx
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.RPCRT4.dll_RpcStringFreeW]
pop edi
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00414073
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
xor ecx, ebp
pop esi
call fcn.00414073
mov esp, ebp
pop ebp
ret

Function at 0x4035c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x46200c]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.00417760
add esp, 0xc
lea eax, [ebp - 0x414]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00417760
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.00418907
add esp, 0x18
lea eax, [ebp - 0x20c]
push str.driversBootRepair.sys
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov ecx, str.BootRepair
call fcn.00403540
lea eax, [ebp - 0x418]
mov dword [ebp - 0x418], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
cmp dword [ebp - 0x418], 0
mov dword [ebp - 0x41c], 0
je 0x403683
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.KERNEL32.dll_Wow64DisableWow64FsRedirection]
lea ecx, [ebp - 0x20c]
call fcn.00403410
cmp dword [ebp - 0x418], 0
je 0x4036a3
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_Wow64RevertWow64FsRedirection]
mov ecx, str.LenovoDRS
call fcn.00403540
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00414073
mov esp, ebp
pop ebp
ret
Function at 0x40bfc0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x448d5a
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x46200c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x28], esi
mov edi, dword [ebp + 8]
push 0
mov dword [ebp - 0x2c], esi
call fcn.00442512
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [ebp - 4], 6
test edi, edi
jne 0x40c080
lea eax, [ebp - 0x20]
mov dword [ebp - 0x24], vtable.std::exception.0
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], str.bad_locale_name
xorps xmm0, xmm0
mov byte [ebp - 0x14], 1
push eax
movq qword [ebp - 0x20], xmm0
call fcn.004178ba
add esp, 8
mov dword [ebp - 0x24], vtable.std::runtime_error.0
lea eax, [ebp - 0x24]
push 0x4607e8
push eax
call fcn.0041793c
push edi
push esi
call fcn.0044285a
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00414073
mov esp, ebp
pop ebp
ret 4

Function at 0x4105b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x448e46
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x46200c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.004144eb
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.00442757
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4225ed
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004222ad

Function at 0x42ca04
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x10031470
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x100314c6
mov eax, dword [esi + 4]
push 0x1c
push 1
push esi
mov eax, dword [eax]
call eax
add esp, 0xc
mov dword [esi + 0x190], eax
mov ecx, esi
mov dword [eax], 0x10031d80
mov dword [eax + 4], 0x10031ee0
mov byte [eax + 8], 0
call fcn.10031bb0
cmp byte [esi + 0x40], 0
je 0x100314bf
mov dword [esi + 0x14], 0xcf
mov al, 1
pop esi
pop ebp
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
push edi
cmp eax, 0xcb
jne 0x1003154b
mov eax, dword [esi + 0x1a0]
cmp byte [eax + 0x10], 0
je 0x10031538
nop dword [eax]
mov eax, dword [esi + 8]
test eax, eax
je 0x100314ef
mov eax, dword [eax]
push esi
call eax
add esp, 4
mov eax, dword [esi + 0x1a0]
push esi
mov eax, dword [eax]
call eax
add esp, 4
test eax, eax
je 0x10031532
cmp eax, 2
je 0x10031538
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x100314e0
cmp eax, 3
je 0x10031517
cmp eax, 1
jne 0x100314e0
inc dword [ecx + 4]
mov edx, dword [esi + 8]
mov edi, dword [edx + 8]
cmp dword [ecx + 4], edi
jl 0x100314e0
mov eax, dword [esi + 0x120]
add eax, edi
mov dword [edx + 8], eax
jmp 0x100314e0
pop edi
xor al, al
pop esi
pop ebp
ret
mov eax, dword [esi + 0x7c]
mov ecx, esi
pop edi
mov dword [esi + 0x84], eax
pop esi
pop ebp
jmp fcn.10031580
cmp eax, 0xcc
je 0x1003156d
mov eax, dword [esi]
push esi
mov dword [eax + 0x14], 0x15
mov ecx, dword [esi]
mov eax, dword [esi + 0x14]
mov dword [ecx + 0x18], eax
mov eax, dword [esi]
mov eax, dword [eax]
call eax
add esp, 4
pop edi
mov ecx, esi
pop esi
pop ebp
jmp fcn.10031580

Function at 0x10031580
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x14], 0xcc
je 0x100315aa
mov eax, dword [esi + 0x190]
push esi
mov eax, dword [eax]
call eax
add esp, 4
mov dword [esi + 0x78], 0
mov dword [esi + 0x14], 0xcc
mov eax, dword [esi + 0x190]
cmp byte [eax + 8], 0
je 0x10031632
lea ebx, [esi + 0x78]
nop dword [eax]
mov eax, dword [ebx]
cmp eax, dword [esi + 0x60]
jae 0x10031606
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x100315e5
mov dword [ecx + 4], eax
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0x60]
push esi
mov dword [ecx + 8], eax
mov eax, dword [esi + 8]
mov eax, dword [eax]
call eax
add esp, 4
mov eax, dword [esi + 0x194]
mov edi, dword [ebx]
push 0
push ebx
mov eax, dword [eax + 4]
push 0
push esi
call eax
mov eax, dword [ebx]
add esp, 0x10
cmp eax, edi
je 0x10031648
cmp eax, dword [esi + 0x60]
jb 0x100315c7
mov eax, dword [esi + 0x190]
push esi
mov eax, dword [eax + 4]
call eax
mov eax, dword [esi + 0x190]
push esi
mov eax, dword [eax]
call eax
mov dword [ebx], 0
add esp, 8
mov eax, dword [esi + 0x190]
cmp byte [eax + 8], 0
jne 0x100315c0
xor eax, eax
cmp byte [esi + 0x41], al
pop edi
setne al
add eax, 0xcd
mov dword [esi + 0x14], eax
mov al, 1
pop esi
pop ebx
ret
pop edi
pop esi
xor al, al
pop ebx
ret
Function at 0x10036ce0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x18], edi
cmp dword [edi + 0x4c], 1
mov esi, dword [edi + 0x1b8]
mov dword [ebp - 0x1c], esi
jne 0x10036d08
mov eax, 0x1fe
mov byte [esi + 0x1c], 1
jmp 0x10036d0d
xor eax, eax
mov byte [esi + 0x1c], al
push dword [edi + 0x64]
mov ecx, dword [edi + 4]
mov dword [ebp - 4], eax
add eax, 0x100
push eax
push 1
mov eax, dword [ecx + 8]
push edi
call eax
xor ebx, ebx
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x14]
add esp, 0x10
mov dword [ebp - 8], ebx
cmp dword [edi + 0x64], ebx
jle 0x10036e19
nop dword [eax + eax]
mov ecx, dword [esi + ebx*4 + 0x20]
cdq
idiv ecx
cmp dword [ebp - 4], 0
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], eax
je 0x10036d5d
mov eax, dword [esi + 0x18]
add dword [eax + ebx*4], 0xff
mov eax, dword [esi + 0x18]
mov edi, dword [eax + ebx*4]
lea eax, [ecx + 0xfe]
lea ecx, [ecx*2 - 2]
cdq
idiv ecx
xor ebx, ebx
mov dword [ebp - 0x14], edi
mov edx, eax
xor esi, esi
nop dword [eax]
cmp esi, edx
jle 0x10036db5
mov ecx, dword [ebp - 0x10]
imul eax, ebx, 0x1fe
lea edi, [ecx*2 - 2]
add ecx, 0xfe
add ecx, eax
nop dword [eax]
add ecx, 0x1fe
inc ebx
mov eax, ecx
cdq
idiv edi
mov edx, eax
cmp esi, edx
jg 0x10036da0
mov edi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
movzx eax, bl
movzx ecx, cl
imul ecx, eax
mov byte [esi + edi], cl
inc esi
cmp esi, 0xff
jle 0x10036d80
cmp dword [ebp - 4], 0
je 0x10036e00
mov ecx, 1
lea edx, [edi - 1]
nop dword [eax + eax]
movzx eax, byte [edi]
lea edx, [edx - 1]
mov byte [edx + 1], al
movzx eax, byte [edi + 0xff]
mov byte [edi + ecx + 0xff], al
inc ecx
cmp ecx, 0xff
jle 0x10036de0
mov eax, dword [ebp - 0x18]
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x1c]
inc ebx
mov dword [ebp - 8], ebx
cmp ebx, dword [eax + 0x64]
mov eax, dword [ebp - 0xc]
jl 0x10036d40
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10087da0
Capabilities:
Hash data with crc32

Disassembly:
push esi
xor edx, edx
lea esi, [ecx + 0xa48]
nop dword [eax]
mov eax, edx
shr eax, 1
test dl, 1
je 0x10087dbe
xor eax, 0xedb88320
test al, 1
je 0x10087dcb
shr eax, 1
xor eax, 0xedb88320
jmp 0x10087dcd
shr eax, 1
test al, 1
je 0x10087dda
shr eax, 1
xor eax, 0xedb88320
jmp 0x10087ddc
shr eax, 1
test al, 1
je 0x10087de9
shr eax, 1
xor eax, 0xedb88320
jmp 0x10087deb
shr eax, 1
test al, 1
je 0x10087df8
shr eax, 1
xor eax, 0xedb88320
jmp 0x10087dfa
shr eax, 1
test al, 1
je 0x10087e07
shr eax, 1
xor eax, 0xedb88320
jmp 0x10087e09
shr eax, 1
test al, 1
je 0x10087e16
shr eax, 1
xor eax, 0xedb88320
jmp 0x10087e18
shr eax, 1
test al, 1
je 0x10087e25
shr eax, 1
xor eax, 0xedb88320
jmp 0x10087e27
shr eax, 1
mov dword [esi], eax
inc edx
add esi, 4
cmp edx, 0x100
jl 0x10087db0
mov byte [ecx + 0xe48], 1
pop esi
ret

Function at 0x10087e50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, ecx
mov esi, edx
cmp byte [edi + 0xe48], 0
jne 0x10087e67
call fcn.10087da0
mov edx, dword [ebp + 0xc]
xor ecx, ecx
test edx, edx
jle 0x10087e8d
push ebx
mov ebx, dword [ebp + 8]
movzx eax, byte [ecx + ebx]
inc ecx
xor eax, esi
shr esi, 8
movzx eax, al
xor esi, dword [edi + eax*4 + 0xa48]
cmp ecx, edx
jl 0x10087e74
pop ebx
pop edi
mov eax, esi
pop esi
pop ebp
ret

Function at 0x10087ea0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
or esi, 0xffffffff
mov ebx, edx
cmp byte [edi + 0xe48], 0
jne 0x10087ebb
call fcn.10087da0
mov edx, dword [ebp + 8]
xor ecx, ecx
test edx, edx
jle 0x10087edc
movzx eax, byte [ecx + ebx]
inc ecx
xor eax, esi
shr esi, 8
movzx eax, al
xor esi, dword [edi + eax*4 + 0xa48]
cmp ecx, edx
jl 0x10087ec4
not esi
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret
Function at 0x10098570
Capabilities:
Terminate process

Disassembly:
test edx, edx
mov eax, str.undefined
push esi
cmovne eax, edx
mov esi, ecx
push eax
push str.libpng_error:__s
push 2
call fcn.10139778
add esp, 4
push eax
call fcn.10001240
add esp, 0xc
push 0x101619b0
push 2
call fcn.10139778
add esp, 4
push eax
call fcn.10001240
add esp, 8
test esi, esi
je 0x100985c8
mov eax, dword [esi + 0x40]
test eax, eax
je 0x100985c8
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x100985c8
push 1
push ecx
call eax
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x100a8ab3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x1019c020]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
add edx, 0xfffffffd
mov esi, ecx
push edi
cmp edx, 9
ja case.0x100a89b1.6
jmp dword [edx*4 + 0x100a8b48]
call fcn.100a88b0
movzx eax, ax
jmp 0x100a8b2e
call fcn.100a8910
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x101923d0]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1012b4a2
mov esp, ebp
pop ebp
ret
call fcn.100a8910
mov ecx, esi
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x101923d0]
movsd qword [ebp - 0x10], xmm0
call fcn.100a8910
movsd xmm0, qword [ebp - 0x10]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
addsd xmm1, qword [eax*8 + 0x101923d0]
divsd xmm0, xmm1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1012b4a2
mov esp, ebp
pop ebp
ret
call fcn.100a88b0
cwde
jmp 0x100a8b2e
call fcn.100a8910
jmp 0x100a8b2e
call fcn.100a8910
mov ecx, esi
movd xmm0, eax
cvtdq2pd xmm0, xmm0
movsd qword [ebp - 0x10], xmm0
call fcn.100a8910
movsd xmm0, qword [ebp - 0x10]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
divsd xmm0, xmm1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1012b4a2
mov esp, ebp
pop ebp
ret
call fcn.100a8910
mov dword [ebp - 0xc], eax
movss xmm0, dword [ebp - 0xc]
cvtps2pd xmm0, xmm0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1012b4a2
mov esp, ebp
pop ebp
ret
push 0x1234
call dword [sym.imp.WS2_32.dll_ntohs]
xor ecx, ecx
mov edx, 0x1234
cmp ax, dx
mov edx, 0x4949
sete cl
xor eax, eax
cmp word [esi + 0x6274], dx
mov edx, 7
sete al
xor ebx, ebx
cmp eax, ecx
cmove ebx, edx
xor edi, edi
nop word [eax + eax]
mov eax, dword [esi]
push dword [esi + 4]
mov eax, dword [eax + 0x1c]
call eax
mov ecx, edi
add esp, 4
xor ecx, ebx
inc edi
mov byte [ebp + ecx - 0x10], al
cmp edi, 8
jl 0x100a8af0
movsd xmm0, qword [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1012b4a2
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
push dword [esi + 4]
mov eax, dword [eax + 0x1c]
call eax
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
movd xmm0, eax
xor ecx, ebp
pop esi
cvtdq2pd xmm0, xmm0
pop ebx
call fcn.1012b4a2
mov esp, ebp
pop ebp
ret