joyce8/EMBER2024-capa huggingface dataset:
Function at 0x51aad0
Capabilities:
Get system information on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x4c
push esi
push 0x800
push 0
push 0x793c54
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
test eax, eax
je 0x51ab6b
push str.IsWow64Process2
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x51ab6b
lea eax, [ebp - 4]
mov dword [ebp - 8], 0
push eax
lea eax, [ebp - 8]
mov dword [ebp - 4], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
test eax, eax
je 0x51ab61
movzx ecx, word [ebp - 4]
cmp ecx, 0x14c
je 0x51abb6
cmp ecx, 0x8664
je 0x51aba9
xor edx, edx
mov eax, 3
cmp ecx, 0xaa64
cmovne eax, edx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
xor eax, eax
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x40]
movaps xmmword [ebp - 0x40], xmm0
push eax
movaps xmmword [ebp - 0x30], xmm0
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movzx ecx, word [ebp - 0x40]
test ecx, ecx
je 0x51abb6
cmp ecx, 9
je 0x51aba9
xor edx, edx
mov eax, 3
cmp ecx, 0xc
cmovne eax, edx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov eax, 2
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov eax, 1
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret

Function at 0x51ac50
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push esi
push 0x800
push 0
push 0x793c54
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
test eax, eax
je 0x51accc
push str.IsWow64Process2
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x51accc
lea eax, [ebp - 4]
mov dword [ebp - 8], 0
push eax
lea eax, [ebp - 8]
mov dword [ebp - 4], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
test eax, eax
je 0x51acc8
movzx ecx, word [ebp - 4]
cmp ecx, 0x14c
je 0x51ad0b
cmp ecx, 0x8664
je 0x51ad04
xor edx, edx
mov eax, 3
cmp ecx, 0xaa64
cmovne eax, edx
jmp 0x51ad10
xor eax, eax
jmp 0x51ad10
xorps xmm0, xmm0
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0x2c]
push eax
movups xmmword [ebp - 0x2c], xmm0
movups xmmword [ebp - 0x1c], xmm0
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movzx ecx, word [ebp - 0x2c]
test ecx, ecx
je 0x51ad0b
cmp ecx, 9
je 0x51ad04
xor edx, edx
mov eax, 3
cmp ecx, 0xc
cmovne eax, edx
jmp 0x51ad10
mov eax, 2
jmp 0x51ad10
mov eax, 1
mov ecx, dword [ebp + 8]
pop esi
cmp eax, ecx
je 0x51ad6a
cmp ecx, 2
jne 0x51ad64
cmp eax, 3
jne 0x51ad64
push 0x800
push 0
push 0x793c54
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
test eax, eax
je 0x51ad64
push str.GetMachineTypeAttributes
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x51ad64
lea ecx, [ebp + 8]
mov dword [ebp + 8], 0
push ecx
push 0x8664
call eax
test eax, eax
jne 0x51ad64
test byte [ebp + 8], 3
jne 0x51ad6a
xor al, al
mov esp, ebp
pop ebp
ret
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x522760
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x747643
push eax
mov dword fs:[0], esp
sub esp, 0x88
cmp byte [0xa968b0], 0
push esi
push edi
je 0x522886
cmp byte [0x8f6488], 0
je 0x522886
lea eax, [ebp - 0x10]
push eax
call fcn.0051de30
push 4
mov dword [ebp - 4], 0
call fcn.00516cd0
mov edi, eax
add esp, 8
mov dword [ebp - 0x14], edi
test edi, edi
je 0x5227c9
mov ecx, dword [ebp - 0x10]
xor esi, esi
mov dword [ebp - 0x10], esi
mov dword [edi], ecx
jmp 0x5227ce
mov esi, dword [ebp - 0x10]
xor edi, edi
mov dword [ebp - 0x14], edi
push 0
push 0x400
push edi
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 1
call fcn.0051df20
push dword [ebp + 0x10]
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 2
push dword [ebp + 0xc]
call fcn.0051b300
push ecx
mov eax, esp
mov dword [ebp - 0x14], 0
mov dword [eax], edi
lea eax, [ebp - 0x5c]
mov edi, dword [ebp + 8]
mov ecx, edi
push eax
call fcn.0051dfe0
lea ecx, [ebp - 0x5c]
call fcn.0051e130
test esi, esi
je 0x522874
mov eax, dword [esi + 0xc]
mov dword [esi], vtable.RSL::PageArena.0
test eax, eax
je 0x522869
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [eax]
mov edi, dword [eax + 0x14]
call fcn.005f6700
mov edx, dword [esi + 4]
mov ecx, dword [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x18], 0
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x24], edx
push eax
mov dword [ebp - 0x20], edx
call edi
mov edi, dword [ebp + 8]
push 0x10
push esi
call fcn.00516d60
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.005221f0
mov edi, dword [ebp + 0xc]
lea ecx, [ebp - 0x94]
mov esi, dword [ebp + 0x10]
push 0
push 0x400
push eax
call fcn.0051df20
push esi
push edi
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], 3
call fcn.0051b300
mov esi, dword [ebp + 8]
mov dword [esi], 0
mov byte [esi + 4], 1
mov dword [esi + 8], 0
push 0x38
mov byte [ebp - 4], 4
call fcn.00516cd0
add esp, 4
test eax, eax
je 0x5228ee
lea ecx, [ebp - 0x94]
push ecx
mov ecx, eax
call fcn.0051de80
jmp 0x5228f0
xor eax, eax
mov dword [esi + 0xc], eax
mov dword [esi], eax
cmp dword [eax + 0x30], 0
setne cl
mov byte [esi + 4], cl
lea ecx, [ebp - 0x94]
call fcn.0051e130
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x522920
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x747680
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push 0
push 0x400
call fcn.005221f0
push eax
lea ecx, [ebp - 0x74]
call fcn.0051df20
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x3c], eax
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x28], 0x100
lea eax, [ebp - 0x74]
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x3c]
call fcn.0051dd50
mov edx, dword [ebp - 0x24]
test edx, edx
jne 0x522a04
mov ecx, dword [ebp - 0x1c]
cmp byte [ecx], dl
jne 0x5229c3
sub ecx, dword [ebp - 0x14]
mov edx, 1
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], ecx
jmp 0x522a07
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x3c]
call fcn.0051dac0
mov edx, dword [ebp - 0x24]
test edx, edx
jne 0x522a04
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x3c]
call fcn.0051dd50
mov edx, dword [ebp - 0x24]
test edx, edx
jne 0x522a04
mov ecx, dword [ebp - 0x1c]
cmp byte [ecx], dl
je 0x522a04
sub ecx, dword [ebp - 0x14]
mov edx, 2
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], ecx
jmp 0x522a07
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x40], ecx
push esi
test edx, edx
jne 0x522a36
mov esi, dword [ebp - 0x50]
lea ecx, [ebp - 0x74]
add esi, 0xfffffff0
mov dword [ebp - 0x50], esi
call fcn.0051e1b0
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x74], xmm0
mov word [esi + 0xe], ax
lea ecx, [ebp + 0xc]
call fcn.0051e410
push dword [ebp - 0x34]
call fcn.0071420c
push 1
push dword [ebp - 0x38]
call fcn.00516d60
mov esi, dword [ebp + 8]
mov dword [esi], 0
mov byte [esi + 4], 1
mov dword [esi + 8], 0
push 0x38
mov byte [ebp - 4], 4
call fcn.00516cd0
add esp, 0x10
test eax, eax
je 0x522a83
lea ecx, [ebp - 0x74]
push ecx
mov ecx, eax
call fcn.0051de80
jmp 0x522a85
xor eax, eax
mov dword [esi + 0xc], eax
mov dword [esi], eax
cmp dword [eax + 0x30], 0
setne cl
mov byte [esi + 4], cl
lea ecx, [ebp - 0x74]
call fcn.0051e130
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x524770
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp byte [0xa968b0], 0
je 0x5247c4
cmp byte [0x8f6528], 0
je 0x5247c4
cmp byte [0xafad14], 0
jne 0x5247b4
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov dword [0xafad18], eax
mov dword [0xafad1c], ecx
nop
mov byte [0xafad14], 1
nop
mov eax, dword [0xafad18]
mov edx, dword [0xafad1c]
mov esp, ebp
pop ebp
ret
mov ecx, dword [0xafad18]
mov eax, ecx
mov edx, dword [0xafad1c]
or eax, edx
jne 0x524801
cmp byte [0xafad14], al
jne 0x524801
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov dword [0xafad18], ecx
mov dword [0xafad1c], edx
mov byte [0xafad14], 1
mov eax, ecx
mov esp, ebp
pop ebp
ret

Function at 0x524c80
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
cmp byte [0xa968b0], 0
push esi
push edi
je 0x524d41
cmp byte [0x8f6528], 0
je 0x524d41
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
cmp byte [0xafad14], 0
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
jne 0x524cd0
mov dword [0xafad18], edi
mov dword [0xafad1c], esi
nop
mov byte [0xafad14], 1
nop
movsd xmm0, qword [0xafad30]
ucomisd xmm0, qword [0x769750]
movsd qword [ebp - 8], xmm0
lahf
test ah, 0x44
jp 0x524d19
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
call fcn.007031c0
movsd xmm1, qword [0x769ed8]
divsd xmm1, xmm0
movsd qword [ebp - 8], xmm1
movsd qword [0xafad30], xmm1
sub edi, dword [0xafad18]
mov ecx, edi
sbb esi, dword [0xafad1c]
mov edx, esi
call fcn.007031c0
mulsd xmm0, qword [ebp - 8]
pop edi
pop esi
movsd qword [ebp - 0x10], xmm0
fld qword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1033fe0]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0xafad28]
cmp eax, dword [ecx + 0x64c]
jg 0x524d9f
movsd xmm0, qword [0xafad20]
movsd qword [ebp - 0x18], xmm0
call fcn.00524770
sub esi, eax
mov ecx, esi
sbb edi, edx
mov edx, edi
call fcn.007031c0
mulsd xmm0, qword [ebp - 0x18]
pop edi
pop esi
movsd qword [ebp - 0x18], xmm0
fld qword [ebp - 0x18]
mov esp, ebp
pop ebp
ret
push 0xafad28
call fcn.00702d61
add esp, 4
cmp dword [0xafad28], 0xffffffff
jne 0x524d6d
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
call fcn.007031c0
movsd xmm1, qword [0x769ed8]
divsd xmm1, xmm0
push 0xafad28
movsd qword [0xafad20], xmm1
call fcn.00702d17
add esp, 4
jmp 0x524d6d
Function at 0x52a060
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
mov edx, dword [ebp + 0xc]
push 0xffffffffffffffff
push 0x745b35
push eax
mov dword fs:[0], esp
sub esp, 0x10
cmp dword [edx + 0x14], 0x10
push ebx
push esi
push edi
mov ebx, ecx
mov edi, edx
jb 0x52a08d
mov edi, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
cmp dword [edx + 0x10], ecx
jbe 0x52a0b2
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, dword [edx + 0x10]
jb 0x52a0a0
push esi
push edx
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.00489ef0
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x52a0e2
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 edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [ebx + 8], 0x71c71c7
je 0x52a23b
lea eax, [ebx + 4]
mov dword [ebp - 0x1c], eax
push 0x24
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
call fcn.00516cd0
add esp, 4
mov edi, eax
mov dword [ebp - 0x18], edi
push dword [ebp + 0xc]
lea ecx, [edi + 8]
call fcn.004838a0
mov byte [edi + 0x20], 0
mov eax, dword [ebx + 8]
inc eax
movss xmm3, dword [ebx]
mov dword [ebp - 4], 1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x75f520]
mov eax, dword [ebx + 0x1c]
cvtpd2ps xmm2, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x75f520]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x52a1da
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x14], xmm0
fld qword [ebp - 0x14]
fstp qword [esp]
call fcn.00715730
fstp qword [ebp - 0x14]
movsd xmm0, qword [ebp - 0x14]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.00702ec0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebx + 0x1c]
cmp eax, ecx
jae 0x52a1be
cmp eax, 0x200
jae 0x52a1bc
shl eax, 3
cmp eax, ecx
jae 0x52a1be
mov eax, ecx
push eax
mov ecx, ebx
call fcn.00494b80
push esi
lea eax, [edi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00489ef0
mov edx, dword [eax]
jmp 0x52a1dd
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 0x52a209
mov dword [ecx + eax*8], edi
jmp 0x52a21b
cmp esi, edx
jne 0x52a212
mov dword [ecx + eax*8], edi
jmp 0x52a21f
mov edx, dword [ebp + 0xc]
cmp dword [ecx + eax*8 + 4], edx
jne 0x52a21f
mov dword [ecx + eax*8 + 4], edi
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [eax], edi
pop edi
pop esi
mov byte [eax + 4], 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.006ee17a
int3
Function at 0x52a500
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x1c], 0x10
push ebx
mov ebx, dword [eax + 0x18]
mov dword [ebp - 4], ecx
lea ecx, [eax + 8]
push esi
push edi
mov dword [ebp - 8], ecx
mov edi, ecx
jb 0x52a522
mov edi, dword [ecx]
xor edx, edx
mov esi, 0x811c9dc5
test ebx, ebx
je 0x52a541
nop dword [eax]
movzx ecx, byte [edx + edi]
inc edx
xor ecx, esi
imul esi, ecx, 0x1000193
cmp edx, ebx
jb 0x52a530
mov ebx, dword [ebp - 4]
mov edx, dword [ebx + 0x18]
mov ecx, dword [ebx + 0xc]
and edx, esi
mov esi, dword [ecx + edx*8]
cmp dword [ecx + edx*8 + 4], eax
jne 0x52a56e
cmp esi, eax
jne 0x52a565
mov eax, dword [ebx + 4]
mov dword [ecx + edx*8], eax
mov dword [ecx + edx*8 + 4], eax
jmp 0x52a577
mov eax, dword [eax + 4]
mov dword [ecx + edx*8 + 4], eax
jmp 0x52a577
cmp esi, eax
jne 0x52a57a
mov eax, dword [eax]
mov dword [ecx + edx*8], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [eax]
dec dword [ebx + 8]
mov eax, dword [eax + 4]
mov ecx, dword [ebp - 8]
mov dword [eax], esi
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
mov dword [esi + 4], eax
call fcn.00517e70
push 0x24
push dword [ebp + 0xc]
call fcn.00516d60
mov eax, dword [ebp + 8]
add esp, 8
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x52c200
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x747b65
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
mov edx, edi
cmp dword [edi + 0x14], 0x10
jb 0x52c22d
mov edx, dword [edi]
xor ecx, ecx
mov esi, 0x811c9dc5
cmp dword [edi + 0x10], ecx
jbe 0x52c252
nop dword [eax]
movzx eax, byte [ecx + edx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, dword [edi + 0x10]
jb 0x52c240
push esi
push edi
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.00489ef0
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x52c272
mov eax, dword [ebp + 8]
mov dword [eax], ecx
xor cl, cl
jmp 0x52c336
cmp dword [ebx + 8], 0x71c71c7
je 0x52c34c
lea eax, [ebx + 4]
mov dword [ebp - 0x1c], eax
push 0x24
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
call fcn.00516cd0
add esp, 4
mov dword [ebp - 0x18], eax
add eax, 8
mov ecx, eax
mov dword [ebp + 0xc], eax
push edi
call fcn.004838a0
mov eax, dword [edi + 0x18]
mov dword [edi + 0x18], 0
mov edi, dword [ebp + 0xc]
mov dword [edi + 0x18], eax
mov eax, dword [ebx + 8]
inc eax
mov dword [ebp - 4], 1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x75f520]
mov eax, dword [ebx + 0x1c]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x75f520]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [ebx]
jbe 0x52c31d
mov ecx, ebx
call fcn.0052bc80
push esi
push edi
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.00489ef0
mov ecx, dword [eax]
jmp 0x52c320
mov ecx, dword [ebp - 0x14]
push dword [ebp - 0x18]
push ecx
push esi
mov ecx, ebx
call fcn.004ce260
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov cl, 1
mov eax, dword [ebp + 8]
pop edi
mov byte [eax + 4], cl
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.006ee17a
int3
Function at 0x52cce0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x747bc5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
mov ebx, ecx
push esi
push edi
mov dword [ebp - 0x10], ebx
lea esi, [ebx + 0x20]
push esi
mov dword [ebp - 0x14], esi
call fcn.006eefbe
add esp, 4
test eax, eax
jne 0x52cedb
push dword [ebp + 8]
mov dword [ebp - 4], eax
mov ecx, ebx
lea eax, [ebp + 8]
push eax
call fcn.004db7a0
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
push ebx
lea eax, [edi + 8]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0052d980
add esp, 0xc
mov ecx, dword [ebp - 0x10]
lea eax, [edi + 8]
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
add ecx, 0x130
push eax
call fcn.005027f0
lea edx, [ebp - 0x40]
mov eax, dword [eax]
mov dword [eax + 0x20], ebx
mov ebx, 0x811c9dc5
cmp dword [ebp - 0x2c], 0x10
cmovae edx, dword [ebp - 0x40]
xor ecx, ecx
cmp dword [ebp - 0x30], ecx
jbe 0x52cd8a
movzx eax, byte [ecx + edx]
inc ecx
xor eax, ebx
imul ebx, eax, 0x1000193
cmp ecx, dword [ebp - 0x30]
jb 0x52cd78
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x40]
push ebx
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00489ef0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x52ce5f
mov eax, dword [ebp - 0x10]
cmp dword [eax + 8], 0x71c71c7
je 0x52cee1
add eax, 4
mov dword [ebp - 0x28], eax
push 0x24
mov byte [ebp - 4], 2
mov dword [ebp - 0x24], 0
call fcn.00516cd0
add esp, 4
mov dword [ebp - 0x24], eax
add eax, 8
lea ecx, [ebp - 0x40]
mov dword [ebp + 8], eax
push ecx
mov ecx, eax
call fcn.004838a0
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], 0
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 3
mov eax, dword [ecx + 8]
inc eax
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x75f520]
mov eax, dword [ecx + 0x1c]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x75f520]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [ecx]
jbe 0x52ce52
call fcn.0052bc80
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x18]
push ebx
push dword [ebp + 8]
push eax
call fcn.00489ef0
mov ecx, dword [ebp - 0x10]
mov edx, dword [eax]
jmp 0x52ce55
mov edx, dword [ebp - 0x20]
push dword [ebp - 0x24]
push edx
push ebx
call fcn.004ce260
mov edx, dword [eax + 0x20]
mov ecx, dword [edi + 0x20]
mov dword [eax + 0x20], ecx
lea eax, [ebp + 8]
mov ecx, dword [ebp - 0x10]
push edi
push eax
mov dword [edi + 0x20], edx
call fcn.0052a500
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x52cea8
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x52ce9e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x52ceeb
push edx
push ecx
call fcn.00516d60
add esp, 8
push esi
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.006ef019
mov ecx, dword [ebp - 0xc]
add esp, 4
mov eax, 1
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push eax
call fcn.006ef37a
push str.unordered_map_set_too_long
call fcn.006ee17a
call fcn.0070f5b4
int3
Function at 0x539c60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
sub ebx, edi
sar ebx, 4
mov dword [ebp + 0xc], ebx
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov dword [edx], eax
mov dword [edx + 4], ecx
xor ecx, ecx
mov eax, dword [edi + 8]
mov dword [edx + 8], eax
mov eax, dword [edi + 0xc]
mov dword [edx + 0xc], eax
lea edx, [ebx - 1]
mov eax, edx
mov dword [ebp - 4], edx
sar eax, 1
mov dword [ebp + 8], eax
test eax, eax
jle 0x539cf7
mov ebx, eax
lea edx, [ecx + ecx]
xor eax, eax
mov ecx, edx
add ecx, ecx
movups xmm0, xmmword [edi + ecx*8 + 0x20]
comisd xmm0, xmmword [edi + ecx*8 + 0x10]
seta al
shl esi, 4
xor eax, 1
add esi, edi
inc eax
add edx, eax
mov dword [ebp + 0x10], edx
shl edx, 4
add edx, edi
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [esi + 4], ecx
mov ecx, dword [ebp + 0x10]
mov dword [esi], eax
mov eax, dword [edx + 8]
mov dword [esi + 8], eax
mov eax, dword [edx + 0xc]
mov dword [esi + 0xc], eax
mov esi, ecx
cmp ecx, ebx
jl 0x539ca5
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 4]
cmp esi, eax
jne 0x539d24
test bl, 1
jne 0x539d24
add ebx, ebx
shl esi, 4
add esi, edi
mov eax, dword [edi + ebx*8 - 0x10]
mov ecx, dword [edi + ebx*8 - 0xc]
mov dword [esi], eax
mov dword [esi + 4], ecx
mov eax, dword [edi + ebx*8 - 8]
mov dword [esi + 8], eax
mov eax, dword [edi + ebx*8 - 4]
mov dword [esi + 0xc], eax
mov esi, edx
test esi, esi
jle 0x539d63
mov eax, dword [ebp + 0x14]
lea ebx, [esi - 1]
sar ebx, 1
mov edx, ebx
add edx, edx
movups xmm0, xmmword [edi + edx*8]
comisd xmm0, xmmword [eax]
jbe 0x539d63
mov eax, dword [edi + edx*8]
mov ecx, dword [edi + edx*8 + 4]
shl esi, 4
add esi, edi
mov dword [esi], eax
mov dword [esi + 4], ecx
mov eax, dword [edi + edx*8 + 8]
mov dword [esi + 8], eax
mov eax, dword [edi + edx*8 + 0xc]
mov dword [esi + 0xc], eax
mov esi, ebx
test ebx, ebx
jg 0x539d28
mov edx, dword [ebp + 0x14]
shl esi, 4
add esi, edi
pop edi
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [esi], eax
mov dword [esi + 4], ecx
mov eax, dword [edx + 8]
mov dword [esi + 8], eax
mov eax, dword [edx + 0xc]
mov dword [esi + 0xc], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret