Function at 0x58bae0
Capabilities:
Encode data using xor
Hash data using sha1
Hash data using sha224
Hash data using sha256
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
mov eax, 0x338
call fcn.005dfa60
mov eax, dword [0x6a704c]
xor eax, esp
mov dword [esp + 0x334], eax
cmp dword [ebp + 0x18], 0x100000
mov eax, dword [ebp + 0xc]
push esi
mov dword [esp + 0x44], eax
mov esi, 0x28
mov eax, dword [ebp + 0x10]
push edi
mov dword [esp + 0x54], edx
mov edi, 0x40
mov edx, ecx
mov dword [esp + 0x38], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x74], edx
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x3c], edi
mov dword [esp + 0x58], esi
mov dword [esp + 0xc], 8
mov byte [esp + 0xb], 1
jae 0x58c4fa
test edx, edx
jne 0x58bb5a
xor eax, eax
jmp 0x58bb5c
mov eax, dword [edx]
mov eax, dword [eax]
cmp eax, 0x2a0
jg 0x58bcdb
je 0x58bc4a
cmp eax, 4
je 0x58bbe2
cmp eax, 0x40
jne 0x58bcf4
push 0x4c
lea eax, [esp + 0xa8]
push 0
push eax
call fcn.005e1a80
add esp, 0xc
mov dword [esp + 0x90], 0x67452301
mov dword [esp + 0x94], 0xefcdab89
mov eax, 0x14
mov dword [esp + 0x98], 0x98badcfe
mov dword [esp + 0x9c], 0x10325476
mov dword [esp + 0xa0], 0xc3d2e1f0
mov dword [esp + 0x30], 0x58b780
mov dword [esp + 0x14], 0x49d0d0
jmp 0x58bdf8
push 0x4c
lea eax, [esp + 0xa4]
push 0
push eax
call fcn.005e1a80
mov esi, 0x30
mov dword [esp + 0x9c], 0x67452301
add esp, 0xc
mov dword [esp + 0x94], 0xefcdab89
mov dword [esp + 0x98], 0x98badcfe
mov eax, 0x10
mov dword [esp + 0x9c], 0x10325476
mov dword [esp + 0x30], 0x58b700
mov dword [esp + 0x14], 0x48fb00
mov dword [esp + 0x58], esi
mov byte [esp + 0xb], 0
jmp 0x58bdf8
push 0x4c
lea eax, [esp + 0xb4]
push 0
push eax
call fcn.005e1a80
add esp, 0xc
mov dword [esp + 0x90], 0x6a09e667
mov dword [esp + 0x94], 0xbb67ae85
mov eax, 0x20
mov dword [esp + 0x98], 0x3c6ef372
mov dword [esp + 0x9c], 0xa54ff53a
mov dword [esp + 0xa0], 0x510e527f
mov dword [esp + 0xa4], 0x9b05688c
mov dword [esp + 0xa8], 0x1f83d9ab
mov dword [esp + 0xac], 0x5be0cd19
mov dword [esp + 0xfc], 0x20
mov dword [esp + 0x30], 0x58b820
mov dword [esp + 0x14], 0x49c330
jmp 0x58bdf8
sub eax, 0x2a1
je 0x58bdbe
sub eax, 1
je 0x58bda6
sub eax, 1
je 0x58bd18
test ecx, ecx
je 0x58c4fa
mov dword [ecx], 0
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x334]
xor ecx, esp
call fcn.005df097
mov esp, ebp
pop ebp
ret
push 0x4c
lea eax, [esp + 0xb4]
push 0
push eax
call fcn.005e1a80
add esp, 0xc
mov dword [esp + 0x90], 0xc1059ed8
mov dword [esp + 0x94], 0x367cd507
mov eax, 0x1c
mov dword [esp + 0x98], 0x3070dd17
mov dword [esp + 0x9c], 0xf70e5939
mov dword [esp + 0xa0], 0xffc00b31
mov dword [esp + 0xa4], 0x68581511
mov dword [esp + 0xa8], 0x64f98fa7
mov dword [esp + 0xac], 0xbefa4fa4
mov dword [esp + 0xfc], 0x1c
mov dword [esp + 0x30], 0x58b820
mov dword [esp + 0x14], 0x49c330
jmp 0x58bdf8
lea ecx, [esp + 0x90]
call fcn.0049c6d0
test eax, eax
jle 0x58c4fa
mov eax, edi
jmp 0x58bdd7
lea ecx, [esp + 0x90]
call fcn.0049c620
test eax, eax
jle 0x58c4fa
mov eax, 0x30
mov edi, 0x80
mov dword [esp + 0xc], 0x10
mov dword [esp + 0x3c], edi
mov dword [esp + 0x14], 0x49cfc0
mov dword [esp + 0x30], 0x58b910
cmp byte [ebp + 0x24], 0
mov ecx, 0xd
mov dword [esp + 0x1c], eax
mov dword [esp + 0x4c], ecx
je 0x58be21
mov ecx, dword [ebp + 0x20]
add ecx, 0xb
mov dword [esp + 0x24], 2
add ecx, esi
mov dword [esp + 0x4c], ecx
jmp 0x58be31
add eax, 0xff
xor edx, edx
add eax, edi
div edi
inc eax
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x18]
mov esi, ecx
sub esi, dword [esp + 0x1c]
dec eax
mov ecx, dword [esp + 0xc]
xor edx, edx
add ecx, esi
add ecx, edi
add eax, ecx
mov ecx, dword [ebp + 0x14]
div edi
add ecx, esi
xor edx, edx
mov esi, dword [esp + 0x3c]
xor edi, edi
mov dword [esp + 0x10], eax
mov eax, ecx
div esi
mov dword [esp + 0x28], ecx
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0xc]
add eax, ecx
mov dword [esp + 0x44], edx
xor edx, edx
mov dword [esp + 0x34], edi
div esi
mov edx, dword [esp + 0x10]
xor ecx, ecx
cmp byte [ebp + 0x24], cl
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x24]
setne cl
add ecx, eax
mov dword [esp + 0x2c], ecx
cmp edx, ecx
mov ecx, edx
jbe 0x58bea5
sub ecx, eax
mov edi, ecx
imul edi, esi
mov dword [esp + 0x34], edi
jmp 0x58bea7
sub ecx, eax
cmp dword [esp + 0x2c], edx
sbb eax, eax
and eax, ecx
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x28]
shl eax, 3
cmp byte [ebp + 0x24], 0
mov dword [esp + 0x18], eax
jne 0x58bf8e
lea eax, [eax + esi*8]
push esi
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1bc]
push 0
push eax
call fcn.005e1a80
mov eax, dword [ebp + 0x20]
add esp, 0xc
cmp eax, 0x80
ja 0x58c4fa
push eax
push dword [esp + 0x60]
lea eax, [esp + 0x1c0]
push eax
call fcn.005e1be0
movaps xmm2, xmmword [str.6666666666666666]
add esp, 0xc
xor eax, eax
nop
movups xmm0, xmmword [esp + eax + 0x1b8]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [esp + eax + 0x1b8], xmm1
movups xmm0, xmmword [esp + eax + 0x1c8]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [esp + eax + 0x1c8], xmm1
movups xmm0, xmmword [esp + eax + 0x1d8]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [esp + eax + 0x1d8], xmm1
movups xmm0, xmmword [esp + eax + 0x1e8]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [esp + eax + 0x1e8], xmm1
add eax, 0x40
cmp eax, esi
jb 0x58bf10
lea eax, [esp + 0x1b8]
push eax
lea eax, [esp + 0x94]
push eax
call dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
add esp, 8
mov ecx, eax
shr ecx, 0x18
mov dword [esp + 0x28], ecx
mov ecx, eax
shr ecx, 0x10
shr eax, 8
cmp byte [esp + 0xb], 0
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x10], eax
je 0x58bff7
mov eax, dword [esp + 0xc]
add eax, 0xfffffffc
push eax
lea eax, [esp + 0x16c]
push 0
push eax
call fcn.005e1a80
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x34]
mov byte [esp + eax + 0x170], cl
mov ecx, dword [esp + 0x38]
mov byte [esp + eax + 0x171], cl
mov ecx, dword [esp + 0x1c]
mov byte [esp + eax + 0x172], cl
mov ecx, dword [esp + 0x24]
mov byte [esp + eax + 0x173], cl
jmp 0x58c03a
push dword [esp + 0xc]
lea eax, [esp + 0x16c]
push 0
push eax
call fcn.005e1a80
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x34]
mov byte [esp + eax + 0x16f], cl
mov ecx, dword [esp + 0x38]
mov byte [esp + eax + 0x16e], cl
mov ecx, dword [esp + 0x1c]
mov byte [esp + eax + 0x16d], cl
mov ecx, dword [esp + 0x24]
mov byte [esp + eax + 0x16c], cl
add esp, 0xc
test edi, edi
je 0x58c183
cmp byte [ebp + 0x24], 0
je 0x58c0fe
mov eax, dword [esp + 0x4c]
cmp eax, esi
jbe 0x58c4fa
push dword [esp + 0x48]
sub eax, esi
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x94]
push eax
call dword [esp + 0x1c]
push dword [esp + 0x20]
mov eax, dword [esp + 0x54]
add eax, esi
push eax
lea eax, [esp + 0x248]
push eax
call fcn.005e1be0
mov eax, esi
sub eax, dword [esp + 0x2c]
push eax
push dword [esp + 0x50]
lea eax, [esp + 0x254]
add eax, dword [esp + 0x34]
push eax
call fcn.005e1be0
lea eax, [esp + 0x258]
push eax
lea eax, [esp + 0xb4]
push eax
call dword [esp + 0x3c]
xor edx, edx
mov eax, edi
div esi
add esp, 0x28
dec eax
cmp eax, 1
jbe 0x58c183
mov edi, dword [esp + 0x38]
sub edi, dword [esp + 0x18]
add edi, esi
dec eax
mov dword [esp + 0x10], eax
nop dword [eax + eax]
lea eax, [esp + 0x90]
push edi
push eax
call dword [esp + 0x1c]
add esp, 8
add edi, esi
sub dword [esp + 0x10], 1
jne 0x58c0e0
jmp 0x58c17f
mov ecx, dword [esp + 0x48]
mov eax, dword [ecx + 8]
movq xmm0, qword [ecx]
mov dword [esp + 0x240], eax
mov al, byte [ecx + 0xc]
mov byte [esp + 0x244], al
lea eax, [esi - 0xd]
push eax
push dword [esp + 0x3c]
lea eax, [esp + 0x24d]
movq qword [esp + 0x240], xmm0
push eax
call fcn.005e1be0
lea eax, [esp + 0x244]
push eax
lea eax, [esp + 0xa0]
push eax
call dword [esp + 0x28]
xor edx, edx
mov eax, edi
div esi
add esp, 0x14
cmp eax, 1
jbe 0x58c183
lea edi, [esi - 0xd]
add edi, dword [esp + 0x38]
dec eax
mov dword [esp + 0x10], eax
lea eax, [esp + 0x90]
push edi
push eax
call dword [esp + 0x1c]
add esp, 8
add edi, esi
sub dword [esp + 0x10], 1
jne 0x58c166
mov edi, dword [esp + 0x34]
push 0x40
lea eax, [esp + 0x17c]
push 0
push eax
call fcn.005e1a80
mov eax, dword [esp + 0x30]
add esp, 0xc
mov ecx, dword [esp + 0x50]
add eax, ecx
mov dword [esp + 0x70], eax
cmp ecx, eax
ja 0x58c43a
mov eax, dword [esp + 0x44]
neg dword [esp + 0x44]
lea edx, [eax + 1]
shr eax, 0x1f
mov dword [esp + 0x60], eax
mov eax, edx
shr eax, 0x1f
mov dword [esp + 0x68], edx
mov edx, esi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xc]
sub edx, eax
sub eax, esi
mov dword [esp + 0x6c], edx
lea eax, [esp + eax + 0x168]
mov dword [esp + 0x18], eax
mov eax, ecx
xor esi, esi
xor eax, dword [esp + 0x64]
lea edx, [eax - 1]
not eax
shr eax, 0x1f
shr edx, 0x1f
and dl, al
mov eax, ecx
xor eax, dword [esp + 0x78]
neg dl
mov dword [esp + 0x2c], edx
lea ecx, [eax - 1]
not eax
shr ecx, 0x1f
shr eax, 0x1f
and cl, al
neg cl
movsx eax, cl
mov dword [esp + 0x34], ecx
not cl
or cl, dl
mov byte [esp + 0x23], cl
mov ecx, dword [esp + 0x44]
movd xmm0, eax
mov eax, dword [esp + 0x18]
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
pshufd xmm0, xmm0, 0
movaps xmmword [esp + 0x80], xmm0
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], eax
nop dword [eax]
mov edx, dword [esp + 0x4c]
mov byte [esp + 0xb], 0
cmp edi, edx
jae 0x58c263
mov eax, dword [esp + 0x48]
jmp 0x58c272
mov eax, dword [ebp + 0x18]
add eax, edx
cmp edi, eax
jae 0x58c279
mov eax, dword [esp + 0x38]
sub eax, edx
mov al, byte [eax + edi]
mov byte [esp + 0xb], al
mov eax, dword [esp + 0x60]
mov edx, esi
shr ecx, 0x1f
inc edi
xor cl, al
shr edx, 0x1f
xor al, dl
or cl, al
mov eax, dword [esp + 0x2c]
xor cl, dl
movzx eax, al
dec cl
movzx ecx, cl
and ecx, eax
mov dword [esp + 0x40], ecx
not ecx
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x40]
and al, byte [esp + 0xb]
and cl, 0x80
or cl, al
mov al, dl
xor al, byte [esp + 0x10]
mov dword [esp + 0x40], ecx
mov ecx, esi
sub ecx, dword [esp + 0x68]
shr ecx, 0x1f
xor cl, byte [esp + 0x10]
or cl, al
xor cl, dl
mov edx, dword [esp + 0x40]
dec cl
and cl, byte [esp + 0x2c]
not cl
and cl, byte [esp + 0x23]
and dl, cl
cmp esi, dword [esp + 0x6c]
jb 0x58c30d
mov eax, dword [esp + 0x34]
movzx eax, al
mov dword [esp + 0x40], eax
not eax
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x40]
and cl, byte [eax]
mov eax, dword [esp + 0xc]
and dl, al
or dl, cl
mov ecx, dword [esp + 0x28]
inc dword [esp + 0x24]
inc ecx
mov byte [esp + esi + 0x2b8], dl
inc esi
mov dword [esp + 0x28], ecx
cmp esi, dword [esp + 0x3c]
jb 0x58c250
lea eax, [esp + 0x2b8]
push eax
lea eax, [esp + 0x94]
push eax
call dword [esp + 0x1c]
lea eax, [esp + 0x2c0]
push eax
lea eax, [esp + 0x9c]
push eax
call dword [esp + 0x40]
mov edx, dword [esp + 0x2c]
add esp, 0x10
xor eax, eax
cmp edx, 0x40
jb 0x58c40b
movaps xmm2, xmmword [esp + 0x80]
mov ecx, edx
and ecx, 0xffffffc0
nop dword [eax]
nop word [eax + eax]
movups xmm0, xmmword [esp + eax + 0x178]
movups xmm1, xmmword [esp + eax + 0x2b8]
pand xmm1, xmm2
por xmm1, xmm0
movups xmmword [esp + eax + 0x178], xmm1
movups xmm0, xmmword [esp + eax + 0x188]
movups xmm1, xmmword [esp + eax + 0x2c8]
pand xmm1, xmm2
por xmm1, xmm0
movups xmmword [esp + eax + 0x188], xmm1
movups xmm0, xmmword [esp + eax + 0x198]
movups xmm1, xmmword [esp + eax + 0x2d8]
pand xmm1, xmm2
por xmm1, xmm0
movups xmmword [esp + eax + 0x198], xmm1
movups xmm1, xmmword [esp + eax + 0x2e8]
movups xmm0, xmmword [esp + eax + 0x1a8]
pand xmm1, xmm2
por xmm1, xmm0
movups xmmword [esp + eax + 0x1a8], xmm1
add eax, 0x40
cmp eax, ecx
jb 0x58c380
cmp eax, edx
jae 0x58c427
nop
mov cl, byte [esp + eax + 0x2b8]
and cl, byte [esp + 0x34]
or byte [esp + eax + 0x178], cl
inc eax
cmp eax, edx
jb 0x58c410
mov ecx, dword [esp + 0x50]
inc ecx
mov dword [esp + 0x50], ecx
cmp ecx, dword [esp + 0x70]
jbe 0x58c1e5
push 0x18
mov dword [0x6a7ea4], 0
call fcn.005ee808
mov esi, eax
add esp, 4
test esi, esi
je 0x58c4ea
mov eax, dword [esp + 0x74]
xorps xmm0, xmm0
movups xmmword [esi], xmm0
movq qword [esi + 0x10], xmm0
test eax, eax
je 0x58c46d
mov eax, dword [eax]
push 0
push eax
push esi
call fcn.00480eb0
add esp, 0xc
test eax, eax
jle 0x58c4ea
cmp byte [ebp + 0x24], 0
je 0x58c510
mov edi, dword [esp + 0x58]
lea eax, [esp + 0x1b8]
push edi
push 0x5c
push eax
call fcn.005e1a80
mov eax, dword [ebp + 0x20]
add esp, 0xc
test eax, eax
je 0x58c4b7
push eax
push dword [esp + 0x60]
mov eax, dword [esi + 0x14]
push esi
call eax
add esp, 0xc
test eax, eax
jle 0x58c4ea
push edi
lea eax, [esp + 0x1bc]
push eax
mov eax, dword [esi + 0x14]
push esi
call eax
add esp, 0xc
test eax, eax
jle 0x58c4ea
push dword [esp + 0x1c]
lea eax, [esp + 0x17c]
push eax
mov eax, dword [esi + 0x14]
push esi
call eax
add esp, 0xc
test eax, eax
jg 0x58c5ba
mov ecx, esi
call fcn.00480d80
push esi
call fcn.005e4cbe
add esp, 4
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x334]
xor ecx, esp
call fcn.005df097
mov esp, ebp
pop ebp
ret
movaps xmm2, xmmword [0x6a1f70]
xor eax, eax
mov ecx, dword [esp + 0x3c]
nop dword [eax]
movups xmm0, xmmword [esp + eax + 0x1b8]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [esp + eax + 0x1b8], xmm1
movups xmm0, xmmword [esp + eax + 0x1c8]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [esp + eax + 0x1c8], xmm1
movups xmm0, xmmword [esp + eax + 0x1d8]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [esp + eax + 0x1d8], xmm1
movups xmm0, xmmword [esp + eax + 0x1e8]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [esp + eax + 0x1e8], xmm1
add eax, 0x40
cmp eax, ecx
jb 0x58c520
push ecx
lea eax, [esp + 0x1bc]
push eax
mov eax, dword [esi + 0x14]
push esi
call eax
add esp, 0xc
test eax, eax
jle 0x58c4ea
push dword [esp + 0x1c]
lea eax, [esp + 0x17c]
push eax
mov eax, dword [esi + 0x14]
push esi
call eax
add esp, 0xc
test eax, eax
jle 0x58c4ea
mov eax, dword [esi]
cmp dword [eax + 8], 0x40
jg 0x58c63e
push dword [esp + 0x54]
mov eax, dword [eax + 0x18]
push esi
call eax
mov ecx, dword [esi]
add esp, 8
mov dword [esp + 0x54], eax
mov edx, dword [ecx + 0x20]
mov edi, dword [ecx + 8]
test edx, edx
je 0x58c5ef
push esi
call edx
mov ecx, dword [esi]
add esp, 4
or dword [esi + 8], 2
push dword [ecx + 0x28]
push dword [esi + 0xc]
call fcn.00401320
add esp, 8
mov ecx, esi
call fcn.00480d80
cmp dword [esp + 0x54], 0
je 0x58c615
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x58c615
mov dword [eax], edi
mov ecx, esi
call fcn.00480d80
push esi
call fcn.005e4cbe
mov ecx, dword [esp + 0x340]
add esp, 4
mov eax, 1
pop edi
pop esi
xor ecx, esp
call fcn.005df097
mov esp, ebp
pop ebp
ret
push 0xb7
mov edx, str.C:mediagetdependencies_installeropenssl1_1_win_build_1.1.1qcryptoevpdigest.c
mov ecx, str.assertion_failed:_ctx__digest__md_size___EVP_MAX_MD_SIZE
call fcn.0049c210
int3