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

Disassembly:
sub esp, 0x390
mov eax, dword [0x1008f304]
xor eax, esp
mov dword [esp + 0x38c], eax
mov eax, dword [esp + 0x394]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x3a8]
xor ebp, ebp
mov dword [esp + 0x54], eax
mov ebx, ebp
mov dword [esp + 0x50], ebp
add edi, 2
movzx eax, byte [edi - 2]
cdq
mov ecx, eax
mov esi, edx
movzx eax, byte [edi - 1]
shld esi, ecx, 8
cdq
shl ecx, 8
or esi, edx
or ecx, eax
movzx eax, byte [edi]
shld esi, ecx, 8
cdq
lea edi, [edi + 8]
shl ecx, 8
or esi, edx
or ecx, eax
movzx eax, byte [edi - 7]
shld esi, ecx, 8
cdq
shl ecx, 8
or esi, edx
or ecx, eax
movzx eax, byte [edi - 6]
shld esi, ecx, 8
cdq
shl ecx, 8
or esi, edx
or ecx, eax
movzx eax, byte [edi - 5]
shld esi, ecx, 8
cdq
shl ecx, 8
or esi, edx
or ecx, eax
movzx eax, byte [edi - 4]
shld esi, ecx, 8
cdq
shl ecx, 8
or esi, edx
or ecx, eax
movzx eax, byte [edi - 3]
shld esi, ecx, 8
cdq
shl ecx, 8
or esi, edx
or ecx, eax
mov dword [esp + ebx*8 + 0xa0], esi
mov dword [esp + ebx*8 + 0x9c], ecx
inc ebx
cmp ebx, 0x10
jl 0x10008608
mov ecx, ebp
mov dword [esp + 0x10], ebp
cmp ecx, 0x10
jge 0x100086b9
mov edx, dword [esp + ecx*8 + 0x9c]
mov eax, dword [esp + ecx*8 + 0xa0]
jmp 0x100087a2
mov ebx, dword [esp + ecx*8 + 0x10c]
xor esi, esi
mov edi, dword [esp + ecx*8 + 0x110]
mov eax, ebx
mov ebp, dword [esp + ecx*8 + 0xa8]
mov edx, ebx
mov ecx, edi
shl edx, 0xd
shrd eax, ecx, 0x13
or esi, eax
shr ecx, 0x13
or edx, ecx
mov dword [esp + 0x1c], esi
mov eax, ebx
mov dword [esp + 0x18], edx
mov ecx, edi
mov esi, edi
shld ecx, eax, 3
shrd ebx, edi, 6
shl eax, 3
xor edx, edx
or edx, ecx
shr esi, 0x1d
mov ecx, dword [esp + 0x1c]
or esi, eax
mov eax, dword [esp + 0x18]
xor ecx, esi
xor eax, edx
shr edi, 6
xor eax, edi
xor ecx, ebx
mov dword [esp + 0x18], eax
xor edi, edi
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1c], ecx
mov ecx, ebp
mov edx, dword [esp + eax*8 + 0xa4]
mov eax, edx
shrd eax, ecx, 8
mov ebx, edx
mov esi, edx
shr ecx, 8
or edi, eax
shl ebx, 0x18
xor edx, edx
or ebx, ecx
shl esi, 0x1f
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + ecx*8 + 0xa4]
mov ecx, ebp
shrd eax, ecx, 1
shr ecx, 1
or edx, eax
or esi, ecx
xor edi, edx
mov ecx, dword [esp + 0x10]
xor ebx, esi
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + ecx*8 + 0xa4]
shrd eax, ebp, 7
xor edi, eax
shr ebp, 7
mov eax, dword [esp + 0x18]
xor ebx, ebp
add edx, edi
adc eax, ebx
add edx, dword [esp + ecx*8 + 0x9c]
adc eax, dword [esp + ecx*8 + 0xa0]
add edx, dword [esp + ecx*8 + 0xe4]
adc eax, dword [esp + ecx*8 + 0xe8]
mov dword [esp + ecx*8 + 0x11c], edx
mov dword [esp + ecx*8 + 0x120], eax
inc ecx
mov dword [esp + 0x10], ecx
cmp ecx, 0x50
jl 0x100086a1
mov eax, dword [esp + 0x54]
xor edi, edi
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x24], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x2c], ecx
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x60], edx
mov dword [esp + 0x20], edx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x30], ecx
mov ecx, dword [eax + 0x18]
mov dword [esp + 0x68], edx
mov dword [esp + 0x10], edx
mov edx, dword [eax + 0x14]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x40], ecx
mov ecx, dword [eax + 0x20]
mov esi, ecx
mov dword [esp + 0x70], edx
mov dword [esp + 0x34], edx
mov edx, dword [eax + 0x1c]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x28], ecx
mov ecx, dword [eax + 0x28]
mov dword [esp + 0x78], edx
mov dword [esp + 0x44], edx
mov edx, dword [eax + 0x24]
mov dword [esp + 0x14], edx
mov dword [esp + 0x84], ecx
mov dword [esp + 0x38], ecx
mov ecx, dword [eax + 0x30]
mov dword [esp + 0x80], edx
mov edx, dword [eax + 0x2c]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x18], ecx
mov ecx, dword [eax + 0x38]
mov dword [esp + 0x88], edx
mov dword [esp + 0x3c], edx
mov edx, dword [eax + 0x34]
mov eax, dword [eax + 0x3c]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x90], edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x98], eax
mov dword [esp + 0x4c], eax
mov ebp, ecx
mov eax, esi
shld ecx, eax, 0x17
xor ebx, ebx
shl esi, 0xe
or ebx, ecx
shl eax, 0x17
mov ecx, dword [esp + 0x14]
xor edx, edx
shr ebp, 9
or ebp, eax
mov eax, dword [esp + 0x28]
shrd eax, ecx, 0x12
or edx, eax
shr ecx, 0x12
mov eax, dword [esp + 0x28]
or esi, ecx
mov ecx, dword [esp + 0x14]
xor ebx, esi
xor ebp, edx
mov esi, eax
shrd eax, ecx, 0xe
shl esi, 0x12
xor edx, edx
or edx, eax
shr ecx, 0xe
mov eax, dword [esp + 0x3c]
or esi, ecx
and eax, dword [esp + 0x14]
xor ebx, esi
mov esi, dword [esp + 0x28]
xor ebp, edx
mov edx, dword [esp + 0x14]
not esi
and esi, dword [esp + 0x18]
not edx
and edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x38]
xor edx, eax
and ecx, dword [esp + 0x28]
xor esi, ecx
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
add ebp, esi
adc ebx, edx
add ebp, dword [edi + 0x10040918]
adc ebx, dword [edi + 0x1004091c]
add ebp, dword [esp + edi + 0x11c]
adc ebx, dword [esp + edi + 0x120]
add ebp, dword [esp + 0x48]
adc ebx, dword [esp + 0x4c]
xor edi, edi
mov dword [esp + 0x58], ebx
xor edx, edx
mov ebx, eax
shrd eax, ecx, 0x1c
shl ebx, 4
or edi, eax
shr ecx, 0x1c
mov eax, dword [esp + 0x24]
or ebx, ecx
mov ecx, dword [esp + 0x20]
mov esi, ecx
shld ecx, eax, 0x1e
shr esi, 2
shl eax, 0x1e
or edx, ecx
mov ecx, dword [esp + 0x20]
or esi, eax
mov eax, dword [esp + 0x24]
xor edi, esi
mov esi, ecx
xor ebx, edx
shld ecx, eax, 0x19
shr esi, 7
xor edx, edx
shl eax, 0x19
or edx, ecx
or esi, eax
xor edi, esi
xor ebx, edx
mov ecx, dword [esp + 0x2c]
mov esi, ecx
xor esi, dword [esp + 0x24]
and ecx, dword [esp + 0x24]
and esi, dword [esp + 0x30]
mov edx, dword [esp + 0x10]
xor esi, ecx
xor edx, dword [esp + 0x20]
and edx, dword [esp + 0x34]
mov eax, dword [esp + 0x10]
and eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x58]
xor edx, eax
mov eax, dword [esp + 0x18]
add edi, esi
mov esi, ebp
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x1c]
adc ebx, edx
add esi, dword [esp + 0x40]
mov edx, dword [esp + 0x30]
adc ecx, dword [esp + 0x44]
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x10], edx
mov edx, edi
mov edi, dword [esp + 0x50]
add edx, ebp
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x3c]
adc ebx, dword [esp + 0x58]
add edi, 8
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x50], edi
cmp edi, 0x280
jl 0x1000888e
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x5c]
add ecx, edx
mov edx, dword [esp + 0x60]
pop edi
adc edx, ebx
mov dword [eax], ecx
mov ecx, dword [esp + 0x60]
add ecx, dword [esp + 0x28]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x64]
adc edx, dword [esp + 0xc]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x68]
add ecx, dword [esp + 0x2c]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x6c]
adc edx, dword [esp + 0x30]
mov dword [eax + 0x10], ecx
mov ecx, dword [esp + 0x70]
add ecx, dword [esp + 0x3c]
mov dword [eax + 0x14], edx
mov edx, dword [esp + 0x74]
adc edx, dword [esp + 0x40]
mov dword [eax + 0x18], ecx
mov ecx, dword [esp + 0x78]
add ecx, esi
mov dword [eax + 0x1c], edx
mov edx, dword [esp + 0x7c]
adc edx, dword [esp + 0x10]
mov dword [eax + 0x20], ecx
mov ecx, dword [esp + 0x80]
add ecx, dword [esp + 0x34]
mov dword [eax + 0x24], edx
mov edx, dword [esp + 0x84]
adc edx, dword [esp + 0x38]
mov dword [eax + 0x28], ecx
mov ecx, dword [esp + 0x88]
add ecx, dword [esp + 0x14]
mov dword [eax + 0x2c], edx
mov edx, dword [esp + 0x8c]
adc edx, dword [esp + 0x18]
mov dword [eax + 0x30], ecx
mov ecx, dword [esp + 0x90]
add ecx, dword [esp + 0x44]
pop esi
mov dword [eax + 0x34], edx
mov edx, dword [esp + 0x90]
adc edx, dword [esp + 0x44]
mov dword [eax + 0x38], ecx
mov ecx, dword [esp + 0x394]
pop ebp
pop ebx
xor ecx, esp
mov dword [eax + 0x3c], edx
call fcn.1003c212
add esp, 0x390
ret