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

Disassembly:
mov eax, 0x30c
call fcn.0045c6a0
mov eax, dword [0x53e01c]
xor eax, esp
mov dword [esp + 0x308], eax
mov ecx, dword [esp + 0x318]
mov edx, dword [esp + 0x310]
mov dword [esp + 0x3c], edx
test ecx, ecx
je 0x498163
mov eax, dword [edx]
mov dword [esp + 0xc], eax
mov eax, dword [edx + 4]
mov dword [esp + 0x10], eax
mov eax, dword [edx + 0x10]
mov dword [esp + 0x24], eax
mov eax, dword [edx + 0x14]
mov dword [esp + 0x1c], eax
mov eax, dword [edx + 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [edx + 0x1c]
mov dword [esp + 4], eax
mov eax, dword [edx + 0x28]
mov dword [esp], eax
mov eax, dword [edx + 0x2c]
push ebx
mov ebx, dword [edx + 8]
mov dword [esp + 0x34], eax
mov eax, dword [edx + 0x30]
push ebp
mov ebp, dword [edx + 0xc]
mov dword [esp + 0x3c], eax
mov eax, dword [edx + 0x34]
push esi
mov esi, dword [edx + 0x20]
mov dword [esp + 0x44], eax
mov eax, dword [edx + 0x38]
push edi
mov edi, dword [edx + 0x24]
mov dword [esp + 0x38], eax
mov eax, dword [edx + 0x3c]
mov edx, dword [esp + 0x324]
mov dword [esp + 0x24], esi
add edx, 2
mov dword [esp + 0x18], edi
mov dword [esp + 0x3c], eax
nop word [eax + eax]
mov eax, dword [esp + 0x34]
dec ecx
mov dword [esp + 0x2e0], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x2e4], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x2e8], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x2ec], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x2f8], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x2fc], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x300], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x304], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x308], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x328], ecx
lea ecx, [esp + 0x2d0]
mov dword [esp + 0x2d8], ebx
mov dword [esp + 0x2dc], ebp
mov dword [esp + 0x30c], eax
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], edx
jmp 0x497be8
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x18]
movzx eax, byte [edx - 2]
cdq
mov ebx, eax
mov dword [ecx + 0x24], edi
mov eax, dword [esp + 0x30]
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 + 0x30]
shld ebp, ebx, 8
shl ebx, 8
movzx eax, byte [eax]
cdq
or ebx, eax
or ebp, edx
mov eax, dword [esp + 0x30]
shld ebp, ebx, 8
shl ebx, 8
movzx eax, byte [eax + 1]
cdq
or ebx, eax
or ebp, edx
mov eax, dword [esp + 0x30]
shld ebp, ebx, 8
shl ebx, 8
movzx eax, byte [eax + 2]
cdq
or ebx, eax
or ebp, edx
mov eax, dword [esp + 0x30]
shld ebp, ebx, 8
shl ebx, 8
movzx eax, byte [eax + 3]
cdq
or ebx, eax
or ebp, edx
mov eax, dword [esp + 0x30]
shld ebp, ebx, 8
shl ebx, 8
movzx eax, byte [eax + 4]
cdq
or ebx, eax
or ebp, edx
mov eax, dword [esp + 0x30]
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 + 0x28], ebp
mov dword [ecx + 0x44], ebp
mov ebp, edi
shl eax, 0x17
mov edi, esi
mov dword [esp + 0x2c], ebx
xor esi, esi
mov dword [ecx + 0x40], ebx
xor ebx, ebx
shr ebp, 9
or ebx, edx
mov edx, dword [esp + 0x18]
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 + 0x18]
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 + 0x18]
xor ebx, edi
mov edi, dword [esp + 0x24]
xor ebp, esi
mov eax, dword [ecx + 0x2c]
mov esi, edi
and eax, dword [esp + 0x18]
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 + 0x28]
add ebp, dword [eax*8 + 0x512150]
adc ebx, dword [eax*8 + 0x512154]
add ebp, dword [ecx + 0x38]
mov eax, dword [esp + 0x2c]
adc ebx, dword [ecx + 0x3c]
add eax, ebp
mov dword [esp + 0x2c], 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 + 0x28], edx
mov edx, dword [esp + 0x20]
xor esi, esi
mov dword [esp + 0x18], 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 + 0x14], esi
mov edx, dword [esp + 0x20]
xor esi, esi
mov dword [esp + 0x10], 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 + 0x14], edi
mov edi, edx
mov eax, dword [esp + 0x1c]
xor dword [esp + 0x10], esi
xor esi, esi
shld edx, eax, 0x19
shr edi, 7
shl eax, 0x19
or esi, edx
xor dword [esp + 0x10], esi
or edi, eax
xor dword [esp + 0x14], edi
mov edx, ebx
xor edx, dword [ecx + 0x10]
mov eax, ebp
and edx, dword [esp + 0x1c]
xor eax, dword [ecx + 0x14]
and ebx, dword [ecx + 0x10]
and eax, dword [esp + 0x20]
xor edx, ebx
and ebp, dword [ecx + 0x14]
mov ebx, dword [esp + 0x14]
xor eax, ebp
add ebx, edx
mov edx, dword [esp + 0x10]
adc edx, eax
add ebx, dword [esp + 0x2c]
mov eax, dword [esp + 0x34]
adc edx, dword [esp + 0x28]
inc eax
mov dword [esp + 0x20], edx
sub ecx, 8
mov edx, dword [esp + 0x30]
add edx, 8
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], edx
cmp eax, 0x10
jl 0x497be0
lea eax, [eax*8 + 0x512150]
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 + 0x38], 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 + 0x10], esi
mov edx, ebp
mov dword [esp + 0x14], edi
shld edx, eax, 3
mov edi, ebp
xor esi, esi
or esi, edx
shl eax, 3
mov edx, dword [esp + 0x14]
xor edx, esi
shr edi, 0x1d
mov esi, dword [ecx + 0xb8]
or edi, eax
mov eax, dword [esp + 0x10]
shrd ebx, ebp, 6
xor eax, edi
mov edi, esi
xor eax, ebx
shr ebp, 6
xor edx, ebp
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 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 + 0x18]
shrd eax, edx, 7
mov dword [ecx + 0x20], esi
shr edx, 7
xor ebx, eax
mov eax, dword [esp + 0x10]
xor ebp, edx
mov edx, dword [esp + 0x14]
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 + 0x10], eax
adc edx, dword [ecx + 0x7c]
mov dword [esp + 0x14], 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 + 0x18]
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 + 0x18]
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 + 0x18]
xor ebx, edi
mov edi, dword [esp + 0x24]
xor ebp, esi
mov edx, dword [esp + 0x18]
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 + 0x14]
adc ebx, dword [ecx + 0x3c]
add ebp, dword [eax]
adc ebx, dword [eax + 4]
mov eax, dword [esp + 0x10]
add eax, ebp
mov ebp, dword [ecx + 0xc]
mov dword [esp + 0x10], 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 + 0x14], edx
mov edx, dword [esp + 0x20]
xor esi, esi
mov dword [esp + 0x18], 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 + 0x2c], edi
mov edi, edx
shld edx, eax, 0x1e
mov dword [esp + 0x28], esi
xor esi, esi
shr edi, 2
shl eax, 0x1e
or edi, eax
xor dword [esp + 0x28], edi
or esi, edx
xor dword [esp + 0x2c], 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 + 0x2c], esi
or edi, eax
xor dword [esp + 0x28], 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 + 0x28]
xor eax, ebp
add ebx, edx
mov edx, dword [esp + 0x34]
adc eax, dword [esp + 0x2c]
add ebx, dword [esp + 0x10]
mov dword [esp + 0x1c], ebx
adc eax, dword [esp + 0x14]
add edx, 8
sub ecx, 8
mov dword [esp + 0x20], eax
mov dword [esp + 0x34], edx
cmp edx, 0x5123d0
jl 0x497e20
mov edx, dword [esp + 0x4c]
mov esi, dword [esp + 0x38]
add dword [edx], ebx
mov ebp, dword [edx]
adc dword [edx + 4], eax
mov eax, dword [esi]
add dword [edx + 8], eax
mov eax, dword [esi + 4]
adc dword [edx + 0xc], eax
mov eax, dword [ecx + 0x10]
add dword [edx + 0x10], eax
mov eax, dword [ecx + 0x14]
adc dword [edx + 0x14], eax
mov eax, dword [edx + 0x10]
mov dword [esp + 0x34], eax
mov eax, dword [edx + 0x14]
mov dword [esp + 0x2c], eax
mov eax, dword [ecx + 0x18]
add dword [edx + 0x18], eax
mov eax, dword [ecx + 0x1c]
adc dword [edx + 0x1c], eax
mov eax, dword [edx + 0x18]
mov dword [esp + 0x28], eax
mov eax, dword [edx + 0x1c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x24]
add dword [edx + 0x20], eax
mov eax, dword [esp + 0x18]
adc dword [edx + 0x24], eax
mov eax, dword [ecx + 0x28]
add dword [edx + 0x28], eax
mov eax, dword [ecx + 0x2c]
adc dword [edx + 0x2c], eax
mov eax, dword [edx + 0x28]
mov ebx, dword [edx + 4]
mov esi, dword [edx + 0x20]
mov edi, dword [edx + 0x24]
mov dword [esp + 0x10], eax
mov eax, dword [edx + 0x2c]
mov dword [esp + 0x40], eax
mov eax, dword [ecx + 0x30]
add dword [edx + 0x30], eax
mov eax, dword [ecx + 0x34]
adc dword [edx + 0x34], eax
mov eax, dword [edx + 0x30]
mov dword [esp + 0x44], eax
mov eax, dword [edx + 0x34]
mov dword [esp + 0x48], eax
mov eax, dword [ecx + 0x38]
add dword [edx + 0x38], eax
mov eax, dword [ecx + 0x3c]
adc dword [edx + 0x3c], eax
mov eax, dword [edx + 0x38]
mov ecx, dword [esp + 0x328]
mov dword [esp + 0x1c], ebp
mov ebp, dword [edx + 0xc]
mov dword [esp + 0x20], ebx
mov ebx, dword [edx + 8]
mov dword [esp + 0x38], eax
mov eax, dword [edx + 0x3c]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x24], esi
mov dword [esp + 0x18], edi
mov dword [esp + 0x3c], eax
test ecx, ecx
jne 0x497b40
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x308]
xor ecx, esp
call fcn.0045b5b0
add esp, 0x30c
ret