Function at 0x545000
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x68
call fcn.005dfa60
mov eax, dword [0x6a704c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, edx
mov dword [ebp - 0x64], ecx
mov ecx, edi
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x60], 0
call fcn.004a2690
mov ecx, edi
call fcn.004a2800
mov ecx, edi
mov dword [ebp - 0x3c], eax
call fcn.004a2800
mov ecx, edi
mov dword [ebp - 0x40], eax
call fcn.004a2800
mov ecx, edi
mov dword [ebp - 0x48], eax
call fcn.004a2800
mov edi, eax
mov dword [ebp - 0x50], edi
test edi, edi
je 0x5454f1
push 6
lea edx, [ebp - 0x1c]
mov ecx, ebx
call fcn.00545c40
add esp, 4
test eax, eax
je 0x5454d5
cmp eax, 6
jg 0x5454d5
lea eax, [ebp - 0x1c]
mov edx, esi
mov esi, dword [ebp - 0x48]
mov ecx, esi
push eax
call fcn.00544850
add esp, 4
test eax, eax
je 0x5454f1
cmp dword [esi + 4], 0
je 0x5454f1
mov edx, ebx
mov ecx, edi
call fcn.0047db30
test eax, eax
je 0x5454f1
push esi
call fcn.0047d7a0
push edi
mov dword [ebp - 0x34], eax
call fcn.0047d7a0
mov edi, dword [ebx + 4]
add esp, 8
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x20], edi
cmp edi, dword [esi + 8]
jg 0x5450e5
mov eax, esi
jmp 0x5450ee
mov edx, edi
mov ecx, esi
call fcn.0047d980
test eax, eax
je 0x5454f1
mov edx, dword [ebp - 0x48]
mov esi, dword [esi]
mov dword [ebp - 0x44], esi
mov eax, dword [edx + 4]
cmp eax, edi
jge 0x545114
mov ecx, dword [ebp - 0x20]
lea edi, [esi + eax*4]
sub ecx, eax
xor eax, eax
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 4], edi
cmp edi, dword [ecx + 8]
jg 0x545123
mov eax, ecx
jmp 0x54512d
mov edx, edi
call fcn.0047d980
mov ecx, dword [ebp - 0x3c]
test eax, eax
je 0x5454f1
mov ebx, dword [ecx]
mov dword [ebp - 0x24], ebx
mov dword [ebx], 1
cmp edi, 1
jle 0x545155
lea ecx, [edi - 1]
xor eax, eax
lea edi, [ebx + 4]
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x3c]
mov dword [ecx + 4], edi
mov ecx, dword [ebp - 0x40]
cmp edi, dword [ecx + 8]
jg 0x545164
mov eax, ecx
jmp 0x54516e
mov edx, edi
call fcn.0047d980
mov ecx, dword [ebp - 0x40]
test eax, eax
je 0x5454f1
mov edx, dword [ecx]
mov dword [ebp - 0x28], edx
test edi, edi
jle 0x54518d
mov ecx, edi
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x50]
mov dword [ecx + 4], edi
mov ecx, dword [ebp - 0x34]
mov eax, dword [eax]
mov dword [ebp - 0x30], eax
nop dword [eax + eax]
test ecx, ecx
je 0x545272
nop dword [eax + eax]
mov ebx, dword [esi]
test bl, 1
jne 0x54526c
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x5c]
mov eax, dword [eax]
mov edx, eax
mov ecx, dword [ecx]
and edx, 1
neg edx
mov dword [ebp - 0x58], edx
mov ecx, dword [ecx]
and ecx, edx
lea edx, [edi - 1]
xor eax, ecx
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
test edx, edx
jle 0x54524e
mov ecx, dword [ebp - 0x24]
mov edx, esi
sub edx, ecx
mov dword [ebp - 0x38], edx
lea edi, [ecx + 4]
mov ecx, 0xfffffffc
sub ecx, dword [ebp - 0x24]
mov dword [ebp - 0x54], ecx
nop dword [eax]
mov edx, dword [edx + edi]
lea edi, [edi + 4]
mov ecx, edx
shr ebx, 1
shl ecx, 0x1f
or ecx, ebx
shr eax, 1
mov ebx, dword [ebp - 0x2c]
mov dword [esi + ebx*4], ecx
mov ebx, edx
mov ecx, dword [ebp - 0x5c]
mov esi, dword [ebp - 0x44]
mov ecx, dword [ecx]
add ecx, dword [ebp - 0x54]
mov edx, dword [ecx + edi]
and edx, dword [ebp - 0x58]
xor edx, dword [edi - 4]
mov ecx, edx
shl ecx, 0x1f
or ecx, eax
mov eax, edx
mov edx, dword [ebp - 0x20]
mov dword [edi - 8], ecx
dec edx
mov ecx, dword [ebp - 0x2c]
inc ecx
cmp ecx, edx
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x38]
jl 0x545200
mov edi, dword [ebp - 0x20]
shr ebx, 1
mov dword [esi + ecx*4], ebx
mov ebx, dword [ebp - 0x24]
shr eax, 1
mov dword [ebx + ecx*4], eax
mov ecx, dword [ebp - 0x34]
sub ecx, 1
mov dword [ebp - 0x34], ecx
jne 0x5451b0
jmp 0x54526f
mov ebx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
cmp ecx, 0x20
jg 0x54528a
mov eax, dword [esi]
test eax, eax
je 0x5454f1
cmp eax, 1
je 0x54544c
cmp ecx, dword [ebp - 0x4c]
jge 0x5452c7
mov ebx, dword [ebp - 0x48]
mov eax, ecx
mov esi, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x48], esi
mov esi, dword [ebp - 0x40]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x50], ebx
mov ebx, dword [ebx]
mov dword [ebp - 0x3c], esi
mov esi, dword [ebp - 0x30]
mov dword [ebp - 0x30], ebx
mov ebx, edx
mov edx, dword [eax]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edx
xor edx, edx
test edi, edi
jle 0x545406
cmp edi, 4
jb 0x5453c2
mov ecx, dword [ebp - 0x28]
lea eax, [edi - 1]
lea eax, [ebx + eax*4]
lea ecx, [ecx + edi*4]
add ecx, 0xfffffffc
cmp ebx, ecx
ja 0x5452f6
cmp eax, dword [ebp - 0x28]
jae 0x5453c2
lea ecx, [edi - 1]
lea ecx, [esi + ecx*4]
mov dword [ebp - 0x2c], ecx
cmp ebx, ecx
ja 0x54530b
cmp eax, esi
jae 0x5453c2
mov ecx, dword [ebp - 0x30]
sub ecx, 4
lea edi, [ecx + edi*4]
cmp ebx, edi
ja 0x545321
cmp eax, dword [ebp - 0x30]
jae 0x5453bf
mov ebx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x28]
dec ebx
lea eax, [ecx + ebx*4]
mov ebx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x2c]
cmp esi, eax
ja 0x54533e
cmp ecx, dword [ebp - 0x28]
jae 0x5453bf
cmp esi, edi
ja 0x545347
cmp ecx, dword [ebp - 0x30]
jae 0x5453bf
mov ecx, dword [ebp - 0x20]
mov eax, ecx
and eax, reloc.WS2_32.dll_closesocket
jns 0x545358
dec eax
or eax, 0xfffffffc
inc eax
mov ebx, dword [ebp - 0x28]
sub ecx, eax
mov edi, dword [ebp - 0x30]
sub ebx, esi
mov dword [ebp - 0x38], ebx
sub edi, esi
mov ebx, dword [ebp - 0x24]
mov eax, esi
mov esi, dword [ebp - 0x44]
mov dword [ebp - 0x2c], ebx
sub dword [ebp - 0x2c], esi
mov ebx, dword [ebp - 0x38]
mov esi, dword [ebp - 0x2c]
nop dword [eax + eax]
movups xmm0, xmmword [eax]
add edx, 4
lea eax, [eax + 0x10]
movups xmm1, xmmword [edi + eax - 0x10]
pxor xmm1, xmm0
movups xmm0, xmmword [esi + eax - 0x10]
movups xmmword [eax - 0x10], xmm1
movups xmm1, xmmword [ebx + eax - 0x10]
pxor xmm1, xmm0
movups xmmword [esi + eax - 0x10], xmm1
cmp edx, ecx
jl 0x545380
mov edi, dword [ebp - 0x20]
mov esi, dword [ebp - 0x44]
mov ebx, dword [ebp - 0x24]
mov dword [ebp - 0x38], edx
cmp edx, edi
jge 0x545403
jmp 0x5453c2
mov edi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x30]
lea ecx, [esi + edx*4]
sub eax, esi
sub ebx, esi
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x28]
sub eax, esi
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x38]
sub edi, edx
mov esi, dword [ebp - 0x54]
mov edx, eax
mov dword [ebp - 0x58], eax
mov eax, dword [ecx + ebx]
lea ecx, [ecx + 4]
xor dword [ecx - 4], eax
mov eax, dword [ecx + edx - 4]
xor dword [ecx + esi - 4], eax
sub edi, 1
jne 0x5453e4
mov esi, dword [ebp - 0x44]
mov ebx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x28]
cmp ecx, dword [ebp - 0x4c]
jne 0x5451a0
lea eax, [ecx - 1]
cdq
and edx, 0x1f
lea edi, [edx + eax]
sar edi, 5
mov ecx, dword [esi + edi*4]
test ecx, ecx
jne 0x545433
test edi, edi
je 0x545433
mov ecx, dword [esi + edi*4 - 4]
dec edi
test ecx, ecx
je 0x545426
call fcn.0047d710
mov edx, dword [ebp - 0x28]
shl edi, 5
lea ecx, [edi + eax]
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x34], ecx
jmp 0x5451a0
mov ebx, dword [ebp - 0x3c]
mov esi, dword [ebx + 4]
test esi, esi
jle 0x545473
mov eax, dword [ebx]
lea eax, [eax + esi*4]
nop dword [eax + eax]
cmp dword [eax - 4], 0
lea eax, [eax - 4]
jne 0x54546e
dec esi
test esi, esi
jg 0x545460
mov dword [ebx + 4], esi
test esi, esi
jne 0x54547c
mov dword [ebx + 0xc], 0
test byte [ebx + 0x10], 4
je 0x545485
mov esi, dword [ebx + 8]
mov edi, dword [ebp - 0x64]
cmp edi, ebx
je 0x5454c8
cmp esi, dword [edi + 8]
jg 0x545495
mov eax, edi
jmp 0x54549e
mov edx, esi
mov ecx, edi
call fcn.0047d980
test eax, eax
je 0x5454f1
cmp dword [ebx + 4], 0
jle 0x5454bc
lea eax, [esi*4]
push eax
push dword [ebx]
push dword [edi]
call fcn.005e1be0
add esp, 0xc
mov eax, dword [ebx + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [ebx + 4]
mov dword [edi + 4], eax
test edi, edi
je 0x5454f1
mov dword [ebp - 0x60], 1
jmp 0x5454f1
mov edx, 0x83
push 0x18e
push str.C:mediagetdependencies_installeropenssl1_1_win_build_1.1.1qcrypto_bn_bn_gf2m.c
push 0x6a
lea ecx, [edx - 0x80]
call fcn.00489de0
add esp, 0xc
mov ecx, dword [ebp - 0x68]
call fcn.004a2790
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x60]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.005df097
mov esp, ebp
pop ebp
ret