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

Disassembly:
mov eax, 0x308
call fcn.004e53e0
mov eax, dword [0x6d93a8]
xor eax, esp
mov dword [esp + 0x304], eax
mov ecx, dword [esp + 0x314]
push ebx
mov ebx, dword [esp + 0x310]
mov dword [esp + 0x34], ebx
test ecx, ecx
je 0x599092
push ebp
mov ebp, dword [esp + 0x318]
push esi
push edi
add ebp, 2
mov eax, dword [ebx]
dec ecx
mov edx, dword [ebx + 4]
mov esi, dword [ebx + 0x20]
mov dword [esp + 0x38], eax
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 8]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x20], edx
mov edx, dword [ebx + 0xc]
mov dword [esp + 0x2d4], eax
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x2d8], edx
mov edx, dword [ebx + 0x14]
mov dword [esp + 0x2dc], eax
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x2e0], edx
mov edx, dword [ebx + 0x1c]
mov dword [esp + 0x2e4], eax
mov eax, dword [ebx + 0x24]
mov edi, eax
mov dword [esp + 0x2e8], edx
mov edx, dword [ebx + 0x2c]
mov dword [esp + 0x48], eax
mov eax, dword [ebx + 0x28]
mov dword [esp + 0x2f4], eax
mov eax, dword [ebx + 0x30]
mov dword [esp + 0x2f8], edx
mov edx, dword [ebx + 0x34]
mov dword [esp + 0x2fc], eax
mov eax, dword [ebx + 0x38]
mov dword [esp + 0x300], edx
mov edx, dword [ebx + 0x3c]
mov dword [esp + 0x324], ecx
lea ecx, [esp + 0x2cc]
mov dword [esp + 0x44], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x10], edi
mov dword [esp + 0x304], eax
mov dword [esp + 0x308], edx
mov dword [esp + 0x34], 0
mov dword [esp + 0x28], ebp
jmp 0x598b4a
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x10]
movzx eax, byte [ebp - 2]
cdq
mov ebx, eax
mov dword [ecx + 0x24], edi
mov eax, dword [esp + 0x28]
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 + 0x28]
shld ebp, ebx, 8
shl ebx, 8
movzx eax, byte [eax]
cdq
or ebx, eax
or ebp, edx
mov eax, dword [esp + 0x28]
shld ebp, ebx, 8
shl ebx, 8
movzx eax, byte [eax + 1]
cdq
or ebx, eax
or ebp, edx
mov eax, dword [esp + 0x28]
shld ebp, ebx, 8
shl ebx, 8
movzx eax, byte [eax + 2]
cdq
or ebx, eax
or ebp, edx
mov eax, dword [esp + 0x28]
shld ebp, ebx, 8
shl ebx, 8
movzx eax, byte [eax + 3]
cdq
or ebx, eax
or ebp, edx
mov eax, dword [esp + 0x28]
shld ebp, ebx, 8
shl ebx, 8
movzx eax, byte [eax + 4]
cdq
or ebx, eax
or ebp, edx
mov eax, dword [esp + 0x28]
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 + 0x2c], ebp
mov dword [ecx + 0x44], ebp
mov ebp, edi
shl eax, 0x17
mov edi, esi
mov dword [esp + 0x30], 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]
xor ebp, esi
mov edi, eax
xor esi, esi
shrd eax, edx, 0xe
shl edi, 0x12
or esi, eax
shr edx, 0xe
or edi, edx
mov eax, dword [ecx + 0x2c]
and eax, dword [esp + 0x10]
xor ebx, edi
mov edi, dword [esp + 0x24]
xor ebp, esi
mov esi, dword [esp + 0x10]
not edi
and edi, dword [ecx + 0x30]
not esi
and esi, dword [ecx + 0x34]
mov edx, dword [ecx + 0x28]
xor esi, eax
and edx, dword [esp + 0x24]
mov eax, dword [esp + 0x34]
xor edi, edx
mov edx, dword [esp + 0x2c]
add ebp, edi
adc ebx, esi
add ebp, dword [eax*8 + 0x68a548]
adc ebx, dword [eax*8 + 0x68a54c]
add ebp, dword [ecx + 0x38]
mov eax, dword [esp + 0x30]
adc ebx, dword [ecx + 0x3c]
add eax, ebp
mov dword [esp + 0x30], eax
adc edx, ebx
mov ebp, dword [ecx + 8]
mov ebx, dword [ecx + 0x18]
add ebx, eax
mov dword [esp + 0x2c], edx
mov eax, dword [ecx + 0x1c]
adc eax, edx
mov dword [esp + 0x24], ebx
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 + 0xc]
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, ebp
xor edx, dword [ecx + 0x10]
and edx, dword [esp + 0x1c]
mov eax, ebx
xor eax, dword [ecx + 0x14]
and eax, dword [esp + 0x20]
and ebp, dword [ecx + 0x10]
and ebx, dword [ecx + 0x14]
xor edx, ebp
mov ebp, dword [esp + 0x28]
xor eax, ebx
mov ebx, dword [esp + 0x18]
add ebx, edx
mov edx, dword [esp + 0x34]
adc eax, dword [esp + 0x14]
add ebx, dword [esp + 0x30]
mov dword [esp + 0x1c], ebx
adc eax, dword [esp + 0x2c]
inc edx
add ebp, 8
mov dword [esp + 0x20], eax
sub ecx, 8
mov dword [esp + 0x34], edx
mov dword [esp + 0x28], ebp
cmp edx, 0x10
jl 0x598b42
cmp edx, 0x50
jge 0x598ffb
lea eax, [edx*8 + 0x68a548]
mov dword [esp + 0x34], eax
nop dword [eax]
mov ebp, dword [ecx + 0x50]
xor esi, esi
mov ebx, dword [ecx + 0x54]
mov eax, ebp
mov edx, ebx
mov edi, ebp
shrd eax, edx, 0x13
shl edi, 0xd
or esi, eax
shr edx, 0x13
or edi, edx
mov dword [esp + 0x14], esi
mov eax, ebp
mov dword [esp + 0x18], edi
mov edx, ebx
mov edi, ebx
shld edx, eax, 3
shrd ebp, ebx, 6
shl eax, 3
xor esi, esi
or esi, edx
shr edi, 0x1d
mov edx, dword [esp + 0x18]
or edi, eax
mov eax, dword [esp + 0x14]
xor edx, esi
mov esi, dword [ecx + 0xb8]
xor eax, edi
xor eax, ebp
shr ebx, 6
xor edx, ebx
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
mov edi, esi
shr edx, 8
or ebx, eax
mov eax, dword [ecx + 0xb8]
xor esi, esi
shl ebp, 0x18
or ebp, edx
shl edi, 0x1f
mov edx, dword [ecx + 0xbc]
shrd eax, edx, 1
shr edx, 1
or esi, eax
mov eax, dword [ecx + 0xbc]
or edi, edx
mov edx, dword [ecx + 0xb8]
xor ebx, esi
mov esi, dword [esp + 0x24]
xor ebp, edi
mov edi, dword [esp + 0x10]
shrd edx, eax, 7
mov dword [ecx + 0x20], esi
xor ebx, edx
shr eax, 7
mov edx, dword [esp + 0x18]
xor ebp, eax
mov eax, dword [esp + 0x14]
add eax, ebx
mov dword [ecx + 0x24], edi
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 + 0x40], eax
mov dword [ecx + 0x44], edx
shr ebp, 9
mov edx, edi
mov eax, esi
shld edx, eax, 0x17
xor ebx, ebx
mov edi, esi
or ebx, edx
shl eax, 0x17
mov edx, dword [esp + 0x10]
or ebp, eax
mov eax, dword [esp + 0x24]
xor esi, esi
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 esi, dword [esp + 0x10]
not edi
and edi, dword [ecx + 0x30]
not esi
and esi, dword [ecx + 0x34]
mov edx, dword [ecx + 0x28]
xor esi, eax
and edx, dword [esp + 0x24]
mov eax, dword [esp + 0x34]
xor edi, edx
mov edx, dword [esp + 0x18]
add ebp, edi
adc ebx, esi
add ebp, dword [ecx + 0x38]
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 + 8]
mov dword [esp + 0x14], eax
adc edx, ebx
mov ebx, dword [ecx + 0x18]
add ebx, eax
mov dword [esp + 0x18], edx
mov eax, dword [ecx + 0x1c]
adc eax, edx
mov dword [esp + 0x24], ebx
mov edx, dword [esp + 0x20]
xor esi, esi
mov ebx, dword [ecx + 0xc]
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 + 0x30], edi
mov edi, edx
shld edx, eax, 0x1e
mov dword [esp + 0x2c], esi
xor esi, esi
shr edi, 2
shl eax, 0x1e
or edi, eax
xor dword [esp + 0x2c], edi
or esi, edx
mov edx, dword [esp + 0x20]
mov edi, edx
mov eax, dword [esp + 0x1c]
xor dword [esp + 0x30], esi
xor esi, esi
shld edx, eax, 0x19
shr edi, 7
or esi, edx
shl eax, 0x19
xor dword [esp + 0x30], esi
or edi, eax
xor dword [esp + 0x2c], edi
mov eax, ebx
xor eax, dword [ecx + 0x14]
mov edx, ebp
xor edx, dword [ecx + 0x10]
and edx, dword [esp + 0x1c]
and eax, dword [esp + 0x20]
and ebx, dword [ecx + 0x14]
and ebp, dword [ecx + 0x10]
xor eax, ebx
mov ebx, dword [esp + 0x2c]
xor edx, ebp
add ebx, edx
mov edx, dword [esp + 0x30]
adc edx, eax
add ebx, dword [esp + 0x14]
mov dword [esp + 0x1c], ebx
adc edx, dword [esp + 0x18]
sub ecx, 8
mov eax, edx
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x34]
add edx, 8
mov dword [esp + 0x34], edx
cmp edx, 0x68a7c8
jl 0x598d90
mov ebp, dword [esp + 0x28]
mov edx, dword [esp + 0x38]
mov esi, dword [esp + 0x3c]
add edx, ebx
mov ebx, dword [esp + 0x40]
adc esi, eax
mov eax, dword [ecx + 0xc]
mov dword [ebx], edx
mov edx, dword [ecx + 8]
add dword [ebx + 8], edx
mov edx, dword [ecx + 0x10]
adc eax, dword [ebx + 0xc]
add dword [ebx + 0x10], edx
mov edx, dword [ecx + 0x18]
mov dword [ebx + 0xc], eax
mov eax, dword [ecx + 0x14]
adc eax, dword [ebx + 0x14]
add dword [ebx + 0x18], edx
mov edx, dword [esp + 0x48]
mov dword [ebx + 0x14], eax
mov eax, dword [ecx + 0x1c]
adc eax, dword [ebx + 0x1c]
mov dword [ebx + 0x1c], eax
mov eax, dword [esp + 0x44]
add eax, dword [esp + 0x24]
mov dword [ebx + 0x20], eax
adc edx, dword [esp + 0x10]
mov eax, dword [ecx + 0x2c]
mov dword [ebx + 0x24], edx
mov edx, dword [ecx + 0x28]
add dword [ebx + 0x28], edx
mov edx, dword [ecx + 0x30]
adc eax, dword [ebx + 0x2c]
add dword [ebx + 0x30], edx
mov edx, dword [ecx + 0x38]
mov dword [ebx + 0x2c], eax
mov eax, dword [ecx + 0x34]
adc eax, dword [ebx + 0x34]
add dword [ebx + 0x38], edx
mov dword [ebx + 0x34], eax
mov eax, dword [ecx + 0x3c]
adc eax, dword [ebx + 0x3c]
mov ecx, dword [esp + 0x324]
mov dword [ebx + 4], esi
mov dword [ebx + 0x3c], eax
test ecx, ecx
jne 0x598a80
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x308]
pop ebx
xor ecx, esp
call fcn.004e48e6
add esp, 0x308
ret