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

Disassembly:
mov eax, 0x30c
call fcn.00450fe0
mov eax, dword [0x67a374]
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 0x5057f4
mov eax, dword [edx]
mov dword [esp + 0xc], eax
mov eax, dword [edx + 4]
mov dword [esp + 0x10], eax
mov eax, dword [edx + 0xc]
mov dword [esp + 0x24], eax
mov eax, dword [edx + 0x10]
mov dword [esp + 0x1c], eax
mov eax, dword [edx + 0x14]
mov dword [esp + 0x18], eax
mov eax, dword [edx + 0x18]
mov dword [esp + 4], eax
mov eax, dword [edx + 0x1c]
mov dword [esp], eax
mov eax, dword [edx + 0x28]
push ebx
mov ebx, dword [edx + 8]
mov dword [esp + 0x2c], eax
mov eax, dword [edx + 0x2c]
push ebp
mov ebp, dword [esp + 0x31c]
mov dword [esp + 0x34], eax
add ebp, 2
mov eax, dword [edx + 0x30]
push esi
mov esi, dword [edx + 0x20]
mov dword [esp + 0x3c], eax
mov eax, dword [edx + 0x34]
push edi
mov edi, dword [edx + 0x24]
mov dword [esp + 0x44], eax
mov eax, dword [edx + 0x38]
mov edx, dword [edx + 0x3c]
mov dword [esp + 0x24], esi
mov dword [esp + 0x18], edi
mov dword [esp + 0x48], eax
nop word [eax + eax]
mov eax, dword [esp + 0x34]
dec ecx
mov dword [esp + 0x2dc], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x2e0], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x2e4], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x2e8], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x2ec], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x2f8], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x2fc], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x300], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x304], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x328], ecx
lea ecx, [esp + 0x2d0]
mov dword [esp + 0x2d8], ebx
mov dword [esp + 0x308], eax
mov dword [esp + 0x30c], edx
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], ebp
jmp 0x505268
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x18]
movzx eax, byte [ebp - 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]
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 + 0x18]
xor ebx, edi
mov edi, dword [esp + 0x24]
xor ebp, esi
mov esi, dword [esp + 0x18]
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 + 0x28]
add ebp, edi
adc ebx, esi
add ebp, dword [eax*8 + 0x628810]
adc ebx, dword [eax*8 + 0x628814]
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 + 8]
mov ebx, dword [ecx + 0x18]
add ebx, eax
mov dword [esp + 0x28], 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 + 0x18], 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 + 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, 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 + 0x30]
xor eax, ebx
mov ebx, dword [esp + 0x14]
add ebx, edx
mov edx, dword [esp + 0x34]
adc eax, dword [esp + 0x10]
add ebx, dword [esp + 0x2c]
mov dword [esp + 0x1c], ebx
adc eax, dword [esp + 0x28]
inc edx
add ebp, 8
mov dword [esp + 0x20], eax
sub ecx, 8
mov dword [esp + 0x34], edx
mov dword [esp + 0x30], ebp
cmp edx, 0x10
jl 0x505260
cmp edx, 0x50
jge 0x505717
lea eax, [edx*8 + 0x628810]
mov dword [esp + 0x34], eax
nop dword [eax + 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 + 0x10], esi
mov eax, ebp
mov dword [esp + 0x14], 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 + 0x14]
or edi, eax
mov eax, dword [esp + 0x10]
xor edx, esi
mov esi, dword [ecx + 0xb8]
xor eax, edi
xor eax, ebp
shr ebx, 6
xor edx, ebx
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
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 + 0x18]
shrd edx, eax, 7
mov dword [ecx + 0x20], esi
xor ebx, edx
shr eax, 7
mov edx, dword [esp + 0x14]
xor ebp, eax
mov eax, dword [esp + 0x10]
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 + 0x10], eax
adc edx, dword [ecx + 0x7c]
mov dword [esp + 0x14], 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 + 0x18]
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 + 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 esi, dword [esp + 0x18]
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 + 0x14]
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 + 0x10]
add eax, ebp
mov ebp, dword [ecx + 8]
mov dword [esp + 0x10], eax
adc edx, ebx
mov ebx, dword [ecx + 0x18]
add ebx, eax
mov dword [esp + 0x14], 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 + 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
mov edx, dword [esp + 0x20]
mov edi, edx
mov eax, dword [esp + 0x1c]
xor dword [esp + 0x2c], esi
xor esi, esi
shld edx, eax, 0x19
shr edi, 7
or esi, edx
shl eax, 0x19
xor dword [esp + 0x2c], esi
or edi, eax
xor dword [esp + 0x28], 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 + 0x28]
xor edx, ebp
add ebx, edx
mov edx, dword [esp + 0x2c]
adc edx, eax
add ebx, dword [esp + 0x10]
mov dword [esp + 0x1c], ebx
adc edx, dword [esp + 0x14]
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, 0x628a90
jl 0x5054b0
mov edx, dword [esp + 0x4c]
add dword [edx], ebx
mov ebp, dword [edx]
adc dword [edx + 4], eax
mov eax, dword [ecx + 8]
add dword [edx + 8], eax
mov eax, dword [ecx + 0xc]
adc dword [edx + 0xc], eax
mov eax, dword [edx + 0xc]
mov dword [esp + 0x34], 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 + 0x2c], eax
mov eax, dword [edx + 0x14]
mov dword [esp + 0x28], 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 + 0x14], eax
mov eax, dword [edx + 0x1c]
mov dword [esp + 0x10], 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 + 0x38], eax
mov eax, dword [edx + 0x2c]
mov dword [esp + 0x3c], 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 + 0x40], eax
mov eax, dword [edx + 0x34]
mov dword [esp + 0x44], 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 + 0x20], ebx
mov ebx, dword [edx + 8]
mov edx, dword [edx + 0x3c]
mov dword [esp + 0x1c], ebp
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x24], esi
mov dword [esp + 0x18], edi
mov dword [esp + 0x48], eax
test ecx, ecx
jne 0x5051c0
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x308]
xor ecx, esp
call fcn.004503a3
add esp, 0x30c
ret