Function at 0x439870
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47414d
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push esi
push edi
mov eax, dword [0x490240]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x48]
push edi
push eax
call fcn.00439ac0
add esp, 8
mov ecx, dword [edi + 4]
mov eax, 0x2aaaaaab
sub ecx, dword [edi]
xor esi, esi
mov edi, dword [ebp - 0x48]
imul ecx
mov dword [ebp - 4], 0
sar edx, 2
mov eax, edx
mov dword [ebp - 0x1c], esi
shr eax, 0x1f
add eax, edx
je 0x439a68
mov dword [ebp - 0x18], esi
nop dword [eax + eax]
push 0x47e38c
push dword [edi + esi*4]
mov byte [ebp - 0x54], 1
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x50], eax
mov eax, dword [edi + esi*4]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x24], eax
mov edi, dword [edi]
add edi, dword [ebp - 0x18]
mov dword [ebp - 0x20], edi
mov edx, edi
cmp dword [edi + 0x14], 7
mov eax, dword [edi + 0x10]
jbe 0x439913
mov edx, dword [edi]
xor ecx, ecx
mov esi, 0x811c9dc5
add eax, eax
mov dword [ebp - 0x14], eax
je 0x439937
mov edi, eax
movzx eax, byte [edx + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edi
jb 0x439923
mov edi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x2c]
push esi
push edi
push eax
call fcn.00417d90
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x439a29
mov eax, dword [ebp - 0x10]
cmp dword [eax + 8], 0x5d1745d
je 0x439ab0
add eax, 4
mov dword [ebp - 0x34], eax
push 0x2c
mov byte [ebp - 4], 1
mov dword [ebp - 0x30], 0
call fcn.004637bf
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x30], eax
lea ecx, [eax + 8]
push edi
call fcn.0040b440
mov ecx, dword [ebp - 0x14]
xorps xmm0, xmm0
movq qword [ecx + 0x20], xmm0
mov dword [ecx + 0x28], 0
mov edi, dword [ebp - 0x10]
mov byte [ebp - 4], 2
mov eax, dword [edi + 8]
inc eax
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x47cde0]
mov eax, dword [edi + 0x1c]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x47cde0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [edi]
seta al
test al, al
je 0x439a0f
mov ecx, edi
call fcn.00437f30
mov eax, dword [ebp - 0x14]
mov ecx, edi
push esi
add eax, 8
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00417d90
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], eax
jmp 0x439a12
mov ecx, dword [ebp - 0x2c]
push dword [ebp - 0x14]
mov dword [ebp - 0x30], 0
push ecx
push esi
mov ecx, edi
call fcn.00419510
mov byte [ebp - 4], 0
movq xmm0, qword [ebp - 0x54]
mov ecx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x1c]
movq qword [eax + 0x20], xmm0
inc esi
mov dword [eax + 0x28], ecx
mov eax, dword [ebp + 8]
add dword [ebp - 0x18], 0x18
mov edi, dword [ebp - 0x48]
mov dword [ebp - 0x1c], esi
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x4398e0
test edi, edi
je 0x439a98
mov ecx, dword [ebp - 0x40]
mov eax, edi
sub ecx, edi
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x439a8e
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x439aab
push ecx
push edi
call fcn.004637ef
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
call fcn.00465020
push str.unordered_map_set_too_long
call fcn.0044b5ac
int3