joyce8/EMBER2024-capa huggingface dataset:
Function at 0x413ed0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [ebp - 4], ecx
cmp edx, eax
je 0x414043
cmp dword [edx + 0x1c], 0x10
mov eax, dword [ecx + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx + 0xc]
push ebx
mov dword [ebp - 0x14], eax
lea ebx, [edx + 8]
mov eax, dword [edx + 4]
push esi
mov dword [ebp - 8], eax
mov esi, edx
jb 0x413f09
mov ebx, dword [edx + 8]
mov eax, dword [edx + 0x18]
xor edx, edx
push edi
mov edi, 0x811c9dc5
test eax, eax
je 0x413f34
mov ecx, eax
nop word [eax + eax]
movzx eax, byte [edx + ebx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x413f20
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x18]
mov ecx, dword [ebp - 0x14]
and eax, edi
lea eax, [ecx + eax*8]
mov ecx, dword [eax]
mov dword [ebp - 0xc], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x1c], eax
nop dword [eax]
mov edi, esi
mov ebx, esi
mov esi, dword [esi]
lea ecx, [edi + 8]
call fcn.004083b0
push 0x38
push edi
call fcn.004a5a88
mov edi, dword [ebp - 4]
add esp, 8
dec dword [edi + 8]
cmp ebx, dword [ebp - 0x1c]
je 0x413f9d
mov eax, dword [ebp + 0xc]
cmp esi, eax
jne 0x413f50
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp + 8]
jne 0x414038
mov ecx, dword [ebp - 0xc]
pop edi
mov dword [ecx], esi
mov ecx, dword [ebp - 8]
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
jne 0x413faf
mov eax, dword [ebp - 0x18]
mov dword [ecx], eax
jmp 0x413fb2
mov eax, dword [ebp - 8]
mov dword [ecx + 4], eax
mov eax, dword [ebp + 0xc]
cmp esi, eax
je 0x414038
nop dword [eax]
cmp dword [esi + 0x1c], 0x10
lea ebx, [esi + 8]
jb 0x413fcc
mov ebx, dword [esi + 8]
mov eax, dword [esi + 0x18]
xor ecx, ecx
mov dword [ebp + 8], eax
mov edx, 0x811c9dc5
test eax, eax
je 0x413ff4
mov edi, eax
nop
movzx eax, byte [ecx + ebx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x413fe0
mov edi, dword [ebp - 4]
mov eax, dword [edi + 0x18]
mov ecx, dword [ebp - 0x14]
and eax, edx
lea eax, [ecx + eax*8]
mov dword [ebp + 8], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x1c], eax
mov edi, esi
mov ebx, esi
mov esi, dword [esi]
lea ecx, [edi + 8]
call fcn.004083b0
push 0x38
push edi
call fcn.004a5a88
mov edi, dword [ebp - 4]
add esp, 8
mov eax, dword [ebp + 0xc]
dec dword [edi + 8]
cmp ebx, dword [ebp - 0x1c]
je 0x414049
cmp esi, eax
jne 0x414008
mov ecx, dword [ebp + 8]
mov dword [ecx], esi
mov ecx, dword [ebp - 8]
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x18]
mov dword [ecx], edx
mov dword [ecx + 4], edx
cmp esi, eax
jne 0x413fc0
mov ecx, dword [ebp - 8]
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x414ac0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov edx, dword [ebp + 8]
mov eax, 0x1fffffff
push ebx
mov ebx, ecx
bsr ecx, eax
push esi
mov esi, 1
mov dword [ebp - 0x10], ebx
mov eax, esi
shl eax, cl
push edi
cmp edx, eax
ja 0x414c41
lea eax, [edx - 1]
or eax, esi
bsr ecx, eax
mov eax, dword [ebx + 4]
push eax
mov dword [ebp - 4], eax
lea ecx, [ecx + 1]
shl esi, cl
lea ecx, [ebx + 0xc]
lea eax, [esi + esi]
push eax
call fcn.00414130
mov edi, dword [ebx + 4]
lea eax, [esi - 1]
mov ecx, dword [ebp - 4]
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], esi
mov edi, dword [edi]
mov eax, edi
cmp edi, ecx
je 0x414c19
cmp dword [edi + 0x1c], 0x10
lea edx, [edi + 8]
mov eax, dword [eax]
mov dword [ebp + 8], eax
mov dword [ebp - 8], edx
jb 0x414b3b
mov esi, dword [edx]
mov dword [ebp - 8], esi
mov esi, dword [edx + 0x10]
mov ebx, 0x811c9dc5
xor edx, edx
mov dword [ebp - 0xc], esi
test esi, esi
je 0x414b68
mov ecx, dword [ebp - 8]
mov eax, esi
movzx esi, byte [edx + ecx]
inc edx
xor esi, ebx
imul ebx, esi, 0x1000193
cmp edx, eax
jb 0x414b51
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
mov esi, dword [edx + 0x18]
mov edx, dword [edx + 0xc]
and esi, ebx
lea ebx, [edx + esi*8]
mov dword [ebp - 8], ebx
cmp dword [ebx], ecx
jne 0x414b87
mov dword [ebx], edi
mov dword [ebx + 4], edi
jmp 0x414c0f
mov esi, dword [ebx + 4]
lea ecx, [edi + 8]
lea edx, [esi + 8]
call fcn.00410f70
test al, al
je 0x414bc8
mov ecx, dword [esi]
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], ecx
cmp ecx, edi
je 0x414bc3
mov esi, dword [edi + 4]
mov ebx, dword [ebp - 0xc]
mov dword [esi], eax
mov edx, dword [eax + 4]
mov dword [edx], ecx
mov ecx, dword [ecx + 4]
mov dword [ecx], edi
mov dword [ebx + 4], edx
mov ebx, dword [ebp - 8]
mov dword [eax + 4], esi
mov dword [edi + 4], ecx
mov dword [ebx + 4], edi
jmp 0x414c0c
mov eax, dword [ebp - 8]
mov ebx, esi
cmp dword [eax], esi
je 0x414bec
mov esi, dword [esi + 4]
lea ecx, [edi + 8]
mov ebx, esi
lea edx, [ebx + 8]
call fcn.00410f70
test al, al
jne 0x414c22
mov eax, dword [ebp - 8]
cmp dword [eax], esi
jne 0x414bd1
mov esi, dword [edi + 4]
mov eax, dword [ebp + 8]
mov dword [esi], eax
mov edx, dword [eax + 4]
mov dword [edx], ebx
mov ecx, dword [ebx + 4]
mov dword [ecx], edi
mov dword [ebx + 4], edx
mov dword [eax + 4], esi
mov dword [edi + 4], ecx
mov ecx, dword [ebp - 8]
mov dword [ecx], edi
mov ecx, dword [ebp - 4]
mov edi, eax
cmp eax, ecx
jne 0x414b25
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [esi]
mov esi, dword [edi + 4]
mov eax, dword [ebp + 8]
mov dword [esi], eax
mov edx, dword [eax + 4]
mov dword [edx], ebx
mov ecx, dword [ebx + 4]
mov dword [ecx], edi
mov dword [ebx + 4], edx
mov dword [eax + 4], esi
mov dword [edi + 4], ecx
jmp 0x414c0c
push str.invalid_hash_bucket_count
call fcn.004a3845
int3
Function at 0x435110
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov edx, dword [ebp + 8]
mov eax, 0x1fffffff
push ebx
mov ebx, ecx
bsr ecx, eax
push esi
push edi
mov edi, 1
mov dword [ebp - 0x10], ebx
mov eax, edi
shl eax, cl
cmp edx, eax
ja 0x435259
mov esi, dword [ebx + 4]
lea eax, [edx - 1]
or eax, edi
mov dword [ebp - 8], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
lea eax, [edi + edi]
push eax
call fcn.00434e50
mov ecx, dword [ebx + 4]
lea eax, [edi - 1]
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], edi
mov ecx, dword [ecx]
mov edx, ecx
cmp ecx, esi
je 0x43522c
movzx eax, byte [ecx + 8]
mov edi, dword [ebx + 0x18]
xor eax, 0x811c9dc5
mov edx, dword [edx]
imul eax, eax, 0x1000193
and edi, eax
mov eax, dword [ebx + 0xc]
mov ebx, dword [eax + edi*8]
mov dword [ebp - 4], ebx
lea eax, [eax + edi*8]
mov dword [ebp - 0xc], eax
cmp ebx, esi
jne 0x4351a5
mov dword [eax], ecx
mov dword [eax + 4], ecx
jmp 0x43521f
mov eax, dword [eax + 4]
mov bl, byte [ecx + 8]
cmp bl, byte [eax + 8]
mov ebx, dword [ebp - 4]
jne 0x4351e2
mov eax, dword [eax]
mov dword [ebp + 8], eax
cmp eax, ecx
je 0x4351da
mov ebx, dword [ecx + 4]
mov esi, dword [ebp + 8]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov eax, dword [eax + 4]
mov dword [eax], ecx
mov dword [esi + 4], edi
mov esi, dword [ebp - 8]
mov dword [edx + 4], ebx
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [eax + 4], ecx
jmp 0x43521f
mov edi, eax
cmp ebx, eax
je 0x4351fc
mov eax, dword [eax + 4]
mov edi, eax
mov bl, byte [ecx + 8]
cmp bl, byte [eax + 8]
mov ebx, dword [ebp - 4]
je 0x435235
cmp ebx, eax
jne 0x4351e8
mov eax, dword [ecx + 4]
mov dword [ebp + 8], eax
mov dword [eax], edx
mov ebx, dword [edx + 4]
mov dword [ebx], edi
mov eax, dword [edi + 4]
mov dword [eax], ecx
mov dword [edi + 4], ebx
mov edi, dword [ebp + 8]
mov dword [edx + 4], edi
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [eax], ecx
mov ebx, dword [ebp - 0x10]
mov ecx, edx
cmp edx, esi
jne 0x435172
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ebp + 8], eax
mov esi, eax
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov eax, dword [eax + 4]
mov dword [eax], ecx
mov dword [esi + 4], edi
mov esi, dword [ebp - 8]
mov dword [edx + 4], ebx
mov dword [ecx + 4], eax
jmp 0x43521f
push str.invalid_hash_bucket_count
call fcn.004a3845
int3
Function at 0x43de60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eea46
mov eax, dword fs:[0]
push eax
sub esp, 0x140
mov eax, dword [0x535b70]
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 edi, ecx
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x10c]
mov dword [ebp - 0x114], 0
mov dword [ebp - method.fmt::v8::basic_memory_buffer_char__500__class_std::allocator_char__.virtual_0], vtable.fmt::v8::basic_memory_buffer_char__250__class_std::allocator_char__.0
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x110], 0xfa
mov ecx, dword [edi + 8]
lea esi, [ebp - 0x11c]
push esi
push edx
mov dword [ebp - 4], 0
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [edi + 0x5c]
mov esi, dword [ebp - 0x114]
add ebx, esi
cmp ebx, dword [edi + 0x54]
jbe 0x43df0f
lea ecx, [edi + 0x60]
call fcn.00436fd0
lea ecx, [edi + 0x60]
call fcn.0043e140
test eax, eax
je 0x43df09
mov ecx, edi
call fcn.0043d880
mov esi, dword [ebp - 0x114]
mov ebx, esi
jmp 0x43df0f
mov esi, dword [ebp - 0x114]
push dword [edi + 0x68]
push esi
push 1
push dword [ebp - 0x118]
call fcn.004c9830
add esp, 0x10
cmp eax, esi
jne 0x43df8c
mov ecx, dword [ebp - 0x118]
lea eax, [ebp - 0x10c]
mov dword [edi + 0x5c], ebx
mov dword [ebp - method.fmt::v8::basic_memory_buffer_char__500__class_std::allocator_char__.virtual_0], vtable.fmt::v8::basic_memory_buffer_char__250__class_std::allocator_char__.0
cmp ecx, eax
je 0x43df6e
mov edx, dword [ebp - 0x110]
mov eax, ecx
cmp edx, 0x1000
jb 0x43df64
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43dfc8
push edx
push ecx
call fcn.004a5a88
add esp, 8
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.004a55ed
mov esp, ebp
pop ebp
ret 4
lea eax, [edi + 0x6c]
push eax
lea eax, [ebp - 0x134]
push eax
call fcn.00436d00
push eax
lea eax, [ebp - 0x14c]
mov byte [ebp - 4], 1
push str.Failed_writing_to_file
push eax
call fcn.0041d550
add esp, 0x14
mov esi, eax
mov byte [ebp - 4], 2
call fcn.004ce60a
push dword [eax]
push esi
call fcn.0043e920
call fcn.004c687a
int3
Function at 0x4400d0
Capabilities:
Connect pipe

Disassembly:
push ebp
mov ebp, esp
movzx eax, byte [ebp + 8]
push ebx
push esi
push edi
push 0
mov edi, ecx
shl eax, 0x13
push 0xffffffffffffffff
add eax, 0x40000003
push dword [edi + 0x14]
mov ecx, dword [edi + 0xc]
push dword [edi + 0x10]
push 0xff
push dword [edi + 0x18]
push eax
mov eax, dword [ecx]
call dword [eax + 0x28]
push eax
call fcn.00442bd0
add esp, 0x20
mov dword [edi + 0x24], eax
lea ecx, [edi + 0x28]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.NamedPipe_Created__
mov ebx, eax
call fcn.00434e20
add esp, 4
test esi, esi
jne 0x440164
cmp ebx, 0x217
je 0x44014c
cmp ebx, 0x3e5
jne 0x440164
mov byte [edi + 0x20], 0
pop edi
pop esi
pop ebx
pop ebp
ret 4
push str.Client_connected_to_NamedPipe
call fcn.00434e20
add esp, 4
mov byte [edi + 0x20], 1
pop edi
pop esi
pop ebx
pop ebp
ret 4
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x1c]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x500280
call fcn.00447ad0
int3

Function at 0x4404a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
mov esi, ecx
xorps xmm0, xmm0
mov eax, dword [esi + 0x1c]
lea ebx, [esi + 0x1c]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
movlpd qword [ebp - 0x28], xmm0
push eax
push dword [ebp + 0xc]
movlpd qword [ebp - 0x20], xmm0
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x440516
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x44050d
push ebx
mov ecx, esi
call fcn.00440440
push 1
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x28]
push eax
push dword [esi + 0x20]
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
jne 0x440516
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe8
jne 0x44054f
jmp 0x440521
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x28]
push eax
push 9
push 0x500150
call fcn.004199f0
add esp, 8
lea ecx, [ebp - 0x14]
push eax
call fcn.004476c0
push 0x530a00
lea eax, [ebp - 0x14]
push eax
call fcn.004bd07b
push eax
push 0x500150
call fcn.00447ad0
int3
Function at 0x440750
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ed200
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x535b70]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x24
call fcn.00419950
mov edi, eax
add esp, 4
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 0
test edi, edi
je 0x4407ec
push dword [ebp + 0xc]
mov ecx, edi
push dword [ebp + 8]
call fcn.00447cb0
lea esi, [edi + 0x20]
mov dword [edi], vtable.vcfoundation::thread::Thread.0
mov ecx, edi
mov dword [edi + 0xc], vtable.vcfoundation::thread::Thread.1.0
mov dword [edi + 0x1c], 0xffffffff
mov dword [esi], 0
call fcn.00419c90
push esi
push 0
push edi
push 0x4409e0
push dword [ebp + 0x10]
push 0
call fcn.004d01ab
mov dword [edi + 0x1c], eax
add esp, 0x18
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
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x442640
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x535b70]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0xc], ebx
mov word [ebp - 8], 0x500
push esi
push edi
test eax, eax
jne 0x442683
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov esi, eax
mov dword [ebp - 0x18], esi
jmp 0x442696
push eax
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [ebp - 0x18], eax
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
jne 0x4426bd
call edi
cmp eax, 5
jne 0x4426bd
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a55ed
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x14]
mov dword [ebp - 0x20], ebx
push eax
push 8
push esi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x442779
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x10]
push 0
push 2
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x4426f8
call edi
cmp eax, 0x7a
jne 0x442779
push dword [ebp - 0x10]
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x10]
push ebx
push 2
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x442779
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x442779
xor edi, edi
cmp dword [ebx], edi
jbe 0x442779
lea esi, [ebx + 8]
nop dword [eax]
push dword [esi - 4]
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
je 0x442765
test byte [esi], 4
jne 0x44276f
inc edi
add esi, 8
cmp edi, dword [ebx]
jb 0x442750
jmp 0x442776
mov dword [ebp - 0x20], 1
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x442787
push eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
test ebx, ebx
je 0x442792
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4427a2
push eax
call edi
test esi, esi
je 0x4427a9
push esi
call edi
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x20]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.004a55ed
mov esp, ebp
pop ebp
ret
Function at 0x466f90
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ecx + eax*8 - 0xc]
mov esi, dword [ecx + eax*8 - 4]
cmp edi, esi
mov ebx, dword [ecx + eax*8 - 0x10]
mov eax, esi
cmovb eax, edi
mov dword [ebp + 0xc], edi
mov edi, dword [ebp + 0x14]
mov dword [ebp - 4], eax
cmp dword [edi], eax
jae 0x466fe1
shl eax, 2
push eax
push dword [edi + 4]
mov dword [ebp + 0x10], eax
call fcn.004d03b7
add esp, 8
test eax, eax
je 0x467110
mov dword [edi + 4], eax
mov eax, dword [ebp - 4]
mov dword [edi], eax
mov ecx, dword [edi + 4]
lea eax, [ebx + esi]
add eax, dword [ebp + 0xc]
mov edi, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
add edi, ebx
mov dword [ebp + 0x14], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
cmp eax, esi
jae 0x46708b
shl eax, 2
push eax
lea eax, [edx + ebx*4]
push eax
push ecx
call fcn.004bd0f0
mov esi, dword [ebp + 0x14]
xor eax, eax
add esp, 0xc
mov dword [ebp + 0x10], eax
cmp ebx, esi
jae 0x467109
mov edx, dword [ebp + 8]
cmp eax, dword [ebp + 0xc]
jae 0x467109
mov ecx, dword [ebp - 4]
lea ecx, [ecx + eax*4]
mov ecx, dword [ecx]
cmp edi, esi
jae 0x467078
mov eax, dword [ebp + 8]
mov dword [ebp - 8], ecx
mov eax, dword [eax + edi*4]
push eax
push ecx
mov dword [ebp + 0x14], eax
call fcn.00468310
add esp, 8
cmp eax, 0xfffffffe
je 0x467069
neg eax
test eax, eax
jle 0x467069
mov eax, dword [ebp + 0x10]
inc edi
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 8]
jmp 0x46707c
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 8]
inc eax
mov edx, dword [ebp + 8]
mov dword [ebp + 0x10], eax
jmp 0x46707c
inc eax
mov dword [ebp + 0x10], eax
mov dword [edx + ebx*4], ecx
inc ebx
cmp ebx, esi
jb 0x467027
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [esi*4]
push eax
lea eax, [edx + edi*4]
push eax
push ecx
call fcn.004bd0f0
mov eax, dword [ebp + 0x14]
add esp, 0xc
cmp eax, ebx
jbe 0x467109
mov edx, dword [ebp + 8]
nop word [eax + eax]
dec eax
mov dword [ebp + 0x14], eax
test esi, esi
je 0x467109
cmp edi, ebx
jbe 0x4670fb
mov eax, dword [ebp - 4]
push dword [eax + esi*4 - 4]
mov eax, dword [ebp + 8]
push dword [eax + edi*4 - 4]
call fcn.00468310
add esp, 8
cmp eax, 0xfffffffe
je 0x4670ec
neg eax
test eax, eax
jle 0x4670ec
mov eax, dword [ebp + 8]
dec edi
mov edx, dword [ebp + 8]
mov ecx, dword [eax + edi*4]
mov eax, dword [ebp + 0x14]
jmp 0x467102
mov eax, dword [ebp - 4]
dec esi
mov edx, dword [ebp + 8]
mov ecx, dword [eax + esi*4]
mov eax, dword [ebp + 0x14]
jmp 0x467102
mov ecx, dword [ebp - 4]
dec esi
mov ecx, dword [ecx + esi*4]
mov dword [edx + eax*4], ecx
cmp eax, ebx
ja 0x4670b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp + 0x10]
push str.Error_allocating_temporary_storage_for_tim_sort:_need__lu_bytes
push 2
call fcn.004c9547
add esp, 4
push eax
call fcn.0043eea0
add esp, 0xc
push 1
call fcn.004d0c48
int3
Function at 0x47ab20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
test esi, esi
jle 0x47ab64
mov edi, dword [ebp + 8]
test edi, edi
je 0x47ab64
mov eax, dword [ebp + 0x10]
xor edx, edx
movzx ecx, byte [edx + edi]
inc edx
add ecx, eax
imul eax, ecx, 0x401
mov ecx, eax
shr ecx, 6
xor eax, ecx
cmp edx, esi
jl 0x47ab38
lea ecx, [eax + eax*8]
mov eax, ecx
shr eax, 0xb
xor eax, ecx
pop edi
imul eax, eax, 0x8001
pop esi
pop ebp
ret
pop edi
xor eax, eax
pop esi
pop ebp
ret

Function at 0x47ab70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0x18]
xor edx, edx
push esi
mov esi, dword [ebp + 0xc]
push edi
test esi, esi
jle 0x47ab9c
mov edi, dword [ebp + 8]
movzx eax, byte [edx + edi]
inc edx
add eax, ecx
imul ecx, eax, 0x401
mov eax, ecx
shr eax, 6
xor ecx, eax
cmp edx, esi
jl 0x47ab84
mov esi, dword [ebp + 0x14]
lea eax, [ecx + 0x3a]
imul ecx, eax, 0x401
xor edx, edx
mov eax, ecx
shr eax, 6
xor ecx, eax
test esi, esi
jle 0x47abd0
mov edi, dword [ebp + 0x10]
movzx eax, byte [edx + edi]
inc edx
add eax, ecx
imul ecx, eax, 0x401
mov eax, ecx
shr eax, 6
xor ecx, eax
cmp edx, esi
jl 0x47abb8
lea ecx, [ecx + ecx*8]
mov eax, ecx
shr eax, 0xb
xor eax, ecx
pop edi
imul eax, eax, 0x8001
pop esi
pop ebp
ret
Function at 0x47bc50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
xor eax, eax
push edi
test esi, esi
je 0x47bc8a
movzx edi, byte [esi]
mov eax, edi
shl eax, 4
sub eax, edi
add eax, eax
test edi, edi
je 0x47bc8a
nop
mov edx, eax
lea esi, [esi + 1]
shl edx, 5
mov ecx, eax
add edx, edi
shr ecx, 3
movzx edi, byte [esi]
add ecx, edx
xor eax, ecx
test edi, edi
jne 0x47bc70
mov esi, dword [ebp + 0x10]
mov edx, eax
mov ecx, eax
shl edx, 5
shr ecx, 3
add edx, ecx
xor eax, edx
test esi, esi
je 0x47bcc0
movzx edi, byte [esi]
test edi, edi
je 0x47bcc0
mov edx, eax
lea esi, [esi + 1]
shl edx, 5
mov ecx, eax
add edx, edi
shr ecx, 3
movzx edi, byte [esi]
add ecx, edx
xor eax, ecx
test edi, edi
jne 0x47bca6
mov esi, dword [ebp + 0x14]
mov edx, eax
mov ecx, eax
shl edx, 5
shr ecx, 3
add edx, ecx
xor eax, edx
test esi, esi
je 0x47bcfa
movzx edi, byte [esi]
test edi, edi
je 0x47bcfa
nop dword [eax]
mov edx, eax
lea esi, [esi + 1]
shl edx, 5
mov ecx, eax
add edx, edi
shr ecx, 3
movzx edi, byte [esi]
add ecx, edx
xor eax, ecx
test edi, edi
jne 0x47bce0
mov ecx, dword [ebp + 8]
xor edx, edx
pop edi
pop esi
div dword [ecx + 4]
mov eax, edx
pop ebp
ret
Function at 0x47bd10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x47bd61
movzx ecx, byte [edi]
mov eax, ecx
shl eax, 4
sub eax, ecx
push ebx
movzx ebx, byte [edi]
add eax, eax
test ebx, ebx
je 0x47bd4d
mov edx, eax
lea edi, [edi + 1]
shl edx, 5
mov ecx, eax
add edx, ebx
shr ecx, 3
movzx ebx, byte [edi]
add ecx, edx
xor eax, ecx
test ebx, ebx
jne 0x47bd33
mov ecx, eax
mov edx, eax
shr ecx, 3
shl edx, 5
add ecx, 0x3a
add ecx, edx
xor eax, ecx
pop ebx
jmp 0x47bd6d
movzx ecx, byte [esi]
mov eax, ecx
shl eax, 4
sub eax, ecx
add eax, eax
test esi, esi
je 0x47bd92
movzx edi, byte [esi]
test edi, edi
je 0x47bd92
mov edx, eax
lea esi, [esi + 1]
shl edx, 5
mov ecx, eax
add edx, edi
shr ecx, 3
movzx edi, byte [esi]
add ecx, edx
xor eax, ecx
test edi, edi
jne 0x47bd78
mov esi, dword [ebp + 0x14]
mov edx, eax
mov ecx, eax
shl edx, 5
shr ecx, 3
add edx, ecx
xor eax, edx
test esi, esi
je 0x47bddb
movzx edi, byte [esi]
test edi, edi
je 0x47bdca
nop
mov edx, eax
lea esi, [esi + 1]
shl edx, 5
mov ecx, eax
add edx, edi
shr ecx, 3
movzx edi, byte [esi]
add ecx, edx
xor eax, ecx
test edi, edi
jne 0x47bdb0
mov ecx, eax
mov edx, eax
shr ecx, 3
shl edx, 5
add ecx, 0x3a
add ecx, edx
xor eax, ecx
mov esi, dword [ebp + 0x18]
test esi, esi
je 0x47be0a
movzx edi, byte [esi]
test edi, edi
je 0x47be0a
nop dword [eax]
mov edx, eax
lea esi, [esi + 1]
shl edx, 5
mov ecx, eax
add edx, edi
shr ecx, 3
movzx edi, byte [esi]
add ecx, edx
xor eax, ecx
test edi, edi
jne 0x47bdf0
mov esi, dword [ebp + 0x1c]
mov edx, eax
mov ecx, eax
shl edx, 5
shr ecx, 3
add edx, ecx
xor eax, edx
test esi, esi
je 0x47be51
movzx edi, byte [esi]
test edi, edi
je 0x47be40
mov edx, eax
lea esi, [esi + 1]
shl edx, 5
mov ecx, eax
add edx, edi
shr ecx, 3
movzx edi, byte [esi]
add ecx, edx
xor eax, ecx
test edi, edi
jne 0x47be26
mov ecx, eax
mov edx, eax
shr ecx, 3
shl edx, 5
add ecx, 0x3a
add ecx, edx
xor eax, ecx
mov esi, dword [ebp + 0x20]
test esi, esi
je 0x47be7a
movzx edi, byte [esi]
test edi, edi
je 0x47be7a
nop
mov edx, eax
lea esi, [esi + 1]
shl edx, 5
mov ecx, eax
add edx, edi
shr ecx, 3
movzx edi, byte [esi]
add ecx, edx
xor eax, ecx
test edi, edi
jne 0x47be60
mov ecx, dword [ebp + 8]
xor edx, edx
pop edi
pop esi
div dword [ecx + 4]
mov eax, edx
pop ebp
ret