joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45b680
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d4c1c
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x51808c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
push 0x58
call fcn.004a4c72
mov ebx, eax
add esp, 4
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], 0
lea edi, [ebx + 0xc]
mov dword [ebp - 0x18], edi
xorps xmm0, xmm0
movq qword [ebx], xmm0
mov dword [ebx + 8], 0
mov dword [ebx + 4], 1
mov dword [ebx + 8], 1
mov dword [ebx], vtable.std::_Ref_count_obj2_class_cxxopts::values::standard_value_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____.0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 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 dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov byte [ebp - 4], 1
lea esi, [edi + 0xc]
push 0x24
mov dword [edi], vtable.cxxopts::values::abstract_value_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___.0
mov dword [ebp - 0x1c], esi
call fcn.004a4c72
mov dword [ebp - 0x1c], eax
xorps xmm0, xmm0
add esp, 4
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
movq qword [eax], xmm0
lea ecx, [eax + 0xc]
mov dword [eax + 8], 0
mov dword [eax + 4], 1
mov dword [eax + 8], 1
mov dword [eax], vtable.std::_Ref_count_obj2_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___.0
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
mov dword [esi + 4], eax
mov eax, ecx
mov dword [esi], ecx
lea ecx, [ebp - 0x20]
push ebx
mov dword [edi + 0x1c], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0xf
mov dword [edi + 0x34], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0xf
push edi
mov dword [edi + 0x14], eax
mov word [edi + 0x18], 0
mov dword [edi], vtable.cxxopts::values::standard_value_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___.0
call fcn.0045dca0
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x20]
mov dword [ecx], eax
mov eax, dword [ebp - 0x1c]
mov dword [ecx + 4], eax
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45bee0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d4ce5
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x51808c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edx, dword [ebp + 0xc]
mov edi, edx
cmp dword [edx + 0x14], 0x10
jb 0x45bf17
mov edi, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
cmp dword [edx + 0x10], ecx
jbe 0x45bf35
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, dword [edx + 0x10]
jb 0x45bf23
push esi
push edx
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.0045d340
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x45bf66
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 0
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
cmp dword [ebx + 8], 0x71c71c7
je 0x45c0a3
lea eax, [ebx + 4]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
push 0x24
mov dword [ebp - 0x18], 0
call fcn.004a4c72
add esp, 4
mov edi, eax
mov dword [ebp - 0x18], edi
push dword [ebp + 0xc]
lea ecx, [edi + 8]
call fcn.00411530
mov dword [edi + 0x20], 0
mov dword [ebp - 4], 1
mov eax, dword [ebx + 8]
inc eax
movss xmm3, dword [ebx]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x507230]
mov eax, dword [ebx + 0x1c]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
cvtpd2ps xmm0, xmm0
addsd xmm1, qword [eax*8 + 0x507230]
movaps xmm2, xmm0
cvtpd2ps xmm1, xmm1
divss xmm2, xmm1
comiss xmm2, xmm3
jbe 0x45c041
divss xmm0, xmm3
call fcn.0043b410
call fcn.004a5730
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebx + 0x1c]
cmp eax, ecx
jae 0x45c025
cmp eax, 0x200
jae 0x45c023
shl eax, 3
cmp eax, ecx
jae 0x45c025
mov eax, ecx
push eax
mov ecx, ebx
call fcn.0045cf80
push esi
lea eax, [edi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0045d340
mov edx, dword [eax]
jmp 0x45c044
mov edx, dword [ebp - 0x14]
mov eax, dword [ebx + 8]
mov ecx, dword [edx + 4]
inc eax
mov dword [ebx + 8], eax
mov dword [edi], edx
mov dword [edi + 4], ecx
mov dword [ecx], edi
mov dword [edx + 4], edi
mov eax, dword [ebx + 0x18]
mov dword [ebp + 0xc], ecx
and eax, esi
mov ecx, dword [ebx + 0xc]
mov esi, dword [ecx + eax*8]
cmp esi, dword [ebx + 4]
jne 0x45c070
mov dword [ecx + eax*8], edi
jmp 0x45c082
cmp esi, edx
jne 0x45c079
mov dword [ecx + eax*8], edi
jmp 0x45c086
mov edx, dword [ebp + 0xc]
cmp dword [ecx + eax*8 + 4], edx
jne 0x45c086
mov dword [ecx + eax*8 + 4], edi
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov byte [eax + 4], 1
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
push str.unordered_map_set_too_long
call fcn.0048ed48
int3
Function at 0x45c0b0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d4d25
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x51808c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 0xc]
movzx eax, byte [ebx]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [ebx + 1]
xor edx, eax
movzx eax, byte [ebx + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [ebx + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edi
push eax
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x1c]
push ebx
push eax
call fcn.0045d2d0
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x45c143
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 0
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
cmp dword [edi + 8], 0x7ffffff
je 0x45c2bc
lea eax, [edi + 4]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0
push 0x20
mov dword [ebp - 0x20], 0
call fcn.004a4c72
mov ecx, dword [ebx]
mov esi, eax
mov dword [ebp - 0x14], esi
xorps xmm0, xmm0
mov dword [ebp - 0x20], esi
add esp, 4
mov dword [esi + 8], ecx
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0xc], 0
movq qword [esi + 0x10], xmm0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov byte [esi + 0x1c], 0
mov dword [ebp - 4], 1
mov ecx, dword [edi + 8]
mov ebx, dword [edi + 0x1c]
movss xmm3, dword [edi]
lea eax, [ecx + 1]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movd xmm1, ebx
addsd xmm0, qword [eax*8 + 0x507230]
cvtdq2pd xmm1, xmm1
mov eax, ebx
shr eax, 0x1f
cvtpd2ps xmm0, xmm0
addsd xmm1, qword [eax*8 + 0x507230]
movaps xmm2, xmm0
cvtpd2ps xmm1, xmm1
divss xmm2, xmm1
comiss xmm2, xmm3
jbe 0x45c25b
divss xmm0, xmm3
call fcn.0043b410
call fcn.004a5730
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp ebx, ecx
jae 0x45c23a
cmp ebx, 0x200
jae 0x45c238
shl ebx, 3
cmp ebx, ecx
jae 0x45c23a
mov ebx, ecx
push ebx
mov ecx, edi
call fcn.0045d160
push dword [ebp + 0xc]
lea eax, [esi + 8]
mov ecx, edi
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0045d2d0
mov ecx, dword [edi + 8]
mov edx, dword [eax]
jmp 0x45c25e
mov edx, dword [ebp - 0x1c]
mov ebx, dword [edx + 4]
lea eax, [ecx + 1]
mov dword [edi + 8], eax
mov dword [esi], edx
mov dword [esi + 4], ebx
mov dword [ebx], esi
mov dword [edx + 4], esi
mov eax, dword [edi + 0x18]
and eax, dword [ebp + 0xc]
mov ecx, dword [edi + 0xc]
mov esi, dword [ebp - 0x10]
mov edi, dword [ecx + eax*8]
cmp edi, dword [esi]
mov esi, dword [ebp - 0x14]
jne 0x45c28c
mov dword [ecx + eax*8], esi
jmp 0x45c29b
cmp edi, edx
jne 0x45c295
mov dword [ecx + eax*8], esi
jmp 0x45c29f
cmp dword [ecx + eax*8 + 4], ebx
jne 0x45c29f
mov dword [ecx + eax*8 + 4], esi
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov byte [eax + 4], 1
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
push str.unordered_map_set_too_long
call fcn.0048ed48
int3
Function at 0x45d160
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 - 0xc], ebx
mov eax, edi
shl eax, cl
cmp edx, eax
ja 0x45d2c3
mov esi, dword [ebx + 4]
lea eax, [edx - 1]
or eax, edi
mov dword [ebp - 4], 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.0045a5a0
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 0x45d296
movzx eax, byte [ecx + 8]
xor eax, 0x811c9dc5
mov edx, dword [edx]
imul edi, eax, 0x1000193
movzx eax, byte [ecx + 9]
xor edi, eax
movzx eax, byte [ecx + 0xa]
imul edi, edi, 0x1000193
xor edi, eax
movzx eax, byte [ecx + 0xb]
imul edi, edi, 0x1000193
xor edi, eax
imul eax, edi, 0x1000193
mov edi, dword [ebx + 0x18]
and edi, eax
mov eax, dword [ebx + 0xc]
mov ebx, dword [eax + edi*8]
mov dword [ebp + 8], ebx
lea eax, [eax + edi*8]
mov dword [ebp - 8], eax
cmp ebx, esi
jne 0x45d216
mov dword [eax], ecx
mov dword [eax + 4], ecx
jmp 0x45d289
mov eax, dword [eax + 4]
mov ebx, dword [ecx + 8]
cmp ebx, dword [eax + 8]
jne 0x45d250
mov eax, dword [eax]
mov dword [ebp + 8], eax
cmp eax, ecx
je 0x45d248
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 - 4]
mov dword [edx + 4], ebx
mov dword [ecx + 4], eax
mov eax, dword [ebp - 8]
mov dword [eax + 4], ecx
jmp 0x45d289
mov edi, eax
cmp dword [ebp + 8], eax
je 0x45d266
mov eax, dword [eax + 4]
mov edi, eax
cmp ebx, dword [eax + 8]
je 0x45d29f
cmp dword [ebp + 8], eax
jne 0x45d257
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 - 8]
mov dword [eax], ecx
mov ebx, dword [ebp - 0xc]
mov ecx, edx
cmp edx, esi
jne 0x45d1c2
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 - 4]
mov dword [edx + 4], ebx
mov dword [ecx + 4], eax
jmp 0x45d289
push str.invalid_hash_bucket_count
call fcn.0048ed48
int3
Function at 0x460010
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d57d5
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x51808c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edx, dword [ebp + 0xc]
mov edi, edx
cmp dword [edx + 0x14], 0x10
jb 0x460047
mov edi, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
cmp dword [edx + 0x10], ecx
jbe 0x460065
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, dword [edx + 0x10]
jb 0x460053
push esi
push edx
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.0045d340
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x460096
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 0
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
cmp dword [ebx + 8], 0x7ffffff
je 0x4601cc
lea eax, [ebx + 4]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
push 0x20
mov dword [ebp - 0x18], 0
call fcn.004a4c72
add esp, 4
mov edi, eax
mov dword [ebp - 0x18], edi
push dword [ebp + 0xc]
lea ecx, [edi + 8]
call fcn.00411530
mov dword [ebp - 4], 1
mov eax, dword [ebx + 8]
inc eax
movss xmm3, dword [ebx]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x507230]
mov eax, dword [ebx + 0x1c]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
cvtpd2ps xmm0, xmm0
addsd xmm1, qword [eax*8 + 0x507230]
movaps xmm2, xmm0
cvtpd2ps xmm1, xmm1
divss xmm2, xmm1
comiss xmm2, xmm3
jbe 0x46016a
divss xmm0, xmm3
call fcn.0043b410
call fcn.004a5730
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebx + 0x1c]
cmp eax, ecx
jae 0x46014e
cmp eax, 0x200
jae 0x46014c
shl eax, 3
cmp eax, ecx
jae 0x46014e
mov eax, ecx
push eax
mov ecx, ebx
call fcn.004601e0
push esi
lea eax, [edi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0045d340
mov edx, dword [eax]
jmp 0x46016d
mov edx, dword [ebp - 0x14]
mov eax, dword [ebx + 8]
mov ecx, dword [edx + 4]
inc eax
mov dword [ebx + 8], eax
mov dword [edi], edx
mov dword [edi + 4], ecx
mov dword [ecx], edi
mov dword [edx + 4], edi
mov eax, dword [ebx + 0x18]
mov dword [ebp + 0xc], ecx
and eax, esi
mov ecx, dword [ebx + 0xc]
mov esi, dword [ecx + eax*8]
cmp esi, dword [ebx + 4]
jne 0x460199
mov dword [ecx + eax*8], edi
jmp 0x4601ab
cmp esi, edx
jne 0x4601a2
mov dword [ecx + eax*8], edi
jmp 0x4601af
mov edx, dword [ebp + 0xc]
cmp dword [ecx + eax*8 + 4], edx
jne 0x4601af
mov dword [ecx + eax*8 + 4], edi
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov byte [eax + 4], 1
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
push str.unordered_map_set_too_long
call fcn.0048ed48
int3
Function at 0x466dc0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d697e
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x51808c]
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 - 0x10], 0
xor eax, eax
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
push eax
mov dword [ebp - 4], eax
push 0x104
mov dword [ebp - 0x10], 1
call fcn.00444520
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x466e2a
mov eax, dword [esi]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov ecx, dword [esi + 0x10]
cmp eax, ecx
ja 0x466e62
mov dword [esi + 0x10], eax
mov ecx, esi
cmp dword [esi + 0x14], 8
jb 0x466e4a
mov ecx, dword [esi]
xor edx, edx
mov word [ecx + eax*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
sub eax, ecx
mov ecx, esi
push 0
push eax
call fcn.00444520
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x470be0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x470beb
xor eax, eax
pop ebp
ret
pop ebp
jmp fcn.00470c00
Function at 0x478250
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov eax, ecx
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
push esi
push edi
test eax, eax
je 0x47843c
test edx, edx
je 0x47843c
cmp dword [ebp + 0xc], 0x7fffffff
ja 0x47843c
jb 0x47828a
cmp dword [ebp + 8], 0xffffffff
ja 0x47843c
cmp dword [eax], 0
mov ebx, dword [ebp + 0x14]
jne 0x4782ab
push ebx
mov edx, 0x100
call fcn.00478190
add esp, 4
test al, al
je 0x478450
mov edx, dword [ebp - 4]
mov dword [ebp - 0xc], edx
xor esi, esi
mov dl, byte [edx]
mov edi, 0x1505
test dl, dl
je 0x4782e3
mov ebx, dword [ebp - 0xc]
nop
mov eax, edi
lea ebx, [ebx + 1]
mov ecx, esi
shld esi, edi, 5
shl edi, 5
add edi, eax
movzx eax, dl
cdq
adc esi, ecx
add edi, eax
adc esi, edx
mov dl, byte [ebx]
test dl, dl
jne 0x4782c0
mov ebx, dword [ebp + 0x14]
mov ecx, dword [ebp - 8]
xor edx, edx
mov eax, edi
div dword [ecx]
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0xc], edx
mov esi, dword [eax + edx*4]
test esi, esi
je 0x478340
nop dword [eax]
cmp dword [esi + 0x1c], edi
jne 0x478339
mov ecx, dword [esi]
mov eax, dword [ebp - 4]
nop word [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x478330
test dl, dl
je 0x47832c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x478330
add eax, 2
add ecx, 2
test dl, dl
jne 0x478310
xor eax, eax
jmp 0x478335
sbb eax, eax
or eax, 1
test eax, eax
je 0x47836a
mov esi, dword [esi + 0x18]
test esi, esi
jne 0x478300
push 0x20
call fcn.004aaef4
mov esi, eax
add esp, 4
test esi, esi
jne 0x4783a2
test ebx, ebx
je 0x478450
mov dword [ebx + 4], eax
xor al, al
mov dword [ebx], 0xe
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 8]
and eax, dword [esi + 0xc]
cmp eax, 0xffffffff
jne 0x478384
mov eax, dword [esi + 0x10]
and eax, dword [esi + 0x14]
cmp eax, 0xffffffff
je 0x478421
test ebx, ebx
je 0x478450
mov dword [ebx], 0xa
xor al, al
mov dword [ebx + 4], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov dword [esi], eax
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edx*4]
mov dword [esi + 0x18], eax
mov eax, dword [ecx + 0x10]
mov dword [eax + edx*4], esi
mov dword [esi + 0x1c], edi
mov dword [esi + 8], 0xffffffff
mov dword [esi + 0xc], 0xffffffff
add dword [ecx + 8], 1
mov edi, dword [ecx]
adc dword [ecx + 0xc], 0
mov edx, dword [ecx + 0xc]
mov ecx, dword [ecx + 8]
call fcn.004a58b0
movd xmm1, edi
mov eax, edi
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
addsd xmm1, qword [eax*8 + 0x507230]
mulsd xmm1, qword [0x5071d8]
comisd xmm0, xmm1
jbe 0x478421
cmp edi, 0x80000000
jae 0x478421
mov ecx, dword [ebp - 8]
lea edx, [edi + edi]
push ebx
call fcn.00478190
add esp, 4
test al, al
je 0x478450
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [esi + 0xc], eax
mov dword [esi + 0x14], eax
mov al, 1
mov dword [esi + 8], ecx
mov dword [esi + 0x10], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x478450
mov dword [eax], 0x12
mov dword [eax + 4], 0
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47e000
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
xor edi, edi
bts edi, eax
cmp eax, 0x20
cmovae edx, edi
xor edi, edx
cmp eax, 0x40
mov eax, dword [ebp + 0xc]
cmovae edx, edi
test eax, eax
js 0x47e04a
lea ebx, [ebp + 0xc]
xor ecx, ecx
lea ebx, [ebx + 4]
bts ecx, eax
xor esi, esi
cmp eax, 0x20
cmovae esi, ecx
xor ecx, esi
cmp eax, 0x40
mov eax, dword [ebx]
cmovae esi, ecx
or edi, ecx
or edx, esi
test eax, eax
jns 0x47e028
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x47f020
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 0x10], 0
xorps xmm0, xmm0
push ebx
push esi
push edi
mov edi, edx
movlpd qword [ebp - 0x10], xmm0
mov ebx, ecx
jb 0x47f0f0
mov eax, dword [ebp + 0xc]
ja 0x47f04c
test eax, eax
je 0x47f0f0
mov eax, dword [ebp - 0xc]
movzx ecx, word [ebx + 0x14]
mov esi, dword [ebp - 0x10]
mov dword [ebp - 8], eax
nop dword [eax]
cmp dword [ebp + 0x14], 0
mov eax, dword [ebp + 8]
mov dl, byte [esi + eax]
mov byte [ebp - 1], dl
jne 0x47f085
movzx eax, cx
or eax, 2
mov ecx, eax
xor ecx, 1
imul ecx, eax
shr ecx, 8
xor dl, cl
mov byte [ebp - 1], dl
test edi, edi
je 0x47f08c
mov byte [esi + edi], dl
mov ecx, dword [ebx + 0xc]
lea edx, [ebp - 1]
not ecx
push 1
call fcn.00470c00
mov ecx, dword [ebx + 0x14]
lea edx, [ebp - 1]
not eax
not ecx
mov dword [ebx + 0xc], eax
movzx eax, al
add eax, dword [ebx + 0x10]
imul eax, eax, 0x8088405
push 1
inc eax
mov dword [ebx + 0x10], eax
shr eax, 0x18
mov byte [ebp - 1], al
call fcn.00470c00
mov edx, dword [ebp - 8]
add esp, 8
add esi, 1
not eax
mov dword [ebx + 0x14], eax
adc edx, 0
movzx ecx, ax
mov dword [ebp - 8], edx
cmp edx, dword [ebp + 0x10]
jb 0x47f060
ja 0x47f0f0
cmp esi, dword [ebp + 0xc]
jb 0x47f060
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x484d40
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push 0
push 0
call fcn.00482a80
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0x10]
mov eax, dword [esi + 0x34]
push esi
mov dword [ebp - 8], edx
call eax
mov edx, dword [ebp - 8]
add esp, 0x14
test edx, edx
je 0x484dcf
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x484dcf
mov eax, dword [ebp + 0x14]
cmp eax, ecx
push 0
cmova eax, ecx
lea ecx, [ebp - 4]
push ecx
push eax
push edx
push dword [esi + 0x94]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x484db7
push dword [ebp - 8]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push dword [ebp + 8]
call fcn.00486310
add esp, 0x14
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 4]
mov eax, dword [esi + 0x38]
push esi
call eax
mov eax, dword [ebp - 4]
add esp, 0xc
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esi + 0x38]
push 0xfffff024
push esi
call eax
add esp, 0xc
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x484df0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x294
mov eax, dword [0x51808c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx + 0x108]
test eax, eax
je 0x484e34
push eax
push eax
push ebx
push dword [ebp + 8]
call fcn.00484d40
add esp, 0x10
sub dword [ebx + 0x108], eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a4a5b
mov esp, ebp
pop ebp
ret
push esi
push edi
mov edi, dword [ebx + 0x94]
xor esi, esi
nop
push 0
lea eax, [ebp - 0x290]
push eax
mov eax, 0x10
sub eax, esi
push eax
lea eax, [ebp - 0x14]
add eax, esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x484e6f
add esi, dword [ebp - 0x290]
cmp esi, 0x10
jb 0x484e40
jmp 0x484e7d
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x484fa8
mov ecx, dword [ebp - 0x14]
test ecx, 0xfffffff8
jne 0x484fa3
cmp dword [ebp - 8], 0
jne 0x484fa3
mov eax, ecx
and eax, 6
test al, 2
je 0x484ead
and al, 4
movzx edi, al
neg edi
sbb edi, edi
add edi, 2
jmp 0x484eb7
test eax, eax
jne 0x484fa3
xor edi, edi
test cl, 1
je 0x484ec7
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0x108], eax
jmp 0x484ed1
cmp dword [ebp - 0xc], 0
jne 0x484fa3
test edi, edi
jne 0x484ee9
lea eax, [edi + 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a4a5b
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebx + 0x94]
xor esi, esi
mov dword [ebp - 0x294], ecx
push 0
lea eax, [ebp - 0x290]
push eax
mov eax, 0x278
sub eax, esi
push eax
lea eax, [ebp - 0x28c]
add eax, esi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x484f32
add esi, dword [ebp - 0x290]
mov ecx, dword [ebp - 0x294]
cmp esi, 0x278
jb 0x484ef7
jmp 0x484f3c
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x484fa8
push 0x284
call fcn.00482900
mov edx, eax
add esp, 4
test edx, edx
je 0x484fd4
mov dword [edx], edi
lea esi, [ebp - 0x28c]
lea edi, [edx + 4]
mov ecx, 0x9e
rep movsd dword es:[edi], dword [esi]
lea ecx, [edx + 0x27c]
lea eax, [ebx + 0x110]
mov dword [ecx], eax
mov eax, dword [ebx + 0x114]
mov dword [edx + 0x280], eax
pop edi
pop esi
mov dword [eax], ecx
mov eax, 0x288
inc dword [ebx + 0x118]
mov dword [ebx + 0x114], ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a4a5b
mov esp, ebp
pop ebp
ret
mov eax, 0x2745
push dword [0x4eadc0]
push dword [0x4eadbc]
push eax
push ebx
push dword [ebp + 8]
call fcn.00486310
mov ecx, dword [ebp - 4]
add esp, 0x14
xor ecx, ebp
xor eax, eax
pop edi
pop esi
pop ebx
call fcn.004a4a5b
mov esp, ebp
pop ebp
ret
push str.uv__malloc
push 0xe
call fcn.0048dbc0
int3