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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30c
mov eax, dword [0x8d5f40]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x30c], ecx
test esi, esi
je 0x559907
mov eax, dword [ecx]
mov edx, dword [ecx + 0x24]
mov dword [ebp - 0x2e4], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0x2f8], eax
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x2f4], eax
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x2f0], eax
mov eax, dword [ecx + 0x14]
mov dword [ebp - 0x2d0], eax
mov eax, dword [ecx + 0x18]
mov dword [ebp - 0x2dc], eax
mov eax, dword [ecx + 0x1c]
mov dword [ebp - 0x2ec], eax
mov eax, dword [ecx + 0x2c]
push ebx
mov ebx, dword [ecx + 4]
mov dword [ebp - 0x2fc], eax
mov eax, dword [ecx + 0x30]
mov dword [ebp - 0x300], eax
mov eax, dword [ecx + 0x34]
mov dword [ebp - 0x2e8], ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, dword [ecx + 0x20]
add ebx, 2
mov dword [ebp - 0x2d8], edx
mov edx, dword [ecx + 0x28]
mov dword [ebp - 0x304], eax
mov eax, dword [ecx + 0x38]
mov ecx, dword [ecx + 0x3c]
mov dword [ebp - 0x2d4], edi
mov dword [ebp - 0x308], eax
mov eax, dword [ebp - 0x2f8]
dec esi
and dword [ebp - 0x2f8], 0
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x2f4]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x2f0]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x2d0]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x2dc]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x2ec]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2fc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x300]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x304]
mov dword [ebp + 0x10], esi
lea esi, [ebp - 0x4c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x308]
mov dword [ebp - 0x2e0], esi
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x2ec], ebx
movzx eax, byte [ebx - 2]
cdq
mov ecx, eax
mov dword [esi + 0x20], edi
mov eax, dword [ebp - 0x2ec]
mov ebx, edx
shld ebx, ecx, 8
xor edi, edi
shl ecx, 8
movzx eax, byte [eax - 1]
cdq
or ecx, eax
or ebx, edx
mov eax, dword [ebp - 0x2ec]
shld ebx, ecx, 8
shl ecx, 8
movzx eax, byte [eax]
cdq
or ecx, eax
or ebx, edx
mov eax, dword [ebp - 0x2ec]
shld ebx, ecx, 8
shl ecx, 8
movzx eax, byte [eax + 1]
cdq
or ecx, eax
or ebx, edx
mov eax, dword [ebp - 0x2ec]
shld ebx, ecx, 8
shl ecx, 8
movzx eax, byte [eax + 2]
cdq
or ecx, eax
or ebx, edx
mov eax, dword [ebp - 0x2ec]
shld ebx, ecx, 8
shl ecx, 8
movzx eax, byte [eax + 3]
cdq
or ecx, eax
or ebx, edx
mov eax, dword [ebp - 0x2ec]
shld ebx, ecx, 8
shl ecx, 8
movzx eax, byte [eax + 4]
cdq
or ecx, eax
or ebx, edx
mov eax, dword [ebp - 0x2ec]
shld ebx, ecx, 8
shl ecx, 8
movzx eax, byte [eax + 5]
cdq
or ecx, eax
or ebx, edx
mov eax, dword [ebp - 0x2e4]
mov edx, dword [ebp - 0x2d8]
mov dword [esi], eax
mov eax, dword [ebp - 0x2e8]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x2d4]
mov dword [esi + 0x40], ecx
mov dword [ebp - 0x2dc], ecx
mov ecx, edx
shld ecx, eax, 0x17
mov dword [esi + 0x44], ebx
mov dword [ebp - 0x2f4], ebx
or edi, ecx
mov ecx, dword [ebp - 0x2d8]
mov ebx, edx
shl eax, 0x17
shr ebx, 9
mov dword [esi + 0x24], edx
or ebx, eax
mov eax, dword [ebp - 0x2d4]
xor edx, edx
mov esi, eax
shrd eax, ecx, 0x12
shl esi, 0xe
shr ecx, 0x12
or edx, eax
or esi, ecx
mov eax, dword [ebp - 0x2d4]
mov ecx, dword [ebp - 0x2d8]
xor edi, esi
xor ebx, edx
mov esi, eax
shrd eax, ecx, 0xe
shl esi, 0x12
xor edx, edx
or edx, eax
shr ecx, 0xe
mov eax, dword [ebp - 0x2e0]
or esi, ecx
xor edi, esi
xor ebx, edx
mov esi, dword [ebp - 0x2d4]
mov edx, dword [ebp - 0x2d8]
not esi
and esi, dword [eax + 0x30]
not edx
and edx, dword [eax + 0x34]
mov ecx, dword [eax + 0x28]
and ecx, dword [ebp - 0x2d4]
mov eax, dword [eax + 0x2c]
xor esi, ecx
and eax, dword [ebp - 0x2d8]
xor edx, eax
mov ecx, dword [ebp - 0x2f4]
mov eax, dword [ebp - 0x2f8]
add ebx, esi
adc edi, edx
mov edx, dword [ebp - 0x2e0]
add ebx, dword [eax*8 + 0x7f5758]
adc edi, dword [eax*8 + 0x7f575c]
add ebx, dword [edx + 0x38]
mov eax, dword [ebp - 0x2dc]
adc edi, dword [edx + 0x3c]
add eax, ebx
mov ebx, dword [edx + 0x18]
adc ecx, edi
mov dword [ebp - 0x2dc], eax
mov edi, dword [edx + 0xc]
add ebx, eax
mov eax, dword [edx + 0x1c]
adc eax, ecx
mov dword [ebp - 0x2f4], ecx
mov ecx, dword [ebp - 0x2e8]
mov dword [ebp - 0x2d8], eax
mov eax, dword [ebp - 0x2e4]
mov esi, eax
shrd eax, ecx, 0x1c
shl esi, 4
shr ecx, 0x1c
or esi, ecx
mov dword [ebp - 0x2d4], ebx
mov ebx, dword [edx + 8]
xor edx, edx
mov ecx, dword [ebp - 0x2e8]
or edx, eax
mov eax, dword [ebp - 0x2e4]
mov dword [ebp - 0x2f0], esi
mov esi, ecx
shld ecx, eax, 0x1e
mov dword [ebp - 0x2d0], edx
xor edx, edx
shr esi, 2
or edx, ecx
mov ecx, dword [ebp - 0x2e8]
xor dword [ebp - 0x2f0], edx
xor edx, edx
shl eax, 0x1e
or esi, eax
mov eax, dword [ebp - 0x2e4]
xor dword [ebp - 0x2d0], esi
mov esi, ecx
shld ecx, eax, 0x19
shr esi, 7
shl eax, 0x19
or edx, ecx
or esi, eax
xor dword [ebp - 0x2d0], esi
mov esi, dword [ebp - 0x2f0]
mov ecx, ebx
xor esi, edx
mov eax, edi
mov edx, dword [ebp - 0x2e0]
xor ecx, dword [edx + 0x10]
xor eax, dword [edx + 0x14]
and ebx, dword [edx + 0x10]
and ecx, dword [ebp - 0x2e4]
and eax, dword [ebp - 0x2e8]
xor ecx, ebx
and edi, dword [edx + 0x14]
mov edx, dword [ebp - 0x2d0]
xor eax, edi
mov ebx, dword [ebp - 0x2ec]
add edx, ecx
mov ecx, dword [ebp - 0x2f8]
mov edi, dword [ebp - 0x2d4]
adc eax, esi
add edx, dword [ebp - 0x2dc]
mov esi, dword [ebp - 0x2e0]
adc eax, dword [ebp - 0x2f4]
inc ecx
add ebx, 8
mov dword [ebp - 0x2e4], edx
sub esi, 8
mov dword [ebp - 0x2e8], eax
mov dword [ebp - 0x2f8], ecx
mov dword [ebp - 0x2ec], ebx
mov dword [ebp - 0x2e0], esi
cmp ecx, 0x10
jl 0x559242
cmp ecx, 0x50
jge 0x559812
lea eax, [ecx*8 + 0x7f5758]
mov dword [ebp - 0x2f4], eax
mov ebx, dword [esi + 0x50]
xor edx, edx
mov edi, dword [esi + 0x54]
mov eax, ebx
mov esi, ebx
mov ecx, edi
shrd eax, ecx, 0x13
shl esi, 0xd
shr ecx, 0x13
or edx, eax
or esi, ecx
mov dword [ebp - 0x2dc], edx
mov eax, ebx
mov dword [ebp - 0x2d0], esi
mov ecx, edi
xor edx, edx
shld ecx, eax, 3
mov esi, edi
or edx, ecx
shl eax, 3
mov ecx, dword [ebp - 0x2d0]
xor ecx, edx
shr esi, 0x1d
shrd ebx, edi, 6
or esi, eax
mov eax, dword [ebp - 0x2dc]
xor eax, esi
shr edi, 6
xor ecx, edi
xor eax, ebx
mov dword [ebp - 0x2d0], ecx
xor edi, edi
mov ecx, dword [ebp - 0x2e0]
mov dword [ebp - 0x2dc], eax
mov edx, dword [ecx + 0xb8]
mov eax, edx
mov ecx, dword [ecx + 0xbc]
mov ebx, edx
shrd eax, ecx, 8
shl ebx, 0x18
mov esi, edx
shr ecx, 8
or edi, eax
or ebx, ecx
shl esi, 0x1f
mov ecx, dword [ebp - 0x2e0]
xor edx, edx
mov eax, dword [ecx + 0xb8]
mov ecx, dword [ecx + 0xbc]
shrd eax, ecx, 1
or edx, eax
shr ecx, 1
or esi, ecx
xor edi, edx
mov edx, dword [ebp - 0x2e0]
xor ebx, esi
mov esi, dword [ebp - 0x2d4]
mov eax, dword [edx + 0xbc]
mov ecx, dword [edx + 0xb8]
shrd ecx, eax, 7
mov dword [edx + 0x20], esi
shr eax, 7
xor edi, ecx
mov ecx, dword [ebp - 0x2d0]
xor ebx, eax
mov eax, dword [ebp - 0x2dc]
add eax, edi
adc ecx, ebx
add eax, dword [edx + 0xc0]
mov ebx, dword [ebp - 0x2e4]
adc ecx, dword [edx + 0xc4]
add eax, dword [edx + 0x78]
mov dword [edx], ebx
mov ebx, dword [ebp - 0x2e8]
adc ecx, dword [edx + 0x7c]
mov dword [edx + 4], ebx
mov ebx, dword [ebp - 0x2d8]
mov dword [ebp - 0x2dc], eax
mov dword [ebp - 0x2d0], ecx
mov dword [edx + 0x24], ebx
mov dword [edx + 0x40], eax
mov dword [edx + 0x44], ecx
mov eax, esi
mov ecx, ebx
shl esi, 0xe
shld ecx, eax, 0x17
xor edi, edi
shr ebx, 9
or edi, ecx
shl eax, 0x17
mov ecx, dword [ebp - 0x2d8]
or ebx, eax
mov eax, dword [ebp - 0x2d4]
xor edx, edx
shrd eax, ecx, 0x12
or edx, eax
shr ecx, 0x12
mov eax, dword [ebp - 0x2d4]
or esi, ecx
mov ecx, dword [ebp - 0x2d8]
xor edi, esi
xor ebx, edx
mov esi, eax
shrd eax, ecx, 0xe
shl esi, 0x12
xor edx, edx
or edx, eax
shr ecx, 0xe
mov eax, dword [ebp - 0x2e0]
or esi, ecx
xor edi, esi
xor ebx, edx
mov esi, dword [ebp - 0x2d4]
mov edx, dword [ebp - 0x2d8]
not esi
and esi, dword [eax + 0x30]
not edx
and edx, dword [eax + 0x34]
mov ecx, dword [eax + 0x28]
and ecx, dword [ebp - 0x2d4]
mov eax, dword [eax + 0x2c]
xor esi, ecx
and eax, dword [ebp - 0x2d8]
xor edx, eax
mov ecx, dword [ebp - 0x2d0]
mov eax, dword [ebp - 0x2f4]
add ebx, esi
adc edi, edx
mov edx, dword [ebp - 0x2e0]
add ebx, dword [edx + 0x38]
adc edi, dword [edx + 0x3c]
add ebx, dword [eax]
adc edi, dword [eax + 4]
mov eax, dword [ebp - 0x2dc]
add eax, ebx
mov ebx, dword [edx + 0x18]
mov dword [ebp - 0x2dc], eax
adc ecx, edi
mov edi, dword [edx + 0xc]
add ebx, eax
mov dword [ebp - 0x2d0], ecx
mov eax, dword [edx + 0x1c]
adc eax, ecx
mov dword [ebp - 0x2d4], ebx
mov ecx, dword [ebp - 0x2e8]
mov ebx, dword [edx + 8]
xor edx, edx
mov dword [ebp - 0x2d8], eax
mov eax, dword [ebp - 0x2e4]
mov esi, eax
shrd eax, ecx, 0x1c
shl esi, 4
shr ecx, 0x1c
or edx, eax
mov eax, dword [ebp - 0x2e4]
or esi, ecx
mov ecx, dword [ebp - 0x2e8]
mov dword [ebp - 0x2f8], esi
mov esi, ecx
mov dword [ebp - 0x2f0], edx
shr esi, 2
xor edx, edx
shld ecx, eax, 0x1e
or edx, ecx
shl eax, 0x1e
mov ecx, dword [ebp - 0x2e8]
or esi, eax
xor dword [ebp - 0x2f0], esi
mov esi, ecx
mov eax, dword [ebp - 0x2e4]
xor dword [ebp - 0x2f8], edx
xor edx, edx
shld ecx, eax, 0x19
shr esi, 7
shl eax, 0x19
or edx, ecx
or esi, eax
mov ecx, ebx
xor dword [ebp - 0x2f0], esi
mov eax, edi
mov esi, dword [ebp - 0x2f8]
xor esi, edx
mov edx, dword [ebp - 0x2e0]
xor ecx, dword [edx + 0x10]
xor eax, dword [edx + 0x14]
and ecx, dword [ebp - 0x2e4]
and eax, dword [ebp - 0x2e8]
and ebx, dword [edx + 0x10]
and edi, dword [edx + 0x14]
xor ecx, ebx
mov edx, dword [ebp - 0x2f0]
xor eax, edi
add edx, ecx
mov ecx, dword [ebp - 0x2f4]
adc esi, eax
add edx, dword [ebp - 0x2dc]
mov dword [ebp - 0x2e4], edx
adc esi, dword [ebp - 0x2d0]
add ecx, 8
mov eax, esi
mov dword [ebp - 0x2e8], esi
mov esi, dword [ebp - 0x2e0]
sub esi, 8
mov dword [ebp - 0x2f4], ecx
mov dword [ebp - 0x2e0], esi
cmp ecx, 0x7f59d8
jl 0x559517
mov ebx, dword [ebp - 0x2ec]
mov ecx, dword [ebp - 0x30c]
add dword [ecx], edx
adc dword [ecx + 4], eax
mov eax, dword [ecx]
mov dword [ebp - 0x2e4], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x2e8], eax
mov eax, dword [esi + 8]
add dword [ecx + 8], eax
mov eax, dword [esi + 0xc]
adc dword [ecx + 0xc], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0x2f8], eax
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x2f4], eax
mov eax, dword [esi + 0x10]
add dword [ecx + 0x10], eax
mov eax, dword [esi + 0x14]
adc dword [ecx + 0x14], eax
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x2f0], eax
mov eax, dword [ecx + 0x14]
mov dword [ebp - 0x2d0], eax
mov eax, dword [esi + 0x18]
add dword [ecx + 0x18], eax
mov eax, dword [esi + 0x1c]
adc dword [ecx + 0x1c], eax
mov eax, dword [ecx + 0x18]
mov dword [ebp - 0x2dc], eax
mov eax, dword [ecx + 0x1c]
mov dword [ebp - 0x2ec], eax
mov eax, dword [ebp - 0x2d4]
add dword [ecx + 0x20], eax
mov eax, dword [ebp - 0x2d8]
adc dword [ecx + 0x24], eax
mov eax, dword [ecx + 0x24]
mov edi, dword [ecx + 0x20]
mov dword [ebp - 0x2d8], eax
mov eax, dword [esi + 0x28]
add dword [ecx + 0x28], eax
mov eax, dword [esi + 0x2c]
adc dword [ecx + 0x2c], eax
mov eax, dword [ecx + 0x2c]
mov edx, dword [ecx + 0x28]
mov dword [ebp - 0x2fc], eax
mov eax, dword [esi + 0x30]
add dword [ecx + 0x30], eax
mov eax, dword [esi + 0x34]
adc dword [ecx + 0x34], eax
mov eax, dword [ecx + 0x30]
mov dword [ebp - 0x300], eax
mov eax, dword [ecx + 0x34]
mov dword [ebp - 0x304], eax
mov eax, dword [esi + 0x38]
add dword [ecx + 0x38], eax
mov eax, dword [esi + 0x3c]
adc dword [ecx + 0x3c], eax
mov eax, dword [ecx + 0x38]
mov esi, dword [ebp + 0x10]
mov ecx, dword [ecx + 0x3c]
mov dword [ebp - 0x2d4], edi
mov dword [ebp - 0x308], eax
test esi, esi
jne 0x5591c8
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.006fedff
leave
ret