Function at 0x58ec60
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x328
call fcn.004ce320
mov eax, dword [0x74b1ac]
xor eax, esp
mov dword [esp + 0x324], eax
mov ecx, dword [esp + 0x334]
mov edx, dword [esp + 0x32c]
mov dword [esp + 0x30], edx
test ecx, ecx
je 0x58f2db
push ebx
mov ebx, dword [esp + 0x334]
push ebp
push esi
push edi
add ebx, 2
mov eax, dword [edx]
dec ecx
mov ebp, dword [edx + 0x14]
mov esi, dword [edx + 4]
mov dword [esp + 0x38], eax
mov dword [esp + 0x1c], eax
mov eax, dword [edx + 8]
mov dword [esp + 0x44], eax
mov dword [esp + 0x2f4], eax
mov eax, dword [edx + 0x10]
mov dword [esp + 0x50], eax
mov dword [esp + 0x2fc], eax
mov eax, dword [edx + 0x18]
mov dword [esp + 0x54], eax
mov dword [esp + 0x304], eax
mov eax, dword [edx + 0x24]
mov edi, eax
mov dword [esp + 0x300], ebp
mov ebp, dword [edx + 0x1c]
mov dword [esp + 0x5c], eax
mov eax, dword [edx + 0x28]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x20], esi
mov esi, dword [edx + 0xc]
mov dword [esp + 0x308], ebp
mov ebp, dword [edx + 0x2c]
mov dword [esp + 0x60], eax
mov dword [esp + 0x314], eax
mov eax, dword [edx + 0x30]
mov dword [esp + 0x4c], esi
mov dword [esp + 0x2f8], esi
mov esi, dword [edx + 0x20]
mov dword [esp + 0x318], ebp
mov ebp, dword [edx + 0x34]
mov dword [esp + 0x64], eax
mov dword [esp + 0x31c], eax
mov eax, dword [edx + 0x38]
mov edx, dword [edx + 0x3c]
mov dword [esp + 0x344], ecx
lea ecx, [esp + 0x2ec]
mov dword [esp + 0x58], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x10], edi
mov dword [esp + 0x320], ebp
mov dword [esp + 0x68], eax
mov dword [esp + 0x324], eax
mov dword [esp + 0x328], edx
mov dword [esp + 0x34], 0
mov dword [esp + 0x2c], ebx
jmp 0x58ed88
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x10]
movzx eax, byte [ebx - 2]
cdq
mov ebx, eax
mov dword [ecx + 0x24], edi
mov eax, dword [esp + 0x2c]
mov ebp, edx
shld ebp, ebx, 8
mov dword [ecx + 0x20], esi
shl ebx, 8
movzx eax, byte [eax - 1]
cdq
or ebx, eax
or ebp, edx
mov eax, dword [esp + 0x2c]
shld ebp, ebx, 8
shl ebx, 8
movzx eax, byte [eax]
cdq
or ebx, eax
or ebp, edx
mov eax, dword [esp + 0x2c]
shld ebp, ebx, 8
shl ebx, 8
movzx eax, byte [eax + 1]
cdq
or ebx, eax
or ebp, edx
mov eax, dword [esp + 0x2c]
shld ebp, ebx, 8
shl ebx, 8
movzx eax, byte [eax + 2]
cdq
or ebx, eax
or ebp, edx
mov eax, dword [esp + 0x2c]
shld ebp, ebx, 8
shl ebx, 8
movzx eax, byte [eax + 3]
cdq
or ebx, eax
or ebp, edx
mov eax, dword [esp + 0x2c]
shld ebp, ebx, 8
shl ebx, 8
movzx eax, byte [eax + 4]
cdq
or ebx, eax
or ebp, edx
mov eax, dword [esp + 0x2c]
shld ebp, ebx, 8
shl ebx, 8
movzx eax, byte [eax + 5]
cdq
or ebx, eax
or ebp, edx
mov eax, dword [esp + 0x1c]
mov edx, edi
mov dword [ecx], eax
mov eax, dword [esp + 0x20]
mov dword [ecx + 4], eax
mov eax, esi
shld edx, eax, 0x17
mov dword [esp + 0x30], ebp
mov dword [ecx + 0x44], ebp
mov ebp, edi
shl eax, 0x17
mov edi, esi
mov dword [esp + 0x28], ebx
xor esi, esi
mov dword [ecx + 0x40], ebx
xor ebx, ebx
shr ebp, 9
or ebx, edx
mov edx, dword [esp + 0x10]
or ebp, eax
mov eax, dword [esp + 0x24]
shrd eax, edx, 0x12
shl edi, 0xe
shr edx, 0x12
or esi, eax
or edi, edx
mov eax, dword [esp + 0x24]
xor ebx, edi
mov edx, dword [esp + 0x10]
mov edi, eax
shrd eax, edx, 0xe
xor ebp, esi
shl edi, 0x12
shr edx, 0xe
xor esi, esi
or edi, edx
or esi, eax
mov edx, dword [esp + 0x10]
xor ebx, edi
mov edi, dword [esp + 0x24]
xor ebp, esi
mov eax, dword [ecx + 0x2c]
mov esi, edi
and eax, dword [esp + 0x10]
not edx
and edx, dword [ecx + 0x34]
not esi
and edi, dword [ecx + 0x28]
xor edx, eax
and esi, dword [ecx + 0x30]
mov eax, dword [esp + 0x34]
xor esi, edi
add ebp, esi
adc ebx, edx
mov edx, dword [esp + 0x30]
add ebp, dword [eax*8 + 0x6bb728]
adc ebx, dword [eax*8 + 0x6bb72c]
add ebp, dword [ecx + 0x38]
mov eax, dword [esp + 0x28]
adc ebx, dword [ecx + 0x3c]
add eax, ebp
mov dword [esp + 0x28], eax
adc edx, ebx
mov ebp, dword [ecx + 0xc]
add eax, dword [ecx + 0x18]
mov dword [esp + 0x24], eax
mov eax, dword [ecx + 0x1c]
adc eax, edx
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x20]
xor esi, esi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
mov edi, eax
shrd eax, edx, 0x1c
mov ebx, dword [ecx + 8]
or esi, eax
shl edi, 4
mov eax, dword [esp + 0x1c]
shr edx, 0x1c
or edi, edx
mov dword [esp + 0x18], esi
mov edx, dword [esp + 0x20]
xor esi, esi
mov dword [esp + 0x14], edi
mov edi, edx
shld edx, eax, 0x1e
shr edi, 2
shl eax, 0x1e
or esi, edx
mov edx, dword [esp + 0x20]
or edi, eax
xor dword [esp + 0x18], edi
mov edi, edx
mov eax, dword [esp + 0x1c]
xor dword [esp + 0x14], esi
xor esi, esi
shld edx, eax, 0x19
shr edi, 7
shl eax, 0x19
or esi, edx
xor dword [esp + 0x14], esi
or edi, eax
xor dword [esp + 0x18], edi
mov edx, ebx
xor edx, dword [ecx + 0x10]
mov eax, ebp
xor eax, dword [ecx + 0x14]
and edx, dword [esp + 0x1c]
and ebx, dword [ecx + 0x10]
and eax, dword [esp + 0x20]
xor edx, ebx
and ebp, dword [ecx + 0x14]
mov ebx, dword [esp + 0x18]
xor eax, ebp
add ebx, edx
mov edx, dword [esp + 0x14]
adc edx, eax
add ebx, dword [esp + 0x28]
mov eax, dword [esp + 0x34]
adc edx, dword [esp + 0x30]
inc eax
mov dword [esp + 0x1c], ebx
sub ecx, 8
mov ebx, dword [esp + 0x2c]
add ebx, 8
mov dword [esp + 0x20], edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x2c], ebx
cmp eax, 0x10
jl 0x58ed80
lea eax, [eax*8 + 0x6bb728]
mov dword [esp + 0x34], eax
mov ebx, dword [ecx + 0x50]
xor esi, esi
mov ebp, dword [ecx + 0x54]
mov eax, ebx
mov edx, ebp
mov dword [esp + 0x48], ecx
shrd eax, edx, 0x13
mov edi, ebx
shr edx, 0x13
or esi, eax
shl edi, 0xd
mov eax, ebx
or edi, edx
mov dword [esp + 0x14], esi
mov edx, ebp
mov dword [esp + 0x18], edi
shld edx, eax, 3
mov edi, ebp
xor esi, esi
or esi, edx
shl eax, 3
mov edx, dword [esp + 0x18]
xor edx, esi
shr edi, 0x1d
mov esi, dword [ecx + 0xb8]
or edi, eax
mov eax, dword [esp + 0x14]
shrd ebx, ebp, 6
xor eax, edi
mov edi, esi
xor eax, ebx
shr ebp, 6
xor edx, ebp
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
xor ebx, ebx
mov edx, dword [ecx + 0xbc]
mov eax, esi
shrd eax, edx, 8
mov ebp, esi
shl edi, 0x1f
shr edx, 8
or ebx, eax
mov eax, dword [ecx + 0xb8]
xor esi, esi
shl ebp, 0x18
or ebp, edx
mov edx, dword [ecx + 0xbc]
shrd eax, edx, 1
shr edx, 1
or esi, eax
mov eax, dword [ecx + 0xb8]
or edi, edx
mov edx, dword [ecx + 0xbc]
xor ebx, esi
mov esi, dword [esp + 0x24]
xor ebp, edi
mov edi, dword [esp + 0x10]
shrd eax, edx, 7
mov dword [ecx + 0x20], esi
shr edx, 7
xor ebx, eax
mov eax, dword [esp + 0x14]
xor ebp, edx
mov edx, dword [esp + 0x18]
add eax, ebx
mov ebx, dword [esp + 0x1c]
adc edx, ebp
mov dword [ecx], ebx
add eax, dword [ecx + 0xc0]
mov ebp, edi
mov ebx, dword [esp + 0x20]
adc edx, dword [ecx + 0xc4]
add eax, dword [ecx + 0x78]
mov dword [esp + 0x14], eax
adc edx, dword [ecx + 0x7c]
mov dword [esp + 0x18], edx
mov dword [ecx + 4], ebx
mov dword [ecx + 0x24], edi
mov dword [ecx + 0x40], eax
mov dword [ecx + 0x44], edx
mov edx, edi
shr ebp, 9
mov eax, esi
xor ebx, ebx
shld edx, eax, 0x17
mov edi, esi
xor esi, esi
or ebx, edx
shl eax, 0x17
mov edx, dword [esp + 0x10]
or ebp, eax
mov eax, dword [esp + 0x24]
shrd eax, edx, 0x12
shl edi, 0xe
or esi, eax
shr edx, 0x12
mov eax, dword [esp + 0x24]
or edi, edx
mov edx, dword [esp + 0x10]
xor ebx, edi
mov edi, eax
xor ebp, esi
shrd eax, edx, 0xe
shl edi, 0x12
xor esi, esi
or esi, eax
shr edx, 0xe
mov eax, dword [ecx + 0x2c]
or edi, edx
and eax, dword [esp + 0x10]
xor ebx, edi
mov edi, dword [esp + 0x24]
xor ebp, esi
mov edx, dword [esp + 0x10]
mov esi, edi
and edi, dword [ecx + 0x28]
not edx
and edx, dword [ecx + 0x34]
not esi
and esi, dword [ecx + 0x30]
xor edx, eax
mov eax, dword [esp + 0x34]
xor esi, edi
add ebp, esi
adc ebx, edx
add ebp, dword [ecx + 0x38]
mov edx, dword [esp + 0x18]
adc ebx, dword [ecx + 0x3c]
add ebp, dword [eax]
adc ebx, dword [eax + 4]
mov eax, dword [esp + 0x14]
add eax, ebp
mov ebp, dword [ecx + 0xc]
mov dword [esp + 0x14], eax
adc edx, ebx
add eax, dword [ecx + 0x18]
mov ebx, dword [ecx + 8]
mov dword [esp + 0x24], eax
mov eax, dword [ecx + 0x1c]
adc eax, edx
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x20]
xor esi, esi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
mov edi, eax
shrd eax, edx, 0x1c
shl edi, 4
shr edx, 0x1c
or esi, eax
mov eax, dword [esp + 0x1c]
or edi, edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x28], edi
mov edi, edx
shld edx, eax, 0x1e
mov dword [esp + 0x30], esi
xor esi, esi
shr edi, 2
shl eax, 0x1e
or edi, eax
xor dword [esp + 0x30], edi
or esi, edx
xor dword [esp + 0x28], esi
xor esi, esi
mov edx, dword [esp + 0x20]
mov edi, edx
mov eax, dword [esp + 0x1c]
shld edx, eax, 0x19
shr edi, 7
shl eax, 0x19
or esi, edx
xor dword [esp + 0x28], esi
or edi, eax
xor dword [esp + 0x30], edi
mov edx, ebx
xor edx, dword [ecx + 0x10]
mov eax, ebp
xor eax, dword [ecx + 0x14]
and edx, dword [esp + 0x1c]
and ebx, dword [ecx + 0x10]
and eax, dword [esp + 0x20]
xor edx, ebx
and ebp, dword [ecx + 0x14]
mov ebx, dword [esp + 0x30]
xor eax, ebp
add ebx, edx
mov edx, dword [esp + 0x34]
adc eax, dword [esp + 0x28]
add ebx, dword [esp + 0x14]
mov dword [esp + 0x1c], ebx
adc eax, dword [esp + 0x18]
add edx, 8
sub ecx, 8
mov dword [esp + 0x20], eax
mov dword [esp + 0x34], edx
cmp edx, 0x6bb9a8
jl 0x58efc0
mov edx, dword [esp + 0x40]
mov esi, dword [esp + 0x38]
add esi, ebx
mov ebx, dword [esp + 0x3c]
adc ebx, eax
mov dword [edx], esi
mov esi, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
mov dword [edx + 4], ebx
mov ebx, dword [esp + 0x4c]
add eax, dword [esi]
mov dword [edx + 8], eax
adc ebx, dword [esi + 4]
mov esi, dword [esp + 0x50]
add esi, dword [ecx + 0x10]
mov eax, dword [ecx + 0x14]
adc eax, dword [edx + 0x14]
mov dword [edx + 0x10], esi
mov esi, dword [esp + 0x54]
add esi, dword [ecx + 0x18]
mov dword [edx + 0x14], eax
mov eax, dword [ecx + 0x1c]
adc eax, dword [edx + 0x1c]
mov dword [edx + 0x1c], eax
mov eax, dword [esp + 0x58]
add eax, dword [esp + 0x24]
mov dword [edx + 0x18], esi
mov esi, dword [esp + 0x5c]
adc esi, dword [esp + 0x10]
mov dword [edx + 0x24], esi
mov esi, dword [esp + 0x60]
add esi, dword [ecx + 0x28]
mov dword [edx + 0x20], eax
mov eax, dword [ecx + 0x2c]
adc eax, dword [edx + 0x2c]
mov dword [edx + 0x28], esi
mov esi, dword [esp + 0x64]
add esi, dword [ecx + 0x30]
mov dword [edx + 0x2c], eax
mov eax, dword [ecx + 0x34]
adc eax, dword [edx + 0x34]
mov dword [edx + 0x30], esi
mov esi, dword [esp + 0x68]
add esi, dword [ecx + 0x38]
mov dword [edx + 0x34], eax
mov eax, dword [ecx + 0x3c]
adc eax, dword [edx + 0x3c]
mov ecx, dword [esp + 0x344]
mov dword [edx + 0xc], ebx
mov ebx, dword [esp + 0x2c]
mov dword [edx + 0x38], esi
mov dword [edx + 0x3c], eax
test ecx, ecx
jne 0x58eca0
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x324]
xor ecx, esp
call fcn.004cd30a
add esp, 0x328
ret