joyce8/EMBER2024-capa huggingface dataset:
Function at 0x419630
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push esi
push edi
mov dword [ecx + 0x1384], 0xffffffff
lea edi, [ecx + 8]
mov dword [ecx + 4], edx
mov esi, 1
nop dword [eax]
mov eax, edx
lea edi, [edi + 4]
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, esi
inc esi
mov dword [edi - 4], edx
cmp esi, 0x270
jl 0x419650
pop edi
mov dword [ecx], 0x270
mov eax, ecx
pop esi
pop ebp
ret 0xc

Function at 0x41bbc0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x529256
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x58d00c]
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.004c7a01
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.004c995f
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 0x422ad0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52c4a8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x58d00c]
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, ecx
cmp dword [ebx + 0x38], 0
je 0x422c0d
cmp byte [ebx + 0x3e], 0
je 0x422c0d
mov eax, dword [ebx]
push 0xffff
call dword [eax + 0xc]
movzx eax, ax
mov ecx, 0xffff
cmp cx, ax
sete al
test al, al
je 0x422b34
xor al, al
jmp 0x422c0f
push 0
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.00439e70
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
nop dword [eax]
cmp ecx, 0x10
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x38]
lea edi, [ebp - 0x28]
cmovae edi, dword [ebp - 0x28]
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x422b9e
sub eax, 1
je 0x422ba2
mov ecx, dword [ebp - 0x14]
sub eax, 2
je 0x422bf5
xor bl, bl
jmp 0x422bf7
mov byte [ebx + 0x3e], 0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 0x10
mov esi, dword [ebp - 0x2c]
cmovae eax, edx
sub esi, eax
je 0x422bd7
push dword [ebx + 0x4c]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
push 1
push eax
call fcn.004f3c57
mov ecx, dword [ebp - 0x14]
add esp, 0x10
cmp esi, eax
jne 0x422b9a
cmp byte [ebx + 0x3e], 0
je 0x422bf5
test esi, esi
jne 0x422b60
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.00439d40
jmp 0x422b59
mov bl, 1
cmp ecx, 0x10
jb 0x422c09
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.0043a560
mov al, bl
jmp 0x422c0f
mov al, 1
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.004c79eb
mov esp, ebp
pop ebp
ret

Function at 0x432920
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
lea eax, [ecx + 8]
mov esi, 0x270
nop dword [eax]
mov edx, dword [eax - 4]
lea eax, [eax + 4]
xor edx, dword [eax - 4]
and edx, 0x7fffffff
xor edx, dword [eax - 8]
mov ecx, edx
and cl, 1
movzx ecx, cl
neg ecx
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [eax + 0x62c]
xor ecx, edx
mov dword [eax + 0x9b8], ecx
sub esi, 1
jne 0x432930
pop esi
ret
Function at 0x432970
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebx
mov ebx, ecx
mov ecx, 0xe3
push esi
push edi
lea edi, [ebx + 0x9c4]
mov edx, dword [edi + 4]
lea edi, [edi + 4]
xor edx, dword [edi - 4]
and edx, 0x7fffffff
xor edx, dword [edi - 4]
mov eax, edx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr edx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x630]
xor eax, edx
mov dword [edi - 0x9c4], eax
sub ecx, 1
jne 0x432980
lea esi, [ebx + 0xd50]
mov edi, 0x18c
mov ecx, dword [esi + 4]
lea esi, [esi + 4]
xor ecx, dword [esi - 4]
and ecx, 0x7fffffff
xor ecx, dword [esi - 4]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [esi - 0xd50]
xor eax, ecx
mov dword [esi - 0x9c4], eax
sub edi, 1
jne 0x4329c2
mov ecx, dword [ebx + 0x1380]
xor ecx, dword [ebx + 4]
and ecx, 0x7fffffff
xor ecx, dword [ebx + 0x1380]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [ebx + 0x634]
xor eax, ecx
mov dword [ebx + 0x9c0], eax
mov dword [ebx], edi
pop edi
pop esi
pop ebx
ret

Function at 0x4347b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x529256
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x58d00c]
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_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.004c7a01
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.004c995f
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 0x43a860
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52e5f6
mov eax, dword fs:[0]
push eax
sub esp, 0x84
push ebx
push esi
push edi
mov eax, dword [0x58d00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 0
call esi
or eax, 0x8001
push eax
call esi
mov ebx, 3
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
test esi, esi
je 0x43a8d2
push str.__verification
push esi
call fcn.004e5880
add esp, 8
test eax, eax
jne 0x43a8de
push 0x550fd4
push esi
call fcn.004e5880
add esp, 8
test eax, eax
jne 0x43a8de
mov ecx, fcn.00408610
call fcn.00407340
mov ebx, eax
lea ecx, [ebp - 0x1c]
call fcn.0043a650
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push esi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
lea ecx, [ebp - 0x90]
push esi
push dword [ebp - 0x10]
push dword [ebp + 8]
call fcn.00412b20
mov ecx, eax
call fcn.00412e30
lea ecx, [ebp - 0x90]
mov edi, eax
call fcn.00412cd0
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x43a96b
push dword [ebp - 0x18]
push eax
call fcn.0043aa10
mov ecx, dword [ebp - 0x14]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x1c]
sub ecx, esi
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push esi
call fcn.0043aa50
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x43bbf0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52e924
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x58d00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x44], edi
mov dword [edi], vtable.boost::detail::thread_data_base.0
mov dword [edi + 4], 0
mov dword [ebp - 0x48], edi
mov dword [edi + 8], 0
mov dword [ebp - 4], 0
lea esi, [edi + 0x14]
mov dword [edi + 0xc], 0
mov ecx, esi
mov dword [edi + 0x10], 0
mov dword [ebp - 0x44], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00444210
mov dword [esi], eax
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
push 0
push 0
push 1
push 0
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_CreateEventA]
test eax, eax
jne 0x43bcca
push str.boost::thread_resource_error
push 0xb
lea ecx, [ebp - 0x40]
call fcn.0043ba10
mov dword [ebp - 0x40], vtable.boost::thread_resource_error.0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 4
push eax
call fcn.004443b0
mov dword [edi + 0x34], eax
mov eax, edi
mov byte [edi + 0x38], 1
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.004c79eb
mov esp, ebp
pop ebp
ret
Function at 0x43d6e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52ecbc
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x58d00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [ebp - 4], 0
mov dword [edi], vtable.boost::detail::shared_state_base.0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0x100
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 dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
lea esi, [edi + 0x48]
mov byte [ebp - 4], 3
push 0
push 0
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0041c9b0
mov dword [esi], eax
mov eax, edi
mov dword [edi + 0x50], 0
mov dword [edi + 0x70], 0
mov dword [edi + 0x74], 0
mov dword [edi + 0x78], 0
mov dword [edi + 0x7c], 0
mov dword [edi + 0x80], 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 0x442d60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52c4a8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x58d00c]
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, ecx
cmp dword [ebx + 0x38], 0
je 0x442e8e
cmp byte [ebx + 0x3d], 0
je 0x442e8e
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
sete al
test al, al
je 0x442db9
xor al, al
jmp 0x442e90
push 0
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.00439e70
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x38]
lea edi, [ebp - 0x28]
cmovae edi, dword [ebp - 0x28]
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x442e1f
sub eax, 1
je 0x442e23
mov ecx, dword [ebp - 0x14]
sub eax, 2
je 0x442e76
xor bl, bl
jmp 0x442e78
mov byte [ebx + 0x3d], 0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 0x10
mov esi, dword [ebp - 0x2c]
cmovae eax, edx
sub esi, eax
je 0x442e58
push dword [ebx + 0x4c]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
push 1
push eax
call fcn.004f3c57
mov ecx, dword [ebp - 0x14]
add esp, 0x10
cmp esi, eax
jne 0x442e1b
cmp byte [ebx + 0x3d], 0
je 0x442e76
test esi, esi
jne 0x442de1
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.00439d40
jmp 0x442dde
mov bl, 1
cmp ecx, 0x10
jb 0x442e8a
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.0043a560
mov al, bl
jmp 0x442e90
mov al, 1
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.004c79eb
mov esp, ebp
pop ebp
ret
Function at 0x45ba50
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2dc
mov eax, dword [0x58d00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x2dc], edx
push esi
push 0
push 0x1fffff
mov dword [ebp - 0x2d4], esi
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x45bb1b
test ebx, ebx
je 0x45bb1b
push ebx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x45bbe1
lea eax, [ebp - 0x2d0]
mov dword [ebp - 0x2d0], 0x10001
push eax
push ebx
mov dword [ebp - 0x2d8], 0
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x45bbcf
mov eax, dword [ebp + 8]
push edi
mov edi, dword [ebp - 0x218]
xor edx, edx
test eax, eax
jle 0x45bafe
mov ecx, dword [ebp - 0x2dc]
mov esi, dword [ecx]
cmp edi, esi
jb 0x45baf6
mov eax, dword [ecx + 8]
add eax, esi
cmp edi, eax
jb 0x45bb2b
mov eax, dword [ebp + 8]
inc edx
add ecx, 0x70
cmp edx, eax
jl 0x45bae4
mov eax, dword [0x5c0c00]
test eax, eax
je 0x45bb18
push edi
push dword [ebp - 0x2d4]
push str.mhooks:_SuspendOneThread:_Successfully_suspended_thread__d___IP_is_at__p
call eax
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c79eb
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 0x2d8]
mov eax, dword [0x5c0c00]
cmp esi, 3
jge 0x45bb99
test eax, eax
je 0x45bb50
push edi
push dword [ebp - 0x2d4]
push str.mhooks:_SuspendOneThread:_suspended_thread__d___IP_is_at__p___IS_COLLIDING_WITH_CODE
call eax
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
lea eax, [ebp - 0x2d0]
inc esi
push eax
push ebx
mov dword [ebp - 0x2d8], esi
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
mov eax, dword [ebp + 8]
jne 0x45bad2
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c79eb
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x45bbae
push edi
push dword [ebp - 0x2d4]
push str.mhooks:_SuspendOneThread:_suspended_thread__d___IP_is_at__p___IS_COLLIDING_WITH_CODE___CANT_FIX
call eax
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c79eb
mov esp, ebp
pop ebp
ret
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c79eb
mov esp, ebp
pop ebp
ret
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.004c79eb
mov esp, ebp
pop ebp
ret
Function at 0x45bc00
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
push 0xf
mov dword [ebp - 4], eax
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
xor esi, esi
cmp dword [0x5bfe20], esi
jbe 0x45bc56
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [0x5bfe18]
push dword [eax + esi*4]
call ebx
mov eax, dword [0x5bfe18]
push dword [eax + esi*4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [0x5bfe20]
jb 0x45bc34
pop ebx
push dword [0x5bfe18]
call fcn.004f4033
add esp, 4
mov dword [0x5bfe18], 0
mov dword [0x5bfe20], 0
push dword [ebp - 4]
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x46b780
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x531ba2
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x58d00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x1c], edi
push edi
call fcn.00471bc0
mov dword [ebp - 4], 0
lea esi, [edi + 0x8c]
mov ecx, dword [ebp + 8]
mov dword [edi], vtable.cereal::XMLInputArchive.0
mov word [ebp - 0x14], 1
push dword [ebp - 0x14]
mov eax, dword [ecx]
push 0
mov eax, dword [eax + 4]
mov eax, dword [eax + ecx + 0x38]
test eax, eax
mov ecx, esi
sete byte [ebp - 0x20]
push dword [ebp - 0x20]
push eax
call fcn.004756c0
lea ebx, [edi + 0x98]
lea ecx, [ebx + 0x3c]
mov dword [ebx], 0
mov eax, ecx
mov dword [ebx + 4], 0
neg eax
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
lea edx, [ebx + 0x1003c]
mov dword [ebx + 0x18], 0
and eax, 3
mov dword [ebx + 0x20], 0
add eax, ecx
mov dword [ebp - 0x14], ebx
mov dword [edx], 0
mov dword [ebx + 0x10040], 0
mov dword [ebx + 0x30], ecx
mov dword [ebx + 0x34], eax
mov dword [ebx + 0x38], edx
add edi, 0x100dc
mov byte [ebp - 4], 2
mov dword [ebp + 8], edi
push 8
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
call fcn.004c7a01
add esp, 4
mov dword [edi], eax
test eax, eax
je 0x46b89a
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [edi]
mov dword [eax], edi
mov byte [ebp - 4], 4
lea ecx, [ebp + 0xb]
mov eax, dword [esi + 4]
mov byte [ebp + 0xb], 0
cmp ecx, eax
jae 0x46b8dd
mov ecx, dword [esi]
lea edx, [ebp + 0xb]
cmp ecx, edx
ja 0x46b8dd
mov ebx, edx
sub ebx, ecx
cmp eax, dword [esi + 8]
jne 0x46b8ca
push ecx
mov ecx, esi
call fcn.00473350
mov ecx, dword [esi + 4]
mov eax, dword [esi]
test ecx, ecx
je 0x46b8d8
mov al, byte [eax + ebx]
mov byte [ecx], al
mov ebx, dword [ebp - 0x14]
jmp 0x46b8f4
cmp eax, dword [esi + 8]
jne 0x46b8ea
push ecx
mov ecx, esi
call fcn.00473350
mov eax, dword [esi + 4]
test eax, eax
je 0x46b8f4
mov byte [eax], 0
inc dword [esi + 4]
mov ecx, ebx
push dword [esi]
call fcn.00475700
sub esp, 8
mov dword [ebp - 4], 3
mov ecx, ebx
push str.cereal
call fcn.00471c70
mov dword [ebp + 8], eax
test eax, eax
jne 0x46b95c
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x30], vtable.std::exception.0
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], str.Could_not_detect_cereal_root_node___likely_due_to_empty_or_invalid_input
xorps xmm0, xmm0
mov byte [ebp - 0x14], 1
push eax
movq qword [ebp - 0x2c], xmm0
call fcn.004e56ee
add esp, 8
mov dword [ebp - 0x30], vtable.cereal::Exception.0
lea eax, [ebp - 0x30]
push 0x58a3e0
push eax
call fcn.004e676c
lea eax, [ebp + 8]
mov ecx, edi
push eax
call fcn.00476b90
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x47d9b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x533881
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
mov eax, dword [0x58d00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
lea eax, [ebx + 0x10]
mov dword [ebx], vtable.CAT::EventProcessHooker.0
push eax
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea esi, [ebx + 0x28]
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0041ca10
mov dword [esi], eax
lea eax, [ebx + 0x30]
mov byte [ebp - 4], 1
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea esi, [ebx + 0x48]
mov byte [ebp - 4], 2
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0041ca10
mov dword [esi], eax
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4934d0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x535bd7
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x58d00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
push eax
mov dword [ebp - 0x20], eax
call fcn.004c922c
add esp, 4
test eax, eax
je 0x493524
push eax
call fcn.004c927b
add esp, 4
mov byte [ebp - 0x1c], 1
mov dword [ebp - 4], 1
mov ebx, dword [ebp + 8]
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov esi, dword [ebp + 0xc]
mov eax, 0x2aaaaaab
mov dword [ebp - 0x14], 1
mov ecx, dword [esi + 4]
sub ecx, dword [esi]
imul ecx
mov eax, dword [ebx + 8]
sar edx, 2
mov ecx, edx
sar eax, 2
shr ecx, 0x1f
add ecx, edx
cmp eax, ecx
jae 0x49358a
cmp ecx, 0x3fffffff
jbe 0x493582
push str.vector_T__too_long
call fcn.004c8c03
push ecx
mov ecx, ebx
call fcn.0042b4a0
mov edi, dword [esi + 4]
mov esi, dword [esi]
cmp esi, edi
je 0x493606
mov eax, dword [ebp - 0x10]
add eax, 0xc0
mov dword [ebp - 0x18], eax
nop
cmp dword [esi + 0x14], 0x10
jb 0x4935aa
mov ebx, dword [esi]
jmp 0x4935ac
mov ebx, esi
xor eax, eax
mov edx, 0x811c9dc5
cmp dword [esi + 0x10], eax
jbe 0x4935ca
movzx ecx, byte [ebx + eax]
inc eax
xor ecx, edx
imul edx, ecx, 0x1000193
cmp eax, dword [esi + 0x10]
jb 0x4935b8
mov ecx, dword [ebp - 0x18]
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x28]
mov dword [ebp + 0xc], edx
push eax
call fcn.004969c0
mov ecx, dword [ebp - 0x28]
add ecx, 0xc
cmp ecx, esi
je 0x4935f1
push 0xffffffffffffffff
push 0
push esi
call fcn.0043a070
mov ebx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
mov ecx, ebx
call fcn.00494570
add esi, 0x18
cmp esi, edi
jne 0x4935a0
push dword [ebp - 0x10]
mov dword [ebp - 4], 2
call fcn.004c9251
add esp, 4
test eax, eax
je 0x493625
push eax
call fcn.004c927b
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 esp, ebp
pop ebp
ret 8
Function at 0x496c10
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor edx, eax
movzx eax, byte [edi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 3]
imul ecx, edx, 0x1000193
mov edx, dword [esi + 0xc]
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [esi + 0x18]
mov esi, dword [esi + 4]
and ecx, eax
mov eax, dword [edx + ecx*8]
add ecx, ecx
mov ebx, dword [edx + ecx*4]
lea edx, [edx + ecx*4]
cmp ebx, esi
jne 0x496c6b
mov ecx, esi
jmp 0x496c70
mov ecx, dword [edx + 4]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x496c95
mov ecx, dword [eax + 8]
cmp ecx, dword [edi]
je 0x496c7f
mov eax, dword [eax]
jmp 0x496c63
mov ecx, dword [edi]
cmp ecx, dword [eax + 8]
mov ecx, dword [ebp + 8]
cmovne eax, esi
pop edi
pop esi
mov dword [ecx], eax
mov eax, ecx
pop ebx
pop ebp
ret 8
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], esi
pop esi
pop ebx
pop ebp
ret 8