Function at 0x4531a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x838c27
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0xa5e224]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x24], esi
cmp byte [ebp + 0xc], 0
jne 0x4531f1
mov eax, dword [ebp + 8]
mov dword [eax + 0x24], 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
push 0x1c0
call fcn.008000f5
mov ebx, eax
mov dword [ebp - 0x1c], eax
add esp, 4
mov dword [ebp + 0xc], ebx
mov dword [ebp - 4], 0
test ebx, ebx
je 0x453241
xorps xmm0, xmm0
lea eax, [esi + 0x70]
movq qword [ebx], xmm0
lea ecx, [ebx + 0x10]
mov dword [ebx + 8], 0
push eax
mov dword [ebx + 4], 1
mov dword [ebx + 8], 1
mov dword [ebx], vtable.std::_Ref_count_obj2_struct_OfferDownloader_.0
call fcn.00452990
jmp 0x453246
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
lea eax, [ebx + 0x10]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], eax
mov edi, dword [esi + 0xb8]
mov ecx, dword [esi + 0xbc]
mov dword [ebp - 4], 1
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x2c], ecx
cmp edi, ecx
je 0x453448
add esi, 0x4c
mov dword [ebp - 0x20], esi
cmp dword [edi + 0x14], 8
mov esi, edi
mov ebx, dword [edi + 0x10]
jb 0x453283
mov esi, dword [edi]
xor ecx, ecx
mov edx, 0x811c9dc5
add ebx, ebx
je 0x4532a1
nop
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x453290
mov ebx, dword [ebp - 0x20]
lea eax, [ebp - 0x4c]
push edx
push edi
push eax
mov ecx, ebx
call fcn.00449d90
mov eax, dword [eax + 4]
test eax, eax
jne 0x4532bb
mov eax, dword [ebx + 4]
mov ecx, dword [ebp - 0x24]
cmp eax, dword [ecx + 0x50]
je 0x453433
mov edx, dword [ebp - 0x34]
lea ebx, [eax + 0x20]
mov ecx, dword [eax + 0x18]
add eax, 8
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x14], eax
mov dword [ebp + 0xc], eax
cmp dword [eax + 0x14], 8
jb 0x4532ea
mov ecx, dword [eax]
mov dword [ebp + 0xc], ecx
mov ecx, dword [eax + 0x10]
add ecx, ecx
mov esi, 0x811c9dc5
mov dword [ebp - 0x10], ecx
xor ecx, ecx
cmp dword [ebp - 0x10], ecx
jbe 0x45331b
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp - 0x10]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebx
jb 0x453301
mov edi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
push esi
push eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [edx + 0x50]
call fcn.00449d90
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x453352
add ecx, 0x20
cmp ecx, ebx
je 0x453433
cmp dword [ebx + 0x14], 8
mov eax, dword [ebx + 0x10]
jb 0x453346
mov ebx, dword [ebx]
push eax
push ebx
call fcn.00437780
jmp 0x453433
mov eax, dword [ebp - 0x34]
cmp dword [eax + 0x58], 0x4924924
je 0x45349e
add eax, 0x54
mov dword [ebp - 0x44], eax
push 0x38
mov byte [ebp - 4], 2
mov dword [ebp - 0x40], 0
call fcn.008000f5
add esp, 4
mov dword [ebp + 0xc], eax
mov dword [ebp - 0x40], eax
add eax, 8
mov ecx, eax
mov dword [ebp - 0x28], eax
push dword [ebp - 0x14]
call fcn.00436260
mov ecx, dword [ebp + 0xc]
push ebx
mov byte [ebp - 4], 3
lea ecx, [ecx + 0x20]
call fcn.00436260
mov ebx, dword [ebp - 0x34]
add ebx, 0x50
mov byte [ebp - 4], 4
mov eax, dword [ebx + 8]
inc eax
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x88c6b0]
mov eax, dword [ebx + 0x1c]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x88c6b0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [ebx]
seta al
test al, al
je 0x453419
mov ecx, ebx
call fcn.00453f00
mov eax, dword [ebp + 0xc]
mov ecx, ebx
push esi
add eax, 8
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.00449d90
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], eax
jmp 0x45341c
mov ecx, dword [ebp - 0x3c]
push dword [ebp + 0xc]
mov dword [ebp - 0x40], 0
push ecx
push esi
mov ecx, ebx
call fcn.00453e60
mov byte [ebp - 4], 1
add edi, 0x18
mov dword [ebp - 0x18], edi
cmp edi, dword [ebp - 0x2c]
jne 0x453276
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x34]
lea ecx, [ebx + 4]
test ebx, ebx
je 0x453452
lock inc dword [ecx]
mov esi, dword [ebp + 8]
mov dword [esi], vtable.std::_Func_impl_no_alloc_class__lambda_b82766d8aeb98354919a70d17b9089b0___void__class_std::shared_ptr_class_Context__.0
mov dword [esi + 4], eax
mov dword [esi + 8], ebx
mov dword [esi + 0x24], esi
test ebx, ebx
je 0x453488
or edi, 0xffffffff
mov eax, edi
lock xadd dword [ecx], eax
jne 0x453488
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
lock xadd dword [ebx + 8], edi
dec edi
jne 0x453488
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 4]
mov eax, esi
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.007fc90d
int3